From be5ffd4c6e0246b51f219f8681b8572a7013e613 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Tue, 15 Nov 2022 21:05:51 -0500 Subject: [PATCH 1/9] add changelog for 1.18.0-rc1 --- CHANGELOG.md | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1150d70081ebd..2d87aa5cd2359 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,189 @@ 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.18.0-rc1](https://github.com/go-gitea/gitea/releases/tag/v1.18.0-rc1) - 2022-11-15 + +* BREAKING + * Remove U2F support (#20141) +* SECURITY + * Support Go Vulnerability Management (#21139) +* FEATURES + * Add color previews in markdown (#21474) + * Allow package version sorting (#21453) + * Add support for Chocolatey/NuGet v2 API (#21393) + * Add API endpoint to get changed files of a PR (#21177) + * Add filetree on left of diff view (#21012) + * Support Issue forms and PR forms (#20987) + * Add support for Vagrant packages (#20930) + * Add support for `npm unpublish` (#20688) + * Add badge capabilities to users (#20607) + * Add issue filter for Author (#20578) + * Add KaTeX rendering to Markdown. (#20571) + * Add support for Pub packages (#20560) + * Support localized README (#20508) + * Add support mCaptcha as captcha provider (#20458) + * Add team member invite by email (#20307) + * Added email notification option to receive all own messages (#20179) + * Switch Unicode Escaping to a VSCode-like system (#19990) + * Add user/organization code search (#19977) + * Only show relevant repositories on explore page (#19361) + * User keypairs and HTTP signatures for ActivityPub federation using go-ap (#19133) + * Add sitemap support (#18407) + * Allow creation of OAuth2 applications for orgs (#18084) + * Add system setting table with cache and also add cache supports for user setting (#18058) + * Add pages to view watched repos and subscribed issues/PRs (#17156) + * Support Proxy protocol (#12527) +* API + * Make external issue tracker regexp configurable via API (#21338) + * Add name field for org api (#21270) + * Show teams with no members if user is admin (#21204) + * Add latest commit's SHA to content response (#20398) + * Add allow_rebase_update, default_delete_branch_after_merge to repository api response (#20079) + * Add new endpoints for push mirrors management (#19841) +* ENHANCEMENTS + * Use CSS color-scheme instead of invert (#21616) (#21623) + * Change `commits-table` column width (#21564) + * Refactor git command arguments and make all arguments to be safe to be used (#21535) + * CSS color enhancements (#21534) + * Add link to user profile in markdown mention only if user exists (#21533) + * Add option to skip index dirs (#21501) + * Refactor GetNextResourceIndex to make it work properly with transaction (#21469) + * Diff file tree tweaks (#21446) + * Localize all timestamps (#21440) + * Add `code` highlighting in issue titles (#21432) + * Use Name instead of DisplayName in LFS Lock (#21415) + * Add generic set type (#21408) + * Consolidate more CSS colors into variables (#21402) + * Redirect to new repository owner (#21398) + * Use ISO date format instead of hard-coded English date format for date range in repo activity page (#21396) + * Use weighted algorithm for string matching when finding files in repo (#21370) + * Show private data in feeds (#21369) + * Refactor parseTreeEntries, speed up tree list (#21368) + * Add GET and DELETE endpoints for Docker blob uploads (#21367) + * Add nicer error handling on template compile errors (#21350) + * Add `stat` to `ToCommit` function for speed (#21337) + * Support instance-wide OAuth2 applications (#21335) + * Record OAuth client type at registration (#21316) + * Add new CSS variables --color-accent and --color-small-accent (#21305) + * Improve error descriptions for unauthorized_client (#21292) + * Case-insensitive "find files in repo" (#21269) + * Consolidate more CSS rules, fix inline code on arc-green (#21260) + * Log real ip of requests from ssh (#21216) + * Save files in local storage as group readable (#21198) + * Enable fluid page layout on medium size viewports (#21178) + * File header tweaks (#21175) + * Added missing headers on user packages page (#21172) + * Display image digest for container packages (#21170) + * Skip dirty check for team forms (#21154) + * Keep path when creating a new branch (#21153) + * Remove fomantic image module (#21145) + * Make labels clickable in the comments section. (#21137) + * Sort branches and tags by date descending (#21136) + * Better repo API unit checks (#21130) + * Improve commit status icons (#21124) + * Limit length of repo description and repo url input fields (#21119) + * Show .editorconfig errors in frontend (#21088) + * Allow poster to choose reviewers (#21084) + * Remove black labels and CSS cleanup (#21003) + * Make e-mail sanity check more precise (#20991) + * Use native inputs in whitespace dropdown (#20980) + * Enhance package date display (#20928) + * Display total blob size of a package version (#20927) + * Show language name on hover (#20923) + * Show instructions for all generic package files (#20917) + * Replace `ServeStream` with `ServeContent` (#20903) + * Make every not exist error unwrappable to a fs.ErrNotExist (#20891) + * Refactor AssertExistsAndLoadBean to use generics (#20797) + * Move the official website link at the footer of gitea (#20777) + * Add support for full name in reverse proxy auth (#20776) + * Remove useless JS operation for relative time tooltips (#20756) + * Replace some icons with SVG (#20741) + * Change commit status icons to SVG (#20736) + * Improve single repo action for issue and pull requests (#20730) + * Allow multiple files in generic packages (#20661) + * Add option to create new issue from /issues page (#20650) + * Background color of private list-items updated (#20630) + * Added search input field to issue filter (#20623) + * Increase default item listing size `ISSUE_PAGING_NUM` to 20 (#20547) + * Modify milestone search keywords to be case insensitive again (#20513) + * Show hint to link package to repo when viewing empty repo package list (#20504) + * Add Tar ZSTD support (#20493) + * Make code review checkboxes clickable (#20481) + * Add "X-Gitea-Object-Type" header for GET `/raw/` & `/media/` API (#20438) + * Display project in issue list (#20434) + * Prepend commit message to template content when opening a new PR (#20429) + * Replace fomantic popup module with tippy.js (#20428) + * Allow to specify colors for text in markup (#20363) + * Allow access to the Public Organization Member lists with minimal permissions (#20330) + * Use default values when provided values are empty (#20318) + * Vertical align navbar avatar at middle (#20302) + * Include login_name in adminCreateUser response (#20283) + * fix: icon margin in user/settings/repos (#20281) + * Remove blue text on migrate page (#20273) + * Modify milestone search keywords to be case insensitive (#20266) + * Move some files into models' sub packages (#20262) + * Add tooltip to repo icons in explore page (#20241) + * Remove deprecated licenses (#20222) + * Webhook for Wiki changes (#20219) + * Share HTML template renderers and create a watcher framework (#20218) + * Allow enable LDAP source and disable user sync via CLI (#20206) + * Adds a checkbox to select all issues/PRs (#20177) + * Refactor `i18n` to `locale` (#20153) + * Disable status checks in template if none found (#20088) + * Allow manager logging to set SQL (#20064) + * Add order by for assignee no sort issue (#20053) + * Take a stab at porting existing components to Vue3 (#20044) + * Adjust transaction handling via db.Context (#20031) + * Add doctor command to write commit-graphs (#20007) + * Add support for authentication based on reverse proxy email (#19949) + * Enable spellcheck for EasyMDE, use contenteditable mode (#19776) + * Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) + * Implement sync push mirror on commit (#19411) + * Rework mailer settings (#18982) + * Add option to purge users (#18064) + * Decouple HookTask from Repository (#17940) + * Add author search input (#21246) +* BUGFIXES + * Prevent panic in doctor command when running default checks (#21791) (#21807) + * Load GitRepo in API before deleting issue (#21720) (#21796) + * Ignore line anchor links with leading zeroes (#21728) (#21776) + * Init git module before database migration (#21764) (#21765) + * Set last login when activating account (#21731) (#21755) + * Fix UI language switching bug (#21597) (#21749) + * Quick fixes monaco-editor error: "vs.editor.nullLanguage" (#21734) (#21738) + * Allow local package identifiers for PyPI packages (#21690) (#21727) + * Deal with markdown template without metadata (#21639) (#21654) + * Fix opaque background on mermaid diagrams (#21642) (#21652) + * Fix repository adoption on Windows (#21646) (#21650) + * Sync git hooks when config file path changed (#21619) (#21626) + * Fix 500 on PR files API (#21602) (#21607) + * Fix `Timestamp.IsZero` (#21593) (#21603) + * Fix viewing user subscriptions (#21482) + * Fix mermaid-related bugs (#21431) + * Fix branch dropdown shifting on page load (#21428) + * Fix default theme-auto selector when nologin (#21346) + * Fix and improve incorrect error messages (#21342) + * Fix formatted link for PR review notifications to matrix (#21319) + * Center-aligning content of WebAuthN page (#21127) + * Remove follow from commits by file (#20765) + * Fix commit status popup (#20737) + * Fix init mail render logic (#20704) + * Use correct page size for link header pagination (#20546) + * Preserve unix socket file (#20499) + * Use tippy.js for context popup (#20393) + * Add missing parameter for error in log message (#20144) + * Do not allow organisation owners add themselves as collaborator (#20043) + * Rework file highlight rendering and fix yaml copy-paste (#19967) + * Improve code diff highlight, fix incorrect rendered diff result (#19958) +* TESTING + * Improve OAuth integration tests (#21390) + * Add playwright tests (#20123) +* BUILD + * Switch to building with go1.19 (#20695) + * Update JS dependencies, adjust eslint (#20659) + * Add more linters to improve code readability (#19989) + + ## [1.17.3](https://github.com/go-gitea/gitea/releases/tag/v1.17.3) - 2022-10-15 * SECURITY From 0eeb6be6ca62f5cf4292aabef8f601e6878f6074 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 16 Nov 2022 09:46:24 -0500 Subject: [PATCH 2/9] Update CHANGELOG.md --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d87aa5cd2359..ce6ab5a35d7dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -186,7 +186,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Update JS dependencies, adjust eslint (#20659) * Add more linters to improve code readability (#19989) - ## [1.17.3](https://github.com/go-gitea/gitea/releases/tag/v1.17.3) - 2022-10-15 * SECURITY From e0e9a28e5dba605be415a1dd3eb7495e918e49f0 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 17 Nov 2022 09:50:18 -0500 Subject: [PATCH 3/9] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce6ab5a35d7dd..67881ba35d9d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add new endpoints for push mirrors management (#19841) * ENHANCEMENTS * Use CSS color-scheme instead of invert (#21616) (#21623) + * Respect user's locale when rendering the date range in the repo activity page (#21410) * Change `commits-table` column width (#21564) * Refactor git command arguments and make all arguments to be safe to be used (#21535) * CSS color enhancements (#21534) From 8e0911ae20b25800b6175157b1a4481a54a68895 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 17 Nov 2022 09:50:45 -0500 Subject: [PATCH 4/9] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67881ba35d9d3..2573157e9b184 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,7 +45,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add new endpoints for push mirrors management (#19841) * ENHANCEMENTS * Use CSS color-scheme instead of invert (#21616) (#21623) - * Respect user's locale when rendering the date range in the repo activity page (#21410) + * Respect user's locale when rendering the date range in the repo activity page (#21410) * Change `commits-table` column width (#21564) * Refactor git command arguments and make all arguments to be safe to be used (#21535) * CSS color enhancements (#21534) From 74a1e3b550075bf65f9517478fdf0c736cf925d7 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 17 Nov 2022 14:28:24 -0500 Subject: [PATCH 5/9] Apply suggestions from code review --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2573157e9b184..e0eaf35ceca34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * BREAKING * Remove U2F support (#20141) -* SECURITY - * Support Go Vulnerability Management (#21139) * FEATURES * Add color previews in markdown (#21474) * Allow package version sorting (#21453) From 608891acb3274b4af7205d9d5ec186de439b9105 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 23 Nov 2022 21:05:51 +0800 Subject: [PATCH 6/9] Add missing PRs --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0eaf35ceca34..3b191ea7da0af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,7 +47,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Change `commits-table` column width (#21564) * Refactor git command arguments and make all arguments to be safe to be used (#21535) * CSS color enhancements (#21534) - * Add link to user profile in markdown mention only if user exists (#21533) + * Add link to user profile in markdown mention only if user exists (#21533, #21554) * Add option to skip index dirs (#21501) * Refactor GetNextResourceIndex to make it work properly with transaction (#21469) * Diff file tree tweaks (#21446) @@ -119,6 +119,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Allow access to the Public Organization Member lists with minimal permissions (#20330) * Use default values when provided values are empty (#20318) * Vertical align navbar avatar at middle (#20302) + * Delete cancel button in repo creation page (#21381) * Include login_name in adminCreateUser response (#20283) * fix: icon margin in user/settings/repos (#20281) * Remove blue text on migrate page (#20273) @@ -145,6 +146,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add option to purge users (#18064) * Decouple HookTask from Repository (#17940) * Add author search input (#21246) + * Make rss/atom identifier globally unique (#21550) * BUGFIXES * Prevent panic in doctor command when running default checks (#21791) (#21807) * Load GitRepo in API before deleting issue (#21720) (#21796) From b3707a5f886404318bdf253403b2dd18e842db52 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 23 Nov 2022 15:27:10 -0500 Subject: [PATCH 7/9] Apply suggestions from code review --- CHANGELOG.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b191ea7da0af..c8ae3b6690b71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,12 +49,10 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * CSS color enhancements (#21534) * Add link to user profile in markdown mention only if user exists (#21533, #21554) * Add option to skip index dirs (#21501) - * Refactor GetNextResourceIndex to make it work properly with transaction (#21469) * Diff file tree tweaks (#21446) * Localize all timestamps (#21440) * Add `code` highlighting in issue titles (#21432) * Use Name instead of DisplayName in LFS Lock (#21415) - * Add generic set type (#21408) * Consolidate more CSS colors into variables (#21402) * Redirect to new repository owner (#21398) * Use ISO date format instead of hard-coded English date format for date range in repo activity page (#21396) @@ -136,7 +134,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Allow manager logging to set SQL (#20064) * Add order by for assignee no sort issue (#20053) * Take a stab at porting existing components to Vue3 (#20044) - * Adjust transaction handling via db.Context (#20031) * Add doctor command to write commit-graphs (#20007) * Add support for authentication based on reverse proxy email (#19949) * Enable spellcheck for EasyMDE, use contenteditable mode (#19776) @@ -144,14 +141,12 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Implement sync push mirror on commit (#19411) * Rework mailer settings (#18982) * Add option to purge users (#18064) - * Decouple HookTask from Repository (#17940) * Add author search input (#21246) * Make rss/atom identifier globally unique (#21550) * BUGFIXES * Prevent panic in doctor command when running default checks (#21791) (#21807) * Load GitRepo in API before deleting issue (#21720) (#21796) * Ignore line anchor links with leading zeroes (#21728) (#21776) - * Init git module before database migration (#21764) (#21765) * Set last login when activating account (#21731) (#21755) * Fix UI language switching bug (#21597) (#21749) * Quick fixes monaco-editor error: "vs.editor.nullLanguage" (#21734) (#21738) From deed97f74ff48b96accbaeec98017ddf66cf9a73 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Wed, 23 Nov 2022 16:07:40 -0500 Subject: [PATCH 8/9] Update CHANGELOG.md --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8ae3b6690b71..102f106119d28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -91,8 +91,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Display total blob size of a package version (#20927) * Show language name on hover (#20923) * Show instructions for all generic package files (#20917) - * Replace `ServeStream` with `ServeContent` (#20903) - * Make every not exist error unwrappable to a fs.ErrNotExist (#20891) * Refactor AssertExistsAndLoadBean to use generics (#20797) * Move the official website link at the footer of gitea (#20777) * Add support for full name in reverse proxy auth (#20776) From 53e8884e86ee15f3bebae8d43a844285d13b9fb8 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 24 Nov 2022 18:30:30 +0800 Subject: [PATCH 9/9] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 102f106119d28..076b2e6e057e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add system setting table with cache and also add cache supports for user setting (#18058) * Add pages to view watched repos and subscribed issues/PRs (#17156) * Support Proxy protocol (#12527) + * Implement sync push mirror on commit (#19411) * API * Make external issue tracker regexp configurable via API (#21338) * Add name field for org api (#21270) @@ -136,7 +137,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add support for authentication based on reverse proxy email (#19949) * Enable spellcheck for EasyMDE, use contenteditable mode (#19776) * Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) - * Implement sync push mirror on commit (#19411) * Rework mailer settings (#18982) * Add option to purge users (#18064) * Add author search input (#21246)