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

Show outdated comments in files changed tab (#24936) #25427

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
320 commits
Select commit Hold shift + click to select a range
e269e89
Fix incorrect NotFound conditions in org/projects.go (#23384) (#23395)
GiteaBot Mar 9, 2023
975785d
Rename `canWriteUnit` to `canWriteProjects` (#23386) (#23399)
GiteaBot Mar 10, 2023
e9991b1
Refactor and tidy-up the merge/update branch code (#22568) (#23365)
GiteaBot Mar 10, 2023
43cf04c
Fix broken Chroma CSS styles (#23174) (#23402)
GiteaBot Mar 10, 2023
edb618c
Handle OpenID discovery URL errors a little nicer when creating/editi…
GiteaBot Mar 10, 2023
e259dae
Add missing tabs to org projects page (#22705) (#23412)
GiteaBot Mar 10, 2023
b301cb1
Fix and move "Use this template" button (#23398) (#23408)
GiteaBot Mar 10, 2023
e87f36e
Use buildkit for docker builds (#23415) (#23424)
GiteaBot Mar 11, 2023
0d9b44c
Preserve file size when creating attachments (#23406) (#23426)
GiteaBot Mar 12, 2023
41655ee
Show edit/close/delete button on organization wide repositories (#233…
GiteaBot Mar 12, 2023
b116249
Fix actions frontend bugs (pagination, long name alignment) and small…
GiteaBot Mar 13, 2023
fa33919
Support reflogs (#22451) (#23438)
GiteaBot Mar 13, 2023
c3c0710
Purge API comment (#23451) (#23452)
GiteaBot Mar 13, 2023
1543ac9
Fix missing commit status in PR which from forked repo (#23351) (#23453)
GiteaBot Mar 14, 2023
0a0f46f
test_env: hardcode major go version in use (#23464)
techknowlogick Mar 14, 2023
8536dc4
Make branches list page operations remember current page (#23420) (#2…
GiteaBot Mar 14, 2023
e5a51ec
Remove wrongly added column on migration test fixtures (#23456) (#23470)
GiteaBot Mar 14, 2023
c698a6f
Scoped label display and documentation tweaks (#23430) (#23433)
GiteaBot Mar 14, 2023
28af02e
Fix due date being wrong on issue list (#23475) (#23477)
GiteaBot Mar 15, 2023
31efbaf
Convert GitHub event on actions and fix some pull_request events. (#2…
GiteaBot Mar 15, 2023
5feb31f
Bump webpack from 5.75.0 to 5.76.0 (#23484) (#23487)
GiteaBot Mar 15, 2023
527bbf6
Fix 'View File' button in code search (#23478) (#23483)
GiteaBot Mar 15, 2023
d73846f
Disable sending email after push a commit to a closed PR (#23462) (#2…
GiteaBot Mar 15, 2023
70e31b4
Update path to docs theme file (#23502) (#23505)
GiteaBot Mar 15, 2023
b7c2f48
Update act (#23512) (#23518)
wolfogre Mar 16, 2023
23a6fa9
Make time tooltips interactive (#23526) (#23527)
GiteaBot Mar 16, 2023
8f8bd3c
Replace Less with CSS (#23508)
silverwind Mar 17, 2023
301de3a
Handle missing `README` in create repos API (#23387) (#23510)
Zettat123 Mar 17, 2023
68c9f1a
Use `<nav>` instead of `<div>` in the global navbar (#23125) (#23533)
GiteaBot Mar 17, 2023
cab7044
Increase horizontal page padding (#23507) (#23537)
GiteaBot Mar 17, 2023
bd1a915
Use octicon-verified for gpg signatures (#23529) (#23536)
GiteaBot Mar 17, 2023
0982402
Refactor merge/update git command calls (#23366) (#23544)
wxiaoguang Mar 17, 2023
1254fc6
Fix review comment context menu clipped bug (#23523) (#23543)
wxiaoguang Mar 17, 2023
4b763d8
Fix diff detail buttons wrapping, use tippy for review box (#23271) (…
GiteaBot Mar 17, 2023
22911a1
Imrove scroll behavior to hash issuecomment(scroll position, auto exp…
GiteaBot Mar 18, 2023
420d015
Fix `aria.js` bugs: incorrect role element problem, mobile focus pro…
wxiaoguang Mar 18, 2023
1a97a84
Fix JS error on compare page (#23551) (#23566)
GiteaBot Mar 18, 2023
f5a98b0
Fix sticky header in diff view (#23554) (#23568)
GiteaBot Mar 19, 2023
3f253b3
Fix some broken css (#23560) (#23567)
GiteaBot Mar 19, 2023
937996c
Match api migration behavior to web behavior (#23552) (#23573)
GiteaBot Mar 19, 2023
4730ed1
Add `.patch` to `attachment.ALLOWED_TYPES` (#23580) (#23582)
GiteaBot Mar 19, 2023
854fcb1
Fix dropdown icon misalignment when using fomantic icon (#23558) (#23…
wxiaoguang Mar 20, 2023
b33cae7
Fix backport #23336 (#23584)
yp05327 Mar 20, 2023
726d6a5
Add CHANGELOG for 1.19.0 (#23583) (#23586)
GiteaBot Mar 20, 2023
0732ba3
Polyfill the window.customElements (#23592) (#23595)
wxiaoguang Mar 20, 2023
a3b9171
Improve template error reporting (#23396) (#23600)
GiteaBot Mar 20, 2023
782c376
fix submodule is nil panic (#23588) (#23601)
GiteaBot Mar 21, 2023
4439a68
Fix pagination on `/notifications/watching` (#23564) (#23603)
GiteaBot Mar 21, 2023
9dfdfe2
Remove conflicting CSS rules on notifications, improve notifications …
GiteaBot Mar 21, 2023
774b37b
Introduce path Clean/Join helper functions, partially backport&refact…
wxiaoguang Mar 22, 2023
622d216
Fix diff tree height and adjust target file style (#23616)
silverwind Mar 22, 2023
e7a5429
Improve workflow event triggers (#23613) (#23648)
GiteaBot Mar 23, 2023
162f284
Rename develop -> development, contribute -> contributing, administer…
lunny Mar 23, 2023
a28863b
Fix codeblocks in the cheat sheet (#23664) (#23669)
GiteaBot Mar 23, 2023
2a70473
Backport locales to 1.19 (#23634)
wxiaoguang Mar 24, 2023
484cb22
Fix incorrect package doc link (#23679) (#23689)
GiteaBot Mar 24, 2023
780f71c
Fix incorrect `show-modal` and `show-panel` class (#23660) (#23663)
wxiaoguang Mar 24, 2023
1faa39b
Drop migration for ForeignReference (#23605) (#23666)
GiteaBot Mar 24, 2023
a9b4aa4
Create commit status when event is `pull_request_sync` (#23683) (#23691)
GiteaBot Mar 24, 2023
6705b21
Fix incorrect `HookEventType` of pull request review comments (#23650…
GiteaBot Mar 25, 2023
305cac2
Remove row clicking from notification table (#22695) (#23706)
GiteaBot Mar 25, 2023
f23b587
Describe Gitea's purpose more accurately (#23698) (#23710)
GiteaBot Mar 26, 2023
b6a2323
Check LFS/Packages settings in dump and doctor command (#23631) (#23730)
Zettat123 Mar 27, 2023
62afc0a
Redirect to project again after editing it (#23326) (#23739)
GiteaBot Mar 27, 2023
35039b8
Use GitHub Actions compatible globbing for `branches`, `tag`, `path` …
GiteaBot Mar 27, 2023
88a652f
Improve commit graph page UI alignment (#23751) (#23754)
zeripath Mar 27, 2023
1fed0e1
Fix profile page email display, respect settings (#23747) (#23756)
GiteaBot Mar 27, 2023
a254c26
Fix issue due date edit toggle bug (#23723) (#23758)
GiteaBot Mar 28, 2023
428d26d
fix br display for packages curls (#23737) (#23764)
GiteaBot Mar 28, 2023
b73d1ac
Make minio package support legacy MD5 checksum (#23768) (#23770)
wxiaoguang Mar 28, 2023
d977e7e
Add creation time in tag list page (#23693) (#23773)
GiteaBot Mar 28, 2023
81a995c
Fix project card preview select and template select (#23684) (#23731)
Zettat123 Mar 29, 2023
d27e693
Add CSS rules for basic colored labels (#23774) (#23777)
GiteaBot Mar 29, 2023
494721c
Don't apply the group filter when listing LDAP group membership if it…
GiteaBot Mar 29, 2023
edb6ba2
Add missing translation for `actions.runners.reset_registration_token…
wolfogre Mar 30, 2023
1cad923
Backport locales (with manual fix) (#23808)
wxiaoguang Mar 30, 2023
863da7d
Fix cancel button in the page of project edit not work (#23655) (#23813)
sillyguodong Mar 30, 2023
d15f20b
Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code mo…
wxiaoguang Mar 30, 2023
a146033
Fix "Updating branch by merge" bug in "update_branch_by_merge.tmpl" (…
wxiaoguang Mar 31, 2023
a04535e
[Patch] Fix closed PR also triggers Webhooks and actions (#23782) (#2…
GiteaBot Mar 31, 2023
8b3dd7d
Fix incorrect visibility dropdown list in add/edit user page (#23804)…
GiteaBot Mar 31, 2023
503af4b
CSS color tweaks (#23828) (#23842)
GiteaBot Mar 31, 2023
16bfe98
Fix 500 error if there is a name conflict when edit authentication so…
GiteaBot Mar 31, 2023
8abfbe2
Fix JS error when changing PR's target branch (#23862) (#23864)
GiteaBot Apr 2, 2023
026167f
Remove assertion debug code for show/hide refactoring (#23576) (#23868)
GiteaBot Apr 2, 2023
fe7caa0
Check `IsActionsToken` for LFS authentication (#23841) (#23875)
GiteaBot Apr 2, 2023
c68650a
Prefill input values in oauth settings as intended (#23829) (#23871)
GiteaBot Apr 3, 2023
799536d
Fix checks for `needs` in Actions (#23789) (#23831)
wolfogre Apr 3, 2023
7e07f5c
Backport some locales to 1.19 (#23880)
wxiaoguang Apr 3, 2023
1886bd6
Rename actions unit to `repo.actions` and add docs for it (#23733) (#…
GiteaBot Apr 3, 2023
847f0bb
Fix review box viewport overflow issue (#23800) (#23898)
GiteaBot Apr 3, 2023
f6dab64
Convert .Source.SkipVerify to $cfg.SkipVerify (#23839) (#23899)
GiteaBot Apr 3, 2023
ac57ec5
Fix user profile description rendering (#23882) (#23902)
GiteaBot Apr 3, 2023
669c76c
Fix `cases.Title` crash for concurrency (#23885) (#23903)
GiteaBot Apr 3, 2023
d752f0d
Add git dashes separator to some "log" and "diff" commands (#23606) (…
GiteaBot Apr 4, 2023
9836b7d
Use User.ID instead of User.Name in ActivityPub API for Person IRI (#…
GiteaBot Apr 4, 2023
dff3ce0
User/Org Feed render description as per web (#23887) (#23906)
GiteaBot Apr 4, 2023
fd0baf6
Org pages style fixes (#23901) (#23914)
GiteaBot Apr 4, 2023
c34f7cd
Use ghost user if package creator does not exist (#23822) (#23915)
GiteaBot Apr 4, 2023
7c180ff
Fix code view (diff) broken layout (#23096) (#23918)
GiteaBot Apr 4, 2023
1a8da2e
Update docs markdown file weight to make it clear (#23909) (#23921)
lunny Apr 4, 2023
7bfab90
docs: fix typo (#23924) (#23925)
GiteaBot Apr 4, 2023
8d88f14
docs: make the required backticks in email password more explicit (#2…
GiteaBot Apr 4, 2023
df74ee0
Scroll collapsed file into view (#23702) (#23929)
GiteaBot Apr 5, 2023
55239cb
Fix image border-radius (#23886) (#23930)
GiteaBot Apr 5, 2023
8092251
Left-align review comments (#23937)
silverwind Apr 6, 2023
001d3fb
Delete deleted release attachments immediately from storage (#23913) …
GiteaBot Apr 6, 2023
ac658bb
Backport locales to 1.19 (#23960)
wxiaoguang Apr 7, 2023
5066b20
Merge `push to create`, `open PR from push`, and `push options` docs …
lunny Apr 7, 2023
085b563
Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path…
6543 Apr 7, 2023
1b8ecd1
Title can be empty when creating tag only (#23917) (#23961)
GiteaBot Apr 7, 2023
833a4b1
Hardcode path to docker images (#23955) (#23968)
GiteaBot Apr 7, 2023
5b7df68
Ensure RSS icon is present on all repo tabs (#23904) (#23973)
GiteaBot Apr 7, 2023
f317186
Do not crash when parsing an invalid workflow file (#23972) (#23976)
GiteaBot Apr 7, 2023
3a7cb1a
Use Get/Set instead of Rename when Regenerate session id (#23975) (#2…
GiteaBot Apr 7, 2023
0487e39
Treat PRs with agit flow as fork PRs when triggering actions. (#23884…
wolfogre Apr 7, 2023
4019a6d
Discolor pull request tab labels (#23950) (#23987)
GiteaBot Apr 8, 2023
a00e473
Remove `Repository.getFilesChanged` to fix Actions `paths` and `paths…
GiteaBot Apr 8, 2023
6a5b8eb
Fix redirect bug when creating issue from a project (#23971) (#23997)
GiteaBot Apr 8, 2023
4aabd8e
Set `ref` to fully-formed of the tag when trigger event is `release` …
GiteaBot Apr 8, 2023
3dbc637
Adjust sticky pr header to cover background (#23956) (#23999)
GiteaBot Apr 8, 2023
cfde557
fix: do not escape space between PyPI repository url and package name…
GiteaBot Apr 8, 2023
695738f
Show protected branch rule names again (#23907) (#24018)
GiteaBot Apr 9, 2023
2b10eeb
Show errors for KaTeX and mermaid on the preview tab (#24009) (#24019)
GiteaBot Apr 9, 2023
abf0386
Fix protected branch for API (#24013) (#24027)
GiteaBot Apr 10, 2023
27dbe97
Add actions support to package auth verification (#23729) (#24028)
GiteaBot Apr 10, 2023
f55fe98
Use actions job link as commit status URL instead of run link (#24023…
wolfogre Apr 10, 2023
8644993
Update documentation to explain which projects allow Gitea to host st…
GiteaBot Apr 11, 2023
580da8f
Fix branch protection priority (#24045) (#24061)
GiteaBot Apr 11, 2023
29724f3
Refactor commit status for Actions jobs (#23786) (#24060)
denyskon Apr 12, 2023
37d3e0e
Fix accidental overwriting of LDAP team memberships (#24050) (#24065)
GiteaBot Apr 12, 2023
5482602
Add cardtype to org/user level project on creation, edit and view (#2…
HesterG Apr 12, 2023
d562b41
Make label templates have consistent behavior and priority (#23749) (…
wxiaoguang Apr 12, 2023
16d2cf0
Fix custom mailer template on Windows (#24081)
wxiaoguang Apr 12, 2023
607801e
Update the value of the `diffEnd` when click `Show More` btn in the D…
GiteaBot Apr 12, 2023
93c7611
Improve LFS error logs (#24072) (#24082)
GiteaBot Apr 12, 2023
2398a23
Backport locales to 1.19 (#24083)
wxiaoguang Apr 12, 2023
447fa67
Changelog v1.19.1 (#24079)
6543 Apr 13, 2023
893c97d
Fix mismatch between hook events and github event types (#24048) (#24…
Zettat123 Apr 13, 2023
67a73dd
Fix incorrect server error content in RunnersList (#24118) (#24121)
GiteaBot Apr 14, 2023
10f9399
Highlight selected file in the PR file tree (#23947) (#24126)
sillyguodong Apr 14, 2023
494e373
Fix 2-dot direct compare to use the right base commit (#24133) (#24150)
GiteaBot Apr 16, 2023
94fbd44
Set EasyMDE heading font-size to the same size as the resulting markd…
wxiaoguang Apr 16, 2023
2b32f8b
Sort repo topic labels by name (#24123) (#24153)
wxiaoguang Apr 17, 2023
463e144
Update redis library to support redis v7 (#24114) (#24156)
pat-s Apr 17, 2023
03b6e79
Use 1.18's aria role for dropdown menus (#24144) (#24155)
wxiaoguang Apr 17, 2023
c4f569b
Support converting varchar to nvarchar for mssql database (#24105) (#…
GiteaBot Apr 17, 2023
3d3c740
Fix Org edit page bugs: renaming detection, maxlength (#24161) (#24171)
GiteaBot Apr 17, 2023
f134229
Use correct locale key for forks page (#24172) (#24175)
GiteaBot Apr 17, 2023
2e6e5bc
Fix incorrect CORS default values (#24206) (#24217)
GiteaBot Apr 19, 2023
8cd5483
Fix template error in pull request with deleted head repo (#24192) (#…
GiteaBot Apr 19, 2023
dc66cea
Don't list root repository on compare page if pulls not allowed (#241…
GiteaBot Apr 19, 2023
7d717e2
Vertical widths of containers removed (#24184) (#24211)
GiteaBot Apr 20, 2023
95c2cb4
Add run status in action view page (#24223)
yp05327 Apr 20, 2023
d5f2c9d
Fix issue attachment handling (#24202) (#24221)
wxiaoguang Apr 20, 2023
7117355
Fix label color, fix divider in dropdown (#24215) (#24244)
GiteaBot Apr 21, 2023
51fd730
Show commit history for closed/merged PRs (#24238) (#24261)
GiteaBot Apr 21, 2023
b00f7c3
Fix access token issue on some public endpoints (#24194) (#24259)
GiteaBot Apr 21, 2023
5ccb626
Fix owner team access mode value in team_unit table (#24224)
yp05327 Apr 22, 2023
da44484
Fix footer display (#24251) (#24269)
wxiaoguang Apr 22, 2023
077160b
fix calReleaseNumCommitsBehind (#24148) (#24197)
oliverpool Apr 22, 2023
7297cce
Only delete secrets belonging to its owner (#24284) (#24286)
GiteaBot Apr 23, 2023
7e86dff
Load reviewer for comments when dismissing a review (#24281) (#24288)
GiteaBot Apr 23, 2023
65de747
Handle canceled workflow as a warning instead of a fail (#24282) (#24…
GiteaBot Apr 23, 2023
a2f52f3
Fix bug when deleting wiki with no code write permission (#24274) (#2…
GiteaBot Apr 24, 2023
1b8e365
Upgrade act (#24298) (#24300)
GiteaBot Apr 24, 2023
8044d87
Unify nightly naming across binaries and docker images (#24116) (#24308)
GiteaBot Apr 24, 2023
b1094ff
Remove org users who belong to no teams (#24247) (#24313)
GiteaBot Apr 25, 2023
ef3e3af
Fix typo in API route (#24310) (#24332)
GiteaBot Apr 25, 2023
1254a82
Wrap too long push mirror addresses (#21120) (#24334)
GiteaBot Apr 25, 2023
1bbbeb2
Respect the REGISTER_MANUAL_CONFIRM setting when registering via OIDC…
GiteaBot Apr 25, 2023
5f82011
Add --font-weight-bold and set previous bold to 601 (#24307) (#24331)
wxiaoguang Apr 25, 2023
cc7a4f1
Don't set meta `theme-color` by default (#24340) (#24346)
GiteaBot Apr 26, 2023
912a418
Fix broken clone script on an empty archived repo (#24339) (#24348)
GiteaBot Apr 26, 2023
af5d66b
Fix wrong error info in RepoRefForAPI (#24344) (#24351)
GiteaBot Apr 26, 2023
d2328c4
Fix Monaco IOS keyboard button (#24341) (#24347)
GiteaBot Apr 26, 2023
89297c9
Fix no edit/close/delete button in org repo project view page (#24349)
yp05327 Apr 26, 2023
d2efd2b
Require repo scope for PATs for private repos and basic authenticatio…
GiteaBot Apr 27, 2023
e301e26
Add tags list for repos whose release setting is disabled (#23465) (…
Zettat123 Apr 27, 2023
5999349
Fix auth check bug (#24382) (#24387)
GiteaBot Apr 27, 2023
4bc6bfb
Changelog 1.19.2 (#24365)
jolheiser Apr 27, 2023
e76b3f7
getting the tag list does not require being signed in (#24413) (#24416)
GiteaBot Apr 29, 2023
7d7ba76
Fix user-cards format (#24428) (#24431)
GiteaBot Apr 30, 2023
d9d3f52
Fix incorrect CurrentUser check for docker rootless (#24435)
wxiaoguang Apr 30, 2023
3abbf5f
Improve milestone filter on issues page (#22423) (#24440)
GiteaBot Apr 30, 2023
bfdbc62
nightly tag for docker images
techknowlogick Apr 30, 2023
f1a0b64
Skip known flaky `queue` tests on CI environment (#24443)
silverwind Apr 30, 2023
84fa30e
Remove less/_repository.less (#24467)
wxiaoguang May 1, 2023
499257d
nightly tag
techknowlogick May 1, 2023
73e70f3
Enable whitespace rendering on selection in Monaco (#24444) (#24485)
GiteaBot May 2, 2023
4dccac3
Fix api error message if fork exists (#24487) (#24493)
GiteaBot May 3, 2023
8ceb78c
Changelog for 1.19.3 (#24495)
techknowlogick May 3, 2023
f979569
Bump go.etcd.io/bbolt and blevesearch deps (#23062) (#24519)
lunny May 4, 2023
7a74957
Fix new wiki page mirror (#24518)
lunny May 4, 2023
2572879
Fix the permission of team's `Actions` unit issue (#24536) (#24545)
GiteaBot May 5, 2023
6f57be0
Makefile: Use portable !, not GNUish -not, with find(1). (#24565) (#2…
GiteaBot May 7, 2023
4498a26
Improve decryption failure message (#24573) (#24575)
wxiaoguang May 7, 2023
306b7b5
Refresh the refernce of the closed PR when reopening (#24231) (#24587)
GiteaBot May 8, 2023
b390b43
Fix close org projects (#24588) (#24591)
GiteaBot May 8, 2023
7eaf7aa
Do not select line numbers when selecting text from the action run lo…
GiteaBot May 8, 2023
cb7ba89
fix: release page for empty or non-existing target (#24659)
oliverpool May 12, 2023
8f72201
Fix issues list page multiple selection update milestones (#24660) (#…
GiteaBot May 12, 2023
aa984f2
Fix docs documenting invalid `@every` for `OLDER_THAN` cron settings …
GiteaBot May 13, 2023
da1c38d
Fix `organization` field being `null` in `GET /api/v1/teams/{id}` (#2…
GiteaBot May 13, 2023
0ee51a5
Add test for api team organization (#24699) (#24702)
GiteaBot May 13, 2023
2fea93b
Fix run list broken when trigger user deleted (#24706) (#24709)
GiteaBot May 14, 2023
6ecd2e7
Fix Pull Mirror out-of-sync bugs (#24732) (#24733)
wxiaoguang May 15, 2023
e4f200e
Respect original content when creating secrets (#24745) (#24746)
GiteaBot May 16, 2023
57f520e
Make mailer SMTP check have timed context (#24751) (#24759)
GiteaBot May 17, 2023
1bad05d
Fix missed table name on iterate lfs meta objects (#24768) (#24774)
GiteaBot May 17, 2023
64cc691
Fix safari cookie session bug (#24772)
wxiaoguang May 18, 2023
b369ed5
Fix Actions being enabled accidentally (#24802) (#24810)
GiteaBot May 19, 2023
04f9ab1
Fix topics deleted via API not being deleted in org page (#24825) (#2…
GiteaBot May 21, 2023
f29c52a
Return `404` in the API if the requested webhooks were not found (#24…
GiteaBot May 21, 2023
e81d38b
Set `--font-weight-bold` to 600 (#24840)
silverwind May 22, 2023
e7757aa
Remove unnecessary prefix usage (#24888)
lunny May 23, 2023
d19d5bc
Make DeleteIssue use correct context (#24885)
wxiaoguang May 23, 2023
275abd6
Only validate changed columns when update user (#24867) (#24903)
GiteaBot May 24, 2023
c5dee88
Hiding Secrets options when Actions feature is disabled (#24792)
pboguslawski May 24, 2023
a83d597
Merge different languages for language stats (#24900) (#24921)
wxiaoguang May 25, 2023
d1af0a3
Merge two translation contributing documents (#23939) (#24933)
GiteaBot May 25, 2023
b4cd102
Fix doc for 1.19 backend guideline (#24942)
HesterG May 26, 2023
8a6a114
Remove reference to caddy v1 in docs (#24962) (#24964)
GiteaBot May 28, 2023
9da84a3
simple docs fixes: 'pull request' page (en-us & zh-tw) link path to '…
GiteaBot May 29, 2023
3a7e095
`zh-cn` translation for usage docs (#24897) (#24977)
GiteaBot May 29, 2023
7dc46ff
Match unqualified references when syncing pulls as well (#23070)
lflare May 29, 2023
826b7b9
Fix missing reference prefix of commits when sync mirror repository (…
sillyguodong May 30, 2023
0ef7b66
Update from-binary.en-us.md (#24975) (#24999)
GiteaBot May 30, 2023
cdeb55f
Remove unnecessary content on docs (#24976) (#25001)
HesterG May 30, 2023
d2c9fb0
Unify doc links to use paths relative to doc folder (#24979) (#25000)
HesterG May 30, 2023
37b73b3
Add Chinese docs for help, contribution and development (#24925) (#25…
HesterG May 31, 2023
3b5cc02
Add chinese documentations for installation (#24904) (#25015)
sillyguodong May 31, 2023
95bf09f
Add chinese documentations for Packages (#24914) (#25016)
sillyguodong May 31, 2023
b83e4f2
Run markdownlint on drone, fix lint issue (#25040)
silverwind Jun 1, 2023
73ae6b2
Fix users cannot visit issue attachment bug (#25019) (#25027)
GiteaBot Jun 1, 2023
edfa2c5
Port Chinese document for localization to v1.19 (#25021)
HesterG Jun 2, 2023
b2ec116
Add oauth Chinese document for v1.19 (#25020)
HesterG Jun 2, 2023
8e94b71
GitLab migration: Sanitize response for reaction list (#25054) (#25059)
GiteaBot Jun 2, 2023
15adec1
improve permission documentation (#23942) (#25078)
GiteaBot Jun 5, 2023
3ef9793
Fix parallelly generating index failure with Mysql (#24567) (#25081)
GiteaBot Jun 5, 2023
8df6713
update labels link to correct location in 1.19 docs (#25105)
techknowlogick Jun 6, 2023
e3cdb05
add zh-cn for `Upgrade from old Gitea` in v1.19 (#25022)
sillyguodong Jun 6, 2023
c23ab42
Change branch name from master to main in some documents' links (#251…
HesterG Jun 8, 2023
ed78711
Fix broken links in documents v1.19 (#25142)
HesterG Jun 8, 2023
a903005
Fix open redirect check for more cases (#25143) (#25155)
lafriks Jun 8, 2023
de6ac4b
Add `WithPullRequest` for `actionsNotifier` (#25144) (#25196)
GiteaBot Jun 11, 2023
a9ebf91
Hide limited users if viewed by anonymous ghost (#25214) (#25224)
GiteaBot Jun 13, 2023
1650a26
Fix task list checkbox toggle to work with YAML front matter (#25184)…
jtran Jun 13, 2023
b4bfaf7
Add link to support page for commercial support (#25293) (#25299)
GiteaBot Jun 16, 2023
1b27189
Show outdated comments in files changed tab (#24936)
sebastian-sauer Jun 21, 2023
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
  •  
  •  
  •  
151 changes: 111 additions & 40 deletions .drone.yml

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions .stylelintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
plugins:
- stylelint-declaration-strict-value

ignoreFiles:
- "**/*.go"

overrides:
- files: ["**/*.less"]
customSyntax: postcss-less
- files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console/*"]
rules:
scale-unlimited/declaration-strict-value: null
- files: ["**/chroma/*", "**/codemirror/*"]
rules:
block-no-empty: null

rules:
alpha-value-notation: null
Expand Down
499 changes: 499 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ You can find more information on how to get started with it on the [Modules Wiki

We do all translation work inside [Crowdin](https://crowdin.com/project/gitea).
The only translation that is maintained in this Git repository is
[`en_US.ini`](https://github.com/go-gitea/gitea/blob/master/options/locale/locale_en-US.ini)
[`en_US.ini`](https://github.com/go-gitea/gitea/blob/main/options/locale/locale_en-US.ini)
and is synced regularly to Crowdin. Once a translation has reached
A SATISFACTORY PERCENTAGE it will be synced back into this repo and
included in the next released version.
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Build stage
FROM golang:1.20-alpine3.17 AS build-env
FROM docker.io/library/golang:1.20-alpine3.17 AS build-env

ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
Expand All @@ -23,7 +23,7 @@ RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
# Begin env-to-ini build
RUN go build contrib/environment-to-ini/environment-to-ini.go

FROM alpine:3.17
FROM docker.io/library/alpine:3.17
LABEL maintainer="[email protected]"

EXPOSE 22 3000
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.rootless
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Build stage
FROM golang:1.20-alpine3.17 AS build-env
FROM docker.io/library/golang:1.20-alpine3.17 AS build-env

ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
Expand All @@ -23,7 +23,7 @@ RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
# Begin env-to-ini build
RUN go build contrib/environment-to-ini/environment-to-ini.go

FROM alpine:3.17
FROM docker.io/library/alpine:3.17
LABEL maintainer="[email protected]"

EXPOSE 2222 3000
Expand Down
18 changes: 13 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ ifeq ($(RACE_ENABLED),true)
endif

STORED_VERSION_FILE := VERSION
HUGO_VERSION ?= 0.111.3

ifneq ($(DRONE_TAG),)
VERSION ?= $(subst v,,$(DRONE_TAG))
Expand All @@ -96,6 +97,11 @@ else
endif
endif

# if version = "main" then update version to "nightly"
ifeq ($(VERSION),main)
VERSION := main-nightly
endif

LDFLAGS := $(LDFLAGS) -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"

LINUX_ARCHS ?= linux/amd64,linux/386,linux/arm-5,linux/arm-6,linux/arm64
Expand All @@ -105,7 +111,7 @@ GO_TEST_PACKAGES ?= $(filter-out $(shell $(GO) list code.gitea.io/gitea/models/m

FOMANTIC_WORK_DIR := web_src/fomantic

WEBPACK_SOURCES := $(shell find web_src/js web_src/less -type f)
WEBPACK_SOURCES := $(shell find web_src/js web_src/css -type f)
WEBPACK_CONFIGS := webpack.config.js
WEBPACK_DEST := public/js/index.js public/css/index.css
WEBPACK_DEST_ENTRIES := public/js public/css public/fonts public/img/webpack public/serviceworker.js
Expand All @@ -131,10 +137,10 @@ TEST_TAGS ?= sqlite sqlite_unlock_notify
TAR_EXCLUDES := .git data indexers queues log node_modules $(EXECUTABLE) $(FOMANTIC_WORK_DIR)/node_modules $(DIST) $(MAKE_EVIDENCE_DIR) $(AIR_TMP_DIR) $(GO_LICENSE_TMP_DIR)

GO_DIRS := cmd tests models modules routers build services tools
WEB_DIRS := web_src/js web_src/less
WEB_DIRS := web_src/js web_src/css

GO_SOURCES := $(wildcard *.go)
GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" -not -path modules/options/bindata.go -not -path modules/public/bindata.go -not -path modules/templates/bindata.go)
GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" ! -path modules/options/bindata.go ! -path modules/public/bindata.go ! -path modules/templates/bindata.go)
GO_SOURCES += $(GENERATED_GO_DEST)
GO_SOURCES_NO_BINDATA := $(GO_SOURCES)

Expand Down Expand Up @@ -341,7 +347,7 @@ lint: lint-frontend lint-backend
.PHONY: lint-frontend
lint-frontend: node_modules
npx eslint --color --max-warnings=0 --ext js,vue web_src/js build *.config.js docs/assets/js tests/e2e
npx stylelint --color --max-warnings=0 web_src/less
npx stylelint --color --max-warnings=0 web_src/css
npx spectral lint -q -F hint $(SWAGGER_SPEC)
npx markdownlint docs *.md

Expand Down Expand Up @@ -816,7 +822,7 @@ release-docs: | $(DIST_DIRS) docs
.PHONY: docs
docs:
@hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
curl -sL https://github.com/gohugoio/hugo/releases/download/v0.74.3/hugo_0.74.3_Linux-64bit.tar.gz | tar zxf - -C /tmp && mv /tmp/hugo /usr/bin/hugo && chmod +x /usr/bin/hugo; \
curl -sL https://github.com/gohugoio/hugo/releases/download/v$(HUGO_VERSION)/hugo_$(HUGO_VERSION)_Linux-64bit.tar.gz | tar zxf - -C /tmp && mv /tmp/hugo /usr/bin/hugo && chmod +x /usr/bin/hugo; \
fi
cd docs; make trans-copy clean build-offline;

Expand Down Expand Up @@ -859,6 +865,8 @@ fomantic:
cp -f $(FOMANTIC_WORK_DIR)/theme.config.less $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/theme.config
cp -rf $(FOMANTIC_WORK_DIR)/_site $(FOMANTIC_WORK_DIR)/node_modules/fomantic-ui/src/
cd $(FOMANTIC_WORK_DIR) && npx gulp -f node_modules/fomantic-ui/gulpfile.js build
# fomantic uses "touchstart" as click event for some browsers, it's not ideal, so we force fomantic to always use "click" as click event
$(SED_INPLACE) -e 's/clickEvent[ \t]*=/clickEvent = "click", unstableClickEvent =/g' $(FOMANTIC_WORK_DIR)/build/semantic.js
$(SED_INPLACE) -e 's/\r//g' $(FOMANTIC_WORK_DIR)/build/semantic.css $(FOMANTIC_WORK_DIR)/build/semantic.js
rm -f $(FOMANTIC_WORK_DIR)/build/*.min.*

Expand Down
15 changes: 5 additions & 10 deletions assets/go-licenses.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT


//go:build vendor

package main
Expand Down
11 changes: 10 additions & 1 deletion cmd/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package cmd
import (
"errors"
"fmt"
"net/url"
"os"
"strings"
"text/tabwriter"
Expand Down Expand Up @@ -469,11 +470,19 @@ func runAddOauth(c *cli.Context) error {
return err
}

config := parseOAuth2Config(c)
if config.Provider == "openidConnect" {
discoveryURL, err := url.Parse(config.OpenIDConnectAutoDiscoveryURL)
if err != nil || (discoveryURL.Scheme != "http" && discoveryURL.Scheme != "https") {
return fmt.Errorf("invalid Auto Discovery URL: %s (this must be a valid URL starting with http:// or https://)", config.OpenIDConnectAutoDiscoveryURL)
}
}

return auth_model.CreateSource(&auth_model.Source{
Type: auth_model.OAuth2,
Name: c.String("name"),
IsActive: true,
Cfg: parseOAuth2Config(c),
Cfg: config,
})
}

Expand Down
27 changes: 16 additions & 11 deletions cmd/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
var CmdConvert = cli.Command{
Name: "convert",
Usage: "Convert the database",
Description: "A command to convert an existing MySQL database from utf8 to utf8mb4",
Description: "A command to convert an existing MySQL database from utf8 to utf8mb4 or MSSQL database from varchar to nvarchar",
Action: runConvert,
}

Expand All @@ -35,17 +35,22 @@ func runConvert(ctx *cli.Context) error {
log.Info("Log path: %s", setting.Log.RootPath)
log.Info("Configuration file: %s", setting.CustomConf)

if !setting.Database.UseMySQL {
fmt.Println("This command can only be used with a MySQL database")
return nil
switch {
case setting.Database.Type.IsMySQL():
if err := db.ConvertUtf8ToUtf8mb4(); err != nil {
log.Fatal("Failed to convert database from utf8 to utf8mb4: %v", err)
return err
}
fmt.Println("Converted successfully, please confirm your database's character set is now utf8mb4")
case setting.Database.Type.IsMSSQL():
if err := db.ConvertVarcharToNVarchar(); err != nil {
log.Fatal("Failed to convert database from varchar to nvarchar: %v", err)
return err
}
fmt.Println("Converted successfully, please confirm your database's all columns character is NVARCHAR now")
default:
fmt.Println("This command can only be used with a MySQL or MSSQL database")
}

if err := db.ConvertUtf8ToUtf8mb4(); err != nil {
log.Fatal("Failed to convert database from utf8 to utf8mb4: %v", err)
return err
}

fmt.Println("Converted successfully, please confirm your database's character set is now utf8mb4")

return nil
}
7 changes: 6 additions & 1 deletion cmd/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ func runDump(ctx *cli.Context) error {

if ctx.IsSet("skip-lfs-data") && ctx.Bool("skip-lfs-data") {
log.Info("Skip dumping LFS data")
} else if !setting.LFS.StartServer {
log.Info("LFS isn't enabled. Skip dumping LFS data")
} else if err := storage.LFS.IterateObjects(func(objPath string, object storage.Object) error {
info, err := object.Stat()
if err != nil {
Expand All @@ -272,13 +274,14 @@ func runDump(ctx *cli.Context) error {
fatal("Failed to create tmp file: %v", err)
}
defer func() {
_ = dbDump.Close()
if err := util.Remove(dbDump.Name()); err != nil {
log.Warn("Unable to remove temporary file: %s: Error: %v", dbDump.Name(), err)
}
}()

targetDBType := ctx.String("database")
if len(targetDBType) > 0 && targetDBType != setting.Database.Type {
if len(targetDBType) > 0 && targetDBType != setting.Database.Type.String() {
log.Info("Dumping database %s => %s...", setting.Database.Type, targetDBType)
} else {
log.Info("Dumping database...")
Expand Down Expand Up @@ -363,6 +366,8 @@ func runDump(ctx *cli.Context) error {

if ctx.IsSet("skip-package-data") && ctx.Bool("skip-package-data") {
log.Info("Skip dumping package data")
} else if !setting.Packages.Enabled {
log.Info("Packages isn't enabled. Skip dumping package data")
} else if err := storage.Packages.IterateObjects(func(objPath string, object storage.Object) error {
info, err := object.Stat()
if err != nil {
Expand Down
27 changes: 19 additions & 8 deletions cmd/migrate_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,21 @@ var CmdMigrateStorage = cli.Command{
cli.StringFlag{
Name: "minio-base-path",
Value: "",
Usage: "Minio storage basepath on the bucket",
Usage: "Minio storage base path on the bucket",
},
cli.BoolFlag{
Name: "minio-use-ssl",
Usage: "Enable SSL for minio",
},
cli.BoolFlag{
Name: "minio-insecure-skip-verify",
Usage: "Skip SSL verification",
},
cli.StringFlag{
Name: "minio-checksum-algorithm",
Value: "",
Usage: "Minio checksum algorithm (default/md5)",
},
},
}

Expand Down Expand Up @@ -168,13 +177,15 @@ func runMigrateStorage(ctx *cli.Context) error {
dstStorage, err = storage.NewMinioStorage(
stdCtx,
storage.MinioStorageConfig{
Endpoint: ctx.String("minio-endpoint"),
AccessKeyID: ctx.String("minio-access-key-id"),
SecretAccessKey: ctx.String("minio-secret-access-key"),
Bucket: ctx.String("minio-bucket"),
Location: ctx.String("minio-location"),
BasePath: ctx.String("minio-base-path"),
UseSSL: ctx.Bool("minio-use-ssl"),
Endpoint: ctx.String("minio-endpoint"),
AccessKeyID: ctx.String("minio-access-key-id"),
SecretAccessKey: ctx.String("minio-secret-access-key"),
Bucket: ctx.String("minio-bucket"),
Location: ctx.String("minio-location"),
BasePath: ctx.String("minio-base-path"),
UseSSL: ctx.Bool("minio-use-ssl"),
InsecureSkipVerify: ctx.Bool("minio-insecure-skip-verify"),
ChecksumAlgorithm: ctx.String("minio-checksum-algorithm"),
})
default:
return fmt.Errorf("unsupported storage type: %s", ctx.String("storage"))
Expand Down
25 changes: 15 additions & 10 deletions cmd/serv.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"net/url"
"os"
"os/exec"
"path/filepath"
"regexp"
"strconv"
"strings"
Expand Down Expand Up @@ -290,17 +291,21 @@ func runServ(c *cli.Context) error {
return nil
}

// Special handle for Windows.
if setting.IsWindows {
verb = strings.Replace(verb, "-", " ", 1)
}

var gitcmd *exec.Cmd
verbs := strings.Split(verb, " ")
if len(verbs) == 2 {
gitcmd = exec.CommandContext(ctx, verbs[0], verbs[1], repoPath)
} else {
gitcmd = exec.CommandContext(ctx, verb, repoPath)
gitBinPath := filepath.Dir(git.GitExecutable) // e.g. /usr/bin
gitBinVerb := filepath.Join(gitBinPath, verb) // e.g. /usr/bin/git-upload-pack
if _, err := os.Stat(gitBinVerb); err != nil {
// if the command "git-upload-pack" doesn't exist, try to split "git-upload-pack" to use the sub-command with git
// ps: Windows only has "git.exe" in the bin path, so Windows always uses this way
verbFields := strings.SplitN(verb, "-", 2)
if len(verbFields) == 2 {
// use git binary with the sub-command part: "C:\...\bin\git.exe", "upload-pack", ...
gitcmd = exec.CommandContext(ctx, git.GitExecutable, verbFields[1], repoPath)
}
}
if gitcmd == nil {
// by default, use the verb (it has been checked above by allowedCommands)
gitcmd = exec.CommandContext(ctx, gitBinVerb, repoPath)
}

process.SetSysProcAttribute(gitcmd)
Expand Down
Loading