From 2c348c135c60a5340cb6bdf7d0b6c9c57501a1e8 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 04:34:03 +0200 Subject: [PATCH 01/14] changelog -m 1.15.0 generate --- CHANGELOG.md | 225 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 225 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10df69f415a57..9b08629face37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,231 @@ 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.15.0-rc1](https://github.com/go-gitea/gitea/releases/tag/v1.15.0-rc1) - 2021-07-14 + +* BREAKING + * Make app.ini permissions more restrictive (#16266) + * Refactor Webhook + Add X-Hub-Signature (#16176) + * Add asymmetric JWT signing (#16010) + * Clean-up the settings hierarchy for issue_indexer queue (#16001) + * Change default queue settings to be low go-routines (#15964) + * Improve assets handler middleware (#15961) + * Rename StaticUrlPrefix to AssetUrlPrefix (#15779) + * Use a generic markup class to display externally rendered files and diffs (#15735) + * Add frontend testing, require node 12 (#15315) + * add `/assets` as root dir of public files (#15219) + * use level config in log section when sub log section not set level (#15176) + * Links in markdown should be absolute to the repository not the server (#15088) +* FEATURES + * Update Go-Git to take advantage of LargeObjectThreshold (#16316) + * Link to previous blames in file blame page (#16259) + * Add LRU mem cache implementation (#16226) + * Localize Email Templates (#16200) + * Make command in authorized keys a template (#16003) + * Add possibility to make branch in branch page (#15960) + * Add email headers (#15939) + * Make tasklist checkboxes clickable (#15791) + * Add selecting tags on the compare page (#15723) + * add cron job to delete old actions from database (#15688) + * On open repository open common cat file batch and batch-check (#15667) + * Add tag protection (#15629) + * Add push to remote mirror repository (#15157) + * Add Image Diff for SVG files (#14867) + * Feat: Add dashboard milestone search and repo milestone search by name. (#14866) + * Add LFS Migration and Mirror (#14726) + * Improve notifications for WIP draft PR's (#14663) + * Disable Stars config option (#14653) + * Add option to provide signature for a token to verify key ownership (#14054) + * OAuth2 auto-register (#5123) +* SECURITY + * Support custom mime type mapping for text files (#16304) + * Encrypt LDAP bind password in db with SECRET_KEY (#15547) + * Remove random password in Dockerfiles (#15362) +* API + * Return updated repository when changing repository using API (#16420) + * Let branch/tag name be a valid ref to get CI status (#16400) + * Add API to get commits of PR (#16300) + * API: Allow COMMENT reviews to not specify a body (#16229) + * Add subject-type filter to list notification API endpoints (#16177) + * [API] ListReleases add filter for draft and pre-releases (#16175) + * [API] ListIssues add more filters (#16174) + * [API] Issue Search Add filter for MilestoneNames (#16173) + * [API] GET / SET User Settings (#16169) + * [API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) + * [API] User expose counters (#16167) + * [API] Add repoGetTag (#16166) + * [API] Add repoCreateTag (#16165) + * Creating a repo from a template repo via API (#15958) + * Add Active and ProhibitLogin to API (#15689) + * Add Location, Website and Description to API (#15675) + * Expose resolver via API (#15167) + * [refactor] Unify the export of user data via API (#15144) +* BUGFIXES + * Fix external renderer (#16401) + * Fix invalid params and typo of email templates (#16394) + * Fix #16387 - rootless Docker user (#16388) + * fix activation of primary email addresses (#16385) + * fix calculation for finalPage in repo-search component (#16382) + * specify user in rootless container numerically (#16361) + * Detect encoding changes while parsing diff (#16330) + * Fix U2F error reasons always hidden (#16327) + * Prevent zombie processes (#16314) + * Escape reference to `user` table in models.SearchEmails (#16313) + * Fix default push instructions on empty repos (#16302) + * Fix modified files list in webhooks when there is a space (#16288) + * Fix webhook commits wrong hash on HEAD reset (#16283) + * Fuzzer finds an NPE due to incorrect URLPrefix (#16249) + * Don't WARN log UserNotExist errors on ExternalUserLogin failure (#16238) + * Do not show No match found for tribute (#16231) + * Fix "Copy Link" for pull requests (#16230) + * Fix diff expansion is missing final line in a file (#16222) + * v180 migration should be standalone (#16151) + * Fix private repo permission problem (#16142) + * fix: not able to update local created non-urlencoded wiki pages (#16139) + * More efficiently parse shas for shaPostProcessor (#16101) + * Fix `doctor --run check-db-consistency --fix` with label fix (#16094) + * Prevent webhook action buttons from shifting (#16087) + * Change default TMPDIR path in rootless containers (#16077) + * Fix typo and add TODO notice (#16064) + * Fix 500 Error with branch and tag sharing the same name (#16040) + * Fix get tag when migration (#16014) + * Add custom emoji support (#16004) + * Kd/fix release compare extra bracket (#15988) + * Use filepath.ToSlash and Join in indexer defaults and queues (#15971) + * add permission check for ``GenerateRepository`` (#15946) + * Ensure settings for Service and Mailer are read on the install page (#15943) + * Fix layout of milestone view (#15927) + * Unregister non-matching serviceworkers (#15834) + * Attachment support repository route (#15580) + * Fix missing icons and colorpicker when mounted on suburl (#15501) + * Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username (#15304) + * Prevent double-login for Git HTTP and LFS and simplify login (#15303) + * Resolve Object { type: "error", data: undefined } in stopwatch.js (#15278) + * Fix heatmap activity (#15252) + * Remove vendored copy of fomantic-dropdown (#15193) + * Update repository size on cron gc task (#15177) + * Remove User.GetOrganizations() (#14032) +* ENHANCEMENTS + * Support HTTP/2 in Let's Encrypt (#16371) + * Introduce NotifySubjectType (#16320) + * Add forge emojies (#16296) + * Implemented head_commit for webhooks (#16282) + * Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback (#16278) + * Add previous/next buttons to review comments (#16273) + * review comments: break-word for long file names (#16272) + * Add configuration to restrict allowed user visiblity modes (#16271) + * Add scroll-margin-top to account for sticky header (#16269) + * Add --quiet and --verbose to gitea web to control initial logging (#16260) + * Use gitea logging module for git module (#16243) + * Add tests for all webhooks (#16214) + * Add button to delete undeleted repositories from failed migrations (#16197) + * Add OpenID claims "profile" and "email". (#16141) + * Reintroduce squash merge default comment as a config setting (#16134) + * Add sanitizer rules per renderer (#16110) + * Refactor assert statements in tests (#16089) + * Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) + * Remove unnecessary goroutine (#16080) + * Add attachments for PR reviews (#16075) + * Make the github migration less rate limit waiting to get comment per page from repository but not per issue (#16070) + * Add Visible modes function from Organisation to Users too (#16069) + * Add checkbox to delete pull branch after successful merge (#16049) + * Make commit info cancelable (#16032) + * Make modules/context.Context a context.Context (#16031) + * Unified custom config creation (#16012) + * Make sshd_config more flexible regarding connections (#16009) + * Append to existing trailers in generated squash commit message (#15980) + * Always store primary email address into email_address table and also the state (#15956) + * Load issue/PR context popup data only when needed (#15955) + * Remove remaining fontawesome usage in templates (#15952) + * Remove fomantic accordion module (#15951) + * Small refactoring of modules/private (#15947) + * Double the avatar size factor (#15941) + * Add curl to rootless docker image (#15908) + * Replace clipboard.js with async clipboard api (#15899) + * Allow custom highlight mapping beyond file extensions (#15808) + * Refactor routers directory (#15800) + * Allow only internal registration (#15795) + * add a new internal hook to save ssh log (#15787) + * Respect default merge message syntax when parsing item references (#15772) + * OAuth2 login: Set account link to "login" as default behavior (#15768) + * Use single shared random string generation function (#15741) + * Code comments improvements (#15722) + * Feature/oauth userinfo (#15721) + * Fix webkit calendar icon color on arc-green (#15713) + * Improve Light Chroma style (#15699) + * Only use boost workers for leveldb shadow queues (#15696) + * Add compare tag dropdown to releases page (#15695) + * Add caret styling CSS (#15651) + * Remove x-ua-compatible meta tag (#15640) + * Refactor of link creation (#15619) + * Add a new table issue_index to store the max issue index so that issue could be deleted with no duplicated index (#15599) + * Rewrite of the LFS server (#15523) + * Raw file view tweaks (#15520) + * Display more repository type on admin repository management (#15440) + * Remove usage of some JS globals (#15378) + * SHA in merged commit comment should be rendered ui sha (#15376) + * add well-known config for OIDC (#15355) + * Move modules/forms to services/forms (#15305) + * Use route rather than use thus reducing the number of stack frames (#15301) + * Code Formats, Nits & Unused Func/Var deletions (#15286) + * [refactor] replace int with httpStatusCodes (#15282) + * Let package git depend on setting but not opposite (#15241) + * Fixed sanitize errors (#15240) + * response simple text message for not html request when 404 (#15229) + * Remove file-loader dependency (#15196) + * Refactor renders (#15175) + * Add mimetype mapping settings (#15133) + * Add Status Updates whilst Gitea migrations are occurring (#15076) + * [refactor] Use i18n.Reset to reload locales (#15073) + * [refactor] mailer service (#15072) + * Counterwork seemingly unclickable repo button labels (#15064) + * Add DefaultMergeStyle option to repository (#14789) + * Added support for gopher URLs. (#14749) + * Rework repository archive (#14723) + * Add links to toggle WIP status (#14677) + * Add Tabular Diff for CSV files (#14661) + * Use milestone deadline when sorting issues (#14551) +* TESTING + * just add some unit tests (#16291) + * Bump `postgres` and `mysql` versions (#15710) + * Add tests for clone from wiki (#15513) + * Fix Benchmark tests, remove a broken one & add two new (#15250) + * Create Proper Migration tests (#15116) +* TRANSLATION + * Use a special name for update default branch on repository setting (#15893) + * Fix mirror_lfs source string in en-US locale (#15369) +* BUILD + * upgrade xorm to v1.1.1 (#16339) + * Alpine 3.14 released (#16170) + * Disable legal comments in esbuild (#15929) + * Use esbuild to minify CSS (#15756) + * Use binary version of revive linter (#15739) + * Fix: npx webpack make: *** [Makefile:699: public/js/index.js] Error -… (#15465) + * Stop packaging node_modules in release tarballs (#15273) + * Introduce esbuild on webpack (#14578) +* DOCS + * Comment out app.example.ini (#15807) + * Improve logo customization docs (#15754) + * add some reponse status on api docs (#15399) + * Rework Token API comments (#15162) + * Add better errors for disabled account recovery (#15117) +* MISC + * Update Vendor (#16325) + * Speed up git diff highlight generation (#16180) + * Remove utf8 option from installation page (#16126) + * Vendor Update (#16121) + * Improve performance of dashboard list orgs (#16099) + * Use git log name-status in get last commit (#16059) + * Fix unknown translation key (#16057) + * Use Wants= over Requires= in systemd file (#15897) + * Update JS dependencies, use Node 16 (#15804) + * Add trace logging to SSO methods (#15803) + * Hold the event source when there are no listeners (#15725) + * Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) + * Add NeedPostProcess for Parser interface to improve performance of csv parser and some external parser (#15153) + * Update JS dependencies (#15033) + * Add code block highlight to orgmode back (#14222) + ## [1.14.4](https://github.com/go-gitea/gitea/releases/tag/v1.14.4) - 2021-07-06 * BUGFIXES From f3a02d0db407fbe7c15474644b312add3415de5f Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 04:36:57 +0200 Subject: [PATCH 02/14] enhance changelog --- CHANGELOG.md | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b08629face37..b2af03d34e25a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Rename StaticUrlPrefix to AssetUrlPrefix (#15779) * Use a generic markup class to display externally rendered files and diffs (#15735) * Add frontend testing, require node 12 (#15315) - * add `/assets` as root dir of public files (#15219) + * Add `/assets` as root dir of public files (#15219) * use level config in log section when sub log section not set level (#15176) * Links in markdown should be absolute to the repository not the server (#15088) * FEATURES @@ -29,12 +29,12 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add email headers (#15939) * Make tasklist checkboxes clickable (#15791) * Add selecting tags on the compare page (#15723) - * add cron job to delete old actions from database (#15688) + * Add cron job to delete old actions from database (#15688) * On open repository open common cat file batch and batch-check (#15667) * Add tag protection (#15629) * Add push to remote mirror repository (#15157) * Add Image Diff for SVG files (#14867) - * Feat: Add dashboard milestone search and repo milestone search by name. (#14866) + * Add dashboard milestone search and repo milestone search by name. (#14866) * Add LFS Migration and Mirror (#14726) * Improve notifications for WIP draft PR's (#14663) * Disable Stars config option (#14653) @@ -47,17 +47,17 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * API * Return updated repository when changing repository using API (#16420) * Let branch/tag name be a valid ref to get CI status (#16400) - * Add API to get commits of PR (#16300) - * API: Allow COMMENT reviews to not specify a body (#16229) + * Add endpoint to get commits of PR (#16300) + * Allow COMMENT reviews to not specify a body (#16229) * Add subject-type filter to list notification API endpoints (#16177) - * [API] ListReleases add filter for draft and pre-releases (#16175) - * [API] ListIssues add more filters (#16174) - * [API] Issue Search Add filter for MilestoneNames (#16173) - * [API] GET / SET User Settings (#16169) - * [API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) - * [API] User expose counters (#16167) - * [API] Add repoGetTag (#16166) - * [API] Add repoCreateTag (#16165) + * ListReleases add filter for draft and pre-releases (#16175) + * ListIssues add more filters (#16174) + * Issue Search Add filter for MilestoneNames (#16173) + * GET / SET User Settings (#16169) + * expose repo.GetReviewers() & repo.GetAssignees() (#16168) + * User expose counters (#16167) + * Add repoGetTag (#16166) + * Add repoCreateTag (#16165) * Creating a repo from a template repo via API (#15958) * Add Active and ProhibitLogin to API (#15689) * Add Location, Website and Description to API (#15675) @@ -68,7 +68,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Fix invalid params and typo of email templates (#16394) * Fix #16387 - rootless Docker user (#16388) * fix activation of primary email addresses (#16385) - * fix calculation for finalPage in repo-search component (#16382) + * Fix calculation for finalPage in repo-search component (#16382) * specify user in rootless container numerically (#16361) * Detect encoding changes while parsing diff (#16330) * Fix U2F error reasons always hidden (#16327) @@ -84,7 +84,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Fix diff expansion is missing final line in a file (#16222) * v180 migration should be standalone (#16151) * Fix private repo permission problem (#16142) - * fix: not able to update local created non-urlencoded wiki pages (#16139) + * Fix not able to update local created non-urlencoded wiki pages (#16139) * More efficiently parse shas for shaPostProcessor (#16101) * Fix `doctor --run check-db-consistency --fix` with label fix (#16094) * Prevent webhook action buttons from shifting (#16087) @@ -95,7 +95,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add custom emoji support (#16004) * Kd/fix release compare extra bracket (#15988) * Use filepath.ToSlash and Join in indexer defaults and queues (#15971) - * add permission check for ``GenerateRepository`` (#15946) + * Add permission check for ``GenerateRepository`` (#15946) * Ensure settings for Service and Mailer are read on the install page (#15943) * Fix layout of milestone view (#15927) * Unregister non-matching serviceworkers (#15834) @@ -115,7 +115,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Implemented head_commit for webhooks (#16282) * Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback (#16278) * Add previous/next buttons to review comments (#16273) - * review comments: break-word for long file names (#16272) + * Review comments: break-word for long file names (#16272) * Add configuration to restrict allowed user visiblity modes (#16271) * Add scroll-margin-top to account for sticky header (#16269) * Add --quiet and --verbose to gitea web to control initial logging (#16260) @@ -148,7 +148,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Allow custom highlight mapping beyond file extensions (#15808) * Refactor routers directory (#15800) * Allow only internal registration (#15795) - * add a new internal hook to save ssh log (#15787) + * Add a new internal hook to save ssh log (#15787) * Respect default merge message syntax when parsing item references (#15772) * OAuth2 login: Set account link to "login" as default behavior (#15768) * Use single shared random string generation function (#15741) @@ -171,7 +171,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Move modules/forms to services/forms (#15305) * Use route rather than use thus reducing the number of stack frames (#15301) * Code Formats, Nits & Unused Func/Var deletions (#15286) - * [refactor] replace int with httpStatusCodes (#15282) * Let package git depend on setting but not opposite (#15241) * Fixed sanitize errors (#15240) * response simple text message for not html request when 404 (#15229) @@ -209,7 +208,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * DOCS * Comment out app.example.ini (#15807) * Improve logo customization docs (#15754) - * add some reponse status on api docs (#15399) + * Add some reponse status on api docs (#15399) * Rework Token API comments (#15162) * Add better errors for disabled account recovery (#15117) * MISC From 2569880d78410a06f0a8f8fc3b87c472bf1a6687 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 04:39:42 +0200 Subject: [PATCH 03/14] Apply suggestions from code review --- CHANGELOG.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2af03d34e25a..f2f6932c7de62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,9 +67,9 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Fix external renderer (#16401) * Fix invalid params and typo of email templates (#16394) * Fix #16387 - rootless Docker user (#16388) - * fix activation of primary email addresses (#16385) + * Fix activation of primary email addresses (#16385) * Fix calculation for finalPage in repo-search component (#16382) - * specify user in rootless container numerically (#16361) + * Specify user in rootless container numerically (#16361) * Detect encoding changes while parsing diff (#16330) * Fix U2F error reasons always hidden (#16327) * Prevent zombie processes (#16314) @@ -82,7 +82,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Do not show No match found for tribute (#16231) * Fix "Copy Link" for pull requests (#16230) * Fix diff expansion is missing final line in a file (#16222) - * v180 migration should be standalone (#16151) * Fix private repo permission problem (#16142) * Fix not able to update local created non-urlencoded wiki pages (#16139) * More efficiently parse shas for shaPostProcessor (#16101) @@ -188,7 +187,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add Tabular Diff for CSV files (#14661) * Use milestone deadline when sorting issues (#14551) * TESTING - * just add some unit tests (#16291) * Bump `postgres` and `mysql` versions (#15710) * Add tests for clone from wiki (#15513) * Fix Benchmark tests, remove a broken one & add two new (#15250) From 719f0e8e0810b2b575223dca11562b20efaca588 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 11:31:05 +0200 Subject: [PATCH 04/14] Apply suggestions from code review Co-authored-by: techknowlogick --- CHANGELOG.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2f6932c7de62..e575fd780ccbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,11 +62,8 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add Active and ProhibitLogin to API (#15689) * Add Location, Website and Description to API (#15675) * Expose resolver via API (#15167) - * [refactor] Unify the export of user data via API (#15144) * BUGFIXES - * Fix external renderer (#16401) * Fix invalid params and typo of email templates (#16394) - * Fix #16387 - rootless Docker user (#16388) * Fix activation of primary email addresses (#16385) * Fix calculation for finalPage in repo-search component (#16382) * Specify user in rootless container numerically (#16361) @@ -152,7 +149,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * OAuth2 login: Set account link to "login" as default behavior (#15768) * Use single shared random string generation function (#15741) * Code comments improvements (#15722) - * Feature/oauth userinfo (#15721) + * Provide OIDC compliant user info endpoint (#15721) * Fix webkit calendar icon color on arc-green (#15713) * Improve Light Chroma style (#15699) * Only use boost workers for leveldb shadow queues (#15696) @@ -162,12 +159,10 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Refactor of link creation (#15619) * Add a new table issue_index to store the max issue index so that issue could be deleted with no duplicated index (#15599) * Rewrite of the LFS server (#15523) - * Raw file view tweaks (#15520) * Display more repository type on admin repository management (#15440) * Remove usage of some JS globals (#15378) * SHA in merged commit comment should be rendered ui sha (#15376) * add well-known config for OIDC (#15355) - * Move modules/forms to services/forms (#15305) * Use route rather than use thus reducing the number of stack frames (#15301) * Code Formats, Nits & Unused Func/Var deletions (#15286) * Let package git depend on setting but not opposite (#15241) @@ -210,20 +205,16 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Rework Token API comments (#15162) * Add better errors for disabled account recovery (#15117) * MISC - * Update Vendor (#16325) * Speed up git diff highlight generation (#16180) * Remove utf8 option from installation page (#16126) - * Vendor Update (#16121) * Improve performance of dashboard list orgs (#16099) * Use git log name-status in get last commit (#16059) - * Fix unknown translation key (#16057) * Use Wants= over Requires= in systemd file (#15897) * Update JS dependencies, use Node 16 (#15804) * Add trace logging to SSO methods (#15803) * Hold the event source when there are no listeners (#15725) * Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) * Add NeedPostProcess for Parser interface to improve performance of csv parser and some external parser (#15153) - * Update JS dependencies (#15033) * Add code block highlight to orgmode back (#14222) ## [1.14.4](https://github.com/go-gitea/gitea/releases/tag/v1.14.4) - 2021-07-06 From 70ec86e1dc1e591b418dea34d34c6cbccb61e630 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 11:33:08 +0200 Subject: [PATCH 05/14] move SECURITY before FEATURES --- .changelog.yml | 8 ++++---- CHANGELOG.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.changelog.yml b/.changelog.yml index 942138327875e..809876dd1a18f 100644 --- a/.changelog.yml +++ b/.changelog.yml @@ -14,14 +14,14 @@ groups: name: BREAKING labels: - kind/breaking - - - name: FEATURES - labels: - - kind/feature - name: SECURITY labels: - kind/security + - + name: FEATURES + labels: + - kind/feature - name: API labels: diff --git a/CHANGELOG.md b/CHANGELOG.md index e575fd780ccbc..d9aa9715a2399 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,10 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add `/assets` as root dir of public files (#15219) * use level config in log section when sub log section not set level (#15176) * Links in markdown should be absolute to the repository not the server (#15088) +* SECURITY + * Support custom mime type mapping for text files (#16304) + * Encrypt LDAP bind password in db with SECRET_KEY (#15547) + * Remove random password in Dockerfiles (#15362) * FEATURES * Update Go-Git to take advantage of LargeObjectThreshold (#16316) * Link to previous blames in file blame page (#16259) @@ -40,10 +44,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Disable Stars config option (#14653) * Add option to provide signature for a token to verify key ownership (#14054) * OAuth2 auto-register (#5123) -* SECURITY - * Support custom mime type mapping for text files (#16304) - * Encrypt LDAP bind password in db with SECRET_KEY (#15547) - * Remove random password in Dockerfiles (#15362) * API * Return updated repository when changing repository using API (#16420) * Let branch/tag name be a valid ref to get CI status (#16400) From 9d5064ba6387cca77de1cb426973949c2d55d641 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 11:36:33 +0200 Subject: [PATCH 06/14] move ENHANCEMENTS above BUGFIXES --- .changelog.yml | 8 ++--- CHANGELOG.md | 84 +++++++++++++++++++++++++------------------------- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.changelog.yml b/.changelog.yml index 809876dd1a18f..657dfa1c0ee52 100644 --- a/.changelog.yml +++ b/.changelog.yml @@ -26,16 +26,16 @@ groups: name: API labels: - kind/api - - - name: BUGFIXES - labels: - - kind/bug - name: ENHANCEMENTS labels: - kind/enhancement - kind/refactor - kind/ui + - + name: BUGFIXES + labels: + - kind/bug - name: TESTING labels: diff --git a/CHANGELOG.md b/CHANGELOG.md index d9aa9715a2399..8090f42c75bee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,48 +62,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add Active and ProhibitLogin to API (#15689) * Add Location, Website and Description to API (#15675) * Expose resolver via API (#15167) -* BUGFIXES - * Fix invalid params and typo of email templates (#16394) - * Fix activation of primary email addresses (#16385) - * Fix calculation for finalPage in repo-search component (#16382) - * Specify user in rootless container numerically (#16361) - * Detect encoding changes while parsing diff (#16330) - * Fix U2F error reasons always hidden (#16327) - * Prevent zombie processes (#16314) - * Escape reference to `user` table in models.SearchEmails (#16313) - * Fix default push instructions on empty repos (#16302) - * Fix modified files list in webhooks when there is a space (#16288) - * Fix webhook commits wrong hash on HEAD reset (#16283) - * Fuzzer finds an NPE due to incorrect URLPrefix (#16249) - * Don't WARN log UserNotExist errors on ExternalUserLogin failure (#16238) - * Do not show No match found for tribute (#16231) - * Fix "Copy Link" for pull requests (#16230) - * Fix diff expansion is missing final line in a file (#16222) - * Fix private repo permission problem (#16142) - * Fix not able to update local created non-urlencoded wiki pages (#16139) - * More efficiently parse shas for shaPostProcessor (#16101) - * Fix `doctor --run check-db-consistency --fix` with label fix (#16094) - * Prevent webhook action buttons from shifting (#16087) - * Change default TMPDIR path in rootless containers (#16077) - * Fix typo and add TODO notice (#16064) - * Fix 500 Error with branch and tag sharing the same name (#16040) - * Fix get tag when migration (#16014) - * Add custom emoji support (#16004) - * Kd/fix release compare extra bracket (#15988) - * Use filepath.ToSlash and Join in indexer defaults and queues (#15971) - * Add permission check for ``GenerateRepository`` (#15946) - * Ensure settings for Service and Mailer are read on the install page (#15943) - * Fix layout of milestone view (#15927) - * Unregister non-matching serviceworkers (#15834) - * Attachment support repository route (#15580) - * Fix missing icons and colorpicker when mounted on suburl (#15501) - * Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username (#15304) - * Prevent double-login for Git HTTP and LFS and simplify login (#15303) - * Resolve Object { type: "error", data: undefined } in stopwatch.js (#15278) - * Fix heatmap activity (#15252) - * Remove vendored copy of fomantic-dropdown (#15193) - * Update repository size on cron gc task (#15177) - * Remove User.GetOrganizations() (#14032) * ENHANCEMENTS * Support HTTP/2 in Let's Encrypt (#16371) * Introduce NotifySubjectType (#16320) @@ -181,6 +139,48 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add links to toggle WIP status (#14677) * Add Tabular Diff for CSV files (#14661) * Use milestone deadline when sorting issues (#14551) +* BUGFIXES + * Fix invalid params and typo of email templates (#16394) + * Fix activation of primary email addresses (#16385) + * Fix calculation for finalPage in repo-search component (#16382) + * Specify user in rootless container numerically (#16361) + * Detect encoding changes while parsing diff (#16330) + * Fix U2F error reasons always hidden (#16327) + * Prevent zombie processes (#16314) + * Escape reference to `user` table in models.SearchEmails (#16313) + * Fix default push instructions on empty repos (#16302) + * Fix modified files list in webhooks when there is a space (#16288) + * Fix webhook commits wrong hash on HEAD reset (#16283) + * Fuzzer finds an NPE due to incorrect URLPrefix (#16249) + * Don't WARN log UserNotExist errors on ExternalUserLogin failure (#16238) + * Do not show No match found for tribute (#16231) + * Fix "Copy Link" for pull requests (#16230) + * Fix diff expansion is missing final line in a file (#16222) + * Fix private repo permission problem (#16142) + * Fix not able to update local created non-urlencoded wiki pages (#16139) + * More efficiently parse shas for shaPostProcessor (#16101) + * Fix `doctor --run check-db-consistency --fix` with label fix (#16094) + * Prevent webhook action buttons from shifting (#16087) + * Change default TMPDIR path in rootless containers (#16077) + * Fix typo and add TODO notice (#16064) + * Fix 500 Error with branch and tag sharing the same name (#16040) + * Fix get tag when migration (#16014) + * Add custom emoji support (#16004) + * Kd/fix release compare extra bracket (#15988) + * Use filepath.ToSlash and Join in indexer defaults and queues (#15971) + * Add permission check for ``GenerateRepository`` (#15946) + * Ensure settings for Service and Mailer are read on the install page (#15943) + * Fix layout of milestone view (#15927) + * Unregister non-matching serviceworkers (#15834) + * Attachment support repository route (#15580) + * Fix missing icons and colorpicker when mounted on suburl (#15501) + * Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username (#15304) + * Prevent double-login for Git HTTP and LFS and simplify login (#15303) + * Resolve Object { type: "error", data: undefined } in stopwatch.js (#15278) + * Fix heatmap activity (#15252) + * Remove vendored copy of fomantic-dropdown (#15193) + * Update repository size on cron gc task (#15177) + * Remove User.GetOrganizations() (#14032) * TESTING * Bump `postgres` and `mysql` versions (#15710) * Add tests for clone from wiki (#15513) From 484f01c4dfc6770300b1caca75840ee1b096639c Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 11:39:15 +0200 Subject: [PATCH 07/14] as per techknowlogick --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8090f42c75bee..9e7b9702ad112 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,6 +79,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add OpenID claims "profile" and "email". (#16141) * Reintroduce squash merge default comment as a config setting (#16134) * Add sanitizer rules per renderer (#16110) + * Improve performance of dashboard list orgs (#16099) * Refactor assert statements in tests (#16089) * Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) * Remove unnecessary goroutine (#16080) @@ -163,6 +164,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Prevent webhook action buttons from shifting (#16087) * Change default TMPDIR path in rootless containers (#16077) * Fix typo and add TODO notice (#16064) + * Use git log name-status in get last commit (#16059) * Fix 500 Error with branch and tag sharing the same name (#16040) * Fix get tag when migration (#16014) * Add custom emoji support (#16004) @@ -207,8 +209,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * MISC * Speed up git diff highlight generation (#16180) * Remove utf8 option from installation page (#16126) - * Improve performance of dashboard list orgs (#16099) - * Use git log name-status in get last commit (#16059) * Use Wants= over Requires= in systemd file (#15897) * Update JS dependencies, use Node 16 (#15804) * Add trace logging to SSO methods (#15803) From 20777248b9970b21bf5d5d3f2d25c29e25222c7c Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 11:45:02 +0200 Subject: [PATCH 08/14] more --- CHANGELOG.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e7b9702ad112..82c76c1bf1862 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,7 +70,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback (#16278) * Add previous/next buttons to review comments (#16273) * Review comments: break-word for long file names (#16272) - * Add configuration to restrict allowed user visiblity modes (#16271) + * Add configuration to restrict allowed user visibility modes (#16271) * Add scroll-margin-top to account for sticky header (#16269) * Add --quiet and --verbose to gitea web to control initial logging (#16260) * Use gitea logging module for git module (#16243) @@ -131,8 +131,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Refactor renders (#15175) * Add mimetype mapping settings (#15133) * Add Status Updates whilst Gitea migrations are occurring (#15076) - * [refactor] Use i18n.Reset to reload locales (#15073) - * [refactor] mailer service (#15072) + * Reload locales in initialisation if needed by utilizing i18n.Reset (#15073) * Counterwork seemingly unclickable repo button labels (#15064) * Add DefaultMergeStyle option to repository (#14789) * Added support for gopher URLs. (#14749) @@ -192,7 +191,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Use a special name for update default branch on repository setting (#15893) * Fix mirror_lfs source string in en-US locale (#15369) * BUILD - * upgrade xorm to v1.1.1 (#16339) + * Upgrade xorm to v1.1.1 (#16339) * Alpine 3.14 released (#16170) * Disable legal comments in esbuild (#15929) * Use esbuild to minify CSS (#15756) @@ -203,7 +202,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * DOCS * Comment out app.example.ini (#15807) * Improve logo customization docs (#15754) - * Add some reponse status on api docs (#15399) + * Add some response status on api docs (#15399) * Rework Token API comments (#15162) * Add better errors for disabled account recovery (#15117) * MISC From 0fcf44156c17d97ac83704489e304661c3441417 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 11:50:02 +0200 Subject: [PATCH 09/14] node16 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82c76c1bf1862..c2da7284849f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -194,6 +194,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Upgrade xorm to v1.1.1 (#16339) * Alpine 3.14 released (#16170) * Disable legal comments in esbuild (#15929) + * Switch to Node 16 to build fronted (#15804) * Use esbuild to minify CSS (#15756) * Use binary version of revive linter (#15739) * Fix: npx webpack make: *** [Makefile:699: public/js/index.js] Error -… (#15465) @@ -209,7 +210,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Speed up git diff highlight generation (#16180) * Remove utf8 option from installation page (#16126) * Use Wants= over Requires= in systemd file (#15897) - * Update JS dependencies, use Node 16 (#15804) * Add trace logging to SSO methods (#15803) * Hold the event source when there are no listeners (#15725) * Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) From 6146a4be879a92eae6e2a49fe63ee4eff47b4d57 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 14 Jul 2021 20:48:49 +0200 Subject: [PATCH 10/14] Apply suggestions from code review Co-authored-by: Kyle D. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2da7284849f6..624504be64467 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -167,7 +167,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Fix 500 Error with branch and tag sharing the same name (#16040) * Fix get tag when migration (#16014) * Add custom emoji support (#16004) - * Kd/fix release compare extra bracket (#15988) * Use filepath.ToSlash and Join in indexer defaults and queues (#15971) * Add permission check for ``GenerateRepository`` (#15946) * Ensure settings for Service and Mailer are read on the install page (#15943) @@ -201,6 +200,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Stop packaging node_modules in release tarballs (#15273) * Introduce esbuild on webpack (#14578) * DOCS + * Update queue workers documentation (#15999) * Comment out app.example.ini (#15807) * Improve logo customization docs (#15754) * Add some response status on api docs (#15399) From a589fd86d1ef64b2abfd6c5569fbfe455ab8f027 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 15 Jul 2021 03:15:02 +0200 Subject: [PATCH 11/14] next --- CHANGELOG.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 624504be64467..f2638626e8bac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,11 +20,11 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * use level config in log section when sub log section not set level (#15176) * Links in markdown should be absolute to the repository not the server (#15088) * SECURITY - * Support custom mime type mapping for text files (#16304) * Encrypt LDAP bind password in db with SECRET_KEY (#15547) * Remove random password in Dockerfiles (#15362) * FEATURES * Update Go-Git to take advantage of LargeObjectThreshold (#16316) + * Support custom mime type mapping for text files (#16304) * Link to previous blames in file blame page (#16259) * Add LRU mem cache implementation (#16226) * Localize Email Templates (#16200) @@ -54,7 +54,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * ListIssues add more filters (#16174) * Issue Search Add filter for MilestoneNames (#16173) * GET / SET User Settings (#16169) - * expose repo.GetReviewers() & repo.GetAssignees() (#16168) + * Expose repo.GetReviewers() & repo.GetAssignees() (#16168) * User expose counters (#16167) * Add repoGetTag (#16166) * Add repoCreateTag (#16165) @@ -76,6 +76,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Use gitea logging module for git module (#16243) * Add tests for all webhooks (#16214) * Add button to delete undeleted repositories from failed migrations (#16197) + * Speed up git diff highlight generation (#16180) * Add OpenID claims "profile" and "email". (#16141) * Reintroduce squash merge default comment as a config setting (#16134) * Add sanitizer rules per renderer (#16110) @@ -101,12 +102,14 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add curl to rootless docker image (#15908) * Replace clipboard.js with async clipboard api (#15899) * Allow custom highlight mapping beyond file extensions (#15808) + * Add trace logging to SSO methods (#15803) * Refactor routers directory (#15800) * Allow only internal registration (#15795) * Add a new internal hook to save ssh log (#15787) * Respect default merge message syntax when parsing item references (#15772) * OAuth2 login: Set account link to "login" as default behavior (#15768) * Use single shared random string generation function (#15741) + * Hold the event source when there are no listeners (#15725) * Code comments improvements (#15722) * Provide OIDC compliant user info endpoint (#15721) * Fix webkit calendar icon color on arc-green (#15713) @@ -121,7 +124,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Display more repository type on admin repository management (#15440) * Remove usage of some JS globals (#15378) * SHA in merged commit comment should be rendered ui sha (#15376) - * add well-known config for OIDC (#15355) + * Add well-known config for OIDC (#15355) * Use route rather than use thus reducing the number of stack frames (#15301) * Code Formats, Nits & Unused Func/Var deletions (#15286) * Let package git depend on setting but not opposite (#15241) @@ -172,6 +175,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Ensure settings for Service and Mailer are read on the install page (#15943) * Fix layout of milestone view (#15927) * Unregister non-matching serviceworkers (#15834) + * Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) * Attachment support repository route (#15580) * Fix missing icons and colorpicker when mounted on suburl (#15501) * Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username (#15304) @@ -180,6 +184,8 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Fix heatmap activity (#15252) * Remove vendored copy of fomantic-dropdown (#15193) * Update repository size on cron gc task (#15177) + * Add NeedPostProcess for Parser interface to improve performance of csv parser and some external parser (#15153) + * Add code block highlight to orgmode back (#14222) * Remove User.GetOrganizations() (#14032) * TESTING * Bump `postgres` and `mysql` versions (#15710) @@ -207,14 +213,8 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Rework Token API comments (#15162) * Add better errors for disabled account recovery (#15117) * MISC - * Speed up git diff highlight generation (#16180) * Remove utf8 option from installation page (#16126) * Use Wants= over Requires= in systemd file (#15897) - * Add trace logging to SSO methods (#15803) - * Hold the event source when there are no listeners (#15725) - * Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) - * Add NeedPostProcess for Parser interface to improve performance of csv parser and some external parser (#15153) - * Add code block highlight to orgmode back (#14222) ## [1.14.4](https://github.com/go-gitea/gitea/releases/tag/v1.14.4) - 2021-07-06 From 4015d577e21ebf70a1266269786dfbd9f6fbb492 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 15 Jul 2021 03:45:27 +0200 Subject: [PATCH 12/14] Apply suggestions from code review --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2638626e8bac..0358a98330d7a 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.15.0-rc1](https://github.com/go-gitea/gitea/releases/tag/v1.15.0-rc1) - 2021-07-14 +## [1.15.0-rc1](https://github.com/go-gitea/gitea/releases/tag/v1.15.0-rc1) - 2021-07-15 * BREAKING * Make app.ini permissions more restrictive (#16266) From 0e635d5141b8230033ae10b6d7fb045e78202236 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 15 Jul 2021 12:54:11 +0200 Subject: [PATCH 13/14] Update CHANGELOG.md Co-authored-by: Norwin --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0358a98330d7a..b768bd349e667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Rename StaticUrlPrefix to AssetUrlPrefix (#15779) * Use a generic markup class to display externally rendered files and diffs (#15735) * Add frontend testing, require node 12 (#15315) - * Add `/assets` as root dir of public files (#15219) + * Move (custom) assets into subpath `/assets` (#15219) * use level config in log section when sub log section not set level (#15176) * Links in markdown should be absolute to the repository not the server (#15088) * SECURITY From 3132eb84abb50f52fabe5e82c87966f583aefa34 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 15 Jul 2021 10:50:19 -0400 Subject: [PATCH 14/14] Update CHANGELOG.md Co-authored-by: Lauris BH --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b768bd349e667..63a49e7f07dcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Use a generic markup class to display externally rendered files and diffs (#15735) * Add frontend testing, require node 12 (#15315) * Move (custom) assets into subpath `/assets` (#15219) - * use level config in log section when sub log section not set level (#15176) + * Use level config in log section when sub log section not set level (#15176) * Links in markdown should be absolute to the repository not the server (#15088) * SECURITY * Encrypt LDAP bind password in db with SECRET_KEY (#15547)