Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable WYSIWYG editor for mobile user agents (temporary fix) #14017

Closed
wants to merge 398 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
398 commits
Select commit Hold shift + click to select a range
62719cd
Fix whitespace rendering in diff (#13415)
silverwind Nov 4, 2020
59c3cf6
[skip ci] Updated translations via Crowdin
GiteaBot Nov 4, 2020
fb756e7
Add missing full names when DEFAULT_SHOW_FULL_NAME is enabled (#13417)
42wim Nov 4, 2020
3cab3be
Replies to outdated code comments should also be outdated (#13217)
zeripath Nov 4, 2020
dd882f6
[skip ci] Updated translations via Crowdin
GiteaBot Nov 4, 2020
d7e0983
Alternative fix for HTML diff entity split (#13425)
mrsdizzie Nov 5, 2020
05efb33
Various style tweaks (#13418)
silverwind Nov 5, 2020
7c68ac8
Tags cleanup (#13428)
jolheiser Nov 5, 2020
5b636bd
[skip ci] Updated translations via Crowdin
GiteaBot Nov 5, 2020
eba0ac5
Rework focused comment styling (#13434)
silverwind Nov 5, 2020
3c7908b
[skip ci] Updated translations via Crowdin
GiteaBot Nov 5, 2020
35cc82a
Revert "Replies to outdated code comments should also be outdated (#1…
lunny Nov 6, 2020
c178a36
use registry mirror for docker-in-docker (#13438)
techknowlogick Nov 6, 2020
eebaa81
Override fomantic monospace fonts and set size (#13435)
silverwind Nov 6, 2020
30ce373
Vendor Update Go Libs (#13444)
6543 Nov 6, 2020
172eca1
Add docs command (#13429)
jolheiser Nov 7, 2020
82cf67a
updateSize when create a repo with init commit (#13441)
a1012112796 Nov 7, 2020
48f8c5e
Fix monospace font size for .mono CSS class (#13453)
CirnoT Nov 7, 2020
ed47da2
[skip ci] Updated translations via Crowdin
GiteaBot Nov 7, 2020
7c47e24
Add Vue linting (#13447)
silverwind Nov 7, 2020
1b65536
Update JS dependencies (#13455)
silverwind Nov 7, 2020
e461f08
[RFC] Make archival asynchronous (#11296)
kevans91 Nov 7, 2020
9aa8693
Frontpage and Heatmap CSS tweaks (#13443)
silverwind Nov 7, 2020
f719e2e
Fix double border introduced by #13434 (#13457)
CirnoT Nov 7, 2020
8411cb5
Fix colors and triangles in issues (#13463)
silverwind Nov 8, 2020
d4e0b28
[skip ci] Updated translations via Crowdin
GiteaBot Nov 8, 2020
c05a8ab
Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links…
zeripath Nov 8, 2020
049a87c
Override fonts using Fomantic config (#13465)
silverwind Nov 8, 2020
004b40d
[skip ci] Updated translations via Crowdin
GiteaBot Nov 8, 2020
8ae5548
2nd attempt at re-request APIMergePullRequest (#13468)
zeripath Nov 8, 2020
8a7101f
Add note about installation on kubernetes to docs (#13469)
techknowlogick Nov 8, 2020
271ab63
Make TestCreateBranch and TestRepoCommitsSearch less noisy (#13471)
zeripath Nov 8, 2020
1213301
docs(comparison): GitHub Actions (#13474)
simon04 Nov 8, 2020
b091c99
Comments on review should have the same sha (#13448)
zeripath Nov 9, 2020
ef2ffc6
[skip ci] Updated translations via Crowdin
GiteaBot Nov 9, 2020
8bae34c
Change search and filter icons to SVG (#13473)
silverwind Nov 9, 2020
ffa712e
[skip ci] Updated translations via Crowdin
GiteaBot Nov 9, 2020
77e5081
Fix panic bug in handling multiple references in commit (#13486)
zeripath Nov 9, 2020
40c4466
Fix broken .comment > .content caused by #13457 (#13482)
CirnoT Nov 10, 2020
182b5a0
Prevent panic on git blame by limiting lines to 4096 bytes at most (#…
zeripath Nov 10, 2020
beab1dd
Added title and action buttons to Project view page (#13437)
Nov 10, 2020
542edc2
Some improvements for v156 (#13497)
lunny Nov 10, 2020
9155f13
[skip ci] Updated translations via Crowdin
GiteaBot Nov 10, 2020
21d4963
Fix tooltips and issue dependency styles (#13458)
silverwind Nov 10, 2020
13b8c0b
Switch from SimpleMDE to EasyMDE (#13333)
zeripath Nov 10, 2020
da4f2c5
Make heatmap shades linear (#13500)
silverwind Nov 10, 2020
3400928
fix: issue tracker link redirection (#13504)
wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf Nov 10, 2020
3fd060e
Include OriginalAuthor in Reaction constraint (#13505)
zeripath Nov 10, 2020
5d932b3
Disallow urlencoded new lines in git protocol paths if there is a por…
zeripath Nov 11, 2020
6838bac
[skip ci] Updated translations via Crowdin
GiteaBot Nov 11, 2020
4117a44
Lazy-load issue reviewers and assignees avatars (#13526)
silverwind Nov 12, 2020
c2e05d9
Form styling adjustments (#13501)
silverwind Nov 12, 2020
ee7133d
[skip ci] Updated translations via Crowdin
GiteaBot Nov 12, 2020
ff7341b
Prevent git operations for inactive users (#13527)
lunny Nov 12, 2020
0ae35c6
Various style fixes (#13534)
silverwind Nov 13, 2020
c296f4f
Introduce go chi web framework as frontend of macaron, so that we can…
lunny Nov 13, 2020
a015684
Reindent manifest.json (#13544)
silverwind Nov 13, 2020
d0a676c
[skip ci] Updated translations via Crowdin
GiteaBot Nov 13, 2020
db16275
Fix blame line alignment (#13542)
silverwind Nov 13, 2020
a31a6e3
proper signature validation (#13523)
Cacciuc Nov 13, 2020
dd29ecb
Add missed sync branch/tag webhook (#13538)
lunny Nov 13, 2020
3cd00c3
Make heatmap colors more distinct (#13533)
silverwind Nov 13, 2020
6280af0
Use existing analyzer module for language detection for highlighting …
mrsdizzie Nov 13, 2020
5c76c5c
Fix issue label spacing and hover (#13553)
silverwind Nov 14, 2020
e16b0e5
unify layout between auth pages (#13547)
noerw Nov 14, 2020
a2efcb6
missing quotes in default value slice (#13550)
patcito Nov 14, 2020
374ff60
Use monaco for the git hook editor (#13552)
silverwind Nov 14, 2020
3f3447a
API: Fix GetQueryBeforeSince (#13559)
6543 Nov 14, 2020
7d2700c
[API] Only Return Json (#13511)
6543 Nov 14, 2020
d025d84
Add email validity check (#13475)
chrisshyi Nov 14, 2020
3ea237b
Add markdown support in organization description (#13549)
wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf Nov 15, 2020
f0ed712
[skip ci] Updated translations via Crowdin
GiteaBot Nov 15, 2020
50cbb20
Fix issue label rendering (#13570)
silverwind Nov 15, 2020
7a30e97
Enable syntax highlighting for *.tmpl on GitHub (#13571)
silverwind Nov 15, 2020
0de5460
CSS color variables, less bold font weight and more (#13567)
silverwind Nov 15, 2020
efcba9b
Render diff stats server-side (#13579)
silverwind Nov 15, 2020
22a8df3
Add tab-size support for Firefox (#13576)
pomidoroshev Nov 16, 2020
8c2b5fe
When building rootless docker image move chown&chmod to build stage (…
lafriks Nov 16, 2020
586bfb9
Use mount but not register for chi routes (#13555)
lunny Nov 16, 2020
5bd0533
Fix comment triangles and tweak inline comment margins (#13554)
silverwind Nov 16, 2020
77aa742
Migration: Gitlab: Support Subdirectory (#13563)
6543 Nov 16, 2020
859e3d3
[skip ci] Updated translations via Crowdin
GiteaBot Nov 16, 2020
949e3f5
Fix Fomatic Build (#13595)
silverwind Nov 16, 2020
0a6ce3e
Change markdown font weight to 600 (#13584)
silverwind Nov 17, 2020
b838252
Fix label display on new issues (#13590)
silverwind Nov 17, 2020
75ebf7c
fix media query edge case (#13546)
noerw Nov 17, 2020
9ec5e6c
Move metrics from macaron to chi (#13601)
lunny Nov 17, 2020
0615b66
HTTP cache rework and enable caching for storage assets (#13569)
silverwind Nov 17, 2020
76cdf3b
Docs: Installation from package (#13607)
gsilvan Nov 17, 2020
5a991ec
Fix a bug when check if owner is active (#13612)
lunny Nov 18, 2020
d02c350
Config lock bot (#13624)
6543 Nov 18, 2020
12c2efb
Remove fetch request from heatmap (#13623)
silverwind Nov 18, 2020
6626a04
[skip ci] Updated translations via Crowdin
GiteaBot Nov 18, 2020
ad2a288
finaly fix gitlab migration with subdir (#13629)
6543 Nov 19, 2020
64bd5f4
specific version in docker compose (#13644)
techknowlogick Nov 19, 2020
702e82d
Fix issue/pull request list assignee filter (#13647)
khmarbaise Nov 19, 2020
24b3b21
finaly fix gitlab migration with subdir 2.0 (#13646)
6543 Nov 19, 2020
1bb5c09
API: Admin EditUser: Make FullName, Email, Website & Location optiona…
6543 Nov 20, 2020
f915161
skip email validation on empty string (#13627)
6543 Nov 20, 2020
c5f6f8f
Refactor combine label comments with tests (#13619)
lunny Nov 20, 2020
b651409
Improve strings (#13548)
noerw Nov 21, 2020
45ca2e4
Handle incomplete diff files properly (#13662)
zeripath Nov 21, 2020
de1e4b2
[skip ci] Updated translations via Crowdin
GiteaBot Nov 21, 2020
2791cc1
Don't show a dropdown menu when only 1 merge option is available (#13…
jpraet Nov 22, 2020
247ab6a
Send error message when CSRF token is missing (#13676)
kevinzg Nov 23, 2020
78204a7
Update _repository.less (#13672)
CirnoT Nov 23, 2020
f88a2ea
[API] Add more filters to issues search (#13514)
6543 Nov 23, 2020
24330f7
Fix heatmap rendering in Chrome and Safari (#13645)
silverwind Nov 23, 2020
00ec651
CSS table fixes (#13692)
silverwind Nov 24, 2020
6d93a3a
Issue and Pulls lists rework (#13594)
silverwind Nov 25, 2020
72e62ac
[skip ci] Updated translations via Crowdin
GiteaBot Nov 25, 2020
57fa9b0
Support shortened commit SHAs in URLs (#13686)
lafriks Nov 25, 2020
03fa2ec
Use chronological commit order in default squash message (#13661) (#1…
jpraet Nov 25, 2020
b2de034
CSS navbar and color tweaks (#13609)
silverwind Nov 26, 2020
7bc0c8c
Prevent clone protocol button flash on page load (#13626)
silverwind Nov 26, 2020
979fbe0
Increment skip to avoid infini-loop (#13703)
jolheiser Nov 27, 2020
3f13e07
Use trashcan icon for remove review request (#13722)
jpraet Nov 27, 2020
7ab3633
Enable linting of JS inside templates (#13708)
silverwind Nov 27, 2020
5b75f17
Fixed the log path on fail2ban page (#13726)
Nov 28, 2020
742e21a
Handle and propagate errors when checking if paths are Dirs, Files or…
zeripath Nov 28, 2020
e7b47c5
Format files (#13698)
6543 Nov 28, 2020
48c9865
Fix review request notification issue link when external issue tracke…
jpraet Nov 28, 2020
1e5247d
ui: show 'owner' tag for real owner (#13689)
a1012112796 Nov 28, 2020
8c996c6
Fix missing stylesheets on installation page (#13736)
shilch Nov 28, 2020
7ed5bf8
Fix .editorconfig (#13735)
silverwind Nov 28, 2020
9c26dc1
Add block on official review requests branch protection (#13705)
a1012112796 Nov 28, 2020
911d370
Push HEAD instead of master when initialising repositories (#13719)
zeripath Nov 28, 2020
4f82a0b
[skip ci] Updated translations via Crowdin
GiteaBot Nov 28, 2020
e82150d
Reduce number of docker pulls on ci (#13739)
silverwind Nov 28, 2020
0f14f69
Verify password for local-account activation (#13631)
6543 Nov 28, 2020
b2435af
Add Allow-/Block-List for Migrate & Mirrors (#13610)
6543 Nov 29, 2020
da4bb6f
Fix label styles affecting shabox (#13734)
silverwind Nov 29, 2020
e00a355
Dropdowns, Labels fixes and more CSS tweaks (#13733)
silverwind Nov 29, 2020
295fc99
Markdown and Repo header tweaks (#13744)
silverwind Nov 29, 2020
c2ac1c7
[skip ci] Updated translations via Crowdin
GiteaBot Nov 29, 2020
e8a6c42
Update discord domain (#13747)
hanahaneull Nov 29, 2020
c4deb97
[Vendor] Update Batch 2020-11 (#13746)
6543 Nov 29, 2020
e81edc0
Update JS dependencies and misc tweaks (#13741)
silverwind Nov 29, 2020
63aeb0a
Fix webpack build warnings (#13752)
silverwind Nov 29, 2020
d7ab726
Fix avatar offset on PR/issue timeline view (#13753)
CirnoT Nov 30, 2020
21cf205
Fix bogus http requests on diffs (#13760)
silverwind Nov 30, 2020
870fd53
set git-core paths in snap (#13711)
artivis Nov 30, 2020
bc455ed
Set RUN_MODE prod by default (#13765)
silverwind Nov 30, 2020
14e8ef9
Flip RUN_MODE detection in router (#13768)
silverwind Dec 1, 2020
b1cf7f4
Add class to page content to unify top margin (#13766)
silverwind Dec 1, 2020
253add8
Swap swagger-ui with swagger-ui-dist (#13777)
silverwind Dec 2, 2020
4569339
Refactor doctor (#12264)
zeripath Dec 2, 2020
4f5ff1e
move notification APIFormat (#13783)
6543 Dec 2, 2020
594cc4a
Update Gitea Version & Fix Migration Comments (#13789)
6543 Dec 2, 2020
fd1c351
frontport 1.13.0 changelog (#13790)
techknowlogick Dec 2, 2020
2b4a08e
Migrations: Use Process Manager to create own Context (#13792)
6543 Dec 2, 2020
7ac8a77
Move Repo APIFormat to convert package (#13787)
6543 Dec 2, 2020
c3893a8
Update docker ssh passthrough docs (#13732)
pat-s Dec 2, 2020
5e0a378
When reinitialising DBConfig reset the database use flags (#13796)
zeripath Dec 3, 2020
18712ea
Reduce make verbosity (#13803)
silverwind Dec 3, 2020
056b8f5
Clickable links in pull request (and issue) titles (#13695)
jpraet Dec 3, 2020
e306c29
Expose default theme in meta and API (#13809)
jolheiser Dec 3, 2020
4353cf9
Move LFSLock APIFormat into convert package (#13808)
6543 Dec 3, 2020
47e4d1a
Reply button is not removed when deleting a code review comment (#13774)
jpraet Dec 3, 2020
0d35ef5
Fix various CSS issues (#13769)
silverwind Dec 3, 2020
9269a03
Direct avatar rendering (#13649)
silverwind Dec 3, 2020
5d43d29
[skip ci] Updated translations via Crowdin
GiteaBot Dec 3, 2020
f0cc297
Make sure email recipients can see issue (#13820)
jolheiser Dec 3, 2020
118aedd
Fix avatar template error (#13833)
silverwind Dec 3, 2020
c9effd5
Update font stack to bootstrap's latest (#13834)
silverwind Dec 4, 2020
3512c7e
Fix crash in short link processor (#13839)
mrsdizzie Dec 4, 2020
48a3bb7
User Settings: Ignore empty language codes & validate (#13755)
6543 Dec 4, 2020
51d7002
fixed and updated FAQ table of contents links (#13835)
h0lg Dec 4, 2020
5574796
[skip ci] Updated translations via Crowdin
GiteaBot Dec 4, 2020
bb50ab2
Style and template tweaks (#13828)
silverwind Dec 4, 2020
654c480
[skip ci] Updated translations via Crowdin
GiteaBot Dec 4, 2020
d8c2c6c
Remove Noto Color Emoji fallback (#13838)
silverwind Dec 4, 2020
1a768e5
[Docs] fix typos and reference to structs package (#13856)
nuno-silva Dec 5, 2020
61d6c19
Improve migrate page and add card CSS (#13751)
silverwind Dec 5, 2020
d0d59e3
Font weight tweaks (#13854)
silverwind Dec 5, 2020
8561f26
Fix branch/tag notifications in mirror sync (#13855)
manuelluis Dec 5, 2020
4a510e0
Update go-enry dependency to v2.6.0 (#13861)
lafriks Dec 5, 2020
9c71c6c
Add link to shop in docs (#13864)
techknowlogick Dec 5, 2020
173e512
Fix mermaid chart size (#13863)
silverwind Dec 6, 2020
f74a094
README: Add more contents to the "further information" section. (#13871)
pat-s Dec 6, 2020
6ddf881
issue #12450: return original URL in `original_url` JSON field (#13885)
eric-belhomme Dec 7, 2020
b830eca
[skip ci] Updated translations via Crowdin
GiteaBot Dec 7, 2020
991ab89
Add cloudron to img-src CSP (#13887)
jolheiser Dec 7, 2020
a33db35
Fully qualify cloudron CSP (#13892)
jolheiser Dec 7, 2020
682f0b0
Fix Pull Merge when tag with same name as base branch exist (#13882)
a1012112796 Dec 8, 2020
ab22ab4
Refactor push update (#13381)
lunny Dec 8, 2020
b7b5c33
Fix issue participants (#13893)
silverwind Dec 8, 2020
9b22ada
Self-host cloudron image for docs (#13895)
techknowlogick Dec 8, 2020
e7938c9
Repo avatar fixes (#13891)
silverwind Dec 8, 2020
6bdcacd
Added Table of Contents to long documentation pages (#13890)
6543 Dec 8, 2020
4d66ee1
Fix Quote Reply button on review diff (#13830)
jpraet Dec 8, 2020
42354df
Move webhook type from int to string (#13664)
lunny Dec 8, 2020
abb9cff
Log IP on SSH authentication failure for Built-in SSH server (#13150)
elesiuta Dec 8, 2020
6a37036
log error when login failed (#13903)
lunny Dec 8, 2020
1a372e5
Allow 20 characters for "View [organization]" button (#13906)
jpraet Dec 8, 2020
658e90a
[Docu] Fix Location of Comments in migrations.go (#13900)
6543 Dec 8, 2020
c05701d
Fix frontpage avatars (#13853)
silverwind Dec 9, 2020
10b9a6d
Don't show dashboard links for globally disabled repo units (#13908)
jpraet Dec 9, 2020
97ab820
Fix action avatar loading (#13909)
silverwind Dec 9, 2020
af79677
Reformat docs (#13897)
pat-s Dec 9, 2020
48dd0e2
Markdown: Enable wrapping in code blocks and a color tweak (#13894)
silverwind Dec 9, 2020
18e4477
Add Karl Heinz Marbaise as maintainer. (#13915)
khmarbaise Dec 9, 2020
6edfa6b
Fix broken migration on webhook (#13911)
lunny Dec 9, 2020
c85bb62
Replace more icons with SVG, repo search tweaks (#13860)
silverwind Dec 9, 2020
2d71cdb
Add pull request manually merge instruction (#13840)
lunny Dec 10, 2020
e63a041
Move diff split code into own template file (#13919)
mrsdizzie Dec 10, 2020
338bfee
[skip ci] Updated translations via Crowdin
GiteaBot Dec 10, 2020
ccfa408
Fix avatar template error on repo collaborator page (#13924)
silverwind Dec 10, 2020
bc1cf6e
[skip ci] Updated translations via Crowdin
GiteaBot Dec 10, 2020
1cb1fb8
Remove JS globals related to timetracking and due date (#13921)
silverwind Dec 10, 2020
0c5fca2
[skip ci] Updated translations via Crowdin
GiteaBot Dec 10, 2020
94415f7
Added 2 fuzzers (#13818)
AdamKorcz Dec 10, 2020
d0043ff
Better vertical align of buttons in headers (#13932)
silverwind Dec 10, 2020
c11cf4b
chore: use octicon-mirror for feeds display (#13928)
BLumia Dec 10, 2020
b355466
Bump ini from 1.3.5 to 1.3.7 (#13941)
dependabot[bot] Dec 11, 2020
ea914d0
Fix bug for webhook and feishu caused by API changed (#13937)
lunny Dec 11, 2020
5fdf500
[skip ci] Updated translations via Crowdin
GiteaBot Dec 11, 2020
160f606
Reorganize Chroma styles (#13934)
silverwind Dec 11, 2020
f2f99a7
Ensure that pusher is not nil preventing panic in push (#13945)
zeripath Dec 11, 2020
8e0548e
Ensure that HEAD is updated to match default branch in template gener…
zeripath Dec 11, 2020
e46a638
Report permissions denied in internal SSH (#13953)
zeripath Dec 11, 2020
3285bab
Update github.com/blevesearch/bleve v1.0.13 -> v1.0.14 (#13947)
6543 Dec 12, 2020
1837e64
Diff stat improvements (#13954)
silverwind Dec 12, 2020
f9c0737
Enforce setting HEAD in wiki to master (#13950)
zeripath Dec 12, 2020
f8e9a3d
[skip ci] Updated translations via Crowdin
GiteaBot Dec 12, 2020
6074e13
Fix missing username on dashboard context switch navbar (#13959)
CirnoT Dec 12, 2020
9f100a4
Possible fix the webhook API creation (#13960)
lunny Dec 12, 2020
d07b8a7
[skip ci] Updated translations via Crowdin
GiteaBot Dec 12, 2020
287b594
Whenever the password is updated ensure that the hash algorithm is to…
zeripath Dec 12, 2020
41e8b83
Markdown task list improvements (#13952)
silverwind Dec 13, 2020
de06ee6
[skip ci] Updated translations via Crowdin
GiteaBot Dec 13, 2020
de0986d
Removes dangling < on emails/list.tmpl (#13970)
WeebDataHoarder Dec 13, 2020
cf6f8b2
[skip ci] Updated translations via Crowdin
GiteaBot Dec 13, 2020
825efa2
[API] Add Ref to Issue (#13946)
zeripath Dec 13, 2020
b35c1b5
add thumbnail preview section to issue attachments (#13826)
bobemoe Dec 13, 2020
633dc80
Do not display org avatar near icon for internal repos (#13957)
CirnoT Dec 13, 2020
729f0f5
Add emoji in label to project boards (#13978)
rakshith-ravi Dec 14, 2020
c3fc190
Trim the branch prefix from action.GetBranch (#13981)
zeripath Dec 14, 2020
27d0a55
Hide command line instructions when merge form is visible (#13956)
CirnoT Dec 15, 2020
f547b27
Fix markdown checkboxes on Blink (#13988)
silverwind Dec 15, 2020
980b0df
Standardise logging of failed authentication attempts in internal SSH…
zeripath Dec 15, 2020
e2aa701
[API] Add ref to create/edit issue options & deprecated assignee (#13…
6543 Dec 15, 2020
b8c58ed
add @noerw to maintainers (#13997)
noerw Dec 15, 2020
88b585c
Store repository data in data path if not previously set (#13991)
techknowlogick Dec 15, 2020
e7a77d3
Fix correct diff view for PR review comments in PR view page (#14002)
jpraet Dec 16, 2020
66379ba
Send push event when tag is created or deleted (#13999)
CirnoT Dec 16, 2020
4e4e61d
Disable WYSIWYG editor for mobile user agents (temporary fix)
corneliusroemer Dec 16, 2020
53308de
Send webhook when tag is removed via Web UI (#14015)
CirnoT Dec 16, 2020
5f55bab
Fix webhook list styling (#14001)
CirnoT Dec 16, 2020
1ced104
Merge branch 'master' into patch-1
corneliusroemer Dec 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
96 changes: 60 additions & 36 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ steps:
- make node_modules

- name: lint-frontend
pull: always
image: node:14
commands:
- make lint-frontend
Expand All @@ -35,7 +34,6 @@ steps:
TAGS: bindata sqlite sqlite_unlock_notify

- name: checks-frontend
pull: always
image: node:14
commands:
- make checks-frontend
Expand All @@ -49,7 +47,6 @@ steps:
depends_on: [lint-backend]

- name: build-frontend
pull: always
image: node:14
commands:
- make frontend
Expand All @@ -66,7 +63,6 @@ steps:
depends_on: [checks-backend]

- name: build-backend-arm64
pull: always
image: golang:1.15
environment:
GO111MODULE: on
Expand All @@ -80,7 +76,6 @@ steps:
depends_on: [checks-backend]

- name: build-backend-386
pull: always
image: golang:1.15
environment:
GO111MODULE: on
Expand Down Expand Up @@ -108,45 +103,28 @@ workspace:

services:
- name: mysql
pull: default
image: mysql:5.7
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: test
GOPROXY: off
TAGS: bindata sqlite sqlite_unlock_notify
GITLAB_READ_TOKEN:
from_secret: gitlab_read_token
depends_on:
- build
when:
branch:
- master
event:
- push
- pull_request

- name: mysql8
pull: default
image: mysql:8.0
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: testgitea

- name: mssql
pull: default
image: mcr.microsoft.com/mssql/server:latest
environment:
ACCEPT_EULA: Y
MSSQL_PID: Standard
SA_PASSWORD: MwantsaSecurePassword1

- name: ldap
pull: default
image: gitea/test-openldap:latest

- name: elasticsearch
pull: default
environment:
discovery.type: single-node
image: elasticsearch:7.5.0
Expand All @@ -161,7 +139,6 @@ services:

steps:
- name: fetch-tags
pull: default
image: docker:git
commands:
- git fetch --tags --force
Expand All @@ -187,7 +164,6 @@ steps:
- git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA}

- name: unit-test
pull: always
image: golang:1.15
commands:
- make unit-test-coverage test-check
Expand All @@ -198,7 +174,6 @@ steps:
from_secret: github_read_token

- name: test-mysql
pull: always
image: golang:1.15
commands:
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
Expand All @@ -214,7 +189,6 @@ steps:
- build

- name: test-mysql8
pull: always
image: golang:1.15
commands:
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
Expand All @@ -229,7 +203,6 @@ steps:
- build

- name: test-mssql
pull: always
image: golang:1.15
commands:
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
Expand All @@ -244,7 +217,6 @@ steps:
- build

- name: generate-coverage
pull: always
image: golang:1.15
commands:
- make coverage
Expand Down Expand Up @@ -307,7 +279,6 @@ services:

steps:
- name: fetch-tags
pull: default
image: docker:git
commands:
- git fetch --tags --force
Expand All @@ -327,7 +298,6 @@ steps:
TAGS: bindata sqlite sqlite_unlock_notify

- name: test-sqlite
pull: always
image: golang:1.15
commands:
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
Expand All @@ -341,7 +311,6 @@ steps:
- build

- name: test-pgsql
pull: always
image: golang:1.15
commands:
- "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
Expand Down Expand Up @@ -443,7 +412,6 @@ depends_on:

steps:
- name: fetch-tags
pull: default
image: docker:git
commands:
- git fetch --tags --force
Expand Down Expand Up @@ -497,7 +465,6 @@ steps:
- push

- name: release-master
pull: always
image: plugins/s3:1
settings:
acl: public-read
Expand Down Expand Up @@ -656,7 +623,6 @@ trigger:

steps:
- name: fetch-tags
pull: default
image: docker:git
commands:
- git fetch --tags --force
Expand All @@ -679,6 +645,27 @@ steps:
exclude:
- pull_request

- name: publish-rootless
image: plugins/docker:linux-amd64
settings:
dockerfile: Dockerfile.rootless
auto_tag: true
auto_tag_suffix: linux-amd64-rootless
repo: gitea/gitea
build_args:
- GOPROXY=off
password:
from_secret: docker_password
username:
from_secret: docker_username
environment:
PLUGIN_MIRROR:
from_secret: plugin_mirror
when:
event:
exclude:
- pull_request

---
kind: pipeline
name: docker-linux-arm64-dry-run
Expand Down Expand Up @@ -708,6 +695,9 @@ steps:
tags: linux-arm64
build_args:
- GOPROXY=off
environment:
PLUGIN_MIRROR:
from_secret: plugin_mirror
when:
event:
- pull_request
Expand All @@ -734,7 +724,6 @@ trigger:
- "refs/tags/**"
steps:
- name: fetch-tags
pull: default
image: docker:git
commands:
- git fetch --tags --force
Expand All @@ -752,6 +741,30 @@ steps:
from_secret: docker_password
username:
from_secret: docker_username
environment:
PLUGIN_MIRROR:
from_secret: plugin_mirror
when:
event:
exclude:
- pull_request

- name: publish-rootless
image: plugins/docker:linux-arm64
settings:
dockerfile: Dockerfile.rootless
auto_tag: true
auto_tag_suffix: linux-arm64-rootless
repo: gitea/gitea
build_args:
- GOPROXY=off
password:
from_secret: docker_password
username:
from_secret: docker_username
environment:
PLUGIN_MIRROR:
from_secret: plugin_mirror
when:
event:
exclude:
Expand All @@ -766,8 +779,19 @@ platform:
arch: amd64

steps:
- name: manifest
- name: manifest-rootless
pull: always
image: plugins/manifest
settings:
auto_tag: true
ignore_missing: true
spec: docker/manifest.rootless.tmpl
password:
from_secret: docker_password
username:
from_secret: docker_username

- name: manifest
image: plugins/manifest
settings:
auto_tag: true
Expand Down
Loading