From e88987740ab3f4a3aae5ead5ae047215669197d0 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 9 Apr 2021 10:24:36 +0200 Subject: [PATCH 01/12] backport v1.13.x changelogs --- CHANGELOG.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91edb44e8de14..439cf8ad26ea8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -278,6 +278,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 exeption for get pull reviews API #15104 (#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 From 5f2067b8da5497d410259ecbc9154175fe1dab4d Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 9 Apr 2021 10:29:54 +0200 Subject: [PATCH 02/12] clean (skip-changelog) --- CHANGELOG.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 439cf8ad26ea8..5097fdce45cfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). ## [1.14.0-RC2](https://github.com/go-gitea/gitea/releases/tag/v1.14.0-rc2) - 2021-03-22 -* SECURITY - * Fix bug on avatar middleware (#15124) (#15125) - * Fix another clusterfuzz identified issue (#15096) (#15113) - * Update to goldmark 1.3.3 (#15059) (#15060) * BUGFIXES - * Fix the v176 migration (#15110) (#15111) * Fix double 'push tag' action feed (#15078) (#15083) * Remove possible resource leak (#15067) (#15082) * Handle unauthorized user events gracefully (#15071) (#15074) From e218d1342c44a8d3de8d3a12e28f078dbce57140 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 9 Apr 2021 10:30:33 +0200 Subject: [PATCH 03/12] merge --- CHANGELOG.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5097fdce45cfe..68150e81d93a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,20 +4,16 @@ 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-RC2](https://github.com/go-gitea/gitea/releases/tag/v1.14.0-rc2) - 2021-03-22 - -* BUGFIXES - * Fix double 'push tag' action feed (#15078) (#15083) - * Remove possible resource leak (#15067) (#15082) - * Handle unauthorized user events gracefully (#15071) (#15074) - -## [1.14.0-RC1](https://github.com/go-gitea/gitea/releases/tag/v1.14.0-rc1) - 2021-03-20 +## [1.14.0](https://github.com/go-gitea/gitea/releases/tag/v1.14.0-rc1) - 2021-03-20 * 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) * 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) From e8ffbae3a63f6f63e16fe48b7673ab4b42e59d57 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 9 Apr 2021 10:42:41 +0200 Subject: [PATCH 04/12] changelog tool: ignore regression pulls --- .changelog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changelog.yml b/.changelog.yml index 942138327875e..cc0e212423145 100644 --- a/.changelog.yml +++ b/.changelog.yml @@ -58,4 +58,4 @@ groups: default: true # regex indicating which labels to skip for the changelog -skip-labels: skip-changelog|backport\/.+ +skip-labels: skip-changelog|kind\/regression|backport\/.+ From d2ddbed513cde5be719496b3f77e1dd04f2c8d8e Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 9 Apr 2021 10:46:59 +0200 Subject: [PATCH 05/12] update --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68150e81d93a3..7d8ce8afef7db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,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) @@ -68,6 +69,15 @@ 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 + * 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) @@ -124,6 +134,7 @@ 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 + * 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) @@ -264,6 +275,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add docs command (#13429) * Update external-renderers.en-us.md (#13165) * MISC + * Add size to Save function (#15264) (#15270) * Add builds for apple M1 (darwin arm64) (#14951) * Migrate to use jsoniter instead of encoding/json (#14841) * Reduce make verbosity (#13803) From 0a2cc09b22ea569d99bddd22bccdbdec501d4623 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 9 Apr 2021 12:41:38 +0200 Subject: [PATCH 06/12] Update .changelog.yml --- .changelog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changelog.yml b/.changelog.yml index cc0e212423145..942138327875e 100644 --- a/.changelog.yml +++ b/.changelog.yml @@ -58,4 +58,4 @@ groups: default: true # regex indicating which labels to skip for the changelog -skip-labels: skip-changelog|kind\/regression|backport\/.+ +skip-labels: skip-changelog|backport\/.+ From 519616356aee6d82b257cfe2de316219b4bcd5b6 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 9 Apr 2021 12:42:33 +0200 Subject: [PATCH 07/12] Apply suggestions from code review Co-authored-by: zeripath --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d8ce8afef7db..b593100667b40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -134,6 +134,7 @@ 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 + * Add size to Save function (#15264) (#15270) * Monaco improvements (#15333) (#15345) * Support .mailmap in code activity stats (#15009) * Sort release attachments by name (#15008) @@ -275,7 +276,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add docs command (#13429) * Update external-renderers.en-us.md (#13165) * MISC - * Add size to Save function (#15264) (#15270) * Add builds for apple M1 (darwin arm64) (#14951) * Migrate to use jsoniter instead of encoding/json (#14841) * Reduce make verbosity (#13803) @@ -302,7 +302,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Fix bug on avatar middleware (#15124) (#15125) * Fix another clusterfuzz identified issue (#15096) (#15114) * API - * Fix nil exeption for get pull reviews API #15104 (#15106) + * Fix nil pointer exception in get pull reviews API (#15106) * BUGFIXES * Fix markdown rendering in milestone content (#15056) (#15092) From 40484d78fffc036ecda6522a1abc1ed5d9ec0372 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 10 Apr 2021 08:46:46 +0200 Subject: [PATCH 08/12] Apply suggestions from code review --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b593100667b40..0c9e6d2f8f837 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ 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](https://github.com/go-gitea/gitea/releases/tag/v1.14.0-rc1) - 2021-03-20 +## [1.14.0](https://github.com/go-gitea/gitea/releases/tag/v1.14.0) - 2021-04-09 * SECURITY * Respect approved email domain list for externally validated user registration (#15014) @@ -69,6 +69,8 @@ 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 + * 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) @@ -134,6 +136,7 @@ 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) From 4f4206653eaa080c353f8f37bc3306578dd8b971 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 10 Apr 2021 14:09:14 +0200 Subject: [PATCH 09/12] Apply suggestions from code review --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c9e6d2f8f837..c50f1e7f4b0de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,7 @@ 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 + * Always set the merge base used to merge the commit (#15352) (#15385) * 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) From 06a1d9e6c325a76e3a4404503e2734adc666899c Mon Sep 17 00:00:00 2001 From: zeripath Date: Sat, 10 Apr 2021 14:15:49 +0100 Subject: [PATCH 10/12] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c50f1e7f4b0de..22b5e324083f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,6 +70,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add review request api (#11355) * BUGFIXES * 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) From ef8056b3c75c670c768d9034af6ea24c16004ebd Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 10 Apr 2021 15:20:09 +0200 Subject: [PATCH 11/12] Update Date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22b5e324083f9..6b2b5da0eff52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ 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](https://github.com/go-gitea/gitea/releases/tag/v1.14.0) - 2021-04-09 +## [1.14.0](https://github.com/go-gitea/gitea/releases/tag/v1.14.0) - 2021-04-10 * SECURITY * Respect approved email domain list for externally validated user registration (#15014) From d461f6bffc233018abbcb6ccabede9c30c655b3f Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 11 Apr 2021 04:58:42 +0200 Subject: [PATCH 12/12] update --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b2b5da0eff52..0c2d536431420 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ 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](https://github.com/go-gitea/gitea/releases/tag/v1.14.0) - 2021-04-10 +## [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) @@ -69,6 +69,7 @@ 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)