Skip to content

Removable media support #16135

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

Closed
wants to merge 166 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
7b464fa
Fix bug when upload on web (#15042) (#15054)
6543 Mar 20, 2021
29e0d62
Update to goldmark 1.3.3 (#15059) (#15060)
zeripath Mar 20, 2021
ed60fe0
Update release date (#15065)
lafriks Mar 20, 2021
ac2ae66
Handle unauthorized user events gracefully (#15071) (#15074)
lafriks Mar 21, 2021
fbaa019
fix double 'push tag' action feed (#15078) (#15083)
a1012112796 Mar 21, 2021
d770cc9
Remove possible resource leak (#15067) (#15082)
6543 Mar 21, 2021
61444ed
Fix markdown rendering in milestone content (#15056) (#15091)
silverwind Mar 21, 2021
6feb435
Place wrapper around comment as diff to catch panics (#15085) (#15094)
zeripath Mar 21, 2021
5519e26
Fix lock modal content rendering outside modal (#15095) (#15100)
silverwind Mar 22, 2021
14011d7
Fix the v176 migration (#15110) (#15111)
zeripath Mar 22, 2021
23db337
Fix another clusterfuzz identified issue (#15096) (#15113)
zeripath Mar 22, 2021
8b0cf88
Changelog for v1.14-rc2 (#15115)
zeripath Mar 22, 2021
26b9841
[Vendor] update gitea-sdk v0.14.0 (#15103) (#15107)
6543 Mar 23, 2021
b5c4cb1
Fix bug on avatar middleware (#15124) (#15126)
6543 Mar 23, 2021
f286a28
Fix consistency check (#15120) (#15128)
zeripath Mar 23, 2021
27acf61
update changelog for rc2 release (#15130)
6543 Mar 23, 2021
e99534c
Fix Migration 176 yet again (#15132)
zeripath Mar 23, 2021
3558310
Fix wrong user returned in API (#15139) (#15151)
sotho Mar 26, 2021
a0e5c49
Clusterfuzz found another way (#15160) (#15168)
zeripath Mar 27, 2021
0cccad0
fix org navbar (#15174)
noerw Mar 27, 2021
6130882
should run RetrieveRepoMetas() for empty pr (#15187) (#15190)
a1012112796 Mar 29, 2021
fd5c672
Fix margin between avatars on org pages (#15194) (#15197)
silverwind Mar 29, 2021
0ebfc14
Fix webhook delivery and issue checklist for arc-green (#15195) (#15204)
silverwind Mar 30, 2021
92b2883
add 'fonts' into 'KnownPublicEntries' (#15188) (#15218)
a1012112796 Mar 31, 2021
2bc7595
Fix regression from #14623 - use debug SVC handler only on interactiv…
zeripath Mar 31, 2021
e520dff
Improve /api/v1/repos/issues/search by just getting repo ids (#15179)…
zeripath Mar 31, 2021
5c7d30c
Diff box fixes (#15214) (#15227)
silverwind Apr 1, 2021
2b68f66
Fix timezone bug when clicking heatmap (#15141) (#15231)
mayswind Apr 1, 2021
2705696
Prevent NPE in CommentMustAsDiff if no hunk header (#15199) (#15200)
zeripath Apr 1, 2021
f75a9b2
Speed up `enry.IsVendor` (#15213) (#15245)
zeripath Apr 1, 2021
c6eb9b3
response 404 for diff/patch of a commit that not exist (#15221) (#15237)
a1012112796 Apr 1, 2021
8ec7beb
Fix graph pagination (#15225) (#15249)
KN4CK3R Apr 2, 2021
33c4e24
update golang libraries (#15258) (#15259)
techknowlogick Apr 3, 2021
4bc8dfc
Branch page and misc css improvements (#15208) (#15274)
silverwind Apr 4, 2021
af73e1e
Add size to Save function (#15264) (#15270)
zeripath Apr 4, 2021
3803b15
Drop the event source if we are unauthorized (#15275) (#15280)
zeripath Apr 5, 2021
e6050e8
Update to bluemonday-1.0.6 (#15294) (#15297)
6543 Apr 6, 2021
a8c6a4a
Fix bug in Wrap (#15302) (#15309)
6543 Apr 6, 2021
cf9b6c2
Close file on invalid range (Addition to #15166) (#15268) (#15308)
KN4CK3R Apr 6, 2021
32232db
Reduce memory usage in testgit (#15306) (#15310)
6543 Apr 7, 2021
80b5526
Fix xorm log stack level (#15285) (#15316)
6543 Apr 7, 2021
38d184d
Fix CanCreateRepo check (#15311) (#15321)
6543 Apr 7, 2021
460093b
Monaco improvements (#15333) (#15345)
silverwind Apr 8, 2021
798ac3f
Fix handling of logout event (#15323) (#15337)
zeripath Apr 8, 2021
456d63b
Prepend AppSubUrl to links for default avatar (#15341) (#15342)
zeripath Apr 8, 2021
16e3402
Show diff on rename with diff changes (#15338) (#15339)
zeripath Apr 8, 2021
1ec4913
Disable cssnano's colormin plugin (#15348)
silverwind Apr 9, 2021
942b036
Fix button border issue (#15351)
silverwind Apr 9, 2021
b072907
Fix `admin user list` (#15358) (#15359)
6543 Apr 9, 2021
24ebc7e
Move FCGI req.URL.Path fix-up to the FCGI listener (#15292) (#15361)
zeripath Apr 9, 2021
53c2136
Upgrade to bluemonday 1.0.7 (#15379) (#15380)
zeripath Apr 9, 2021
e861dcb
Dropzone styling improvements (#15291) (#15374)
silverwind Apr 9, 2021
67a12b8
Turn RepoRef and RepoAssignment back into func(*Context) (#15372) (#1…
zeripath Apr 10, 2021
1fe5fe4
Always set the merge base used to merge the commit (#15352) (#15385)
zeripath Apr 10, 2021
87074ec
Fix delete nonexist oauth application 500 and prevent deadlock (#1538…
lunny Apr 11, 2021
55e159c
Changelog v1.14.0 (#15360)
6543 Apr 11, 2021
330fa75
Use semantic dropdown for code search query type (#15276) (#15364)
CL-Jeremy Apr 11, 2021
c339890
use repo1_bare to test against (#15402) (#15404)
6543 Apr 11, 2021
88a7349
Standardise icon on projects PR page (#15387) (#15408)
zeripath Apr 12, 2021
5a4729d
fix dingtalk icon url (#15426)
tomaswarynyca Apr 12, 2021
f3d0c76
Fix wiki clone urls (#15430) (#15431)
silverwind Apr 12, 2021
779d118
Prevent NPE on avatar direct rendering if federated avatars disabled …
techknowlogick Apr 13, 2021
62f5cf4
Fix repository search (#15428) (#15442)
techknowlogick Apr 13, 2021
fa3fe1e
v172 migration adds created_unix field instead of expiry (#15458) (#1…
techknowlogick Apr 14, 2021
2c4f1ed
Fix ambiguous argument error on tags (#15432) (#15474)
zeripath Apr 14, 2021
6ef62e3
quick fix (#15464) (#15481)
jolheiser Apr 14, 2021
ddfb729
Clone panel fixes (#15436)
silverwind Apr 14, 2021
b28c324
fix wrong file link in code search page (#15466) (#15486)
a1012112796 Apr 15, 2021
00e55dd
Prevent superfluous response.WriteHeader (#15456) (#15476)
zeripath Apr 15, 2021
0554d1d
Lock down build-images dependencies (#15480)
silverwind Apr 15, 2021
211bb91
Build go-git variants for windows (#15482) (#15487)
zeripath Apr 15, 2021
85880b2
Query the DB for the hash before inserting in to email_hash (#15457) …
zeripath Apr 15, 2021
9e7e112
Fix potential copy lfs records failure when fork a repository (#15441…
lunny Apr 15, 2021
b228a0a
Use index of the supported tags to choose user lang (#15452) (#15488)
zeripath Apr 15, 2021
729fa06
migration: github: if rate limit is not enabled, ignore it (#15490) (…
6543 Apr 15, 2021
55e6cde
Use subdir for URL (#15446) (#15493)
zeripath Apr 15, 2021
edd4ab4
Ensure review dismissal only dismisses the correct review (#15477) (#…
zeripath Apr 15, 2021
802a431
dump: Add option to skip LFS/attachment files (#15407) (#15492)
zeripath Apr 15, 2021
9dc76b2
Fix bug clone wiki (#15499) (#15502)
zeripath Apr 15, 2021
92c91d7
Performance improvement for list pull requests (#15447) (#15500)
6543 Apr 15, 2021
918d3d9
Changelog v1.14.1 (#15498)
6543 Apr 16, 2021
340c4fc
Repo branch page: label size, PR ref, new PR button alignment (#15363…
CL-Jeremy Apr 16, 2021
2b1989e
Prevent migration 156 failure if tag commit missing (#15519) (#15527)
zeripath Apr 17, 2021
4a3c638
Send size to /avatars if requested (#15459) (#15528)
zeripath Apr 17, 2021
eff2499
Fix bug on commit graph (#15517) (#15530)
lunny Apr 17, 2021
5da024a
Add ETag header (#15370) (#15552)
KN4CK3R Apr 20, 2021
990c608
Project board improvements (#15429) (#15560)
silverwind Apr 20, 2021
248b67a
Fix NPE on view commit with notes (#15561) (#15573)
zeripath Apr 21, 2021
a719311
Add placeholder text to deploy key textarea (#15575) (#15576)
zeripath Apr 21, 2021
c0869c2
Fix lfs management find (#15537) (#15578)
lunny Apr 22, 2021
6e2dacf
If the default branch is not present do not report error on stats ind…
zeripath Apr 22, 2021
bdba894
Fix missing storage init (#15589) (#15598)
lunny Apr 23, 2021
57f1476
Bump unrolled/render to v1.1.0 (#15581) (#15608)
nsmith5 Apr 25, 2021
761111f
Resolve panic on failed interface conversion in migration v156 (#1560…
techknowlogick Apr 25, 2021
cae4621
fix webhook timeout bug (#15613) (#15621)
lunny Apr 26, 2021
4190c13
Fix commit graph author link (#15627) (#15630)
zeripath Apr 26, 2021
8755015
not update updated uinx for `git gc` (#15637) (#15641)
zeripath Apr 28, 2021
0dfde36
Remove spurious set name from eventsource.sharedworker.js (#15643) (#…
zeripath Apr 28, 2021
3bde297
[API] pull notification subject status: add "merged" (#15344) (#15654)
6543 Apr 28, 2021
54263ff
Delete protected branch if repository gets removed (#15658) (#15676)
KN4CK3R Apr 30, 2021
8e27f6e
Fix orphaned objects deletion bug (#15657) (#15683)
6543 Apr 30, 2021
a725d31
Delete references if repository gets deleted (#15681) (#15684)
6543 Apr 30, 2021
15886ce
Fixed several activation bugs (#15473) (#15685)
6543 May 1, 2021
3ce46a7
Fix DB session cleanup (#15697) (#15700)
zeripath May 2, 2021
4fa2804
Performance improvement for last commit cache and show-ref (#15455) (…
zeripath May 3, 2021
cead819
Implement delete release attachments and update release attachments' …
kdumontnu May 3, 2021
462c6fd
Fix setting redis db path (#15698) (#15708)
zeripath May 3, 2021
dbbb757
Move tooltip down to allow selection of Remove File on error (#15672)…
kdumontnu May 4, 2021
f1e8b8c
Only log Error on getLastCommitStatus error to let pull list still be…
6543 May 4, 2021
f9b1fac
Fix webkit calendar icon color on arc-green (#15728)
tomaswarynyca May 5, 2021
a83fb3a
fix some ui bug about draft release (#15137) (#15745)
a1012112796 May 6, 2021
e078d08
Fix close button change on delete in simplemde area (#15737) (#15747)
zeripath May 6, 2021
52ca7b9
Fix setting version table in dump (#15753) (#15759)
zeripath May 7, 2021
0a32861
Issue list alignment tweaks (#15483) (#15766)
6543 May 7, 2021
717b313
not show `ref-in-new-issue` pop when issue was disabled (#15761) (#15…
6543 May 7, 2021
2c2a30d
Fix bug where repositories appear unadopted (#15757) (#15767)
6543 May 7, 2021
1ec11ac
Drop back to use IsAnInteractiveSession for SVC (#15749) (#15762)
zeripath May 7, 2021
6782a64
Defer closing the gitrepo until the end of the wrapped context functi…
zeripath May 7, 2021
22d700e
Set GIT_DIR correctly if it is not set (#15751) (#15769)
6543 May 7, 2021
7871094
Use pulls in commit graph unless pulls are disabled (#15734 & #15740 …
6543 May 7, 2021
30584a6
[API] make change repo settings work on empty repos (#15778) (#15789)
6543 May 8, 2021
d644709
Exponential Backoff for ByteFIFO (#15724) (#15793)
6543 May 8, 2021
76d6184
Display conflict-free merge messages for pull requests (#15773) (#15796)
zeripath May 9, 2021
af11549
Ensure that ctx.Written is checked after issues(...) calls (#15797) (…
6543 May 9, 2021
1112fef
Changelog v1.14.2 (#15794)
6543 May 9, 2021
c57e908
Tests should use test files (#15801) (#15806)
6543 May 9, 2021
5e562e9
Move restore repo to internal router and invoke from command to avoid…
lunny May 10, 2021
d054c4e
Add err to log (#15813) (#15824)
jolheiser May 10, 2021
3ae1d7a
Set autocomplete off on branches selector (#15809) (#15833)
zeripath May 11, 2021
332eb2f
Queue manager FlushAll can loop rapidly - add delay (#15733) (#15840)
zeripath May 12, 2021
a83cde2
Tagger can be empty, as can Commit and Author - tolerate this (#15835…
zeripath May 12, 2021
c88392e
Upgrade unrolled/render to v1.1.1 (#15845) (#15846)
zeripath May 12, 2021
39d209d
change s3 bucket name (#15847)
techknowlogick May 12, 2021
62daf84
Fix bound address/port for caddy's certmagic library (#15758) (#15848)
zeripath May 12, 2021
387a1bc
fix truncate utf8 string (#15828) (#15854)
zeripath May 13, 2021
1bf4683
Only offer hostcertificates if they exist (#15849) (#15853)
zeripath May 13, 2021
cbaf8e8
Stop calling WriteHeader in Write (#15862) (#15873)
zeripath May 14, 2021
f773733
Fix LFS commit finder not working (#15856) (#15874)
KN4CK3R May 14, 2021
41422f0
Add timeout to writing to responses (#15831) (#15872)
zeripath May 14, 2021
a3e8450
Return go-get info on subdirs (#15642) (#15871)
zeripath May 15, 2021
fa96ddb
Only write config in environment-to-ini if there are changes (#15861)…
zeripath May 15, 2021
e38134f
Fix error message when saving generated LOCAL_ROOT_URL config (#15880…
tiqwab May 15, 2021
aaa539d
Fix blame row height alignment (#15863) (#15883)
noerw May 15, 2021
c21167e
Fix bound address/port for caddy's certmagic library (see #15848) (#1…
zeripath May 15, 2021
ad54f00
Upgrade xorm to v1.1.0 (#15869) (#15885)
lunny May 15, 2021
3bcf2e5
Close the gitrepo when deleting the repository (#15876) (#15887)
6543 May 15, 2021
8c4bf4c
GitHub: migrate draft releases too (#15884) (#15888)
6543 May 16, 2021
0c2cbfc
Move sans-serif fallback font higher than emoji fonts (#15855) (#15892)
zeripath May 16, 2021
4b771d3
remove unimplemented searchbar from project view (#15905)
noerw May 17, 2021
159bc88
Restore PAM user autocreation functionality (#15825) (#15867)
zeripath May 19, 2021
5a589ef
fix layout of milestone view (#15940)
tomaswarynyca May 22, 2021
a9e1a37
Remove branch URL before IssueRefURL (#15970)
fnetX May 25, 2021
d95489b
follow redirect when fetching theme archive (#15986) (#15990)
techknowlogick May 27, 2021
3a79f11
Fix setting of SameSite on cookies (#15989) (#15991)
techknowlogick May 27, 2021
8007602
Don't manipulate input params in email notification (#16011) (#16033)
jpraet May 31, 2021
0600f79
Add missing SameSite settings for the i_like_gitea cookie (#16037) (#…
zeripath Jun 1, 2021
ba74fdb
Fix case change in ownernames (#16045) (#16050)
zeripath Jun 3, 2021
2265058
git migration: don't prompt interactively for clone credentials (#159…
6543 Jun 6, 2021
1e76f7b
api: fix overly strict edit pr permissions (#15900) (#16081)
6543 Jun 6, 2021
ce2ade0
Merge all deleteBranch as one function and also fix bug when delete b…
lunny Jun 7, 2021
3be67e9
Fix http path bug (#16117) (#16120)
6543 Jun 9, 2021
ac84bb7
Fix data URI scramble (#16098) (#16118)
6543 Jun 9, 2021
41a4047
Fix bug on getIssueIDsByRepoID (#16119) (#16124)
lunny Jun 10, 2021
c1887bf
Fix language switch for install page (#16043) (#16128)
a1012112796 Jun 10, 2021
f034804
Set self-adjusting deadline for connection writing (#16068) (#16123)
zeripath Jun 10, 2021
0140c98
Removable media support
EndrII Jun 11, 2021
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
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ steps:
image: plugins/s3:1
settings:
acl: public-read
bucket: releases
bucket: gitea-artifacts
endpoint: https://storage.gitea.io
path_style: true
source: "dist/release/*"
Expand All @@ -543,7 +543,7 @@ steps:
image: plugins/s3:1
settings:
acl: public-read
bucket: releases
bucket: gitea-artifacts
endpoint: https://storage.gitea.io
path_style: true
source: "dist/release/*"
Expand Down Expand Up @@ -618,7 +618,7 @@ steps:
image: plugins/s3:1
settings:
acl: public-read
bucket: releases
bucket: gitea-artifacts
endpoint: https://storage.gitea.io
path_style: true
source: "dist/release/*"
Expand Down
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,7 @@ issues:
- text: "exitAfterDefer:"
linters:
- gocritic
- path: modules/graceful/manager_windows.go
linters:
- staticcheck
text: "svc.IsAnInteractiveSession is deprecated: Use IsWindowsService instead."
150 changes: 148 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,96 @@ This changelog goes through all the changes that have been made in each release
without substantial changes to our git log; to see the highlights of what has
been added to each release, please refer to the [blog](https://blog.gitea.io).

## [1.14.0-RC1](https://github.com/go-gitea/gitea/releases/tag/v1.14.0) - 2021-03-19
## [1.14.2](https://github.com/go-gitea/gitea/releases/tag/v1.14.2) - 2021-05-08

* API
* Make change repo settings work on empty repos (#15778) (#15789)
* Add pull "merged" notification subject status to API (#15344) (#15654)
* BUGFIXES
* Ensure that ctx.Written is checked after issues(...) calls (#15797) (#15798)
* Use pulls in commit graph unless pulls are disabled (#15734 & #15740 & #15774) (#15775)
* Set GIT_DIR correctly if it is not set (#15751) (#15769)
* Fix bug where repositories appear unadopted (#15757) (#15767)
* Not show `ref-in-new-issue` pop when issue was disabled (#15761) (#15765)
* Drop back to use IsAnInteractiveSession for SVC (#15749) (#15762)
* Fix setting version table in dump (#15753) (#15759)
* Fix close button change on delete in simplemde area (#15737) (#15747)
* Defer closing the gitrepo until the end of the wrapped context functions (#15653) (#15746)
* Fix some ui bug about draft release (#15137) (#15745)
* Only log Error on getLastCommitStatus error to let pull list still be visible (#15716) (#15715)
* Move tooltip down to allow selection of Remove File on error (#15672) (#15714)
* Fix setting redis db path (#15698) (#15708)
* Fix DB session cleanup (#15697) (#15700)
* Fixed several activation bugs (#15473) (#15685)
* Delete references if repository gets deleted (#15681) (#15684)
* Fix orphaned objects deletion bug (#15657) (#15683)
* Delete protected branch if repository gets removed (#15658) (#15676)
* Remove spurious set name from eventsource.sharedworker.js (#15643) (#15652)
* Not update updated uinx for `git gc` (#15637) (#15641)
* Fix commit graph author link (#15627) (#15630)
* Fix webhook timeout bug (#15613) (#15621)
* Resolve panic on failed interface conversion in migration v156 (#15604) (#15610)
* Fix missing storage init (#15589) (#15598)
* If the default branch is not present do not report error on stats indexing (#15546 & #15583) (#15594)
* Fix lfs management find (#15537) (#15578)
* Fix NPE on view commit with notes (#15561) (#15573)
* Fix bug on commit graph (#15517) (#15530)
* Send size to /avatars if requested (#15459) (#15528)
* Prevent migration 156 failure if tag commit missing (#15519) (#15527)
* ENHANCEMENTS
* Display conflict-free merge messages for pull requests (#15773) (#15796)
* Exponential Backoff for ByteFIFO (#15724) (#15793)
* Issue list alignment tweaks (#15483) (#15766)
* Implement delete release attachments and update release attachments' name (#14130) (#15666)
* Add placeholder text to deploy key textarea (#15575) (#15576)
* Project board improvements (#15429) (#15560)
* Repo branch page: label size, PR ref, new PR button alignment (#15363) (#15365)
* MISC
* Fix webkit calendar icon color on arc-green (#15713) (#15728)
* Performance improvement for last commit cache and show-ref (#15455) (#15701)
* Bump unrolled/render to v1.1.0 (#15581) (#15608)
* Add ETag header (#15370) (#15552)

## [1.14.1](https://github.com/go-gitea/gitea/releases/tag/v1.14.1) - 2021-04-15

* BUGFIXES
* Fix bug clone wiki (#15499) (#15502)
* Github Migration ignore rate limit, if not enabled (#15490) (#15495)
* Use subdir for URL (#15446) (#15493)
* Query the DB for the hash before inserting in to email_hash (#15457) (#15491)
* Ensure review dismissal only dismisses the correct review (#15477) (#15489)
* Use index of the supported tags to choose user lang (#15452) (#15488)
* Fix wrong file link in code search page (#15466) (#15486)
* Quick template fix for built-in SSH server in admin config (#15464) (#15481)
* Prevent superfluous response.WriteHeader (#15456) (#15476)
* Fix ambiguous argument error on tags (#15432) (#15474)
* Add created_unix instead of expiry to migration (#15458) (#15463)
* Fix repository search (#15428) (#15442)
* Prevent NPE on avatar direct rendering if federated avatars disabled (#15434) (#15439)
* Fix wiki clone urls (#15430) (#15431)
* Fix dingtalk icon url at webhook (#15417) (#15426)
* Standardise icon on projects PR page (#15387) (#15408)
* ENHANCEMENTS
* Add option to skip LFS/attachment files for `dump` (#15407) (#15492)
* Clone panel fixes (#15436)
* Use semantic dropdown for code search query type (#15276) (#15364)
* BUILD
* Build go-git variants for windows (#15482) (#15487)
* Lock down build-images dependencies (Partial #15479) (#15480)
* MISC
* Performance improvement for list pull requests (#15447) (#15500)
* Fix potential copy lfs records failure when fork a repository (#15441) (#15485)

## [1.14.0](https://github.com/go-gitea/gitea/releases/tag/v1.14.0) - 2021-04-11

* SECURITY
* Respect approved email domain list for externally validated user registration (#15014)
* Add reverse proxy configuration support for remote IP address detection (#14959)
* Ensure validation occurs on clone addresses too (#14994)
* Fix several render issues highlighted during fuzzing (#14986)
* BREAKING
* Fix double 'push tag' action feed (#15078) (#15083)
* Remove possible resource leak (#15067) (#15082)
* Handle unauthorized user events gracefully (#15071) (#15074)
* Restore Access.log following migration to Chi framework (Stops access logging of /api/internal routes) (#14475)
* Migrate from Macaron to Chi framework (#14293)
* Deprecate building for mips (#14174)
Expand Down Expand Up @@ -42,6 +124,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io).
* Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244)
* Create Rootless Docker image (#10154)
* API
* Speedup issue search (#15179) (#15192)
* Get pull, return head branch sha, even if deleted (#14931)
* Export LFS & TimeTracking function status (#14753)
* Show Gitea version in swagger (#14654)
Expand All @@ -66,6 +149,20 @@ been added to each release, please refer to the [blog](https://blog.gitea.io).
* Add more filters to issues search (#13514)
* Add review request api (#11355)
* BUGFIXES
* Fix delete nonexist oauth application 500 and prevent deadlock (#15384) (#15396)
* Always set the merge base used to merge the commit (#15352) (#15385)
* Upgrade to bluemonday 1.0.7 (#15379) (#15380)
* Turn RepoRef and RepoAssignment back into func(*Context) (#15372) (#15377)
* Move FCGI req.URL.Path fix-up to the FCGI listener (#15292) (#15361)
* Show diff on rename with diff changes (#15338) (#15339)
* Fix handling of logout event (#15323) (#15337)
* Fix CanCreateRepo check (#15311) (#15321)
* Fix xorm log stack level (#15285) (#15316)
* Fix bug in Wrap (#15302) (#15309)
* Drop the event source if we are unauthorized (#15275) (#15280)
* Backport Fix graph pagination (#15225) (#15249)
* Prevent NPE in CommentMustAsDiff if no hunk header (#15199) (#15200)
* should run RetrieveRepoMetas() for empty pr (#15187) (#15190)
* Move setting to enable closing issue via commit in non default branch to repo settings (#14965)
* Show correct issues for team dashboard (#14952)
* Ensure that new pull request button works on forked forks owned by owner of the root and reduce ambiguity (#14932)
Expand Down Expand Up @@ -122,6 +219,9 @@ been added to each release, please refer to the [blog](https://blog.gitea.io).
* Use GO variable in go-check target (#13146) (#13147)
* ENHANCEMENTS
* UI style improvements
* Dropzone styling improvements (#15291) (#15374)
* Add size to Save function (#15264) (#15270)
* Monaco improvements (#15333) (#15345)
* Support .mailmap in code activity stats (#15009)
* Sort release attachments by name (#15008)
* Add ui.explore settings to control view of explore pages (#14094)
Expand Down Expand Up @@ -267,6 +367,52 @@ been added to each release, please refer to the [blog](https://blog.gitea.io).
* Reduce make verbosity (#13803)
* Add git command error directory on log (#13194)

## [1.13.7](https://github.com/go-gitea/gitea/releases/tag/v1.13.7) - 2021-04-07

* SECURITY
* Update to bluemonday-1.0.6 (#15294) (#15298)
* Clusterfuzz found another way (#15160) (#15169)
* API
* Fix wrong user returned in API (#15139) (#15150)
* BUGFIXES
* Add 'fonts' into 'KnownPublicEntries' (#15188) (#15317)
* Speed up `enry.IsVendor` (#15213) (#15246)
* Response 404 for diff/patch of a commit that not exist (#15221) (#15238)
* Prevent NPE in CommentMustAsDiff if no hunk header (#15199) (#15201)
* MISC
* Add size to Save function (#15264) (#15271)

## [1.13.6](https://github.com/go-gitea/gitea/releases/tag/v1.13.6) - 2021-03-23

* SECURITY
* Fix bug on avatar middleware (#15124) (#15125)
* Fix another clusterfuzz identified issue (#15096) (#15114)
* API
* Fix nil pointer exception in get pull reviews API (#15106)
* BUGFIXES
* Fix markdown rendering in milestone content (#15056) (#15092)

## [1.13.5](https://github.com/go-gitea/gitea/releases/tag/v1.13.5) - 2021-03-21

* SECURITY
* Update to goldmark 1.3.3 (#15059) (#15061)
* Another clusterfuzz spotted issue (#15032) (#15034)
* API
* Fix set milestone on PR creation (#14981) (#15001)
* Prevent panic when editing forked repos by API (#14960) (#14963)
* BUGFIXES
* Fix bug when upload on web (#15042) (#15055)
* Delete Labels & IssueLabels on Repo Delete too (#15039) (#15051)
* Fix postgres ID sequences broken by recreate-table (#15015) (#15029)
* Fix several render issues (#14986) (#15013)
* Make sure sibling images get a link too (#14979) (#14995)
* Fix Anchor jumping with escaped query components (#14969) (#14977)
* Fix release mail html template (#14976)
* Fix excluding more than two labels on issues list (#14962) (#14973)
* Don't mark each comment poster as OP (#14971) (#14972)
* Add "captcha" to list of reserved usernames (#14930)
* Re-enable import local paths after reversion from #13610 (#14925) (#14927)

## [1.13.4](https://github.com/go-gitea/gitea/releases/tag/v1.13.4) - 2021-03-07

* SECURITY
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,9 @@ release-windows: | $(DIST_DIRS)
$(GO) install src.techknowlogick.com/xgo@latest; \
fi
CGO_CFLAGS="$(CGO_CFLAGS)" xgo -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION) .
ifeq (,$(findstring gogit,$(TAGS)))
CGO_CFLAGS="$(CGO_CFLAGS)" xgo -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'netgo osusergo gogit $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION)-gogit .
endif
ifeq ($(CI),drone)
cp /build/* $(DIST)/binaries
endif
Expand Down Expand Up @@ -699,8 +702,8 @@ generate-gitignore:
GO111MODULE=on $(GO) run build/generate-gitignores.go

.PHONY: generate-images
generate-images:
npm install --no-save --no-package-lock fabric imagemin-zopfli
generate-images: | node_modules
npm install --no-save --no-package-lock fabric@4 imagemin-zopfli@7
node build/generate-images.js $(TAGS)

.PHONY: generate-manpage
Expand Down
5 changes: 5 additions & 0 deletions cmd/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
pwd "code.gitea.io/gitea/modules/password"
repo_module "code.gitea.io/gitea/modules/repository"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/storage"

"github.com/urfave/cli"
)
Expand Down Expand Up @@ -489,6 +490,10 @@ func runDeleteUser(c *cli.Context) error {
return err
}

if err := storage.Init(); err != nil {
return err
}

var err error
var user *models.User
if c.IsSet("email") {
Expand Down
16 changes: 14 additions & 2 deletions cmd/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@ It can be used for backup and capture Gitea server image to send to maintainer`,
Name: "skip-custom-dir",
Usage: "Skip custom directory",
},
cli.BoolFlag{
Name: "skip-lfs-data",
Usage: "Skip LFS data",
},
cli.BoolFlag{
Name: "skip-attachment-data",
Usage: "Skip attachment data",
},
cli.GenericFlag{
Name: "type",
Value: outputTypeEnum,
Expand Down Expand Up @@ -214,7 +222,9 @@ func runDump(ctx *cli.Context) error {
fatal("Failed to include repositories: %v", err)
}

if err := storage.LFS.IterateObjects(func(objPath string, object storage.Object) error {
if ctx.IsSet("skip-lfs-data") && ctx.Bool("skip-lfs-data") {
log.Info("Skip dumping LFS data")
} else if err := storage.LFS.IterateObjects(func(objPath string, object storage.Object) error {
info, err := object.Stat()
if err != nil {
return err
Expand Down Expand Up @@ -313,7 +323,9 @@ func runDump(ctx *cli.Context) error {
}
}

if err := storage.Attachments.IterateObjects(func(objPath string, object storage.Object) error {
if ctx.IsSet("skip-attachment-data") && ctx.Bool("skip-attachment-data") {
log.Info("Skip dumping attachment data")
} else if err := storage.Attachments.IterateObjects(func(objPath string, object storage.Object) error {
info, err := object.Stat()
if err != nil {
return err
Expand Down
Loading