From 47121ca0556d3f0058aea64ed06fa4c90e96e12b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 23 May 2024 21:25:33 +0800 Subject: [PATCH 1/8] Add v1.22.0 changelog --- CHANGELOG.md | 748 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 748 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04fffd4a4e38b..13cded64e98dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,754 @@ This changelog goes through 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.com). +## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-23 + +* BREAKING + * Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) (#31020) + * Remember login for a month by default (#30150) + * Breaking summary for template refactoring (#29395) + * Add alert blocks in markdown (#29121) + * Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) + * Make offline mode as default to no connect external avatar service by default (#28548) + * Always enable caches (#28527) + * Remove deprecated query condition in ListReleases (#28339) + * Include public repos in doer's dashboard for issue search (#28304) + * Use restricted sanitizer for repository description (#28141) + * Support storage base path as prefix (#27827) + * Enhanced auth token / remember me (#27606) + * Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) + * Require MySQL 8.0, PostgreSQL 12, MSSQL 2012 (#27337) + * Fix push mirror, wrong timestamp format (#27153) +* SECURITY + * Refactor sha1 and time-limited code (#31023) (#31030) + * Upgrade `golang.org/x/net` to v0.24.0 (#30283) (#30286) + * Refactor locale&string&template related code (#29165) + * Update go dependencies (#28518) +* FEATURES + * Allow everyone to read or write a wiki by a repo unit setting (#30495) + * Use raw Wiki links for non-renderable Wiki files (#30273) + * Render embedded code preview by permlink in markdown (#30234) (#30249) + * Support repo code search without setting up an indexer (#29998) + * Support pasting URLs over markdown text (#29566) + * Allow to change primary email before account activation (#29412) + * Customizable "Open with" applications for repository clone (#29320) + * Allow options to disable user deletion from the interface on app.ini (#29275) + * Extend issue template yaml engine (#29274) + * Add support for `linguist-detectable` and `linguist-documentation` (#29267) + * Filter Repositories by type (#29231) + * Implement code frequency graph (#29191) + * Show commit status for releases (#29149) + * Add user blocking (#29028) + * Actions Artifacts v4 backend (#28965) + * Add merge style `fast-forward-only` (#28954) + * Retarget depending pulls when the parent branch is deleted (#28686) + * Add global setting how timestamps should be rendered (#28657) + * Implement actions badge svgs (#28102) + * Add skip ci functionality (#28075) + * Show latest commit for file (#28067) + * Allow to sync tags from admin dashboard (#28045) + * Add Profile Readme for Organisations (#27955) + * Implement contributors graph (#27882) + * Artifact deletion in actions ui (#27172) + * Add API routes to get runner registration token (#27144) + * Add support for forking single branch (#25821) + * Add support for sha256 repositories (#23894) + * Add admin API route for managing user's badges (#23106) +* API + * Fix "force private" logic (#31012) (#31021) + * Fix bug on avatar (#31008) (#31019) + * Simplify mirror repository API logic (#30963) (#31009) + * Protected tag is no internal server error (#30962) (#30970) + * Support using label names when changing issue labels (#30943) (#30958) + * Refactor AppURL usage (#30885) (#30891) + * Don't only list code-enabled repositories when using repository API (#30817) (#30848) + * Fix no edit history after editing issue's title and content (#30814) (#30845) + * Catch and handle unallowed file type errors in issue attachment API (#30791) (#30834) + * Prevent allow/reject reviews on merged/closed PRs (#30686) + * Enhance Actions Secrets Management API for repository (#30656) + * Fix compare api swagger (#30648) + * Refactor branch and tag existence checks (#30618) + * Enable more `revive` linter rules (#30608) + * Clarify permission "HasAccess" behavior (#30585) + * Update misspell to 0.5.1 and add `misspellings.csv` (#30573) + * Fix branch_protection api shows users/teams who has no readAccess (#30291) (#30544) + * Fix empty field `login_name` in API response JSON when creating user (#30511) (#30516) + * Check the token's owner and repository when registering a runner (#30406) (#30411) + * Implement branch/commit comparison API (#30349) + * Fix missed doer (#30231) (#30343) + * Clean up log messages (#30313) (#30318) + * Remove scheduled action tasks if the repo is archived (#30224) (#30230) + * Refactor topic Find functions and add more tests for pagination (#30127) (#30167) + * Relax generic package filename restrictions (#30135) + * Prevent re-review and dismiss review actions on closed and merged PRs (#30065) + * Refactor StringsToInt64s (#29967) + * Upgrade Go 1.22 and upgrade dependency (#29869) + * Fix lint-swagger warning (#29787) + * Refactor to use optional.Option for issue index search option (#29739) + * Update API to return 'source_id' for users (#29718) + * Add a warning for disallowed email domains (#29658) + * Add setting to disable user features when user login type is not plain (#29615) + * Skip email domain check when admins edit user emails (#29609) + * Skip email domain check when admin users adds user manually (#29522) + * Add API for `Variables` (#29520) + * Do some performance optimize for issues list and view issue/pull (#29515) + * Remove util.OptionalBool and related functions (#29513) + * Add support for API blob upload of release attachments (#29507) + * Allow options to disable user gpg keys configuration from the interface on app.ini (#29486) + * Migrate some more "OptionalBool" to "Option[bool]" (#29479) + * Move generate from module to service (#29465) + * Allow options to disable user ssh keys configuration from the interface on app.ini (#29447) + * Cache repository default branch commit status to reduce query on commit status table (#29444) + * Move context from modules to services (#29440) + * Use `crypto/sha256` (#29386) + * Fix content size does not match error when uploading lfs file (#29259) + * Add API to get merged PR of a commit (#29243) + * Add API to get PR by base/head (#29242) + * Refactor more code in templates (#29236) + * Add attachment support for code review comments (#29220) + * Integrate alpine `noarch` packages into other architectures index (#29137) + * Add support for action artifact serve direct (#29120) + * Show whether a PR is WIP inside popups (#28975) + * Simplify how git repositories are opened (#28937) + * Support nuspec manifest download for nuget packages (#28921) + * Add artifacts v4 jwt to job message and accept it (#28885) + * Move some repository transfer functions to service layer (#28855) + * Enable/disable owner and repo projects independently (#28805) + * Fix some RPM registry flaws (#28782) + * Unify user update methods (#28733) + * Refactor deletion (#28610) + * Add branch protection setting for ignoring stale approvals (#28498) + * Improve ObjectFormat interface (#28496) + * Adjust object format interface (#28469) + * Move more functions to db.Find (#28419) + * Second part of refactor `db.Find` (#28194) + * Abstract hash function usage (#28138) + * Added instance-level variables (#28115) + * Use db.Find instead of writing methods for every object (#28084) + * Remove unnecessary parameter (#27671) + * Replace more db.DefaultContext (#27628) + * Final round of `db.DefaultContext` refactor (#27587) + * Fix the wrong HTTP response status code for duplicate packages (#27480) + * Penultimate round of `db.DefaultContext` refactor (#27414) + * Even more `db.DefaultContext` refactor (#27352) + * Make writing main test easier (#27270) + * Some updates to the API for archived repos (#27149) + * Don't run push mirrors for archived repos (#27140) + * Support for grouping RPMs using paths (#26984) +* ENHANCEMENTS + * Restyle release list, fix branch dropdown (#30837) (#30968) + * Fix various problems around projects board view (#30696) (#30902) + * Fix wrong transfer hint (#30889) (#30900) + * Improve context popup rendering (#30824) (#30829) + * Fix all rounded borders, change affected tab menus to pills (#30707) (#30769) + * Improve job commit description (#30579) (#30709) + * Allow to save empty comment (#30706) + * Fix active item in tab menu (#30690) + * Initial support for colorblindness-friendly themes (#30625) + * Remove obsolete CSS text classes (#30576) + * Fix repo home UI when there is no repo description (#30552) + * Refactor web routes (#30519) + * Reduce unnecessary database queries on actions table (#30509) + * Remove fomantic button module (#30475) + * Rewrite and restyle reaction selector and enable no-sizzle eslint rule (#30453) (#30473) + * Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) + * Remove jQuery from the commit graph (except Fomantic) (#30395) + * Refactor more filterslice (#30370) + * Add container.FilterSlice function (#30339) + * Remove fomantic menu module (#30325) + * Some NuGet package enhancements (#30280) (#30324) + * Refactor startup deprecation messages (#30305) (#30312) + * Markup color and font size fixes (#30282) (#30310) + * Fix right-aligned input icons (#30301) + * Remove fomantic list module (#30281) + * Refactor "dump" sub-command (#30240) (#30260) + * Show 12 lines in markup code preview (#30255) (#30257) + * Add `[other].SHOW_FOOTER_POWERED_BY` setting to hide `Powered by` (#30253) + * Refactor commit signature parser (#30228) + * Refactor DeleteInactiveUsers, fix bug and add tests (#30206) (#30222) + * Make a distinction between `active` and `selected` in the issue author dropdown (#30207) + * Remove jQuery class from the `repo-issue.js` file (#30192) + * Remove jQuery class from the repository topic box (#30191) + * Remove jQuery class from the issue author dropdown (#30188) + * Remove jQuery class from the comment edit history (#30186) + * Remove jQuery class from the repository branch settings (#30184) + * Remove jQuery class from the project page (#30183) + * Remove jQuery class from the comment context menu (#30179) + * Remove jQuery class from the commit button (#30178) + * Remove jQuery class from the diff view (#30176) + * Remove jQuery class from the code range selection (#30173) + * Remove jQuery class from the notification count (#30172) + * Remove fomantic checkbox module (#30162) (#30168) + * Pulse page improvements (#30149) + * Render code tags in commit messages (#30146) + * Remove jQuery class from the image diff (#30140) + * Refactor markdown render (#30139) + * Remove jQuery class from the reaction selector (#30138) + * Remove jQuery class from the common admin functions (#30137) + * Remove jQuery `.attr` from the common admin functions (#30115) + * Remove jQuery `.attr` from the Fomantic dropdowns (#30114) + * Remove jQuery `.attr` from the code comments (#30112) + * Remove jQuery calls that have no effect on `showElem` and `hideElem` (#30110) + * Remove jQuery from the create/rename branch modals (except Fomantic) (#30109) + * Fix `DEFAULT_SHOW_FULL_NAME=false` has no effect in commit list and commit graph page (#30096) + * Remove jQuery `.attr` from the common issue page functions (#30083) + * Remove jQuery `.attr` from the label edit exclusive checkbox (#30053) + * Remove jQuery `.attr` from the reaction selector (#30052) + * Remove jQuery `.attr` from the ComboMarkdownEditor (#30051) + * Remove jQuery `.attr` from the repository topic bar (#30050) + * Remove jQuery from the issue "go to" button (#30028) + * Remove jQuery `.attr` from the common global functions (#30023) + * Remove jQuery `.attr` from the image diff again (#30022) + * Remove jQuery `.attr` from the diff page (#30021) + * Remove jQuery `.attr` from the repository settings (#30018) + * Remove jQuery `.attr` from the branch/tag selector (#30010) + * Remove jQuery from the citation modal (except fomantic) (#30008) + * Remove jQuery `.attr` from the commit graph (#30006) + * Remove jQuery `.attr` from the project page (#30004) + * Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) + * Add muted class to author name in repo commit list (#29989) + * Fix some pending problems (#29985) + * Refactor markdown attention render (#29984) + * Refactor external URL detection (#29973) + * Refactor repo header/list (#29969) + * Cancel previous runs of the same PR automatically (#29961) + * Refactor URL detection (#29960) + * Add border radius for wiki pages (#29937) + * Move notifications to a standalone file (#29930) + * Remove unnecessary ".Link" usages (#29929) + * Remove jQuery `.attr` from the issue author dropdown (#29915) + * Remove unnecessary ".Link" usages (#29909) + * Drag-and-drop improvements for projects and issue pins (#29875) + * Add default board to new projects, remove uncategorized pseudo-board (#29874) + * Refactor clone-panel styles (#29861) + * Forbid HTML injection using jQuery (#29843) + * Remove AddParamIfExist(AddParam) (#29841) + * Refactor AddParam to AddParamIfExist (#29834) + * Prevent layout shift in `` items (#29831) + * Remove jQuery AJAX from the notifications (#29817) + * Remove jQuery AJAX from the project page (#29814) + * Remove jQuery AJAX from the comment edit box (#29812) + * Remove scrollbar customizations (#29800) + * Remove jQuery AJAX from the `repo-issue.js` file (#29776) + * Add skip ci support for pull request title (#29774) + * Improve QueryEscape helper function (#29768) + * Move fork router functions to a standalone file (#29756) + * Remove jQuery AJAX from the diff functions (#29743) + * Add more stats tables (#29730) + * Improve branch select list ui in go templates (#29729) + * Refactor code_indexer to use an SearchOptions struct for PerformSearch (#29724) + * Remove jQuery AJAX from the issue branch reference selection (#29722) + * Lazy load object format with command line and don't do it in OpenRepository (#29712) + * Determine fuzziness of bleve indexer by keyword length (#29706) + * Remove jQuery AJAX from the comment edit history (#29703) + * Use repo object format name instead of detecting from git repository (#29702) + * Expose fuzzy search for issues/pulls (#29701) + * Put an edit file button on pull request files to allow a quick operation (#29697) + * Fix action runner offline label padding (#29691) + * Update allowed attachment types (#29688) + * Completely style the webkit autofill (#29683) + * Highlight archived labels (#29680) + * Set user's 24h preference from their current OS locale (#29651) + * Remove jQuery AJAX from the repo editor (#29636) + * A small refactor for agit implementation (#29614) + * Improve natural sort (#29611) + * Make wiki default branch name changable (#29603) + * Remove unnecessary ctxData for "attachments" template (#29600) + * Make admin pages wider because of left sidebar added and some tables become too narrow (#29581) + * Refactor star/watch button (#29576) + * Remove unnecessary SanitizeHTML from code (#29575) + * Make PR form use toast to show error message (#29545) + * Fix elipsis button not working if the last commit loading is deferred (#29544) + * Rename Action.GetDisplayName to GetActDisplayName (#29540) + * Unify search boxes (#29530) + * Remove jQuery AJAX from common global functions (#29528) + * Remove jQuery AJAX from the repo tag edit form (#29526) + * Rename Str2html to SanitizeHTML and clarify its behavior (#29516) + * Move migration functions to services layer (#29497) + * Detect broken git hooks (#29494) + * Sync branches to DB immediately when handle git hook calling (#29493) + * Let ctx.FormOptionalBool() return optional.Option[bool] (#29461) + * Remove jQuery from the "find file" page (#29456) + * Use relative links for commits, mentions, and issues in markdown (#29427) + * Do not exceed display for the PR page buttons on smaller screens (#29418) + * Add ``, rename webcomponents (#29400) + * Refactor some Str2html code (#29397) + * Remove incorrect and unnecessary Escape from templates (#29394) + * Refactor Safe modifier (#29392) + * Refactor "user/active" related logic (#29390) + * Filter for default-branch selection (#29388) + * Remove jQuery from the code diff expansion buttons (#29385) + * Remove jQuery AJAX from the markdown editor preview (#29384) + * Include resource state events in Gitlab downloads (#29382) + * Remove jQuery AJAX from the notice selection deletion button (#29381) + * Remove jQuery AJAX from the archive download links (#29380) + * Refactor `copy` button event handler (#29379) + * Refactor modules/git global variables (#29376) + * Remove RenderEmojiPlain from template helper (#29375) + * Remove jQuery AJAX from the repo commit graph (#29373) + * Remove jQuery AJAX from repo collaborator mode dropdown (#29371) + * Remove jQuery from the Unicode escape button (#29369) + * Remove jQuery from the issue reference context popup (#29367) + * Refactor git attributes (#29356) + * Remove jQuery from the stopwatch (#29351) + * Properly migrate target branch change GitLab comment (#29340) + * Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) + * Remove jQuery from the image pasting functionality (#29324) + * Remove unnecessary "Str2html" modifier from templates (#29319) + * Remove unnecessary "Safe" modifier from templates (#29318) + * Remove jQuery from the installation page (#29284) + * Recolor dark theme to blue shade (#29283) + * Make optional.Option[T] type serializable (#29282) + * Refactor markup rendering to accept general "protocol:" prefix (#29276) + * Remove jQuery from repo wiki creation page (#29271) + * Unify organizations header (#29248) + * Partially enable MSSQL case-sensitive collation support (#29238) + * Remove jQuery from the repo commit functions (#29230) + * Remove jQuery from the repo migration form (#29229) + * Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) + * Remove jQuery from the repo release form (#29225) + * Remove jQuery from repo migrate page (#29219) + * Remove unneccesary `initUserAuthLinkAccountView` from "link account" page (#29217) + * Remove jQuery from issue reference context popup attach (#29216) + * Remove jQuery from the webhook editor (#29211) + * Remove jQuery from the "quick submit" handler (#29200) + * Remove jQuery from username change prompt and fix its detection (#29197) + * Remove jQuery from organization rename prompt toggle (#29195) + * Remove jQuery from SSH key form parser (#29193) + * Fix can not select team reviewers when reviewers is empty (#29174) + * Refactor JWT secret generating & decoding code (#29172) + * Remove jQuery from the comment task list (#29170) + * Auto-update the system status in admin dashboard (#29163) + * Remove jQuery from the user search form in admin page (#29151) + * REFACTOR store webhook event in database (#29145) + * Document how the TOC election process works (#29135) + * Tweak repo header (#29134) + * Make blockquote border size less aggressive (#29124) + * Downscale pasted PNG images based on metadata (#29123) + * Show `View at this point in history` for every commit (#29122) + * Change webhook-type in create-view (#29114) + * Drop "@" from email sender to avoid spam filters (#29109) + * Allow non-admin users to delete review requests (#29057) + * Improve user search display name (#29002) + * Some refactor for git http (#28995) + * Fix UI Spacing Errors in mirror settings (#28990) + * Include username in email headers (#28981) + * Fix default avatar image size in PR diff page (#28971) + * Also match weakly validated ETags (#28957) + * Fix hardcoded GitHub icon used as migrated release avatar (#28910) + * Propagate install_if and provider_priority to APKINDEX (#28899) + * Move some asymkey functions to service layer (#28894) + * Move doctor package from modules to services (#28856) + * Fix display latest sync time for pull mirrors on the repo page (#28841) + * Add non-JS fallback for reaction tooltips (#28785) + * Add ability to see open and closed issues at the same time (#28757) + * Move sign in labels to be above inputs (#28753) + * Integration Test for Commit Search containing Square Brackets (#28751) + * Move the captcha script loader to the template which really needs it (#28718) + * Display latest sync time for pull mirrors on the repo page (#28712) + * Apply min-height in wiki only on preview pane (#28687) + * Refactor timeutil package (#28623) + * Refactor some legacy code and remove unused code (#28622) + * Show in Web UI if file is vendored and generated (#28620) + * Fix long package version names overflowing (#28619) + * Remove deadcode under models/issues (#28536) + * Add orphaned topic consistency check (#28507) + * Convert to url auth to header auth in tests (#28484) + * Add option to set language in admin user view (#28449) + * Let `curl` write the content to file (#28427) + * Fix commit status in repo list (#28412) + * Fix incorrect run order of action jobs (#28367) + * Add missing exclusive in advanced label options (#28322) + * Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) + * Add edit option for README.md (#28071) + * Fix link to `Code` tab on wiki commits (#28041) + * Remove autofocus in search box (#28033) + * Allow to set explore page default sort (#27951) + * Fix edit topic UI (#27925) + * Improve PR diff view on mobile (#27883) + * Properly migrate automatic merge GitLab comments (#27873) + * Display issue task list on project cards (#27865) + * Add Index to pull_auto_merge.doer_id (#27811) + * Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) + * Fix display member unit in the menu bar if there are no hidden members in public org (#27795) + * List all Debian package versions in `Packages` (#27786) + * Allow pull requests Manually Merged option to be used by non-admins (#27780) + * Only show diff file tree when more than one file changed (#27775) + * Show placeholder email in privacy popup (#27770) + * Revamp repo header (#27760) + * Add link to members and repositories at teams page (#27744) + * Refactor: make db iterate context aware (#27710) + * Clean some functions about project issue (#27705) + * Replace -1 with GhostUserID (#27703) + * Add link for repositories README file (#27684) + * Add `must-change-password` cli parameter (#27626) + * Unify password changing and invalidate auth tokens (#27625) + * Add border to file tree 'sub-items' and add padding to 'item-file' (#27593) + * Refactor the function RemoveOrgUser (#27582) + * Add slow SQL query warning (#27545) + * Pre-register OAuth application for tea (#27509) + * Remove redundant `len` check around loop (#27464) + * Differentiate between `push` and `pull` `mirror sync in progress` (#27390) + * Cargo package - Fix missing domain in cargo sparse url (#27370) + * Link to file from its history (#27354) + * Simplify issue deletion query (#27312) + * Move the `gitea admin` subcommands into separate files (#27307) + * Add a shortcut to user's profile page to admin user details (#27299) + * Doctor: delete action entries without existing user (#27292) + * Rename TotalTimes() to TotalTimesForEachUser() (#27261) + * Add anchor to review types (#26894) + * Show total TrackedTime on issue/pull/milestone lists (#26672) + * Add word-break to organization name and description (#26624) + * Improve commit record's ui in comment list (#26619) + * Don't show new pr button when page is not compare pull (#26431) + * Add `Hide/Show all checks` button to commit status check (#26284) + * Improvements of releases list and tags list (#25859) +* BUGFIXES + * Use existing oauth grant for public client (#31015) (#31042) + * Fix automerge will not work because of some events haven't been triggered (#30780) (#31039) + * Return `access_denied` error when an OAuth2 request is denied (#30974) (#31029) + * Avoid 500 panic error when uploading invalid maven package file (#31014) (#31027) + * Fix incorrect "blob excerpt" link when comparing files (#31013) (#31026) + * Fix project column title overflow (#31011) (#31025) + * Check if the release is converted from the tag when updating the release (#30984) (#30986) + * Always load or generate oauth2 jwt secret (#30942) (#30978) + * Filter out duplicate action(activity) items for a repository (#30957) (#30976) + * Move reverproxyauth before session so the header will not be ignored even if user has login (#27821) (#30948) + * Fix incorrect default branch when adopt a repository (#30912) (#30928) + * Fix incorrect issue form (#30881) (#30904) + * Update issue indexer after merging a PR (#30715) (#30903) + * Move database operations of merging a pull request to post receive hook and add a transaction (#30805) (#30888) + * Fix missing migrate actions artifacts (#30874) (#30886) + * Repository explore alphabetically order respect owner name (#30882) + * Make "sync branch" also sync object format and add tests (#30878) (#30880) + * Get repo list with OrderBy alpha should respect owner too (#30784) (#30875) + * Have time.js use UTC-related getters/setters (#30857) (#30869) + * Fix issue/PR title edit (#30858) (#30865) + * Fix markdown URL parsing for commit ID (#30812) (#30855) + * Prevent automatic OAuth grants for public clients (#30790) (#30836) + * Fix incorrect message id for release email (#30825) (#30833) + * Fix activity heat map padding & locale (#30823) (#30827) + * Fix issue card layout (#30800) (#30820) + * Fix branch selector UI (#30803) (#30819) + * Fix markdown rendering when mentioning users (#30795) (#30810) + * Fix bleve fuzziness (#30799) (#30804) + * Improve logout from worker (#30775) (#30789) + * Rework and fix stopwatch (#30732) (#30787) + * Fix duplicate status check contexts (#30660) (#30779) + * Fix issue label rendering in the issue popup (#30763) (#30773) + * Make Ctrl+Enter work for issue/comment edit (#30720) + * Fix incorrect object id hash function (#30708) + * Fix a panic bug when head repository deleting (#30674) (#30676) + * Fix wrong table name (#30557) (#30651) + * Fix some bug on migrations (#30647) + * Use correct hash for "git update-index" (#30626) (#30634) + * Fix issue comment form and quick-submit (#30623) + * Improve oauth2 client "preferred username field" logic and the error handling (#30622) + * Fix package list performance (#30520) (#30616) + * Fix project description rendering for org (#30587) + * Refactor and fix archive link bug (#30535) (#30570) + * Fix install page checkboxes and dropdown width (#30526) (#30538) + * Fix various overflows on actions view (#30344) (#30505) + * Convert max file name length to 255 (#30489) (#30504) + * Fix button color on red and green buttons (#30500) + * Fix code owners will not be mentioned when a pull request comes from a forked repository (#30476) (#30496) + * Improve "must-change-password" logic and document (#30472) (#30478) + * Fix JS error when opening to expanded code comment (#30463) (#30470) + * Fix: Fix to delete cookie when AppSubURL is non-empty (#30375) (#30469) + * Fix network error when open/close organization/individual projects and redirect to project page (#30387) (#30465) + * Avoid losing token when updating mirror settings (#30429) (#30464) + * Fix label rendering (#30456) (#30460) + * Fix admin notice view-detail (#30450) (#30458) + * Fix mirror error when mirror repo is empty (#30432) (#30455) + * Fix rename branch 500 when the target branch is deleted but exist in database (#30430) (#30438) + * Change the default maxPerPage for gitbucket (#30392) (#30425) + * Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) (#30409) + * Various improvements for long file and commit names (#30374) (#30386) + * Fix ambiguous id when fetch Actions tasks (#30382) (#30383) + * Performance optimization for git push (#30104) (#30348) + * Avoid running action when action unit is disabled after workflows detected (#30331) (#30338) + * Fix oauth2 builtin application logic (#30304) (#30327) + * Add `--page-spacing` variable, fix admin dashboard notice (#30302) (#30323) + * Action view mobile improvements and fixes (#30309) (#30320) + * Fix checkboxes on mobile view, remove some dead css (#30308) (#30319) + * Fix code block style for code preview (#30298) (#30306) + * Fix: close file in the Upload func (#30262) (#30270) + * Fixes #27605: inline math blocks can't be preceeded/followed by alphanumerical characters (#30175) (#30251) + * Fix missing 0 prefix of GPG key id (#30245) (#30248) + * Fix spacing in issue navbar (#30238) (#30242) + * Fix create commit status (#30225) + * Prevent flash of dropdown menu on labels list (#30215) (#30216) + * Fix markdown color code detection (#30208) (#30211) + * Fix GPG subkey verify (#30193) (#30203) + * Fix unclickable checkboxes (#30195) (#30199) + * Add unique index for project_issue to prevent duplicate data (#30190) + * Include encoding in signature payload (#30174) (#30182) + * Fix download buttons on branches page (#30147) + * Fix loading spinner on ContextPopup (#30145) + * Fix table alignment classes (#30144) + * Restore aligned grid column CSS (#30106) + * Add svg linter and fix incorrect svgs (#30086) + * Fix JS error and improve error message styles (#29963) + * Fix comment review avatar alignment (#29935) + * Fix milestoneID filter bug in issue list (#29897) + * Fix telegram webhook (#29864) + * Avoid JS error on issue/pr list when logged out (#29854) + * Fix Citation modal responsiveness and clipboard copy (#29799) + * Improve repo search UI (#29767) + * Fix incorrect locale Tr for gpg command (#29754) + * Improve a11y document and dropdown item (#29753) + * Fix incorrect diff expander for deletion of last lines in a file (#29501) + * Move citiation button to proper place (#29374) + * Expire artifacts before deleting them physically (#29241) + * Fix label `for` pointing to a `name` instead of `id` in webhook settings (#29209) + * Fix labels referencing the wrong ID in the user profile settings (#29199) + * Reference labels by IDs instead of names in `keys` settings (#29194) + * Fix joins in `db.Find(AndCount)` (#28978) + * Check for sha256 support to use --object-format flag (#28928) + * Fix branch list bug which displayed default branch twice (#28878) + * Set the `isPermaLink` attribute to `false` in the `guid` sub-element (#28860) + * Fix wrong link in user and organization profile when using relative url (#28617) + * Fix session key conflict with database keyword (#28613) + * Fix incorrect action duration time when rerun the job before executed once (#28364) + * Fix missing mail reply address (#27997) + * Filter inactive auth sources (#27870) + * Fix issue not showing on default board and add test (#27720) + * Improve file history UI and fix URL escaping bug (#27531) + * Fix ldap admin privileges update bug (#27051) +* TESTING + * Improve test for TestPullCompare (#30699) + * Add test for #30674 (#30679) + * Mock queue backoff duration (#30553) + * Add an api test for updating user (#30539) + * Add test for webhook (#29755) + * Add testing for CalcCommitStatus (#28823) + * Fix migration test (#28659) + * Add unit tests for action runner token (#27670) + * Replace assert.Fail with assert.FailNow (#27578) + * Use minimal required version on CI and remove unnecessary services (#27429) + * Test more templates for if they contain an error (#27367) + * Verify MinIO works with bitnami/minio:2023.8.31 (#27022) +* BUILD + * Upgrade golangci-lint to v1.57.2 (#30401) + * Replace MSSQL driver with a better maintained version (#30390) + * Bump to use go 1.22 (#29119) + * Actions/setup-go use go-version-file (#27651) + * Remove .exe suffix when cross-compiling on Windows (#27448) +* DOCS + * Fixup app.example.ini for task section, which is now queue.task (#30555) (#30563) + * Update actions variables documents (#30394) (#30405) + * Fix actions design about default actions download url (#30360) (#30371) + * Update mailer example config, remove deprecated HOST (#30267) (#30274) + * Document that all unmerged feature PRs will be moved to next milestone when the feature freeze time comes (#29578) + * Lock issues and pulls faster (#29436) + * Document our issue locking policy (#29433) + * Add `io.Closer` guidelines (#29387) + * Adjust changelog for v1.21.6 to move prs to correct labels (#29339) (#29343) + * Explained where create issue/PR template (#29035) (#29266) + * Update docs for actions variables (#29239) + * Add htmx guidelines (#28993) + * Add screenshot for "Profile Readmes" to docs (#28964) + * Docs: Update group membership fields to match application. (#28175) + * Remove outdated docs from some languages (#27530) + * Document our new labeling strategy (#27523) + * Remove unnecessary desc for openssh key cron task (#27515) + * Add docs section for sub-paths with the container registry (#27505) + * Make actions default enabled for newly created repository if global configuraion enabled (#27482) + * Fix wording in SECURITY.md (#27463) + * Improve docs about register/run as a service (#27461) + * Fix `Installation from package` doc (#27459) + * Rephrase template documentation to be more clear about .gitea/template (#27450) + * Add 1.20.5 changelog (#27404) (#27411) + * Remove upgrade from Gogs doc because the diverse has been 7 years and the code base changed totally (#27387) + * Fix incorrect Chinese translation of linked-references.zh-cn.md (#27382) + * Update comparison page with RhodeCode CE & EE (#27329) + * [docs] Add note that PROTOCOL config is case-sensitive (#25685) +* MISC + * Don't include link of deleted branch when listing branches (#31028) (#31032) + * Template: `label` fix correct input id (#30987) (#30997) + * Put web editor into a segment (#30966) (#30993) + * Remove unnecessary double quotes on language file (#30977) (#30979) + * Fix: change npm scope registry (#30964) (#30965) + * Fix file path width in repo non-homepage view (#30951) (#30952) + * Check if reverse proxy is correctly configured (#30890) (#30935) + * Make sure git version&feature are always prepared (#30877) (#30879) + * Do not show monaco JS errors (#30862) (#30866) + * Improve repo button row layout (#30668) (#30839) + * Add hover outline to heatmap squares (#30828) (#30832) + * Upgrade chi-binding (#30826) (#30830) + * Fix rounded border for segment followed by pagination (#30809) (#30818) + * Skip gzip for some well-known compressed file types (#30796) (#30813) + * Fix cross-compilation errors when CGO_CFLAGS/CGO_LDFLAGS is set (#30749) (#30774) + * Gitea with first upper case + typos (#30739) (#30747) + * Rename migration package name for 1.22-rc1 (#30730) + * Remove unused parameter for some functions in `services/mirror` (#30724) + * Update JS dependencies (#30713) + * Bump htmx version to 1.9.12 (#30711) + * Add some tests to clarify the "must-change-password" behavior (#30693) + * Issue card improvements (#30687) + * Diff color enhancements, add line number background (#30670) + * Improve diff stats bar (#30669) + * Fix border-radius of header+segment boxes (#30667) + * Fix checkbox field markup (#30666) + * Fix project name wrapping, remove horizontal margin on header (#30631) (#30654) + * Hide diff stats on empty PRs (#30629) (#30645) + * Use maintained gziphandler (#30592) (#30637) + * Enable jquery-related eslint rules that have no violations (#30632) + * Add --skip-db option to dump command (#30613) (#30630) + * Chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) + * Fix links in PyPI Simple Repository API page (#30594) (#30612) + * Use action user as the trigger user of schedules (#30581) (#30610) + * Fix HEAD method for robots.txt (#30603) (#30605) + * Enable npm cache on `setup-node` action (#30577) (#30586) + * Improve "Reference in new issue" modal (#30547) (#30574) + * Fix view of readme file in the home code page. (#30564) + * Add form field id generation, remove duplicated ids (#30546) (#30561) + * Fix border-radius on view, blame and code search (#30545) (#30560) + * Disable enter key for accepting code completion in Monaco (#30548) (#30559) + * Run `go generate` and `go vet` on all packages (#30529) (#30541) + * Tweak and fix toggle checkboxes (#30527) (#30531) + * Add a few root files to lint-spell (#30530) + * Fix and tweak pull request commit list (#30528) + * Tweak repo buttons on mobile and labeled button border-radius (#30503) (#30525) + * Fix overflow on issue dependency (#30484) (#30494) + * Remove active border on pointing menu (#30486) + * Revert 100% label max-width (#30481) + * Kill all gitea processes before air build (#30477) + * Allow `preferred_username` as username source for OIDC (#30454) + * Update JS and PY deps, lock eslint and related plugins (#30452) + * Lock a few tool dependencies to major versions (#30439) + * Fix the spacing issue in the Project view (#30415) (#30423) + * Reduce checkbox size to 15px (#30346) (#30347) + * Feat: add optional doctor storage init (#30330) + * Fix and rewrite contrast color calculation, fix project-related bugs (#30326) + * Always use `octicon-eye` on watch button (#30288) (#30307) + * Fix view commit link (#30297) (#30299) + * Commit-Dropdown: Show Author of commit if available (#30272) (#30285) + * Update JS dependencies and add new eslint rules (#30279) + * Refactor dropzone (#30232) (#30233) + * Refactor file view & render (#30227) (#30229) + * Add commit status summary table to reduce query from commit status table (#30223) + * Use `flex-container` for dashboard layout (#30214) + * Fix home topic edit form layout (#30213) + * Replace coloris with vanilla-colorful (#30201) + * Bump `@github/relative-time-element` to v4.4.0 (#30154) + * Apply to become a maintainer (#30151) + * Forbid jQuery `.attr` (#30116) + * Remove jQuery `.attr` from the Fomantic modal cancel buttons (#30113) + * When the title in the issue has a value, set the text cursor at the end of the text. (#30090) + * Remove jQuery `.attr` from the code line range selection (#30077) + * Migrate `gt-hidden` to `tw-hidden` (#30046) + * Refactor all `.length === 0` patterns in JS (#30045) + * Fix: Abnormal strings appear when comments are saved after editing (#29991) + * Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) + * Remove fomantic site module (#29980) + * Fix alignment in actions right view (#29979) + * Dont show expansion for empty actions steps (#29977) + * Update register application URL for GitLab (#29959) + * Add background to dashboard navbar, fix missing padding (#29940) + * Remove the negative margin from `.page-content` (#29922) + * Fix various loading states, remove `.loading` class (#29920) + * Remove jQuery `.attr` from the user search box (#29919) + * Remove jQuery `.attr` from the archive download and compare page branch selector (#29918) + * Remove jQuery `.attr` from the image diff (#29917) + * Remove jQuery `.attr` from the quick pull request button text (#29916) + * Switch to the maintained vitest extension (#29914) + * Don't lock using GitHub actions (#29913) + * Fix border on focus in dashboard repo search (#29893) + * Remove unused error in graceful manager (#29871) + * Load citation JS only when needed (#29855) + * Move some scripts from 'build' to 'tools' directory, misc refactors (#29844) + * Refactor markdown attention render (#29833) + * Light theme color enhancements (#29830) + * Remove the `time-since` class (#29826) + * Dark theme color enhancements (#29822) + * Forbid jQuery AJAX (#29818) + * Refactor markup/csv: don't read all to memory (#29760) + * Enable tailwind nesting (#29746) + * Tweak actions color and borders (#29640) + * Update various logos and unify their filenames (#29637) + * Add a link for the recently pushed branch notification (#29627) + * Fix contributor graphs mobile layout and responsiveness (#29597) + * Add aria-label to the navbar menu button (#29587) + * Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) + * Add cache for branch divergence on branch list page (#29577) + * Add a check for when the command is canceled by the program on Window… (#29538) + * Use a predictiable fork URL to allow forking repositories without providing a repo ID (#29519) + * Style fomantic grey labels (#29458) + * Move all login and account creation page labels to be above inputs (#29432) + * Use tailwind instead of `gt-[wh]-` helper classes (#29423) + * Apply to become a maintainer (#29383) + * Make actions animation rotate counterclockwisely (#29378) + * Add tailwindcss (#29357) + * Remove bountysource (#29330) + * Improve Documentation for Restoration from backup (#29321) + * Revert #28753 because UI broken. (#29293) + * Update Discord logo (#29285) + * Deduplicate translations for contributors graph (#29256) + * Left align the input labels for the link account page (#29255) + * Implement recent commits graph (#29210) + * Fix Gitpod logic of setting ROOT_URL (#29162) + * Runner tokens are multi use (#29153) + * Use Markdown alert syntax for notes in README (#29150) + * Remove obsolete border-radius on comment content (#29128) + * Update some translations and fix markdown formatting (#29099) + * Remove lightningcss (#29070) + * Some performance optimization on dashboard and issues page (#29010) + * Fix broken following organization (#29005) + * Don't do a full page load when clicking `Watch` or `Star` (#29001) + * Fix google logo in security page (#28982) + * Update golang links to use https (#28980) + * Update JS and PY dependencies, build for `es2020` browsers (#28977) + * Fixing small space missing in sample config file (#28967) + * Fix inconsistent naming of OAuth 2.0 `ENABLE` setting (#28951) + * Fix non-alphabetic sorting of repo topics (#28938) + * Introduce htmx and use it to avoid full page load on `Subscribe` and `Follow` (#28908) + * In administration documentation about environment variables, point to those for the Go runtime instead of Go compiler (#28859) + * Return `responseText` instead of string in some functions (#28836) + * Remove trust model selection from repository creation on web page because it can be changed in settings later (#28814) + * Add gist to comparison (#28809) + * Make cross-reference issue links work in markdown documents again (#28682) + * Fix tooltip of variable edit button (#28681) + * Fix grammar in `actions.variables.id_not_exist` (en-US) (#28680) + * Fix grammar issues on the repository Actions page (en-US) (#28679) + * Improve 1.22 document for Database Preparation (#28643) + * Update repo-mirror.en-us.md (#28612) + * Disable query token param in integration tests (#28592) + * Feat: bump `dessant/lock-threads` and `actions/setup-go` to use nodejs20 runtime (#28565) + * Normalize oauth email username (#28561) + * Update JS dependencies (#28537) + * Add merge arrow direction and update styling (#28523) + * Bump google/go-github to v57 (#28514) + * Improve CLI code and descriptions (#28482) + * Remove stale since giteabot has similiar feature (#28401) + * Improve text in Security settings (#28393) + * Issue fixes for RSS feed improvements (#28380) + * Improve RSS feed icons (#28368) + * Remove unnecessary forgot password link in delete user section (#28355) + * Add links to owner home page in explore (#28341) + * Render PyPi long description as document (#28272) + * Ignore temporary files for directory size (#28265) + * Make pushUpdate error verbose (#28263) + * Add download URL for executable files (#28260) + * Fix docs problems in 1.19 (#28236) + * Add combined index for issue_user.uid and issue_id (#28080) + * Decrease issue font size in project template (#28054) + * Improve profile for Organizations (#27982) + * Fix Show/hide filetree button on small displays (#27881) + * Bump workflows in github actions (#27836) + * Fix merge base commit for fast-forwarded GitLab PRs (#27825) + * Use GitLab's squash_commit_sha when available (#27824) + * Package repository/documentation link unification (#27804) + * Fix typo when updating email address (#27789) + * Improve pull request command line instructions (#27778) + * Fix the missing repo count in new team page and edit team page (#27743) + * Typos fixed in documentation files (#27687) + * Teams: new View button (#27685) + * Align ISSUE_TEMPLATE with the new label system (#27573) + * Revert "Simplify `contrib/backport` (#27520)" (#27566) + * Apply to became a maintainer (#27491) + * Improve the list header in milestone page (#27302) + ## [1.21.11](https://github.com/go-gitea/gitea/releases/tag/v1.21.11) - 2024-04-07 * SECURITY From aebe98af52b413742cb2fdf0da800aaffd7403ed Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 24 May 2024 20:35:46 +0800 Subject: [PATCH 2/8] Update CHANGELOG.md --- CHANGELOG.md | 681 ++++----------------------------------------------- 1 file changed, 46 insertions(+), 635 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13cded64e98dc..19f7d6ee8a103 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,52 +4,44 @@ This changelog goes through 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.com). -## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-23 +## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-24 * BREAKING * Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) (#31020) - * Remember login for a month by default (#30150) + * Remember log in for a month by default (#30150) * Breaking summary for template refactoring (#29395) - * Add alert blocks in markdown (#29121) + * All custom templates need to follow these changes * Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) - * Make offline mode as default to no connect external avatar service by default (#28548) - * Always enable caches (#28527) - * Remove deprecated query condition in ListReleases (#28339) - * Include public repos in doer's dashboard for issue search (#28304) + * Make offline mode as default to not connect external avatar service by default (#28548) + * Include public repos in the doer's dashboard for issue search (#28304) * Use restricted sanitizer for repository description (#28141) * Support storage base path as prefix (#27827) * Enhanced auth token / remember me (#27606) - * Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) + * Rename the default themes to `gitea-light`, `gitea-dark`, `gitea-auto` (#27419) + * If you didn't see the new themes, please remove the `[ui].THEMES` config option from `app.ini` * Require MySQL 8.0, PostgreSQL 12, MSSQL 2012 (#27337) - * Fix push mirror, wrong timestamp format (#27153) -* SECURITY - * Refactor sha1 and time-limited code (#31023) (#31030) - * Upgrade `golang.org/x/net` to v0.24.0 (#30283) (#30286) - * Refactor locale&string&template related code (#29165) - * Update go dependencies (#28518) * FEATURES * Allow everyone to read or write a wiki by a repo unit setting (#30495) * Use raw Wiki links for non-renderable Wiki files (#30273) - * Render embedded code preview by permlink in markdown (#30234) (#30249) + * Render embedded code preview by permalink in markdown (#30234) (#30249) * Support repo code search without setting up an indexer (#29998) * Support pasting URLs over markdown text (#29566) * Allow to change primary email before account activation (#29412) * Customizable "Open with" applications for repository clone (#29320) * Allow options to disable user deletion from the interface on app.ini (#29275) - * Extend issue template yaml engine (#29274) + * Extend issue template YAML engine (#29274) * Add support for `linguist-detectable` and `linguist-documentation` (#29267) - * Filter Repositories by type (#29231) * Implement code frequency graph (#29191) * Show commit status for releases (#29149) * Add user blocking (#29028) * Actions Artifacts v4 backend (#28965) * Add merge style `fast-forward-only` (#28954) * Retarget depending pulls when the parent branch is deleted (#28686) - * Add global setting how timestamps should be rendered (#28657) - * Implement actions badge svgs (#28102) + * Add global setting on how timestamps should be rendered (#28657) + * Implement actions badge SVGs (#28102) * Add skip ci functionality (#28075) * Show latest commit for file (#28067) - * Allow to sync tags from admin dashboard (#28045) + * Allow to sync tags from the admin dashboard (#28045) * Add Profile Readme for Organisations (#27955) * Implement contributors graph (#27882) * Artifact deletion in actions ui (#27172) @@ -57,700 +49,119 @@ been added to each release, please refer to the [blog](https://blog.gitea.com). * Add support for forking single branch (#25821) * Add support for sha256 repositories (#23894) * Add admin API route for managing user's badges (#23106) -* API - * Fix "force private" logic (#31012) (#31021) - * Fix bug on avatar (#31008) (#31019) - * Simplify mirror repository API logic (#30963) (#31009) - * Protected tag is no internal server error (#30962) (#30970) - * Support using label names when changing issue labels (#30943) (#30958) - * Refactor AppURL usage (#30885) (#30891) - * Don't only list code-enabled repositories when using repository API (#30817) (#30848) - * Fix no edit history after editing issue's title and content (#30814) (#30845) - * Catch and handle unallowed file type errors in issue attachment API (#30791) (#30834) - * Prevent allow/reject reviews on merged/closed PRs (#30686) - * Enhance Actions Secrets Management API for repository (#30656) - * Fix compare api swagger (#30648) - * Refactor branch and tag existence checks (#30618) - * Enable more `revive` linter rules (#30608) - * Clarify permission "HasAccess" behavior (#30585) - * Update misspell to 0.5.1 and add `misspellings.csv` (#30573) - * Fix branch_protection api shows users/teams who has no readAccess (#30291) (#30544) - * Fix empty field `login_name` in API response JSON when creating user (#30511) (#30516) - * Check the token's owner and repository when registering a runner (#30406) (#30411) - * Implement branch/commit comparison API (#30349) - * Fix missed doer (#30231) (#30343) - * Clean up log messages (#30313) (#30318) - * Remove scheduled action tasks if the repo is archived (#30224) (#30230) - * Refactor topic Find functions and add more tests for pagination (#30127) (#30167) - * Relax generic package filename restrictions (#30135) - * Prevent re-review and dismiss review actions on closed and merged PRs (#30065) - * Refactor StringsToInt64s (#29967) - * Upgrade Go 1.22 and upgrade dependency (#29869) - * Fix lint-swagger warning (#29787) - * Refactor to use optional.Option for issue index search option (#29739) - * Update API to return 'source_id' for users (#29718) - * Add a warning for disallowed email domains (#29658) - * Add setting to disable user features when user login type is not plain (#29615) - * Skip email domain check when admins edit user emails (#29609) - * Skip email domain check when admin users adds user manually (#29522) - * Add API for `Variables` (#29520) - * Do some performance optimize for issues list and view issue/pull (#29515) - * Remove util.OptionalBool and related functions (#29513) - * Add support for API blob upload of release attachments (#29507) - * Allow options to disable user gpg keys configuration from the interface on app.ini (#29486) - * Migrate some more "OptionalBool" to "Option[bool]" (#29479) - * Move generate from module to service (#29465) - * Allow options to disable user ssh keys configuration from the interface on app.ini (#29447) - * Cache repository default branch commit status to reduce query on commit status table (#29444) - * Move context from modules to services (#29440) - * Use `crypto/sha256` (#29386) - * Fix content size does not match error when uploading lfs file (#29259) - * Add API to get merged PR of a commit (#29243) - * Add API to get PR by base/head (#29242) - * Refactor more code in templates (#29236) - * Add attachment support for code review comments (#29220) - * Integrate alpine `noarch` packages into other architectures index (#29137) - * Add support for action artifact serve direct (#29120) - * Show whether a PR is WIP inside popups (#28975) - * Simplify how git repositories are opened (#28937) - * Support nuspec manifest download for nuget packages (#28921) - * Add artifacts v4 jwt to job message and accept it (#28885) - * Move some repository transfer functions to service layer (#28855) - * Enable/disable owner and repo projects independently (#28805) - * Fix some RPM registry flaws (#28782) - * Unify user update methods (#28733) - * Refactor deletion (#28610) - * Add branch protection setting for ignoring stale approvals (#28498) - * Improve ObjectFormat interface (#28496) - * Adjust object format interface (#28469) - * Move more functions to db.Find (#28419) - * Second part of refactor `db.Find` (#28194) - * Abstract hash function usage (#28138) - * Added instance-level variables (#28115) - * Use db.Find instead of writing methods for every object (#28084) - * Remove unnecessary parameter (#27671) - * Replace more db.DefaultContext (#27628) - * Final round of `db.DefaultContext` refactor (#27587) - * Fix the wrong HTTP response status code for duplicate packages (#27480) - * Penultimate round of `db.DefaultContext` refactor (#27414) - * Even more `db.DefaultContext` refactor (#27352) - * Make writing main test easier (#27270) - * Some updates to the API for archived repos (#27149) - * Don't run push mirrors for archived repos (#27140) - * Support for grouping RPMs using paths (#26984) * ENHANCEMENTS - * Restyle release list, fix branch dropdown (#30837) (#30968) - * Fix various problems around projects board view (#30696) (#30902) - * Fix wrong transfer hint (#30889) (#30900) + * Support using label names when changing issue labels (#30943) (#30958) + * Fix various problems around project board view (#30696) (#30902) * Improve context popup rendering (#30824) (#30829) - * Fix all rounded borders, change affected tab menus to pills (#30707) (#30769) - * Improve job commit description (#30579) (#30709) * Allow to save empty comment (#30706) - * Fix active item in tab menu (#30690) + * Prevent allow/reject reviews on merged/closed PRs (#30686) * Initial support for colorblindness-friendly themes (#30625) - * Remove obsolete CSS text classes (#30576) - * Fix repo home UI when there is no repo description (#30552) - * Refactor web routes (#30519) - * Reduce unnecessary database queries on actions table (#30509) - * Remove fomantic button module (#30475) - * Rewrite and restyle reaction selector and enable no-sizzle eslint rule (#30453) (#30473) - * Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) - * Remove jQuery from the commit graph (except Fomantic) (#30395) - * Refactor more filterslice (#30370) - * Add container.FilterSlice function (#30339) - * Remove fomantic menu module (#30325) * Some NuGet package enhancements (#30280) (#30324) - * Refactor startup deprecation messages (#30305) (#30312) * Markup color and font size fixes (#30282) (#30310) - * Fix right-aligned input icons (#30301) - * Remove fomantic list module (#30281) - * Refactor "dump" sub-command (#30240) (#30260) * Show 12 lines in markup code preview (#30255) (#30257) * Add `[other].SHOW_FOOTER_POWERED_BY` setting to hide `Powered by` (#30253) - * Refactor commit signature parser (#30228) - * Refactor DeleteInactiveUsers, fix bug and add tests (#30206) (#30222) - * Make a distinction between `active` and `selected` in the issue author dropdown (#30207) - * Remove jQuery class from the `repo-issue.js` file (#30192) - * Remove jQuery class from the repository topic box (#30191) - * Remove jQuery class from the issue author dropdown (#30188) - * Remove jQuery class from the comment edit history (#30186) - * Remove jQuery class from the repository branch settings (#30184) - * Remove jQuery class from the project page (#30183) - * Remove jQuery class from the comment context menu (#30179) - * Remove jQuery class from the commit button (#30178) - * Remove jQuery class from the diff view (#30176) - * Remove jQuery class from the code range selection (#30173) - * Remove jQuery class from the notification count (#30172) - * Remove fomantic checkbox module (#30162) (#30168) * Pulse page improvements (#30149) * Render code tags in commit messages (#30146) - * Remove jQuery class from the image diff (#30140) - * Refactor markdown render (#30139) - * Remove jQuery class from the reaction selector (#30138) - * Remove jQuery class from the common admin functions (#30137) - * Remove jQuery `.attr` from the common admin functions (#30115) - * Remove jQuery `.attr` from the Fomantic dropdowns (#30114) - * Remove jQuery `.attr` from the code comments (#30112) - * Remove jQuery calls that have no effect on `showElem` and `hideElem` (#30110) - * Remove jQuery from the create/rename branch modals (except Fomantic) (#30109) - * Fix `DEFAULT_SHOW_FULL_NAME=false` has no effect in commit list and commit graph page (#30096) - * Remove jQuery `.attr` from the common issue page functions (#30083) - * Remove jQuery `.attr` from the label edit exclusive checkbox (#30053) - * Remove jQuery `.attr` from the reaction selector (#30052) - * Remove jQuery `.attr` from the ComboMarkdownEditor (#30051) - * Remove jQuery `.attr` from the repository topic bar (#30050) - * Remove jQuery from the issue "go to" button (#30028) - * Remove jQuery `.attr` from the common global functions (#30023) - * Remove jQuery `.attr` from the image diff again (#30022) - * Remove jQuery `.attr` from the diff page (#30021) - * Remove jQuery `.attr` from the repository settings (#30018) - * Remove jQuery `.attr` from the branch/tag selector (#30010) - * Remove jQuery from the citation modal (except fomantic) (#30008) - * Remove jQuery `.attr` from the commit graph (#30006) - * Remove jQuery `.attr` from the project page (#30004) - * Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) - * Add muted class to author name in repo commit list (#29989) - * Fix some pending problems (#29985) - * Refactor markdown attention render (#29984) - * Refactor external URL detection (#29973) - * Refactor repo header/list (#29969) + * Prevent re-review and dismiss review actions on closed and merged PRs (#30065) * Cancel previous runs of the same PR automatically (#29961) - * Refactor URL detection (#29960) - * Add border radius for wiki pages (#29937) - * Move notifications to a standalone file (#29930) - * Remove unnecessary ".Link" usages (#29929) - * Remove jQuery `.attr` from the issue author dropdown (#29915) - * Remove unnecessary ".Link" usages (#29909) * Drag-and-drop improvements for projects and issue pins (#29875) * Add default board to new projects, remove uncategorized pseudo-board (#29874) - * Refactor clone-panel styles (#29861) - * Forbid HTML injection using jQuery (#29843) - * Remove AddParamIfExist(AddParam) (#29841) - * Refactor AddParam to AddParamIfExist (#29834) * Prevent layout shift in `` items (#29831) - * Remove jQuery AJAX from the notifications (#29817) - * Remove jQuery AJAX from the project page (#29814) - * Remove jQuery AJAX from the comment edit box (#29812) - * Remove scrollbar customizations (#29800) - * Remove jQuery AJAX from the `repo-issue.js` file (#29776) * Add skip ci support for pull request title (#29774) - * Improve QueryEscape helper function (#29768) - * Move fork router functions to a standalone file (#29756) - * Remove jQuery AJAX from the diff functions (#29743) * Add more stats tables (#29730) - * Improve branch select list ui in go templates (#29729) - * Refactor code_indexer to use an SearchOptions struct for PerformSearch (#29724) - * Remove jQuery AJAX from the issue branch reference selection (#29722) - * Lazy load object format with command line and don't do it in OpenRepository (#29712) + * Update API to return 'source_id' for users (#29718) * Determine fuzziness of bleve indexer by keyword length (#29706) - * Remove jQuery AJAX from the comment edit history (#29703) - * Use repo object format name instead of detecting from git repository (#29702) * Expose fuzzy search for issues/pulls (#29701) * Put an edit file button on pull request files to allow a quick operation (#29697) * Fix action runner offline label padding (#29691) * Update allowed attachment types (#29688) * Completely style the webkit autofill (#29683) * Highlight archived labels (#29680) + * Add a warning for disallowed email domains (#29658) * Set user's 24h preference from their current OS locale (#29651) - * Remove jQuery AJAX from the repo editor (#29636) - * A small refactor for agit implementation (#29614) + * Add setting to disable user features when user login type is not plain (#29615) * Improve natural sort (#29611) - * Make wiki default branch name changable (#29603) - * Remove unnecessary ctxData for "attachments" template (#29600) - * Make admin pages wider because of left sidebar added and some tables become too narrow (#29581) - * Refactor star/watch button (#29576) - * Remove unnecessary SanitizeHTML from code (#29575) - * Make PR form use toast to show error message (#29545) - * Fix elipsis button not working if the last commit loading is deferred (#29544) - * Rename Action.GetDisplayName to GetActDisplayName (#29540) + * Make wiki default branch name changeable (#29603) * Unify search boxes (#29530) - * Remove jQuery AJAX from common global functions (#29528) - * Remove jQuery AJAX from the repo tag edit form (#29526) - * Rename Str2html to SanitizeHTML and clarify its behavior (#29516) - * Move migration functions to services layer (#29497) + * Add support for API blob upload of release attachments (#29507) * Detect broken git hooks (#29494) - * Sync branches to DB immediately when handle git hook calling (#29493) - * Let ctx.FormOptionalBool() return optional.Option[bool] (#29461) - * Remove jQuery from the "find file" page (#29456) + * Sync branches to DB immediately when handling git hook calling (#29493) + * Allow options to disable user GPG key configuration from the interface on app.ini (#29486) + * Allow options to disable user SSH key configuration from the interface on app.ini (#29447) * Use relative links for commits, mentions, and issues in markdown (#29427) - * Do not exceed display for the PR page buttons on smaller screens (#29418) * Add ``, rename webcomponents (#29400) - * Refactor some Str2html code (#29397) - * Remove incorrect and unnecessary Escape from templates (#29394) - * Refactor Safe modifier (#29392) - * Refactor "user/active" related logic (#29390) - * Filter for default-branch selection (#29388) - * Remove jQuery from the code diff expansion buttons (#29385) - * Remove jQuery AJAX from the markdown editor preview (#29384) * Include resource state events in Gitlab downloads (#29382) - * Remove jQuery AJAX from the notice selection deletion button (#29381) - * Remove jQuery AJAX from the archive download links (#29380) - * Refactor `copy` button event handler (#29379) - * Refactor modules/git global variables (#29376) - * Remove RenderEmojiPlain from template helper (#29375) - * Remove jQuery AJAX from the repo commit graph (#29373) - * Remove jQuery AJAX from repo collaborator mode dropdown (#29371) - * Remove jQuery from the Unicode escape button (#29369) - * Remove jQuery from the issue reference context popup (#29367) - * Refactor git attributes (#29356) - * Remove jQuery from the stopwatch (#29351) * Properly migrate target branch change GitLab comment (#29340) - * Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) - * Remove jQuery from the image pasting functionality (#29324) - * Remove unnecessary "Str2html" modifier from templates (#29319) - * Remove unnecessary "Safe" modifier from templates (#29318) - * Remove jQuery from the installation page (#29284) * Recolor dark theme to blue shade (#29283) - * Make optional.Option[T] type serializable (#29282) - * Refactor markup rendering to accept general "protocol:" prefix (#29276) - * Remove jQuery from repo wiki creation page (#29271) - * Unify organizations header (#29248) * Partially enable MSSQL case-sensitive collation support (#29238) - * Remove jQuery from the repo commit functions (#29230) - * Remove jQuery from the repo migration form (#29229) - * Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) - * Remove jQuery from the repo release form (#29225) - * Remove jQuery from repo migrate page (#29219) - * Remove unneccesary `initUserAuthLinkAccountView` from "link account" page (#29217) - * Remove jQuery from issue reference context popup attach (#29216) - * Remove jQuery from the webhook editor (#29211) - * Remove jQuery from the "quick submit" handler (#29200) - * Remove jQuery from username change prompt and fix its detection (#29197) - * Remove jQuery from organization rename prompt toggle (#29195) - * Remove jQuery from SSH key form parser (#29193) - * Fix can not select team reviewers when reviewers is empty (#29174) - * Refactor JWT secret generating & decoding code (#29172) - * Remove jQuery from the comment task list (#29170) - * Auto-update the system status in admin dashboard (#29163) - * Remove jQuery from the user search form in admin page (#29151) - * REFACTOR store webhook event in database (#29145) + * Auto-update the system status in the admin dashboard (#29163) + * Integrate alpine `noarch` packages into other architectures index (#29137) * Document how the TOC election process works (#29135) * Tweak repo header (#29134) * Make blockquote border size less aggressive (#29124) * Downscale pasted PNG images based on metadata (#29123) * Show `View at this point in history` for every commit (#29122) + * Add support for action artifact serve direct (#29120) * Change webhook-type in create-view (#29114) - * Drop "@" from email sender to avoid spam filters (#29109) + * Drop "@" from the email sender to avoid spam filters (#29109) * Allow non-admin users to delete review requests (#29057) * Improve user search display name (#29002) - * Some refactor for git http (#28995) - * Fix UI Spacing Errors in mirror settings (#28990) * Include username in email headers (#28981) - * Fix default avatar image size in PR diff page (#28971) + * Show whether a PR is WIP inside popups (#28975) * Also match weakly validated ETags (#28957) + * Support nuspec manifest download for Nuget packages (#28921) * Fix hardcoded GitHub icon used as migrated release avatar (#28910) * Propagate install_if and provider_priority to APKINDEX (#28899) - * Move some asymkey functions to service layer (#28894) - * Move doctor package from modules to services (#28856) - * Fix display latest sync time for pull mirrors on the repo page (#28841) + * Add artifacts v4 JWT to job message and accept it (#28885) + * Enable/disable owner and repo projects independently (#28805) * Add non-JS fallback for reaction tooltips (#28785) - * Add ability to see open and closed issues at the same time (#28757) - * Move sign in labels to be above inputs (#28753) - * Integration Test for Commit Search containing Square Brackets (#28751) - * Move the captcha script loader to the template which really needs it (#28718) - * Display latest sync time for pull mirrors on the repo page (#28712) - * Apply min-height in wiki only on preview pane (#28687) - * Refactor timeutil package (#28623) - * Refactor some legacy code and remove unused code (#28622) - * Show in Web UI if file is vendored and generated (#28620) - * Fix long package version names overflowing (#28619) - * Remove deadcode under models/issues (#28536) + * Add the ability to see open and closed issues at the same time (#28757) + * Move sign-in labels to be above inputs (#28753) + * Display the latest sync time for pull mirrors on the repo page (#28712) + * Show in Web UI if the file is vendored and generated (#28620) * Add orphaned topic consistency check (#28507) - * Convert to url auth to header auth in tests (#28484) + * Add branch protection setting for ignoring stale approvals (#28498) * Add option to set language in admin user view (#28449) - * Let `curl` write the content to file (#28427) - * Fix commit status in repo list (#28412) * Fix incorrect run order of action jobs (#28367) * Add missing exclusive in advanced label options (#28322) - * Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) + * Added instance-level variables (#28115) * Add edit option for README.md (#28071) * Fix link to `Code` tab on wiki commits (#28041) - * Remove autofocus in search box (#28033) * Allow to set explore page default sort (#27951) - * Fix edit topic UI (#27925) * Improve PR diff view on mobile (#27883) * Properly migrate automatic merge GitLab comments (#27873) * Display issue task list on project cards (#27865) * Add Index to pull_auto_merge.doer_id (#27811) - * Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) * Fix display member unit in the menu bar if there are no hidden members in public org (#27795) * List all Debian package versions in `Packages` (#27786) * Allow pull requests Manually Merged option to be used by non-admins (#27780) * Only show diff file tree when more than one file changed (#27775) * Show placeholder email in privacy popup (#27770) * Revamp repo header (#27760) - * Add link to members and repositories at teams page (#27744) - * Refactor: make db iterate context aware (#27710) - * Clean some functions about project issue (#27705) - * Replace -1 with GhostUserID (#27703) - * Add link for repositories README file (#27684) - * Add `must-change-password` cli parameter (#27626) + * Add `must-change-password` command line parameter (#27626) * Unify password changing and invalidate auth tokens (#27625) * Add border to file tree 'sub-items' and add padding to 'item-file' (#27593) - * Refactor the function RemoveOrgUser (#27582) * Add slow SQL query warning (#27545) * Pre-register OAuth application for tea (#27509) - * Remove redundant `len` check around loop (#27464) * Differentiate between `push` and `pull` `mirror sync in progress` (#27390) - * Cargo package - Fix missing domain in cargo sparse url (#27370) * Link to file from its history (#27354) - * Simplify issue deletion query (#27312) - * Move the `gitea admin` subcommands into separate files (#27307) * Add a shortcut to user's profile page to admin user details (#27299) * Doctor: delete action entries without existing user (#27292) - * Rename TotalTimes() to TotalTimesForEachUser() (#27261) - * Add anchor to review types (#26894) * Show total TrackedTime on issue/pull/milestone lists (#26672) - * Add word-break to organization name and description (#26624) - * Improve commit record's ui in comment list (#26619) - * Don't show new pr button when page is not compare pull (#26431) + * Don't show the new pull request button when the page is not compare pull (#26431) * Add `Hide/Show all checks` button to commit status check (#26284) * Improvements of releases list and tags list (#25859) -* BUGFIXES - * Use existing oauth grant for public client (#31015) (#31042) - * Fix automerge will not work because of some events haven't been triggered (#30780) (#31039) - * Return `access_denied` error when an OAuth2 request is denied (#30974) (#31029) - * Avoid 500 panic error when uploading invalid maven package file (#31014) (#31027) - * Fix incorrect "blob excerpt" link when comparing files (#31013) (#31026) - * Fix project column title overflow (#31011) (#31025) - * Check if the release is converted from the tag when updating the release (#30984) (#30986) - * Always load or generate oauth2 jwt secret (#30942) (#30978) - * Filter out duplicate action(activity) items for a repository (#30957) (#30976) - * Move reverproxyauth before session so the header will not be ignored even if user has login (#27821) (#30948) - * Fix incorrect default branch when adopt a repository (#30912) (#30928) - * Fix incorrect issue form (#30881) (#30904) - * Update issue indexer after merging a PR (#30715) (#30903) - * Move database operations of merging a pull request to post receive hook and add a transaction (#30805) (#30888) - * Fix missing migrate actions artifacts (#30874) (#30886) - * Repository explore alphabetically order respect owner name (#30882) - * Make "sync branch" also sync object format and add tests (#30878) (#30880) - * Get repo list with OrderBy alpha should respect owner too (#30784) (#30875) - * Have time.js use UTC-related getters/setters (#30857) (#30869) - * Fix issue/PR title edit (#30858) (#30865) - * Fix markdown URL parsing for commit ID (#30812) (#30855) - * Prevent automatic OAuth grants for public clients (#30790) (#30836) - * Fix incorrect message id for release email (#30825) (#30833) - * Fix activity heat map padding & locale (#30823) (#30827) - * Fix issue card layout (#30800) (#30820) - * Fix branch selector UI (#30803) (#30819) - * Fix markdown rendering when mentioning users (#30795) (#30810) - * Fix bleve fuzziness (#30799) (#30804) - * Improve logout from worker (#30775) (#30789) - * Rework and fix stopwatch (#30732) (#30787) - * Fix duplicate status check contexts (#30660) (#30779) - * Fix issue label rendering in the issue popup (#30763) (#30773) - * Make Ctrl+Enter work for issue/comment edit (#30720) - * Fix incorrect object id hash function (#30708) - * Fix a panic bug when head repository deleting (#30674) (#30676) - * Fix wrong table name (#30557) (#30651) - * Fix some bug on migrations (#30647) - * Use correct hash for "git update-index" (#30626) (#30634) - * Fix issue comment form and quick-submit (#30623) - * Improve oauth2 client "preferred username field" logic and the error handling (#30622) +* PERFORMANCE * Fix package list performance (#30520) (#30616) - * Fix project description rendering for org (#30587) - * Refactor and fix archive link bug (#30535) (#30570) - * Fix install page checkboxes and dropdown width (#30526) (#30538) - * Fix various overflows on actions view (#30344) (#30505) - * Convert max file name length to 255 (#30489) (#30504) - * Fix button color on red and green buttons (#30500) - * Fix code owners will not be mentioned when a pull request comes from a forked repository (#30476) (#30496) - * Improve "must-change-password" logic and document (#30472) (#30478) - * Fix JS error when opening to expanded code comment (#30463) (#30470) - * Fix: Fix to delete cookie when AppSubURL is non-empty (#30375) (#30469) - * Fix network error when open/close organization/individual projects and redirect to project page (#30387) (#30465) - * Avoid losing token when updating mirror settings (#30429) (#30464) - * Fix label rendering (#30456) (#30460) - * Fix admin notice view-detail (#30450) (#30458) - * Fix mirror error when mirror repo is empty (#30432) (#30455) - * Fix rename branch 500 when the target branch is deleted but exist in database (#30430) (#30438) - * Change the default maxPerPage for gitbucket (#30392) (#30425) - * Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) (#30409) - * Various improvements for long file and commit names (#30374) (#30386) - * Fix ambiguous id when fetch Actions tasks (#30382) (#30383) - * Performance optimization for git push (#30104) (#30348) - * Avoid running action when action unit is disabled after workflows detected (#30331) (#30338) - * Fix oauth2 builtin application logic (#30304) (#30327) - * Add `--page-spacing` variable, fix admin dashboard notice (#30302) (#30323) - * Action view mobile improvements and fixes (#30309) (#30320) - * Fix checkboxes on mobile view, remove some dead css (#30308) (#30319) - * Fix code block style for code preview (#30298) (#30306) - * Fix: close file in the Upload func (#30262) (#30270) - * Fixes #27605: inline math blocks can't be preceeded/followed by alphanumerical characters (#30175) (#30251) - * Fix missing 0 prefix of GPG key id (#30245) (#30248) - * Fix spacing in issue navbar (#30238) (#30242) - * Fix create commit status (#30225) - * Prevent flash of dropdown menu on labels list (#30215) (#30216) - * Fix markdown color code detection (#30208) (#30211) - * Fix GPG subkey verify (#30193) (#30203) - * Fix unclickable checkboxes (#30195) (#30199) - * Add unique index for project_issue to prevent duplicate data (#30190) - * Include encoding in signature payload (#30174) (#30182) - * Fix download buttons on branches page (#30147) - * Fix loading spinner on ContextPopup (#30145) - * Fix table alignment classes (#30144) - * Restore aligned grid column CSS (#30106) - * Add svg linter and fix incorrect svgs (#30086) - * Fix JS error and improve error message styles (#29963) - * Fix comment review avatar alignment (#29935) - * Fix milestoneID filter bug in issue list (#29897) - * Fix telegram webhook (#29864) - * Avoid JS error on issue/pr list when logged out (#29854) - * Fix Citation modal responsiveness and clipboard copy (#29799) - * Improve repo search UI (#29767) - * Fix incorrect locale Tr for gpg command (#29754) - * Improve a11y document and dropdown item (#29753) - * Fix incorrect diff expander for deletion of last lines in a file (#29501) - * Move citiation button to proper place (#29374) - * Expire artifacts before deleting them physically (#29241) - * Fix label `for` pointing to a `name` instead of `id` in webhook settings (#29209) - * Fix labels referencing the wrong ID in the user profile settings (#29199) - * Reference labels by IDs instead of names in `keys` settings (#29194) - * Fix joins in `db.Find(AndCount)` (#28978) - * Check for sha256 support to use --object-format flag (#28928) - * Fix branch list bug which displayed default branch twice (#28878) - * Set the `isPermaLink` attribute to `false` in the `guid` sub-element (#28860) - * Fix wrong link in user and organization profile when using relative url (#28617) - * Fix session key conflict with database keyword (#28613) - * Fix incorrect action duration time when rerun the job before executed once (#28364) - * Fix missing mail reply address (#27997) - * Filter inactive auth sources (#27870) - * Fix issue not showing on default board and add test (#27720) - * Improve file history UI and fix URL escaping bug (#27531) - * Fix ldap admin privileges update bug (#27051) -* TESTING - * Improve test for TestPullCompare (#30699) - * Add test for #30674 (#30679) - * Mock queue backoff duration (#30553) - * Add an api test for updating user (#30539) - * Add test for webhook (#29755) - * Add testing for CalcCommitStatus (#28823) - * Fix migration test (#28659) - * Add unit tests for action runner token (#27670) - * Replace assert.Fail with assert.FailNow (#27578) - * Use minimal required version on CI and remove unnecessary services (#27429) - * Test more templates for if they contain an error (#27367) - * Verify MinIO works with bitnami/minio:2023.8.31 (#27022) -* BUILD - * Upgrade golangci-lint to v1.57.2 (#30401) - * Replace MSSQL driver with a better maintained version (#30390) - * Bump to use go 1.22 (#29119) - * Actions/setup-go use go-version-file (#27651) - * Remove .exe suffix when cross-compiling on Windows (#27448) -* DOCS - * Fixup app.example.ini for task section, which is now queue.task (#30555) (#30563) - * Update actions variables documents (#30394) (#30405) - * Fix actions design about default actions download url (#30360) (#30371) - * Update mailer example config, remove deprecated HOST (#30267) (#30274) - * Document that all unmerged feature PRs will be moved to next milestone when the feature freeze time comes (#29578) - * Lock issues and pulls faster (#29436) - * Document our issue locking policy (#29433) - * Add `io.Closer` guidelines (#29387) - * Adjust changelog for v1.21.6 to move prs to correct labels (#29339) (#29343) - * Explained where create issue/PR template (#29035) (#29266) - * Update docs for actions variables (#29239) - * Add htmx guidelines (#28993) - * Add screenshot for "Profile Readmes" to docs (#28964) - * Docs: Update group membership fields to match application. (#28175) - * Remove outdated docs from some languages (#27530) - * Document our new labeling strategy (#27523) - * Remove unnecessary desc for openssh key cron task (#27515) - * Add docs section for sub-paths with the container registry (#27505) - * Make actions default enabled for newly created repository if global configuraion enabled (#27482) - * Fix wording in SECURITY.md (#27463) - * Improve docs about register/run as a service (#27461) - * Fix `Installation from package` doc (#27459) - * Rephrase template documentation to be more clear about .gitea/template (#27450) - * Add 1.20.5 changelog (#27404) (#27411) - * Remove upgrade from Gogs doc because the diverse has been 7 years and the code base changed totally (#27387) - * Fix incorrect Chinese translation of linked-references.zh-cn.md (#27382) - * Update comparison page with RhodeCode CE & EE (#27329) - * [docs] Add note that PROTOCOL config is case-sensitive (#25685) -* MISC - * Don't include link of deleted branch when listing branches (#31028) (#31032) - * Template: `label` fix correct input id (#30987) (#30997) - * Put web editor into a segment (#30966) (#30993) - * Remove unnecessary double quotes on language file (#30977) (#30979) - * Fix: change npm scope registry (#30964) (#30965) - * Fix file path width in repo non-homepage view (#30951) (#30952) - * Check if reverse proxy is correctly configured (#30890) (#30935) - * Make sure git version&feature are always prepared (#30877) (#30879) - * Do not show monaco JS errors (#30862) (#30866) - * Improve repo button row layout (#30668) (#30839) - * Add hover outline to heatmap squares (#30828) (#30832) - * Upgrade chi-binding (#30826) (#30830) - * Fix rounded border for segment followed by pagination (#30809) (#30818) - * Skip gzip for some well-known compressed file types (#30796) (#30813) - * Fix cross-compilation errors when CGO_CFLAGS/CGO_LDFLAGS is set (#30749) (#30774) - * Gitea with first upper case + typos (#30739) (#30747) - * Rename migration package name for 1.22-rc1 (#30730) - * Remove unused parameter for some functions in `services/mirror` (#30724) - * Update JS dependencies (#30713) - * Bump htmx version to 1.9.12 (#30711) - * Add some tests to clarify the "must-change-password" behavior (#30693) - * Issue card improvements (#30687) - * Diff color enhancements, add line number background (#30670) - * Improve diff stats bar (#30669) - * Fix border-radius of header+segment boxes (#30667) - * Fix checkbox field markup (#30666) - * Fix project name wrapping, remove horizontal margin on header (#30631) (#30654) - * Hide diff stats on empty PRs (#30629) (#30645) - * Use maintained gziphandler (#30592) (#30637) - * Enable jquery-related eslint rules that have no violations (#30632) - * Add --skip-db option to dump command (#30613) (#30630) - * Chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) - * Fix links in PyPI Simple Repository API page (#30594) (#30612) - * Use action user as the trigger user of schedules (#30581) (#30610) - * Fix HEAD method for robots.txt (#30603) (#30605) - * Enable npm cache on `setup-node` action (#30577) (#30586) - * Improve "Reference in new issue" modal (#30547) (#30574) - * Fix view of readme file in the home code page. (#30564) - * Add form field id generation, remove duplicated ids (#30546) (#30561) - * Fix border-radius on view, blame and code search (#30545) (#30560) - * Disable enter key for accepting code completion in Monaco (#30548) (#30559) - * Run `go generate` and `go vet` on all packages (#30529) (#30541) - * Tweak and fix toggle checkboxes (#30527) (#30531) - * Add a few root files to lint-spell (#30530) - * Fix and tweak pull request commit list (#30528) - * Tweak repo buttons on mobile and labeled button border-radius (#30503) (#30525) - * Fix overflow on issue dependency (#30484) (#30494) - * Remove active border on pointing menu (#30486) - * Revert 100% label max-width (#30481) - * Kill all gitea processes before air build (#30477) - * Allow `preferred_username` as username source for OIDC (#30454) - * Update JS and PY deps, lock eslint and related plugins (#30452) - * Lock a few tool dependencies to major versions (#30439) - * Fix the spacing issue in the Project view (#30415) (#30423) - * Reduce checkbox size to 15px (#30346) (#30347) - * Feat: add optional doctor storage init (#30330) - * Fix and rewrite contrast color calculation, fix project-related bugs (#30326) - * Always use `octicon-eye` on watch button (#30288) (#30307) - * Fix view commit link (#30297) (#30299) - * Commit-Dropdown: Show Author of commit if available (#30272) (#30285) - * Update JS dependencies and add new eslint rules (#30279) - * Refactor dropzone (#30232) (#30233) - * Refactor file view & render (#30227) (#30229) * Add commit status summary table to reduce query from commit status table (#30223) - * Use `flex-container` for dashboard layout (#30214) - * Fix home topic edit form layout (#30213) - * Replace coloris with vanilla-colorful (#30201) - * Bump `@github/relative-time-element` to v4.4.0 (#30154) - * Apply to become a maintainer (#30151) - * Forbid jQuery `.attr` (#30116) - * Remove jQuery `.attr` from the Fomantic modal cancel buttons (#30113) - * When the title in the issue has a value, set the text cursor at the end of the text. (#30090) - * Remove jQuery `.attr` from the code line range selection (#30077) - * Migrate `gt-hidden` to `tw-hidden` (#30046) - * Refactor all `.length === 0` patterns in JS (#30045) - * Fix: Abnormal strings appear when comments are saved after editing (#29991) - * Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) - * Remove fomantic site module (#29980) - * Fix alignment in actions right view (#29979) - * Dont show expansion for empty actions steps (#29977) - * Update register application URL for GitLab (#29959) - * Add background to dashboard navbar, fix missing padding (#29940) - * Remove the negative margin from `.page-content` (#29922) - * Fix various loading states, remove `.loading` class (#29920) - * Remove jQuery `.attr` from the user search box (#29919) - * Remove jQuery `.attr` from the archive download and compare page branch selector (#29918) - * Remove jQuery `.attr` from the image diff (#29917) - * Remove jQuery `.attr` from the quick pull request button text (#29916) - * Switch to the maintained vitest extension (#29914) - * Don't lock using GitHub actions (#29913) - * Fix border on focus in dashboard repo search (#29893) - * Remove unused error in graceful manager (#29871) - * Load citation JS only when needed (#29855) - * Move some scripts from 'build' to 'tools' directory, misc refactors (#29844) - * Refactor markdown attention render (#29833) - * Light theme color enhancements (#29830) - * Remove the `time-since` class (#29826) - * Dark theme color enhancements (#29822) - * Forbid jQuery AJAX (#29818) * Refactor markup/csv: don't read all to memory (#29760) - * Enable tailwind nesting (#29746) - * Tweak actions color and borders (#29640) - * Update various logos and unify their filenames (#29637) - * Add a link for the recently pushed branch notification (#29627) - * Fix contributor graphs mobile layout and responsiveness (#29597) - * Add aria-label to the navbar menu button (#29587) - * Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) + * Lazy load object format with command line and don't do it in OpenRepository (#29712) * Add cache for branch divergence on branch list page (#29577) - * Add a check for when the command is canceled by the program on Window… (#29538) - * Use a predictiable fork URL to allow forking repositories without providing a repo ID (#29519) - * Style fomantic grey labels (#29458) - * Move all login and account creation page labels to be above inputs (#29432) - * Use tailwind instead of `gt-[wh]-` helper classes (#29423) - * Apply to become a maintainer (#29383) - * Make actions animation rotate counterclockwisely (#29378) - * Add tailwindcss (#29357) - * Remove bountysource (#29330) - * Improve Documentation for Restoration from backup (#29321) - * Revert #28753 because UI broken. (#29293) - * Update Discord logo (#29285) - * Deduplicate translations for contributors graph (#29256) - * Left align the input labels for the link account page (#29255) - * Implement recent commits graph (#29210) - * Fix Gitpod logic of setting ROOT_URL (#29162) - * Runner tokens are multi use (#29153) - * Use Markdown alert syntax for notes in README (#29150) - * Remove obsolete border-radius on comment content (#29128) - * Update some translations and fix markdown formatting (#29099) - * Remove lightningcss (#29070) - * Some performance optimization on dashboard and issues page (#29010) - * Fix broken following organization (#29005) - * Don't do a full page load when clicking `Watch` or `Star` (#29001) - * Fix google logo in security page (#28982) - * Update golang links to use https (#28980) - * Update JS and PY dependencies, build for `es2020` browsers (#28977) - * Fixing small space missing in sample config file (#28967) - * Fix inconsistent naming of OAuth 2.0 `ENABLE` setting (#28951) - * Fix non-alphabetic sorting of repo topics (#28938) - * Introduce htmx and use it to avoid full page load on `Subscribe` and `Follow` (#28908) - * In administration documentation about environment variables, point to those for the Go runtime instead of Go compiler (#28859) - * Return `responseText` instead of string in some functions (#28836) - * Remove trust model selection from repository creation on web page because it can be changed in settings later (#28814) - * Add gist to comparison (#28809) - * Make cross-reference issue links work in markdown documents again (#28682) - * Fix tooltip of variable edit button (#28681) - * Fix grammar in `actions.variables.id_not_exist` (en-US) (#28680) - * Fix grammar issues on the repository Actions page (en-US) (#28679) - * Improve 1.22 document for Database Preparation (#28643) - * Update repo-mirror.en-us.md (#28612) - * Disable query token param in integration tests (#28592) - * Feat: bump `dessant/lock-threads` and `actions/setup-go` to use nodejs20 runtime (#28565) - * Normalize oauth email username (#28561) - * Update JS dependencies (#28537) - * Add merge arrow direction and update styling (#28523) - * Bump google/go-github to v57 (#28514) - * Improve CLI code and descriptions (#28482) - * Remove stale since giteabot has similiar feature (#28401) - * Improve text in Security settings (#28393) - * Issue fixes for RSS feed improvements (#28380) - * Improve RSS feed icons (#28368) - * Remove unnecessary forgot password link in delete user section (#28355) - * Add links to owner home page in explore (#28341) - * Render PyPi long description as document (#28272) - * Ignore temporary files for directory size (#28265) - * Make pushUpdate error verbose (#28263) - * Add download URL for executable files (#28260) - * Fix docs problems in 1.19 (#28236) + * Do some performance optimization for issues list and view issue/pull (#29515) + * Cache repository default branch commit status to reduce query on commit status table (#29444) + * Use `crypto/sha256` (#29386) + * Some performance optimization on the dashboard and issues page (#29010) * Add combined index for issue_user.uid and issue_id (#28080) - * Decrease issue font size in project template (#28054) - * Improve profile for Organizations (#27982) - * Fix Show/hide filetree button on small displays (#27881) - * Bump workflows in github actions (#27836) - * Fix merge base commit for fast-forwarded GitLab PRs (#27825) - * Use GitLab's squash_commit_sha when available (#27824) - * Package repository/documentation link unification (#27804) - * Fix typo when updating email address (#27789) - * Improve pull request command line instructions (#27778) - * Fix the missing repo count in new team page and edit team page (#27743) - * Typos fixed in documentation files (#27687) - * Teams: new View button (#27685) - * Align ISSUE_TEMPLATE with the new label system (#27573) - * Revert "Simplify `contrib/backport` (#27520)" (#27566) - * Apply to became a maintainer (#27491) - * Improve the list header in milestone page (#27302) ## [1.21.11](https://github.com/go-gitea/gitea/releases/tag/v1.21.11) - 2024-04-07 From a754d3475cedd63206ded56c71dd261275188dcf Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 26 May 2024 22:39:45 +0800 Subject: [PATCH 3/8] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f7d6ee8a103..ab11a64b0fe56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.com). * Add support for sha256 repositories (#23894) * Add admin API route for managing user's badges (#23106) * ENHANCEMENTS + * Make gitea webhooks openproject compatible (#28435) (#31081) * Support using label names when changing issue labels (#30943) (#30958) * Fix various problems around project board view (#30696) (#30902) * Improve context popup rendering (#30824) (#30829) From 610e8940bedebfac8c3688495c35c1c7bde950a1 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 26 May 2024 22:47:29 +0800 Subject: [PATCH 4/8] Add note for changelog of 1.22.0 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab11a64b0fe56..09ec0d4d66f37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ been added to each release, please refer to the [blog](https://blog.gitea.com). ## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-24 +Since there are too many pull requests, this changelog will ignore bugfixes, +misc and etc changes. + * BREAKING * Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) (#31020) * Remember log in for a month by default (#30150) From 80ec02a0c430a046947d0127e7c4ba0885168bdc Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 26 May 2024 23:21:29 +0800 Subject: [PATCH 5/8] Add section about this release --- CHANGELOG.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09ec0d4d66f37..ecf2bdd07b30b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,10 @@ been added to each release, please refer to the [blog](https://blog.gitea.com). ## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-24 -Since there are too many pull requests, this changelog will ignore bugfixes, -misc and etc changes. +This release includes [1478](https://github.com/go-gitea/gitea/pulls?q=is%3Apr+milestone%3A1.22.0+is%3Amerged) pull requests, which makes it the largest release in Gitea's history! It inclues a mount of new features and bug fixes. + +From this release, Gitea introduced `HTMX` and `Tailwind` and will retire `jquery` & `Fomantic UI` step by step. +Below are the main changes include `BREAKING`, `FEATURES`, `ENHANCEMENTS` and `PERFORMANCE`. * BREAKING * Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) (#31020) From 43f2d8b9391597f9b12a939fd9e08ae8a948ece0 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 27 May 2024 15:14:19 +0800 Subject: [PATCH 6/8] Update changelog --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecf2bdd07b30b..f10ccef17f73b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,11 @@ been added to each release, please refer to the [blog](https://blog.gitea.com). ## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-24 -This release includes [1478](https://github.com/go-gitea/gitea/pulls?q=is%3Apr+milestone%3A1.22.0+is%3Amerged) pull requests, which makes it the largest release in Gitea's history! It inclues a mount of new features and bug fixes. +This release stands as a monumental milestone in our development journey with a record-breaking incorporation of [1478](https://github.com/go-gitea/gitea/pulls?q=is%3Apr+milestone%3A1.22.0+is%3Amerged) pull requests. It marks the most extensive update in Gitea's history, showcasing a plethora of new features and infrastructure improvements. -From this release, Gitea introduced `HTMX` and `Tailwind` and will retire `jquery` & `Fomantic UI` step by step. -Below are the main changes include `BREAKING`, `FEATURES`, `ENHANCEMENTS` and `PERFORMANCE`. +Noteworthy advancements in this release include the introduction of `HTMX` and `Tailwind`, signaling a strategic shift as we gradually phase out `jquery` and `Fomantic UI`. These changes reflect our commitment to embracing modern technologies and enhancing the user experience. + +Key highlights of this release encompass significant changes categorized under `BREAKING`, `FEATURES`, `ENHANCEMENTS`, and `PERFORMANCE`, each contributing to a more robust and efficient Gitea platform. * BREAKING * Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) (#31020) From 848d153744ddb556c951c0333df72a034e0d4575 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 27 May 2024 15:18:17 +0800 Subject: [PATCH 7/8] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f10ccef17f73b..238c2c994591e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.com). ## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-24 -This release stands as a monumental milestone in our development journey with a record-breaking incorporation of [1478](https://github.com/go-gitea/gitea/pulls?q=is%3Apr+milestone%3A1.22.0+is%3Amerged) pull requests. It marks the most extensive update in Gitea's history, showcasing a plethora of new features and infrastructure improvements. +This release stands as a monumental milestone in our development journey with a record-breaking incorporation of [1528](https://github.com/go-gitea/gitea/pulls?q=is%3Apr+milestone%3A1.22.0+is%3Amerged) pull requests. It marks the most extensive update in Gitea's history, showcasing a plethora of new features and infrastructure improvements. Noteworthy advancements in this release include the introduction of `HTMX` and `Tailwind`, signaling a strategic shift as we gradually phase out `jquery` and `Fomantic UI`. These changes reflect our commitment to embracing modern technologies and enhancing the user experience. From bb9cf2bedf89ea31463f747dcdbb7c20f860b3ed Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 27 May 2024 15:51:28 +0800 Subject: [PATCH 8/8] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 238c2c994591e..0d9563b34d62e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ This changelog goes through 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.com). -## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-24 +## [1.22.0](https://github.com/go-gitea/gitea/releases/tag/v1.22.0) - 2024-05-27 This release stands as a monumental milestone in our development journey with a record-breaking incorporation of [1528](https://github.com/go-gitea/gitea/pulls?q=is%3Apr+milestone%3A1.22.0+is%3Amerged) pull requests. It marks the most extensive update in Gitea's history, showcasing a plethora of new features and infrastructure improvements.