# Changelog 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.4](https://github.com/go-gitea/gitea/releases/tag/v1.22.4) - 2024-11-14 * SECURITY * Fix basic auth with webauthn (#32531) (#32536) * Refactor internal routers (partial backport, auth token const time comparing) (#32473) (#32479) * PERFORMANCE * Remove transaction for archive download (#32186) (#32520) * BUGFIXES * Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32365) (#32397) * Fix get reviewers fails when selecting user without pull request permissions unit (#32415) (#32616) * Fix adding index files to tmp directory (#32360) (#32593) * Fix PR creation on forked repositories via API (#31863) (#32591) * Fix missing menu tabs in organization project view page (#32313) (#32592) * Support HTTP POST requests to `/userinfo`, aligning to OpenID Core specification (#32578) (#32594) * Fix debian package clean up cron job (#32351) (#32590) * Fix GetInactiveUsers (#32540) (#32588) * Allow the actions user to login via the jwt token (#32527) (#32580) * Fix submodule parsing (#32571) (#32577) * Refactor find forks and fix possible bugs that weaken permissions check (#32528) (#32547) * Fix some places that don't respect org full name setting (#32243) (#32550) * Refactor push mirror find and add check for updating push mirror (#32539) (#32549) * Fix basic auth with webauthn (#32531) (#32536) * Fix artifact v4 upload above 8MB (#31664) (#32523) * Fix oauth2 error handle not return immediately (#32514) (#32516) * Fix action not triggered when commit message is too long (#32498) (#32507) * Fix `GetRepoLink` nil pointer dereference on dashboard feed page when repo is deleted with actions enabled (#32501) (#32502) * Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32397) (#32397) * Fix the permission check for user search API and limit the number of returned users for `/user/search` (#32310) * Fix SearchIssues swagger docs (#32208) (#32298) * Fix dropdown content overflow (#31610) (#32250) * Disable Oauth check if oauth disabled (#32368) (#32480) * Respect renamed dependencies of Cargo registry (#32430) (#32478) * Fix mermaid diagram height when initially hidden (#32457) (#32464) * Fix broken releases when re-pushing tags (#32435) (#32449) * Only provide the commit summary for Discord webhook push events (#32432) (#32447) * Only query team tables if repository is under org when getting assignees (#32414) (#32426) * Fix created_unix for mirroring (#32342) (#32406) * Respect UI.ExploreDefaultSort setting again (#32357) (#32385) * Fix broken image when editing comment with non-image attachments (#32319) (#32345) * Fix disable 2fa bug (#32320) (#32330) * Always update expiration time when creating an artifact (#32281) (#32285) * Fix null errors on conversation holder (#32258) (#32266) (#32282) * Only rename a user when they should receive a different name (#32247) (#32249) * Fix checkbox bug on private/archive filter (#32236) (#32240) * Add a doctor check to disable the "Actions" unit for mirrors (#32424) (#32497) * Quick fix milestone deadline 9999 (#32423) * Make `show stats` work when only one file changed (#32244) (#32268) * Make `owner/repo/pulls` handlers use "PR reader" permission (#32254) (#32265) * Update scheduled tasks even if changes are pushed by "ActionsUser" (#32246) (#32252) * MISC * Remove unnecessary code: `GetPushMirrorsByRepoID` called on all repo pages (#32560) (#32567) * Improve some sanitizer rules (#32534) * Update nix development environment vor v1.22.x (#32495) * Add warn log when deleting inactive users (#32318) (#32321) * Update github.com/go-enry/go-enry to v2.9.1 (#32295) (#32296) * Warn users when they try to use a non-root-url to sign in/up (#32272) (#32273) ## [1.22.3](https://github.com/go-gitea/gitea/releases/tag/v1.22.3) - 2024-10-08 * SECURITY * Fix bug when a token is given public only (#32204) (#32218) * PERFORMANCE * Increase `cacheContextLifetime` to reduce false reports (#32011) (#32023) * Don't join repository when loading action table data (#32127) (#32143) * BUGFIXES * Fix javascript error when an anonymous user visits migration page (#32144) (#32179) * Don't init signing keys if oauth2 provider is disabled (#32177) * Fix wrong status of `Set up Job` when first step is skipped (#32120) (#32125) * Fix bug when deleting a migrated branch (#32075) (#32123) * Truncate commit message during Discord webhook push events (#31970) (#32121) * Allow to set branch protection in an empty repository (#32095) (#32119) * Fix panic when cloning with wrong ssh format. (#32076) (#32118) * Fix rename branch permission bug (#32066) (#32108) * Fix: database not update release when using `git push --tags --force` (#32040) (#32074) * Add missing comment reply handling (#32050) (#32065) * Do not escape relative path in RPM primary index (#32038) (#32054) * Fix `/repos/{owner}/{repo}/pulls/{index}/files` endpoint not populating `previous_filename` (#32017) (#32028) * Support allowed hosts for migrations to work with proxy (#32025) (#32026) * Fix the logic of finding the latest pull review commit ID (#32139) (#32165) * Fix bug in getting merged pull request by commit (#32079) (#32117) * Fix wrong last modify time (#32102) (#32104) * Fix incorrect `/tokens` api (#32085) (#32092) * Handle invalid target when creating releases using API (#31841) (#32043) * Check if the `due_date` is nil when editing issues (#32035) (#32042) * Fix container parallel upload bugs (#32022) * Fixed race condition when deleting documents by repoId in ElasticSearch (#32185) (#32188) * Refactor CSRF protector (#32057) (#32069) * Fix Bug in Issue/pulls list (#32081) (#32115) * Include collaboration repositories on dashboard source/forks/mirrors list (#31946) (#32122) * Add null check for responseData.invalidTopics (#32212) (#32217) * TESTING * Fix mssql ci with a new mssql version on ci (#32094) * MISC * Upgrade some dependencies include minio-go (#32166) * Add bin to Composer Metadata (#32099) (#32106) * Lazy load avatar images (#32051) (#32063) * Upgrade cache to v0.2.1 (#32003) (#32009) ## [1.22.2](https://github.com/go-gitea/gitea/releases/tag/v1.22.2) - 2024-08-28 * Security * Replace v-html with v-text in search inputbox (#31966) (#31973) * Fix nuget/conan/container packages upload bugs (#31967) (#31982) * PERFORMANCE * Refactor the usage of batch catfile (#31754) (#31889) * BUGFIXES * Fix overflowing content in action run log (#31842) (#31853) * Scroll images in project issues separately from the remaining issue (#31683) (#31823) * Add `:focus-visible` style to buttons (#31799) (#31819) * Fix the display of project type for deleted projects (#31732) (#31734) * Fix API owner ID should be zero when created repo secret (#31715) (#31811) * Set owner id to zero when GetRegistrationToken for repo (#31725) (#31729) * Fix API endpoint for registration-token (#31722) (#31728) * Add permission check when creating PR (#31033) (#31720) * Don't return 500 if mirror url contains special chars (#31859) (#31895) * Fix agit automerge (#31207) (#31881) * Add CfTurnstileSitekey context data to all captcha templates (#31874) (#31876) * Avoid returning without written ctx when posting PR (#31843) (#31848) * Fix raw wiki links (#31825) (#31845) * Fix panic of ssh public key page after deletion of auth source (#31829) (#31836) * Fixes for unreachable project issues when transfer repository from organization (#31770) (#31828) * Show lock owner instead of repo owner on LFS setting page (#31788) (#31817) * Fix `IsObjectExist` with gogit (#31790) (#31806) * Fix protected branch files detection on pre_receive hook (#31778) (#31796) * Add `TAGS` to `TEST_TAGS` and fix bugs found with gogit (#31791) (#31795) * Rename head branch of pull requests when renaming a branch (#31759) (#31774) * Fix wiki revision pagination (#31760) (#31772) * Bump vue-bar-graph (#31705) (#31753) * Distinguish LFS object errors to ignore missing objects during migration (#31702) (#31745) * Make GetRepositoryByName more safer (#31712) (#31718) * Fix a branch divergence cache bug (#31659) (#31661) * Allow org team names of length 255 in create team form (#31564) (#31603) * Use old behavior for telegram webhook (#31588) * Bug fix for translation in ru (#31892) * Fix actions notify bug (#31866) (#31875) * Fix the component of access token list not mounted (#31824) (#31868) * Add missing repository type filter parameters to pager (#31832) (#31837) * Fix dates displaying in a wrong manner when we're close to the end of… (#31750) * Fix "Filter by commit" Dropdown (#31695) (#31696) * Properly filter issue list given no assignees filter (#31522) (#31685) * Prevent update pull refs manually and will not affect other refs update (#31931)(#31955) * Fix sort order for organization home and user profile page (#31921) (#31922) * Fix search team (#31923) (#31942) * Fix 500 error when state params is set when editing issue/PR by API (#31880) (#31952) * Fix index too many file names bug (#31903) (#31953) * Add lock for parallel maven upload (#31851) (#31954) * MISC * Remove "dsa-1024" testcases from Test_SSHParsePublicKey and Test_calcFingerprint (#31905) (#31914) * Upgrade bleve to 2.4.2 (#31894) * Remove unneccessary uses of `word-break: break-all` (#31637) (#31652) * Return an empty string when a repo has no avatar in the repo API (#31187) (#31567) * Upgrade micromatch to 4.0.8 (#31944) * Update webpack to 5.94.0 (#31941) ## [1.22.1](https://github.com/go-gitea/gitea/releases/tag/v1.22.1) - 2024-07-04 * SECURITY * Add replacement module for `mholt/archiver` (#31267) (#31270) * API * Fix missing images in editor preview due to wrong links (#31299) (#31393) * Fix duplicate sub-path for avatars (#31365) (#31368) * Reduce memory usage for chunked artifact uploads to MinIO (#31325) (#31338) * Remove sub-path from container registry realm (#31293) (#31300) * Fix NuGet Package API for $filter with Id equality (#31188) (#31242) * Add an immutable tarball link to archive download headers for Nix (#31139) (#31145) * Add missed return after `ctx.ServerError` (#31130) (#31133) * BUGFIXES * Fix avatar radius problem on the new issue page (#31506) (#31508) * Fix overflow menu flickering on mobile (#31484) (#31488) * Fix poor table column width due to breaking words (#31473) (#31477) * Support relative paths to videos from Wiki pages (#31061) (#31453) * Fix new issue/pr avatar (#31419) (#31424) * Increase max length of org team names from 30 to 255 characters (#31410) (#31421) * Fix line number width in code preview (#31307) (#31316) * Optimize runner-tags layout to enhance visual experience (#31258) (#31263) * Fix overflow on push notification (#31179) (#31238) * Fix overflow on notifications (#31178) (#31237) * Fix overflow in issue card (#31203) (#31225) * Split sanitizer functions and fine-tune some tests (#31192) (#31200) * use correct l10n string (#31487) (#31490) * Fix dropzone JS error when attachment is disabled (#31486) * Fix web notification icon not updated once you read all notifications (#31447) (#31466) * Switch to "Write" tab when edit comment again (#31445) (#31461) * Fix the link for .git-blame-ignore-revs bypass (#31432) (#31442) * Fix the wrong line number in the diff view page when expanded twice. (#31431) (#31440) * Fix labels and projects menu overflow on issue page (#31435) (#31439) * Fix Account Linking UpdateMigrationsByType (#31428) (#31434) * Fix markdown math brackets render problem (#31420) (#31430) * Fix rendered wiki page link (#31398) (#31407) * Fix natural sort (#31384) (#31394) * Allow downloading attachments of draft releases (#31369) (#31380) * Fix repo graph JS (#31377) * Fix incorrect localization `explorer.go` (#31348) (#31350) * Fix hash render end with colon (#31319) (#31346) * Fix line number widths (#31341) (#31343) * Fix navbar `+` menu flashing on page load (#31281) (#31342) * Fix adopt repository has empty object name in database (#31333) (#31335) * Delete legacy cookie before setting new cookie (#31306) (#31317) * Fix some URLs whose sub-path is missing (#31289) (#31292) * Fix admin oauth2 custom URL settings (#31246) (#31247) * Make pasted "img" tag has the same behavior as markdown image (#31235) (#31243) * Fix agit checkout command line hint & fix ShowMergeInstructions checking (#31219) (#31222) * Fix the possible migration failure on 286 with postgres 16 (#31209) (#31218) * Fix branch order (#31174) (#31193) * Fix markup preview (#31158) (#31166) * Fix push multiple branches error with tests (#31151) (#31153) * Fix API repository object format missed (#31118) (#31132) * Fix missing memcache import (#31105) (#31109) * Upgrade `github.com/hashicorp/go-retryablehttp` (#31499) * Fix double border in system status table (#31363) (#31401) * Fix bug filtering issues which have no project (#31337) (#31367) * Fix #31185 try fix lfs download from bitbucket failed (#31201) (#31329) * Add nix flake for dev shell (#30967) (#31310) * Fix and clean up `ConfirmModal` (#31283) (#31291) * Optimize repo-list layout to enhance visual experience (#31272) (#31276) * fixed the dropdown menu for the top New button to expand to the left (#31273) (#31275) * Fix Activity Page Contributors dropdown (#31264) (#31269) * fix: allow actions artifacts storage migration to complete succesfully (#31251) (#31257) * Make blockquote attention recognize more syntaxes (#31240) (#31250) * Remove .segment from .project-column (#31204) (#31239) * Ignore FindRecentlyPushedNewBranches err (#31164) (#31171) * Use vertical layout for multiple code expander buttons (#31122) (#31152) * Remove duplicate `ProxyPreserveHost` in Apache httpd doc (#31143) (#31147) * Improve mobile review ui (#31091) (#31136) * Fix DashboardRepoList margin (#31121) (#31128) * Update pip related commands for docker (#31106) (#31111) ## [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. 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) * Remember log in for a month by default (#30150) * Breaking summary for template refactoring (#29395) * 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 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) * 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) * 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 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) * Add support for `linguist-detectable` and `linguist-documentation` (#29267) * 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 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 the 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) * 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) * Allow to save empty comment (#30706) * Prevent allow/reject reviews on merged/closed PRs (#30686) * Initial support for colorblindness-friendly themes (#30625) * Some NuGet package enhancements (#30280) (#30324) * Markup color and font size fixes (#30282) (#30310) * Show 12 lines in markup code preview (#30255) (#30257) * Add `[other].SHOW_FOOTER_POWERED_BY` setting to hide `Powered by` (#30253) * Pulse page improvements (#30149) * Render code tags in commit messages (#30146) * Prevent re-review and dismiss review actions on closed and merged PRs (#30065) * Cancel previous runs of the same PR automatically (#29961) * Drag-and-drop improvements for projects and issue pins (#29875) * Add default board to new projects, remove uncategorized pseudo-board (#29874) * Prevent layout shift in `` items (#29831) * Add skip ci support for pull request title (#29774) * Add more stats tables (#29730) * Update API to return 'source_id' for users (#29718) * Determine fuzziness of bleve indexer by keyword length (#29706) * 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) * Add setting to disable user features when user login type is not plain (#29615) * Improve natural sort (#29611) * Make wiki default branch name changeable (#29603) * Unify search boxes (#29530) * Add support for API blob upload of release attachments (#29507) * Detect broken git hooks (#29494) * 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) * Add ``, rename webcomponents (#29400) * Include resource state events in Gitlab downloads (#29382) * Properly migrate target branch change GitLab comment (#29340) * Recolor dark theme to blue shade (#29283) * Partially enable MSSQL case-sensitive collation support (#29238) * 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 the email sender to avoid spam filters (#29109) * Allow non-admin users to delete review requests (#29057) * Improve user search display name (#29002) * Include username in email headers (#28981) * 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) * 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 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) * Add branch protection setting for ignoring stale approvals (#28498) * Add option to set language in admin user view (#28449) * Fix incorrect run order of action jobs (#28367) * Add missing exclusive in advanced label options (#28322) * Added instance-level variables (#28115) * Add edit option for README.md (#28071) * Fix link to `Code` tab on wiki commits (#28041) * Allow to set explore page default sort (#27951) * 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) * 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 `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) * Add slow SQL query warning (#27545) * Pre-register OAuth application for tea (#27509) * Differentiate between `push` and `pull` `mirror sync in progress` (#27390) * Link to file from its history (#27354) * Add a shortcut to user's profile page to admin user details (#27299) * Doctor: delete action entries without existing user (#27292) * Show total TrackedTime on issue/pull/milestone lists (#26672) * 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) * PERFORMANCE * Fix package list performance (#30520) (#30616) * Add commit status summary table to reduce query from commit status table (#30223) * Refactor markup/csv: don't read all to memory (#29760) * 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) * 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) ## [1.21.11](https://github.com/go-gitea/gitea/releases/tag/v1.21.11) - 2024-04-07 * SECURITY * Use go1.21.9 to include Golang security fix * Fix possible renderer security problem (#30136) (#30315) * Performance optimization for git push and check permissions for push options (#30104) (#30354) * BUGFIXES * Fix close file in the Upload func (#30262) (#30269) * Fix inline math blocks can't be preceeded/followed by alphanumerical characters (#30175) (#30250) * Fix missing 0 prefix of GPG key id (#30245) (#30247) * Include encoding in signature payload (#30174) (#30181) * Move from `max( id )` to `max( index )` for latest commit statuses (#30076) (#30155) * Load attachments for code comments (#30124) (#30126) * Fix gitea doctor will remove repo-avatar files when executing command storage-archives (#30094) (#30120) * Fix possible data race on tests (#30093) (#30108) * Fix duplicate migrated milestones (#30102) (#30105) * Fix panic for fixBrokenRepoUnits16961 (#30068) (#30100) * Fix incorrect SVGs (#30086) (#30087) * Fix create commit status (#30225) (#30340) * Fix misuse of unsupported global variables (#30402) * Fix to delete the cookie when AppSubURL is non-empty (#30375) (#30468) * Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) (#30408) * Change the default maxPerPage for gitbucket (#30392) (#30471) * Check the token's owner and repository when registering a runner (#30406) (#30412) * Avoid losing token when updating mirror settings (#30429) (#30466) * Fix commit status cache which missed target_url (#30426) (#30445) * Fix rename branch 500 when the target branch is deleted but exist in database (#30430) (#30437) * Fix mirror error when mirror repo is empty (#30432) (#30467) * Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) (#30447) * Fix code owners will not be mentioned when a pull request comes from a forked repository (#30476) (#30497) * DOCS * Update actions variables documents (#30394) (#30405) * MISC * Update katex to 0.16.10 (#30089) * Upgrade go-sqlite to v1.14.22 (#30462) ## [1.21.10](https://github.com/go-gitea/gitea/releases/tag/v1.21.10) - 2024-03-25 * BUGFIXES * Fix Add/Remove WIP on pull request title failure (#29999) (#30066) * Fix misuse of `TxContext` (#30061) (#30062) * Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) (#30035) * Escape paths for find file correctly (#30026) (#30031) * Remove duplicate option in admin screen and now-unused translation keys (#28492) (#30024) * Fix manual merge form and 404 page templates (#30000) ## [1.21.9](https://github.com/go-gitea/gitea/releases/tag/v1.21.9) - 2024-03-21 * PERFORMANCE * Only do counting when count_only=true for repo dashboard (#29884) (#29905) * Add cache for dashboard commit status (#29932) * ENHANCEMENT * Make runs-on support variable expression (#29468) (#29782) * Show Actions post step when it's running (#29926) (#29928) * BUGFIXES * Fix PR creation via API between branches of the same repo with head field namespaced (#26986) (#29857) * Fix and rewrite markup anchor processing (#29931) (#29946) * Notify reviewers added via CODEOWNERS (#29842) (#29902) * Fix template error when comment review doesn't exist (#29888) (#29889) * Fix user id column case (#29863) (#29867) * Make meilisearch do exact search for issues (#29740 & #29671) (#29846) * Fix the `for` attribute not pointing to the ID of the color picker (#29813) (#29815) * Fix codeowner detected diff base branch to mergebase (#29783) (#29807) * Fix Safari spinner rendering (#29801) (#29802) * Fix missing translation on milestones (#29785) (#29789) * Fix user router possible panic (#29751) (#29786) * Fix possible NPE in ToPullReviewList (#29759) (#29775) * Fix the wrong default value of ENABLE_OPENID_SIGNIN on docs (#29925) (#29927) * Solving the issue of UI disruption when the review is deleted without refreshing (#29951) (#29968) * Fix loadOneBranch panic (#29938) (#29939) * Fix invalid link of the commit status when ref is tagged (#29752) (#29908) * Editor error message misleading due to re-used key. (#29859) (#29876) * Fix double border and border-radius on empty action steps (#29845) (#29850) * Use `Temporal.PlainDate` for absolute dates (#29804) (#29808) * Fix incorrect package link method calls in templates (#29580) (#29764) * Fix the bug that the user may log out if GetUserByID returns unknown error (#29962) (#29964) * Performance improvements for pull request list page (#29900) (#29972) * Fix bugs in rerunning jobs (#29983) (#29955) ## [1.21.8](https://github.com/go-gitea/gitea/releases/tag/v1.21.8) - 2024-03-12 * SECURITY * Only use supported sort orders for "/explore/users" page (#29430) (#29443) * ENHANCEMENTS * Fix wrong line number in code search result (#29260) (#29623) * BUGFIXES * Use Get but not Post to get actions artifacts (#29734) (#29737) * Fix inconsistent rendering of block mathematical expressions (#29677) (#29711) * Fix rendering internal file links in org (#29669) (#29705) * Don't show AbortErrors on logout (#29639) (#29667) * Fix user-defined markup links targets (#29305) (#29666) * Fix incorrect rendering csv file when file size is larger than UI.CSV.MaxFileSize (#29653) (#29663) * Fix hidden test's failure (#29254) (#29662) * Add empty repo check-in DetectAndHandleSchedules (#29606) (#29659) * Fix 500 when deleting an account with an incorrect password or unsupported login type (#29579) (#29656) * Use strict protocol check when redirect (#29642) (#29644) * Avoid issue info panic (#29625) (#29632) * Avoid unexpected panic in graceful manager (#29629) (#29630) * Make "/user/login" page redirect if the current user has signed in (#29583) (#29599) * Fix workflow trigger event IssueChangeXXX bug (#29559) (#29565) * Fix incorrect cookie path for AppSubURL (#29534) (#29552) * Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) (#29546) * Fix incorrect redirection when creating a PR fails (#29537) (#29543) * Fix incorrect subpath in links (#29535) (#29541) * Fix issue link does not support quotes (#29484) (#29487) (#29536) * Fix issue & comment history bugs (#29525) (#29527) * Set pre-step status to `skipped` if the job is skipped (#29489) (#29523) * Fix/Improve `processWindowErrorEvent` (#29407) (#29480) * Fix counter display number incorrectly displayed on the page (#29448) (#29478) * Fix workflow trigger event bugs (#29467) (#29475) * Fix URL calculation in the clone input box (#29470) (#29473) * The job should always run when `if` is `always()` (#29464) (#29469) * Fix template bug (#27581) (#29446) * Not trigger all jobs anymore when re-running the first job (#29439) (#29441) * Ignore empty repo for CreateRepository in action notifier (#29416) (#29424) * Fix incorrect tree path value for patch editor (#29377) (#29421) * Add missing database transaction for new issues (#29490) (#29607) * Fix 500 when pushing release to an empty repo (#29554) (#29564) * Fix incorrect relative/absolute URL usages (#29531) (#29547) * Fix wrong test usage of `AppSubURL` (#29459) (#29488) * Fix missed return (#29450) (#29453) * Fixing the issue when status checks per rule matches multiple actions (#29631) (#29655) * Improve contrast on blame timestamp, fix double border (#29482) (#29485) ## [1.21.7](https://github.com/go-gitea/gitea/releases/tag/v1.21.7) - 2024-02-26 * ENHANCEMENTS * Users with `read` permission of pull requests can be assigned too (#27263) (#29372) * BUGFIXES * Do not double close reader (#29354) (#29370) * Display friendly error message (#29105) (#29363) * Fix project counter in organization/individual profile (#28068) (#29361) * Fix validity of the FROM email address not being checked (#29347) (#29360) * Fix tarball/zipball download bug (#29342) (#29352) * DOCS * Docker Tag Information in Docs (#29047) (#29362) * MISC * Enforce maxlength in frontend (#29389) (#29396) ## [1.21.6](https://github.com/go-gitea/gitea/releases/tag/v1.21.6) - 2024-02-22 * SECURITY * Fix XSS vulnerabilities (#29336) * Use general token signing secret (#29205) (#29325) * ENHANCEMENTS * Refactor git version functions and check compatibility (#29155) (#29157) * Improve user experience for outdated comments (#29050) (#29086) * Hide code links on release page if user cannot read code (#29064) (#29066) * Wrap contained tags and branches again (#29021) (#29026) * Fix incorrect button CSS usages (#29015) (#29023) * Strip trailing newline in markdown code copy (#29019) (#29022) * Implement some action notifier functions (#29173) (#29308) * Load outdated comments when (un)resolving conversation on PR timeline (#29203) (#29221) * BUGFIXES * Refactor issue template parsing and fix API endpoint (#29069) (#29140) * Fix swift packages not resolving (#29095) (#29102) * Remove SSH workaround (#27893) (#29332) * Only log error when tag sync fails (#29295) (#29327) * Fix SSPI user creation (#28948) (#29323) * Improve the `issue_comment` workflow trigger event (#29277) (#29322) * Discard unread data of `git cat-file` (#29297) (#29310) * Fix error display when merging PRs (#29288) (#29309) * Prevent double use of `git cat-file` session. (#29298) (#29301) * Fix missing link on outgoing new release notifications (#29079) (#29300) * Fix debian InRelease Acquire-By-Hash newline (#29204) (#29299) * Always write proc-receive hook for all git versions (#29287) (#29291) * Do not show delete button when time tracker is disabled (#29257) (#29279) * Workaround to clean up old reviews on creating a new one (#28554) (#29264) * Fix bug when the linked account was disactived and list the linked accounts (#29263) * Do not use lower tag names to find releases/tags (#29261) (#29262) * Fix missed edit issues event for actions (#29237) (#29251) * Only delete scheduled workflows when needed (#29091) (#29235) * Make submit event code work with both jQuery event and native event (#29223) (#29234) * Fix push to create with capitalize repo name (#29090) (#29206) * Use ghost user if user was not found (#29161) (#29169) * Dont load Review if Comment is CommentTypeReviewRequest (#28551) (#29160) * Refactor parseSignatureFromCommitLine (#29054) (#29108) * Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) (#29089) * Fix gitea-origin-url with default ports (#29085) (#29088) * Fix orgmode link resolving (#29024) (#29076) * Fix Elasticsearh Request Entity Too Large #28117 (#29062) (#29075) * Do not render empty comments (#29039) (#29049) * Avoid sending update/delete release notice when it is draft (#29008) (#29025) * Fix gitea-action user avatar broken on edited menu (#29190) (#29307) * Disallow merge when required checked are missing (#29143) (#29268) * Fix incorrect link to swift doc and swift package-registry login command (#29096) (#29103) * Convert visibility to number (#29226) (#29244) * DOCS * Remove outdated docs from some languages (#27530) (#29208) * Fix typos in the documentation (#29048) (#29056) * Explained where create issue/PR template (#29035) ## [1.21.5](https://github.com/go-gitea/gitea/releases/tag/v1.21.5) - 2024-01-31 * SECURITY * Prevent anonymous container access if `RequireSignInView` is enabled (#28877) (#28882) * Update go dependencies and fix go-git (#28893) (#28934) * BUGFIXES * Revert "Speed up loading the dashboard on mysql/mariadb (#28546)" (#29006) (#29007) * Fix an actions schedule bug (#28942) (#28999) * Fix update enable_prune even if mirror_interval is not provided (#28905) (#28929) * Fix uploaded artifacts should be overwritten (#28726) backport v1.21 (#28832) * Preserve BOM in web editor (#28935) (#28959) * Strip `/` from relative links (#28932) (#28952) * Don't remove all mirror repository's releases when mirroring (#28817) (#28939) * Implement `MigrateRepository` for the actions notifier (#28920) (#28923) * Respect branch info for relative links (#28909) (#28922) * Don't reload timeline page when (un)resolving or replying conversation (#28654) (#28917) * Only migrate the first 255 chars of a Github issue title (#28902) (#28912) * Fix sort bug on repository issues list (#28897) (#28901) * Fix `DeleteCollaboration` transaction behaviour (#28886) (#28889) * Fix schedule not trigger bug because matching full ref name with short ref name (#28874) (#28888) * Fix migrate storage bug (#28830) (#28867) * Fix archive creating LFS hooks and breaking pull requests (#28848) (#28851) * Fix reverting a merge commit failing (#28794) (#28825) * Upgrade xorm to v1.3.7 to fix a resource leak problem caused by Iterate (#28891) (#28895) * Fix incorrect PostgreSQL connection string for Unix sockets (#28865) (#28870) * ENHANCEMENTS * Make loading animation less aggressive (#28955) (#28956) * Avoid duplicate JS error messages on UI (#28873) (#28881) * Bump `@github/relative-time-element` to 4.3.1 (#28819) (#28826) * MISC * Warn that `DISABLE_QUERY_AUTH_TOKEN` is false only if it's explicitly defined (#28783) (#28868) * Remove duplicated checkinit on git module (#28824) (#28831) ## [1.21.4](https://github.com/go-gitea/gitea/releases/tag/v1.21.4) - 2024-01-16 * SECURITY * Update github.com/cloudflare/circl (#28789) (#28790) * Require token for GET subscription endpoint (#28765) (#28768) * BUGFIXES * Use refname:strip-2 instead of refname:short when syncing tags (#28797) (#28811) * Fix links in issue card (#28806) (#28807) * Fix nil pointer panic when exec some gitea cli command (#28791) (#28795) * Require token for GET subscription endpoint (#28765) (#28778) * Fix button size in "attached header right" (#28770) (#28774) * Fix `convert.ToTeams` on empty input (#28426) (#28767) * Hide code related setting options in repository when code unit is disabled (#28631) (#28749) * Fix incorrect URL for "Reference in New Issue" (#28716) (#28723) * Fix panic when parsing empty pgsql host (#28708) (#28709) * Upgrade xorm to new version which supported update join for all supported databases (#28590) (#28668) * Fix alpine package files are not rebuilt (#28638) (#28665) * Avoid cycle-redirecting user/login page (#28636) (#28658) * Fix empty ref for cron workflow runs (#28640) (#28647) * Remove unnecessary syncbranchToDB with tests (#28624) (#28629) * Use known issue IID to generate new PR index number when migrating from GitLab (#28616) (#28618) * Fix flex container width (#28603) (#28605) * Fix the scroll behavior for emoji/mention list (#28597) (#28601) * Fix wrong due date rendering in issue list page (#28588) (#28591) * Fix `status_check_contexts` matching bug (#28582) (#28589) * Fix 500 error of searching commits (#28576) (#28579) * Use information from previous blame parts (#28572) (#28577) * Update mermaid for 1.21 (#28571) * Fix 405 method not allowed CORS / OIDC (#28583) (#28586) (#28587) (#28611) * Fix `GetCommitStatuses` (#28787) (#28804) * Forbid removing the last admin user (#28337) (#28793) * Fix schedule tasks bugs (#28691) (#28780) * Fix issue dependencies (#27736) (#28776) * Fix system webhooks API bug (#28531) (#28666) * Fix when private user following user, private user will not be counted in his own view (#28037) (#28792) * Render code block in activity tab (#28816) (#28818) * ENHANCEMENTS * Rework markup link rendering (#26745) (#28803) * Modernize merge button (#28140) (#28786) * Speed up loading the dashboard on mysql/mariadb (#28546) (#28784) * Assign pull request to project during creation (#28227) (#28775) * Show description as tooltip instead of title for labels (#28754) (#28766) * Make template `DateTime` show proper tooltip (#28677) (#28683) * Switch destination directory for apt signing keys (#28639) (#28642) * Include heap pprof in diagnosis report to help debugging memory leaks (#28596) (#28599) * DOCS * Suggest to use Type=simple for systemd service (#28717) (#28722) * Extend description for ARTIFACT_RETENTION_DAYS (#28626) (#28630) * MISC * Add -F to commit search to treat keywords as strings (#28744) (#28748) * Add download attribute to release attachments (#28739) (#28740) * Concatenate error in `checkIfPRContentChanged` (#28731) (#28737) * Improve 1.21 document for Database Preparation (#28643) (#28644) ## [1.21.3](https://github.com/go-gitea/gitea/releases/tag/v1.21.3) - 2023-12-21 * SECURITY * Update golang.org/x/crypto (#28519) * API * chore(api): support ignore password if login source type is LDAP for creating user API (#28491) (#28525) * Add endpoint for not implemented Docker auth (#28457) (#28462) * ENHANCEMENTS * Add option to disable ambiguous unicode characters detection (#28454) (#28499) * Refactor SSH clone URL generation code (#28421) (#28480) * Polyfill SubmitEvent for PaleMoon (#28441) (#28478) * BUGFIXES * Fix the issue ref rendering for wiki (#28556) (#28559) * Fix duplicate ID when deleting repo (#28520) (#28528) * Only check online runner when detecting matching runners in workflows (#28286) (#28512) * Initialize stroage for orphaned repository doctor (#28487) (#28490) * Fix possible nil pointer access (#28428) (#28440) * Don't show unnecessary citation JS error on UI (#28433) (#28437) * DOCS * Update actions document about comparison as Github Actions (#28560) (#28564) * Fix documents for "custom/public/assets/" (#28465) (#28467) * MISC * Fix inperformant query on retrifing review from database. (#28552) (#28562) * Improve the prompt for "ssh-keygen sign" (#28509) (#28510) * Update docs for DISABLE_QUERY_AUTH_TOKEN (#28485) (#28488) * Fix Chinese translation of config cheat sheet[API] (#28472) (#28473) * Retry SSH key verification with additional CRLF if it failed (#28392) (#28464) ## [1.21.2](https://github.com/go-gitea/gitea/releases/tag/v1.21.2) - 2023-12-12 * SECURITY * Rebuild with recently released golang version * Fix missing check (#28406) (#28411) * Do some missing checks (#28423) (#28432) * BUGFIXES * Fix margin in server signed signature verification view (#28379) (#28381) * Fix object does not exist error when checking citation file (#28314) (#28369) * Use `filepath` instead of `path` to create SQLite3 database file (#28374) (#28378) * Fix the runs will not be displayed bug when the main branch have no workflows but other branches have (#28359) (#28365) * Handle repository.size column being NULL in migration v263 (#28336) (#28363) * Convert git commit summary to valid UTF8. (#28356) (#28358) * Fix migration panic due to an empty review comment diff (#28334) (#28362) * Add `HEAD` support for rpm repo files (#28309) (#28360) * Fix RPM/Debian signature key creation (#28352) (#28353) * Keep profile tab when clicking on Language (#28320) (#28331) * Fix missing issue search index update when changing status (#28325) (#28330) * Fix wrong link in `protect_branch_name_pattern_desc` (#28313) (#28315) * Read `previous` info from git blame (#28306) (#28310) * Ignore "non-existing" errors when getDirectorySize calculates the size (#28276) (#28285) * Use appSubUrl for OAuth2 callback URL tip (#28266) (#28275) * Meilisearch: require all query terms to be matched (#28293) (#28296) * Fix required error for token name (#28267) (#28284) * Fix issue will be detected as pull request when checking `First-time contributor` (#28237) (#28271) * Use full width for project boards (#28225) (#28245) * Increase "version" when update the setting value to a same value as before (#28243) (#28244) * Also sync DB branches on push if necessary (#28361) (#28403) * Make gogit Repository.GetBranchNames consistent (#28348) (#28386) * Recover from panic in cron task (#28409) (#28425) * Deprecate query string auth tokens (#28390) (#28430) * ENHANCEMENTS * Improve doctor cli behavior (#28422) (#28424) * Fix margin in server signed signature verification view (#28379) (#28381) * Refactor template empty checks (#28351) (#28354) * Read `previous` info from git blame (#28306) (#28310) * Use full width for project boards (#28225) (#28245) * Enable system users search via the API (#28013) (#28018) ## [1.21.1](https://github.com/go-gitea/gitea/releases/tag/v1.21.1) - 2023-11-26 * SECURITY * Fix comment permissions (#28213) (#28216) * BUGFIXES * Fix delete-orphaned-repos (#28200) (#28202) * Make CORS work for oauth2 handlers (#28184) (#28185) * Fix missing buttons (#28179) (#28181) * Fix no ActionTaskOutput table waring (#28149) (#28152) * Fix empty action run title (#28113) (#28148) * Use "is-loading" to avoid duplicate form submit for code comment (#28143) (#28147) * Fix Matrix and MSTeams nil dereference (#28089) (#28105) * Fix incorrect pgsql conn builder behavior (#28085) (#28098) * Fix system config cache expiration timing (#28072) (#28090) * Restricted users only see repos in orgs which their team was assigned to (#28025) (#28051) * API * Fix permissions for Token DELETE endpoint to match GET and POST (#27610) (#28099) * ENHANCEMENTS * Do not display search box when there's no packages yet (#28146) (#28159) * Add missing `packages.cleanup.success` (#28129) (#28132) * DOCS * Docs: Replace deprecated IS_TLS_ENABLED mailer setting in email setup (#28205) (#28208) * Fix the description about the default setting for action in quick start document (#28160) (#28168) * Add guide page to actions when there's no workflows (#28145) (#28153) * MISC * Use full width for PR comparison (#28182) (#28186) ## [1.21.0](https://github.com/go-gitea/gitea/releases/tag/v1.21.0) - 2023-11-14 * BREAKING * Restrict certificate type for builtin SSH server (#26789) * Refactor to use urfave/cli/v2 (#25959) * Move public asset files to the proper directory (#25907) * Remove commit status running and warning to align GitHub (#25839) (partially reverted: Restore warning commit status (#27504) (#27529)) * Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413) * Set SSH_AUTHORIZED_KEYS_BACKUP to false (#25412) * FEATURES * User details page (#26713) * Chore(actions): support cron schedule task (#26655) * Support rebuilding issue indexer manually (#26546) * Allow to archive labels (#26478) * Add disable workflow feature (#26413) * Support `.git-blame-ignore-revs` file (#26395) * Pre-register OAuth2 applications for git credential helpers (#26291) * Add `Retry` button when creating a mirror-repo fails (#26228) * Artifacts retention and auto clean up (#26131) * Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) * Implement auto-cancellation of concurrent jobs if the event is push (#25716) * Newly pushed branches hints on repository home page (#25715) * Display branch commit status (#25608) * Add direct serving of package content (#25543) * Add commits dropdown in PR files view and allow commit by commit review (#25528) * Allow package cleanup from admin page (#25307) * Batch delete issue and improve tippy opts (#25253) * Show branches and tags that contain a commit (#25180) * Add actor and status dropdowns to run list (#25118) * Allow Organisations to have a E-Mail (#25082) * Add codeowners feature (#24910) * Actions Artifacts support uploading multiple files and directories (#24874) * Support configuration variables on Gitea Actions (#24724) * Support downloading raw task logs (#24451) * API * Unify two factor check (#27915) (#27929) * Fix package webhook (#27839) (#27855) * Fix/upload artifact error windows (#27802) (#27840) * Fix bad method call when deleting user secrets via API (#27829) (#27831) * Do not force creation of _cargo-index repo on publish (#27266) (#27765) * Delete repos of org when purge delete user (#27273) (#27728) * Fix org team endpoint (#27721) (#27727) * Api: GetPullRequestCommits: return file list (#27483) (#27539) * Don't let API add 2 exclusive labels from same scope (#27433) (#27460) * Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) (#27304) * Fix PushEvent NullPointerException jenkinsci/github-plugin (#27203) (#27251) * Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27163) * Allow empty Conan files (#27092) * Fix token endpoints ignore specified account (#27080) * Reduce usage of `db.DefaultContext` (#27073) (#27083) (#27089) (#27103) (#27262) (#27265) (#27347) (#26076) * Make SSPI auth mockable (#27036) * Extract auth middleware from service (#27028) * Add `RemoteAddress` to mirrors (#26952) * Feat(API): add routes and functions for managing user's secrets (#26909) * Feat(API): add secret deletion functionality for repository (#26808) * Feat(API): add route and implementation for creating/updating repository secret (#26766) * Add Upload URL to release API (#26663) * Feat(API): update and delete secret for managing organization secrets (#26660) * Feat: implement organization secret creation API (#26566) * Add API route to list org secrets (#26485) * Set commit id when ref used explicitly (#26447) * PATCH branch-protection updates check list even when checks are disabled (#26351) * Add file status for API "Get a single commit from a repository" (#16205) (#25831) * Add API for changing Avatars (#25369) * BUGFIXES * Fix viewing wiki commit on empty repo (#28040) (#28044) * Enable system users for comment.LoadPoster (#28014) (#28032) * Fixed duplicate attachments on dump on windows (#28019) (#28031) * Fix wrong xorm Delete usage(backport for 1.21) (#28002) * Add word-break to repo description in home page (#27924) (#27957) * Fix rendering assignee changed comments without assignee (#27927) (#27952) * Add word break to release title (#27942) (#27947) * Fix JS NPE when viewing specific range of PR commits (#27912) (#27923) * Show correct commit sha when viewing single commit diff (#27916) (#27921) * Fix 500 when deleting a dismissed review (#27903) (#27910) * Fix DownloadFunc when migrating releases (#27887) (#27890) * Fix http protocol auth (#27875) (#27876) * Refactor postgres connection string building (#27723) (#27869) * Close all hashed buffers (#27787) (#27790) * Fix label render containing invalid HTML (#27752) (#27762) * Fix duplicate project board when hitting `enter` key (#27746) (#27751) * Fix `link-action` redirect network error (#27734) (#27749) * Fix sticky diff header background (#27697) (#27712) * Always delete existing scheduled action tasks (#27662) (#27688) * Support allowed hosts for webhook to work with proxy (#27655) (#27675) * Fix poster is not loaded in get default merge message (#27657) (#27666) * Improve dropdown button alignment and fix hover bug (#27632) (#27637) * Improve retrying index issues (#27554) (#27634) * Fix 404 when deleting Docker package with an internal version (#27615) (#27630) * Backport manually for a tmpl issue in v1.21 (#27612) * Don't show Link to TOTP if not set up (#27585) (#27588) * Fix data-race bug when accessing task.LastRun (#27584) (#27586) * Fix attachment download bug (#27486) (#27571) * Respect SSH.KeygenPath option when calculating ssh key fingerprints (#27536) (#27551) * Improve dropdown's behavior when there is a search input in menu (#27526) (#27534) * Fix panic in storageHandler (#27446) (#27479) * When comparing with an non-exist repository, return 404 but 500 (#27437) (#27442) * Fix pr template (#27436) (#27440) * Fix git 2.11 error when checking IsEmpty (#27393) (#27397) * Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) * Fix missing ctx for GetRepoLink in dashboard (#27372) (#27375) * Absolute positioned checkboxes overlay floated elements (#26870) (#27366) * Introduce fixes and more rigorous tests for 'Show on a map' feature (#26803) (#27365) * Fix repo count in org action settings (#27245) (#27353) * Add logs for data broken of comment review (#27326) (#27345) * Fix the approval count of PR when there is no protection branch rule (#27272) (#27343) * Fix Bug in Issue Config when only contact links are set (#26521) (#27334) * Improve issue history dialog and make poster can delete their own history (#27323) (#27327) * Fix orphan check for deleted branch (#27310) (#27321) * Fix protected branch icon location (#26576) (#27317) * Fix yaml test (#27297) (#27303) * Fix some animation bugs (#27287) (#27294) * Fix incorrect change from #27231 (#27275) (#27282) * Add missing public user visibility in user details page (#27246) (#27250) * Fix EOL handling in web editor (#27141) (#27234) * Fix issues on action runners page (#27226) (#27233) * Quote table `release` in sql queries (#27205) (#27218) * Fix release URL in webhooks (#27182) (#27185) * Fix review request number and add more tests (#27104) (#27168) * Fix the variable regexp pattern on web page (#27161) (#27164) * Fix: treat tab "overview" as "repositories" in user profiles without readme (#27124) * Fix NPE when editing OAuth2 applications (#27078) * Fix the incorrect route path in the user edit page. (#27007) * Fix the secret regexp pattern on web page (#26910) * Allow users with write permissions for issues to add attachments with API (#26837) * Make "link-action" backend code respond correct JSON content (#26680) * Use line-height: normal by default (#26635) * Fix NPM packages name validation (#26595) * Rewrite the DiffFileTreeItem and fix misalignment (#26565) * Return empty when searching issues with no repos (#26545) * Explain SearchOptions and fix ToSearchOptions (#26542) * Add missing triggers to update issue indexer (#26539) * Handle base64 decoding correctly to avoid panic (#26483) * Avoiding accessing undefined mentionValues (#26461) * Fix incorrect redirection in new issue using references (#26440) * Fix the bug when getting files changed for `pull_request_target` event (#26320) * Remove IsWarning in tmpl (#26120) * Fix loading `LFS_JWT_SECRET` from wrong section (#26109) * Fixing redirection issue for logged-in users (#26105) * Improve "gitea doctor" sub-command and fix "help" commands (#26072) * Fix the truncate and alignment problem for some admin tables (#26042) * Update minimum password length requirements (#25946) * Do not "guess" the file encoding/BOM when using API to upload files (#25828) * Restructure issue list template, styles (#25750) * Fix `ref` for workflows triggered by `pull_request_target` (#25743) * Fix issues indexer document mapping (#25619) * Use JSON response for "user/logout" (#25522) * Fix migrate page layout on mobile (#25507) * Link to existing PR when trying to open a new PR on the same branches (#25494) * Do not publish docker release images on `-dev` tags (#25471) * Support `pull_request_target` event (#25229) * Modify the content format of the Feishu webhook (#25106) * ENHANCEMENTS * Render email addresses as such if followed by punctuation (#27987) (#27992) * Show error toast when file size exceeds the limits (#27985) (#27986) * Fix citation error when the file size is larger than 1024 bytes (#27958) (#27965) * Remove action runners on user deletion (#27902) (#27908) * Remove set tabindex on view issue (#27892) (#27896) * Reduce margin/padding on flex-list items and divider (#27872) (#27874) * Change katex limits (#27823) (#27868) * Clean up template locale usage (#27856) (#27857) * Add dedicated class for empty placeholders (#27788) (#27792) * Add gap between diff boxes (#27776) (#27781) * Fix incorrect "tab" parameter for repo search sub-template (#27755) (#27764) * Enable followCursor for language stats bar (#27713) (#27739) * Improve diff tree spacing (#27714) (#27719) * Feed UI Improvements (#27356) (#27717) * Improve feed icons and feed merge text color (#27498) (#27716) * [FIX] resolve confusing colors in languages stats by insert a gap (#27704) (#27715) * Add doctor dbconsistency fix to delete repos with no owner (#27290) (#27693) * Fix required checkboxes in issue forms (#27592) (#27692) * Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) (#27661) * Cleanup repo details icons/labels (#27644) (#27654) * Keep filter when showing unfiltered results on explore page (#27192) (#27589) * Show manual cron run's last time (#27544) (#27577) * Revert "Fix pr template (#27436)" (#27567) * Increase queue length (#27555) (#27562) * Avoid run change title process when the title is same (#27467) (#27558) * Remove max-width and add hide text overflow (#27359) (#27550) * Add hover background to wiki list page (#27507) (#27521) * Fix mermaid flowchart margin issue (#27503) (#27516) * Refactor system setting (#27000) (#27452) * Fix missing `ctx` in new_form.tmpl (#27434) (#27438) * Add Index to `action.user_id` (#27403) (#27425) * Don't use subselect in `DeleteIssuesByRepoID` (#27332) (#27408) * Add support for HEAD ref in /src/branch and /src/commit routes (#27384) (#27407) * Make Actions tasks/jobs timeouts configurable by the user (#27400) (#27402) * Hide archived labels when filtering by labels on the issue list (#27115) (#27381) * Highlight user details link (#26998) (#27376) * Add protected branch name description (#27257) (#27351) * Improve tree not found page (#26570) (#27346) * Add Index to `comment.dependent_issue_id` (#27325) (#27340) * Improve branch list UI (#27319) (#27324) * Fix divider in subscription page (#27298) (#27301) * Add missed return to actions view fetch (#27289) (#27293) * Backport ctx locale refactoring manually (#27231) (#27259) (#27260) * Disable `Test Delivery` and `Replay` webhook buttons when webhook is inactive (#27211) (#27253) * Use mask-based fade-out effect for `.new-menu` (#27181) (#27243) * Cleanup locale function usage (#27227) (#27240) * Fix z-index on markdown completion (#27237) (#27239) * Fix Fomantic UI dropdown icon bug when there is a search input in menu (#27225) (#27228) * Allow copying issue comment link on archived repos and when not logged in (#27193) (#27210) * Fix: text decorator on issue sidebar menu label (#27206) (#27209) * Fix dropdown icon position (#27175) (#27177) * Add index to `issue_user.issue_id` (#27154) (#27158) * Increase auth provider icon size on login page (#27122) * Remove a `gt-float-right` and some unnecessary helpers (#27110) * Change green buttons to primary color (#27099) * Use db.WithTx for AddTeamMember to avoid ctx abuse (#27095) * Use `print` instead of `printf` (#27093) * Remove the useless function `GetUserIssueStats` and move relevant tests to `indexer_test.go` (#27067) * Search branches (#27055) * Display all user types and org types on admin management UI (#27050) * Ui correction in mobile view nav bar left aligned items. (#27046) * Chroma color tweaks (#26978) * Move some functions to service layer (#26969) * Improve "language stats" UI (#26968) * Replace `util.SliceXxx` with `slices.Xxx` (#26958) * Refactor dashboard/feed.tmpl (#26956) * Move repository deletion to service layer (#26948) * Fix the missing repo count (#26942) * Improve hint when uploading a too large avatar (#26935) * Extract common code to new template (#26933) * Move createrepository from module to service layer (#26927) * Move notification interface to services layer (#26915) * Move feed notification service layer (#26908) * Move ui notification to service layer (#26907) * Move indexer notification to service layer (#26906) * Move mail notification logic to service layer (#26905) * Extract common code to new template (#26903) * Show queue's active worker number (#26896) * Fix media description render for orgmode (#26895) * Remove CSS `has` selector and improve various styles (#26891) * Relocate the `RSS user feed` button (#26882) * Refactor "shortsha" (#26877) * Refactor `og:description` to limit the max length (#26876) * Move web/api context related testing function into a separate package (#26859) * Redable error on S3 storage connection failure (#26856) * Improve opengraph previews (#26851) * Add more descriptive error on forgot password page (#26848) * Show always repo count in header (#26842) * Remove "TODO" tasks from CSS file (#26835) * Render code blocks in repo description (#26830) * Minor dashboard tweaks, fix flex-list margins (#26829) * Remove polluted `.ui.right` (#26825) * Display archived labels specially when listing labels (#26820) * Remove polluted ".ui.left" style (#26809) * Make it posible to customize nav text color via css var (#26807) * Refactor lfs requests (#26783) * Improve flex list item padding (#26779) * Remove fomantic `text` module (#26777) * Remove fomantic `item` module (#26775) * Remove redundant nil check in `WalkGitLog` (#26773) * Reduce some allocations in type conversion (#26772) * Refactor some CSS styles and simplify code (#26771) * Unify `border-radius` behavior (#26770) * Improve modal dialog UI (#26764) * Allow "latest" to be used in release vTag when downloading file (#26748) * Adding hint `Archived` to archive label. (#26741) * Move `modules/mirror` to `services` (#26737) * Add "dir=auto" for input/textarea elements by default (#26735) * Add auth-required to config.json for Cargo http registry (#26729) * Simplify helper CSS classes and avoid abuse (#26728) * Make web context initialize correctly for different cases (#26726) * Focus editor on "Write" tab click (#26714) * Remove incorrect CSS helper classes (#26712) * Fix review bar misalignment (#26711) * Add reverseproxy auth for API back with default disabled (#26703) * Add default label in branch select list (#26697) * Improve Image Diff UI (#26696) * Fixed text overflow in dropdown menu (#26694) * [Refactor] getIssueStatsChunk to move inner function into own one (#26671) * Remove fomantic loader module (#26670) * Add `member`, `collaborator`, `contributor`, and `first-time contributor` roles and tooltips (#26658) * Improve some flex layouts (#26649) * Improve the branch selector tab UI (#26631) * Improve show role (#26621) * Remove avatarHTML from template helpers (#26598) * Allow text selection in actions step header (#26588) * Improve translation of milestone filters (#26569) * Add optimistic lock to ActionRun table (#26563) * Update team invitation email link (#26550) * Differentiate better between user settings and admin settings (#26538) * Check disabled workflow when rerun jobs (#26535) * Improve deadline icon location in milestone list page (#26532) * Improve repo sub menu (#26531) * Fix the display of org level badges (#26504) * Rename `Sync2` -> `Sync` (#26479) * Fix stderr usages (#26477) * Remove fomantic transition module (#26469) * Refactor tests (#26464) * Refactor project templates (#26448) * Fall back to esbuild for css minify (#26445) * Always show usernames in reaction tooltips (#26444) * Use correct pull request commit link instead of a generic commit link (#26434) * Refactor "editorconfig" (#26391) * Make `user-content-* ` consistent with github (#26388) * Remove unnecessary template helper repoAvatar (#26387) * Remove unnecessary template helper DisableGravatar (#26386) * Use template context function for avatar rendering (#26385) * Rename code_langauge.go to code_language.go (#26377) * Use more `IssueList` instead of `[]*Issue` (#26369) * Do not highlight `#number` in documents (#26365) * Fix display problems of members and teams unit (#26363) * Fix 404 error when remove self from an organization (#26362) * Improve CLI and messages (#26341) * Refactor backend SVG package and add tests (#26335) * Add link to job details and tooltip to commit status in repo list in dashboard (#26326) * Use yellow if an approved review is stale (#26312) * Remove commit load branches and tags in wiki repo (#26304) * Add highlight to selected repos in milestone dashboard (#26300) * Delete `issue_service.CreateComment` (#26298) * Do not show Profile README when repository is private (#26295) * Tweak actions menu (#26278) * Start using template context function (#26254) * Use calendar icon for `Joined on...` in profiles (#26215) * Add 'Show on a map' button to Location in profile, fix layout (#26214) * Render plaintext task list items for markdown files (#26186) * Add tooltip to describe LFS table column and color `delete LFS file` button red (#26181) * Release attachments duplicated check (#26176) * De-emphasize issue sidebar buttons (#26171) * Fixing the align of commit stats in commit_page template. (#26161) * Allow editing push mirrors after creation (#26151) * Move web JSON functions to web context and simplify code (#26132) * Refactor improve NoBetterThan (#26126) * Improve clickable area in repo action view page (#26115) * Add context parameter to some database functions (#26055) * Docusaurus-ify (#26051) * Improve text for empty issue/pr description (#26047) * Categorize admin settings sidebar panel (#26030) * Remove redundant "RouteMethods" method (#26024) * Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) * Add a link to OpenID Issuer URL in WebFinger response (#26000) * Fix UI for release tag page / wiki page / subscription page (#25948) * Support copy protected branch from template repository (#25889) * Improve display of Labels/Projects/Assignees sort options (#25886) * Fix margin on the new/edit project page. (#25885) * Show image size on view page (#25884) * Remove ref name in PR commits page (#25876) * Allow the use of alternative net.Listener implementations by downstreams (#25855) * Refactor "Content" for file uploading (#25851) * Add error info if no user can fork the repo (#25820) * Show edit title button on commits tab of PR, too (#25791) * Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) * Don't stack PR tab menu on small screens (#25789) * Repository Archived text title center align (#25767) * Make route middleware/handler mockable (#25766) * Move issue filters to shared template (#25729) * Use frontend fetch for branch dropdown component (#25719) * Add open/closed field support for issue index (#25708) * Some less naked returns (#25682) * Fix inconsistent user profile layout across tabs (#25625) * Get latest commit statuses from database instead of git data on dashboard for repositories (#25605) * Adding branch-name copy to clipboard branches screen. (#25596) * Update emoji set to Unicode 15 (#25595) * Move some files under repo/setting (#25585) * Add custom ansi colors and CSS variables for them (#25546) * Add log line anchor for action logs (#25532) * Use flex instead of float for sort button and search input (#25519) * Update octicons and use `octicon-file-directory-symlink` (#25453) * Add toasts to UI (#25449) * Fine tune project board label colors and modal content background (#25419) * Import additional secrets via file uri (#25408) * Switch to ansi_up for ansi rendering in actions (#25401) * Store and use seconds for timeline time comments (#25392) * Support displaying diff stats in PR tab bar (#25387) * Use fetch form action for lock/unlock/pin/unpin on sidebar (#25380) * Refactor: TotalTimes return seconds (#25370) * Navbar styling rework (#25343) * Introduce shared template for search inputs (#25338) * Only show 'Manage Account Links' when necessary (#25311) * Improve 'Privacy' section in profile settings (#25309) * Substitute variables in path names of template repos too (#25294) * Fix tags line no margin see #25255 (#25280) * Use fetch to send requests to create issues/comments (#25258) * Change form actions to fetch for submit review box (#25219) * Improve AJAX link and modal confirm dialog (#25210) * Reduce unnecessary DB queries for Actions tasks (#25199) * Disable `Create column` button while the column name is empty (#25192) * Refactor indexer (#25174) * Adjust style for action run list (align icons, adjust padding) (#25170) * Remove duplicated functions when deleting a branch (#25128) * Make confusable character warning less jarring (#25069) * Highlight viewed files differently in the PR filetree (#24956) * Support changing labels of Actions runner without re-registration (#24806) * Fix duplicate Reviewed-by trailers (#24796) * Resolve issue with sort icons on admin/users and admin/runners (#24360) * Split lfs size from repository size (#22900) * Sync branches into databases (#22743) * Disable run user change in installation page (#22499) * Add merge files files to GetCommitFileStatus (#20515) * Show OpenID Connect and OAuth on signup page (#20242) * SECURITY * Dont leak private users via extensions (#28023) (#28029) * Expanded minimum RSA Keylength to 3072 (#26604) * TESTING * Add user secrets API integration tests (#27832) (#27852) * Add tests for db indexer in indexer_test.go (#27087) * Speed up TestEventSourceManagerRun (#26262) * Add unit test for user renaming (#26261) * Add some Wiki unit tests (#26260) * Improve unit test for caching (#26185) * Add unit test for `HashAvatar` (#25662) * TRANSLATION * Backport translations to v1.21 (#27899) * Fix issues in translation file (#27699) (#27737) * Add locale for deleted head branch (#26296) * Improve multiple strings in en-US locale (#26213) * Fix broken translations for package documantion (#25742) * Correct translation wrong format (#25643) * BUILD * Dockerfile small refactor (#27757) (#27826) * Fix build errors on BSD (in BSDMakefile) (#27594) (#27608) * Fully replace drone with actions (#27556) (#27575) * Enable markdownlint `no-duplicate-header` (#27500) (#27506) * Enable production source maps for index.js, fix CSS sourcemaps (#27291) (#27295) * Update snap package (#27021) * Bump go to 1.21 (#26608) * Bump xgo to go-1.21.x and node to 20 in release-version (#26589) * Add template linting via djlint (#25212) * DOCS * Change default size of issue/pr attachments and repo file (#27946) (#28017) * Remove `known issue` section in Gitea Actions Doc (#27930) (#27938) * Remove outdated paragraphs when comparing Gitea Actions to GitHub Actions (#27119) * Update brew installation documentation since gitea moved to brew core package (#27070) * Actions are no longer experimental, so enable them by default (#27054) * Add a documentation note for Windows Service (#26938) * Add sparse url in cargo package guide (#26937) * Update nginx recommendations (#26924) * Update backup instructions to align with archive structure (#26902) * Expanding documentation in queue.go (#26889) * Update info regarding internet connection for build (#26776) * Docs: template variables (#26547) * Update index doc (#26455) * Update zh-cn documentation (#26406) * Fix typos and grammar problems for actions documentation (#26328) * Update documentation for 1.21 actions (#26317) * Doc update swagger doc for POST /orgs/{org}/teams (#26155) * Doc sync authentication.md to zh-cn (#26117) * Doc guide the user to create the appropriate level runner (#26091) * Make organization redirect warning more clear (#26077) * Update blog links (#25843) * Fix default value for LocalURL (#25426) * Update `from-source.zh-cn.md` & `from-source.en-us.md` - Cross Compile Using Zig (#25194) * MISC * Replace deprecated `elliptic.Marshal` (#26800) * Add elapsed time on debug for slow git commands (#25642) ## [1.20.5](https://github.com/go-gitea/gitea/releases/tag/v1.20.5) - 2023-10-03 * ENHANCEMENTS * Fix z-index on markdown completion (#27237) (#27242 & #27238) * Use secure cookie for HTTPS sites (#26999) (#27013) * BUGFIXES * Fix git 2.11 error when checking IsEmpty (#27393) (#27396) * Allow get release download files and lfs files with oauth2 token format (#26430) (#27378) * Fix orphan check for deleted branch (#27310) (#27320) * Quote table `release` in sql queries (#27205) (#27219) * Fix release URL in webhooks (#27182) (#27184) * Fix successful return value for `SyncAndGetUserSpecificDiff` (#27152) (#27156) * fix pagination for followers and following (#27127) (#27138) * Fix issue templates when blank isses are disabled (#27061) (#27082) * Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017) * Fix INI parsing for value with trailing slash (#26995) (#27001) * Fix PushEvent NullPointerException jenkinsci/github-plugin (#27203) (#27249) * Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27167 & #27162) * Fix bug of review request number (#27406) (#27104) * TESTING * services/wiki: Close() after error handling (#27129) (#27137) * DOCS * Improve actions docs related to `pull_request` event (#27126) (#27145) * MISC * Add logs for data broken of comment review (#27326) (#27344) * Load reviewer before sending notification (#27063) (#27064) ## [1.20.4](https://github.com/go-gitea/gitea/releases/tag/v1.20.4) - 2023-09-08 * SECURITY * Check blocklist for emails when adding them to account (#26812) (#26831) * ENHANCEMENTS * Add `branch_filter` to hooks API endpoints (#26599) (#26632) * Fix incorrect "tabindex" attributes (#26733) (#26734) * Use line-height: normal by default (#26635) (#26708) * Fix unable to display individual-level project (#26198) (#26636) * BUGFIXES * Fix wrong review requested number (#26784) (#26880) * Avoid double-unescaping of form value (#26853) (#26863) * Redirect from `{repo}/issues/new` to `{repo}/issues/new/choose` when blank issues are disabled (#26813) (#26847) * Sync tags when adopting repos (#26816) (#26834) * Fix verifyCommits error when push a new branch (#26664) (#26810) * Include the GITHUB_TOKEN/GITEA_TOKEN secret for fork pull requests (#26759) (#26806) * Fix some slice append usages (#26778) (#26798) * Add fix incorrect can_create_org_repo for org owner team (#26683) (#26791) * Fix bug for ctx usage (#26763) * Make issue template field template access correct template data (#26698) (#26709) * Use correct minio error (#26634) (#26639) * Ignore the trailing slashes when comparing oauth2 redirect_uri (#26597) (#26618) * Set errwriter for urfave/cli v1 (#26616) * Fix reopen logic for agit flow pull request (#26399) (#26613) * Fix context filter has no effect in dashboard (#26695) (#26811) * Fix being unable to use a repo that prohibits accepting PRs as a PR source. (#26785) (#26790) * Fix Page Not Found error (#26768) ## [1.20.3](https://github.com/go-gitea/gitea/releases/tag/v1.20.3) - 2023-08-20 * BREAKING * Fix the wrong derive path (#26271) (#26318) * SECURITY * Fix API leaking Usermail if not logged in (#25097) (#26350) * FEATURES * Add ThreadID parameter for Telegram webhooks (#25996) (#26480) * ENHANCEMENTS * Add minimum polyfill to support "relative-time-element" in PaleMoon (#26575) (#26578) * Fix dark theme highlight for "NameNamespace" (#26519) (#26527) * Detect ogg mime-type as audio or video (#26494) (#26505) * Use `object-fit: contain` for oauth2 custom icons (#26493) (#26498) * Move dropzone progress bar to bottom to show filename when uploading (#26492) (#26497) * Remove last newline from config file (#26468) (#26471) * Minio: add missing region on client initialization (#26412) (#26438) * Add pull request review request webhook event (#26401) (#26407) * Fix text truncate (#26354) (#26384) * Fix incorrect color of selected assignees when create issue (#26324) (#26372) * Display human-readable text instead of cryptic filemodes (#26352) (#26358) * Hide `last indexed SHA` when a repo could not be indexed yet (#26340) (#26345) * Fix the topic validation rule and support dots (#26286) (#26303) * Fix due date rendering the wrong date in issue (#26268) (#26274) * Don't autosize textarea in diff view (#26233) (#26244) * Fix commit compare style (#26209) (#26226) * Warn instead of reporting an error when a webhook cannot be found (#26039) (#26211) * BUGFIXES * Use "input" event instead of "keyup" event for migration form (#26602) (#26605) * Do not use deprecated log config options by default (#26592) (#26600) * Fix "issueReposQueryPattern does not match query" (#26556) (#26564) * Sync repo's IsEmpty status correctly (#26517) (#26560) * Fix project filter bugs (#26490) (#26558) * Use `hidden` over `clip` for text truncation (#26520) (#26522) * Set "type=button" for editor's toolbar buttons (#26510) (#26518) * Fix NuGet search endpoints (#25613) (#26499) * Fix storage path logic especially for relative paths (#26441) (#26481) * Close stdout correctly for "git blame" (#26470) (#26473) * Check first if minio bucket exists before trying to create it (#26420) (#26465) * Avoiding accessing undefined tributeValues #26461 (#26462) * Call git.InitSimple for runRepoSyncReleases (#26396) (#26450) * Add transaction when creating pull request created dirty data (#26259) (#26437) * Fix wrong middleware sequence (#26428) (#26436) * Fix admin queue page title and fix CI failures (#26409) (#26421) * Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) (#26405) * Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) (#26368) * Fix incorrect CLI exit code and duplicate error message (#26346) (#26347) * Prevent newline errors with Debian packages (#26332) (#26342) * Fix bug with sqlite load read (#26305) (#26339) * Make git batch operations use parent context timeout instead of default timeout (#26325) (#26330) * Support getting changed files when commit ID is `EmptySHA` (#26290) (#26316) * Clarify the logger's MODE config option (#26267) (#26281) * Use shared template for webhook icons (#26242) (#26246) * Fix pull request check list is limited (#26179) (#26245) * Fix attachment clipboard copy on insecure origin (#26224) (#26231) * Fix access check for org-level project (#26182) (#26223) * MISC * Improve profile readme rendering (#25988) (#26453) * [docs] Add missing backtick in quickstart.zh-cn.md (#26349) (#26357) * Upgrade x/net to 0.13.0 (#26301) ## [1.20.2](https://github.com/go-gitea/gitea/releases/tag/v1.20.2) - 2023-07-29 * ENHANCEMENTS * Calculate MAX_WORKERS default value by CPU number (#26177) (#26183) * Display deprecated warning in admin panel pages as well as in the log file (#26094) (#26154) * BUGFIXES * Fix allowed user types setting problem (#26200) (#26206) * Fix handling of plenty Nuget package versions (#26075) (#26173) * Fix UI regression of asciinema player (#26159) (#26162) * Fix LFS object list style (#26133) (#26147) * Fix allowed user types setting problem (#26200) (#26206) * Prevent primary key update on migration (#26192) (#26199) * Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) * Fix bugs in LFS meta garbage collection (#26122) (#26157) * Update xorm version (#26128) (#26150) * Remove "misc" scope check from public API endpoints (#26134) (#26149) * Fix CLI allowing creation of access tokens with existing name (#26071) (#26144) * Fix incorrect router logger (#26137) (#26143) * Improve commit graph alignment and truncating (#26112) (#26127) * Avoid writing config file if not installed (#26107) (#26113) * Fix escape problems in the branch selector (#25875) (#26103) * Fix handling of Debian files with trailing slash (#26087) (#26098) * Fix Missing 404 swagger response docs for /admin/users/{username} (#26086) (#26089) * Use stderr as fallback if the log file can't be opened (#26074) (#26083) * Increase table cell horizontal padding (#26140) (#26142) * Fix wrong workflow status when rerun a job in an already finished workflow (#26119) (#26124) * Fix duplicated url prefix on issue context menu (#26066) (#26067) ## [1.20.1](https://github.com/go-gitea/gitea/releases/tag/v1.20.1) - 2023-07-22 * SECURITY * Disallow dangerous URL schemes (#25960) (#25964) * ENHANCEMENTS * Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) (#25972) * Make pending commit status yellow again (#25935) (#25968) * BUGFIXES * Fix version in rpm repodata/primary.xml.gz (#26009) (#26048) * Fix env config parsing for "GITEA____APP_NAME" (#26001) (#26013) * ParseScope with owner/repo always sets owner to zero (#25987) (#25989) * Fix SSPI auth panic (#25955) (#25969) * Avoid creating directories when loading config (#25944) (#25957) * Make environment-to-ini work with INSTALL_LOCK=true (#25926) (#25937) * Ignore `runs-on` with expressions when warning no matched runners (#25917) (#25933) * Avoid opening/closing PRs which are already merged (#25883) (#25903) * DOCS * RPM Registry: Show zypper commands for SUSE based distros as well (#25981) (#26020) * Correctly refer to dev tags as nightly in the docker docs (#26004) (#26019) * Update path related documents (#25417) (#25982) * MISC * Adding remaining enum for migration repo model type. (#26021) (#26034) * Fix the route for pull-request's authors (#26016) (#26018) * Fix commit status color on dashboard repolist (#25993) (#25998) * Avoid hard-coding height in language dropdown menu (#25986) (#25997) * Add shutting down notice (#25920) (#25922) * Fix incorrect milestone count when provide a keyword (#25880) (#25904) ## [1.20.0](https://github.com/go-gitea/gitea/releases/tag/v1.20.0) - 2023-07-16 * BREAKING * Fix WORK_DIR for docker (root) image (#25738) (#25811) * Restrict `[actions].DEFAULT_ACTIONS_URL` to only `github` or `self` (#25581) (#25604) * Refactor path & config system (#25330) (#25416) * Fix all possible setting error related storages and added some tests (#23911) (#25244) * Use a separate admin page to show global stats, remove `actions` stat (#25062) * Remove the service worker (#25010) * Remove meta tags `theme-color` and `default-theme` (#24960) * Use `[git.config]` for reflog cleaning up (#24958) * Allow all URL schemes in Markdown links by default (#24805) * Redesign Scoped Access Tokens (#24767) * Fix team members API endpoint pagination (#24754) * Rewrite logger system (#24726) * Increase default LFS auth timeout from 20m to 24h (#24628) * Rewrite queue (#24505) * Remove unused setting `time.FORMAT` (#24430) * Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270) * Correct the access log format (#24085) * Reserve ".png" suffix for user/org names (#23992) * Prefer native parser for SSH public key parsing (#23798) * Editor preview support for external renderers (#23333) * Add Gitea Profile Readmes (#23260) * Refactor `ctx` in templates (#23105) * SECURITY * Test if container blob is accessible before mounting (#22759) (#25784) * Set type="password" on all auth_token fields (#22175) * FEATURES * Add button on diff header to copy file name, misc diff header tweaks (#24986) * API endpoint for changing/creating/deleting multiple files (#24887) * Support changing git config through `app.ini`, use `diff.algorithm=histogram` by default (#24860) * Add up and down arrows to selected lookup repositories (#24727) * Add Go package registry (#24687) * Add status indicator on main home screen for each repo (#24638) * Support for status check pattern (#24633) * Implement Cargo HTTP index (#24452) * Add Debian package registry (#24426) * Add the ability to pin Issues (#24406) * Add follow organization and fix the logic of following page (#24345) * Allow `webp` images as avatars (#24248) * Support upload `outputs` and use `needs` context on Actions (#24230) * Allow adding new files to an empty repo (#24164) * Make wiki title supports dashes and improve wiki name related features (#24143) * Add monospace toggle button to textarea (#24034) * Use auto-updating, natively hoverable, localized time elements (#23988) * Add ntlm authentication support for mail (#23811) * Add CLI command to register runner tokens (#23762) * Add Alpine package registry (#23714) * Expand/Collapse all changed files (#23639) * Add unset default project column (#23531) * Add activity feeds API (#23494) * Add RPM registry (#23380) * Add meilisearch support (#23136) * Add API for License templates (#23009) * Add admin API email endpoints (#22792) * Add user rename endpoint to admin api (#22789) * Add API for gitignore templates (#22783) * Implement actions artifacts (#22738) * Add RSS Feeds for branches and files (#22719) * Display when a repo was archived (#22664) * Add Swift package registry (#22404) * Add CRAN package registry (#22331) * Add user webhooks (#21563) * Implement systemd-notify protocol (#21151) * Implement Issue Config (#20956) * Add API to manage issue dependencies (#17935) * API * Use correct response code in push mirror creation response in v1_json.tmpl (#25476) (#25571) * Fix `Permission` in API returned repository struct (#25388) (#25441) * Add API for Label templates (#24602) * Filters for GetAllCommits (#24568) * Add ability to specify '--not' from GetAllCommits (#24409) * Support uploading file to empty repo by API (#24357) * Add absent repounits to create/edit repo API (#23500) * Add login name and source id for admin user searching API (#23376) * Create a branch directly from commit on the create branch API (#22956) * ENHANCEMENTS * Make `add line comment` buttons focusable (#25894) (#25896) * Always pass 6-digit hex color to monaco (#25780) (#25782) * Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) * Hide `add file` button for pull mirrors (#25748) (#25751) * Allow/fix review (approve/reject) of empty PRs (#25690) (#25732) * Fix tags header and pretty format numbers (#25624) (#25694) * Actions list enhancements (#25601) (#25678) * Fix show more for image on diff page (#25672) (#25673) * Prevent SVG shrinking (#25652) (#25669) * Fix UI misalignment on user setting page (#25629) (#25656) * Use css on labels (#25626) (#25636) * Read-only checkboxes don't appear and don't entirely act the way one might expect (#25573) (#25602) * Redirect to package after version deletion (#25594) (#25599) * Reduce table padding globally (#25568) (#25577) * Change `Regenerate Secret` button display (#25534) (#25541) * Fix rerun icon on action view component (#25531) (#25536) * Move some regexp out of functions (#25430) (#25445) * Diff page enhancements (#25398) (#25437) * Various UI fixes (#25264) (#25431) * Fix label list divider (#25312) (#25372) * Fix UI on mobile view (#25315) (#25340) * When viewing a file, hide the add button (#25320) (#25339) * Show if File is Executable (#25287) (#25300) * Fix edit OAuth application width (#25262) (#25263) * Use flex to align SVG and text (#25163) (#25260) * Revert overflow: overlay (revert #21850) (#25231) (#25239) * Use inline SVG for built-in OAuth providers (#25171) (#25234) * Change access token UI to select dropdowns (#25109) (#25230) * Remove hacky patch for "safari emoji glitch fix" (#25208) (#25211) * Minor arc-green color tweaks (#25175) (#25205) * Button and color enhancements (#24989) (#25176) * Fix mobile navbar and misc cleanups (#25134) (#25169) * Modify OAuth login ui and fix display name, iconurl related logic (#25030) (#25161) * Improve notification icon and navbar (#25111) (#25124) * Add details summary for vertical menus in settings to allow toggling (#25098) * Don't display `select all issues` checkbox when no issues are available (#25086) * Use RepositoryList instead of []*Repository (#25074) * Add ability to set multiple redirect URIs in OAuth application UI (#25072) * Use git command instead of the ini package to remove the `origin` remote (#25066) * Remove cancel button from branch protection form (#25063) * Show file tree by default (#25052) * Add Progressbar to Milestone Page (#25050) * Minor UI improvements: logo alignment, auth map editor, auth name display (#25043) * Allow for PKCE flow without client secret + add docs (#25033) * Refactor INI package (first step) (#25024) * Various style fixes (#25008) * Fix delete user account modal (#25004) * Refactor diffFileInfo / DiffTreeStore (#24998) * Add user level action runners (#24995) * Rename NotifyPullReviewRequest to NotifyPullRequestReviewRequest (#24988) * Add step start time to `ViewStepLog` (#24980) * Add dark mode to API Docs (#24971) * Display file mode for new file and file mode changes (#24966) * Make the 500 page load themes (#24953) * Show `bot` label next to username when rendering author link if the user is a bot (#24943) * Repo list improvements, fix bold helper classes (#24935) * Improve queue and logger context (#24924) * Improve RunMode / dev mode (#24886) * Improve some Forms (#24878) * Add show timestamp/seconds and fullscreen options to action page (#24876) * Fix double border and adjust width for user profile page (#24870) * Improve Actions CSS (#24864) * Fix `@font-face` overrides (#24855) * Remove `In your repositories` link in milestones dashboard (#24853) * Fix missing yes/no in delete time log modal (#24851) * Show new pull request button also on subdirectories and files (#24842) * Make environment-to-ini support loading key value from file (#24832) * Support wildcard in email domain allow/block list (#24831) * Use `CommentList` instead of `[]*Comment` (#24828) * Add RTL rendering support to Markdown (#24816) * Rework notifications list (#24812) * Mute repo names in dashboard repo list (#24811) * Fix max width and margin of comment box on conversation page (#24809) * Some refactors for issues stats (#24793) * Rework label colors (#24790) * Fix OAuth login loading state (#24788) * Remove duplicated issues options and some more refactors (#24787) * Decouple the different contexts from each other (#24786) * Remove background on user dashboard filter bar (#24779) * Improve and fix bugs surrounding reactions (#24760) * Make the color of zero-contribution-squares in the activity heatmap more subtle (#24758) * Fix WEBP image copying (#24743) * Rework OAuth login buttons, swap github logo to monocolor (#24740) * Consolidate the two review boxes into one (#24738) * Unification of registration fields order (#24737) * Refactor Pull Mirror and fix out-of-sync bugs (#24732) * Improvements for action detail page (#24718) * Fix flash of unstyled content in action view page (#24712) * Don't filter action runs based on state (#24711) * Optimize actions list by removing an unnecessary `git` call (#24710) * Support no label/assignee filter and batch clearing labels/assignees (#24707) * Add icon support for safari (#24697) * Use standard HTTP library to serve files (#24693) * Improve button-ghost, remove tertiary button (#24692) * Only hide tooltip tippy instances (#24688) * Support migrating storage for actions log via command line (#24679) * Remove highlight in repo list (#24675) * Add markdown preview to Submit Review Textarea (#24672) * Update pin and add pin-slash (#24669) * Improve empty notifications display (#24668) * Support SSH for go get (#24664) * Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) * Only show one tippy at a time (#24648) * Notification list enhancements, fix striped tables on dark theme (#24639) * Improve queue & process & stacktrace (#24636) * Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) * Remove fluid on compare diff page (#24627) * Add a tooltip to the job rerun button (#24617) * Attach a tooltip to the action status icon (#24614) * Make the actions control button look like an actual button (#24611) * Remove unnecessary code (#24610) * Make repo migration cancelable and fix various bugs (#24605) * Improve updating Actions tasks (#24600) * Attach a tooltip to the action control button (#24595) * Make repository response support HTTP range request (#24592) * Improve Gitea's web context, decouple "issue template" code into service package (#24590) * Modify luminance calculation and extract related functions into single files (#24586) * Simplify template helper functions (#24570) * Split "modules/context.go" to separate files (#24569) * Add org visibility label to non-organization's dashboard (#24558) * Update LDAP filters to include both username and email address (#24547) * Review fixes and enhancements (#24526) * Display warning when user try to rename default branch (#24512) * Fix color for transfer related buttons when having no permission to act (#24510) * Rework button coloring, add focus and active colors (#24507) * New webhook trigger for receiving Pull Request review requests (#24481) * Add goto issue id function (#24479) * Fix incorrect webhook time and use relative-time to display it (#24477) * RSS icon fixes (#24476) * Replace `N/A` with `-` everywhere (#24474) * Pass 'not' to commit count (#24473) * Enhance stylelint rule config, remove dead CSS (#24472) * Remove `font-awesome` and fomantic `icon` module (#24471) * Improve "new-menu" (#24465) * Remove fomantic breadcrumb module (#24463) * Improve template system and panic recovery (#24461) * Make Issue/PR/projects more compact, misc CSS tweaks (#24459) * Replace remaining fontawesome dropdown icons with SVG (#24455) * Remove all direct references to font-awesome (#24448) * Move links out of translation (#24446) * Add `ui-monospace` and `SF Mono` to `--fonts-monospace` (#24442) * Hide 'Mirror Settings' when unneeded, improve hints (#24433) * Add "Updated" column for admin repositories list (#24429) * Improve issue list filter (#24425) * Rework header bar on issue, pull requests and milestone (#24420) * Improve template helper (#24417) * Make repo size style matches others (commits/branches/tags) (#24408) * Support markdown editor for issue template (#24400) * Improve commit date in commit graph (#24399) * Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) * Merge setting.InitXXX into one function with options (#24389) * Move `Rename branch` from repo settings page to the page of branches list (#24380) * Improve protected branch setting page (#24379) * Display 'Unknown' when runner.version is empty (#24378) * Display owner of a runner as a tooltip instead of static text (#24377) * Fix incorrect last online time in runner_edit.tmpl (#24376) * Fix unclear `IsRepositoryExist` logic (#24374) * Add custom helm repo name generated from url (#24363) * Replace placeholders in licenses (#24354) * Add rerun workflow button and refactor to use SVG octicons (#24350) * Fix runner button height (#24338) * Restore bold on repolist (#24337) * Improve RSS (#24335) * Refactor "route" related code, fix Safari cookie bug (#24330) * Alert error message if open dependencies are included in the issues that try to batch close (#24329) * Add missed column title in runner management page (#24328) * Automatically select the org when click create repo from org dashboard (#24325) * Modify width of ui container, fine tune css for settings pages and org header (#24315) * Fix config list overflow and layout (#24312) * Improve some modal action buttons (#24289) * Move code from module to service (#24287) * Sort users and orgs on explore by recency by default (#24279) * Allow using localized absolute date times within phrases with place holders and localize issue due date events (#24275) * Show workflow config error on file view also (#24267) * Improve template helper functions: string/slice (#24266) * Use more specific test methods (#24265) * Add `DumpVar` helper function to help debugging templates (#24262) * Limit avatar upload to valid image files (#24258) * Improve emoji and mention matching (#24255) * Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) * Refactor config provider (#24245) * Improve test logger (#24235) * Default show closed actions list if all actions was closed (#24234) * Add missing badges in user profile for /projects and /packages (#24232) * Add repository counter badge to repository tab (#24205) * Move secrets and runners settings to actions settings (#24200) * Require at least one unit to be enabled (#24189) * Use same action status svg icons on actions list as on action page (#24178) * Use secondary pointing menu for tabs on user/organization home page (#24162) * Improve Wiki TOC (#24137) * Refactor locale number (#24134) * Localize activity heatmap (except tooltip) (#24131) * Fix duplicate modals when clicking on "remove all" repository button (#24129) * Add runner check in repo action page (#24124) * Support triggering workflows by wiki related events (#24119) * Refactor cookie (#24107) * Remove untranslatable `on_date` key (#24106) * Refactor delete_modal_actions template and use it for project column related actions (#24097) * Improve git log for debugging (#24095) * Add option to search for users is active join a team (#24093) * Add PDF rendering via PDFObject (#24086) * Refactor web route (#24080) * Make HTML template functions support context (#24056) * Refactor rename user and rename organization (#24052) * Localize milestone related time strings (#24051) * Expand selected file when clicking file tree (#24041) * Add popup to hashed comments/pull requests/issues in file editing/adding preview tab (#24040) * Add placeholder and aria attributes to release and wiki edit page (#24031) * Add new user types `reserved`, `bot`, and `remote` (#24026) * Allow adding SSH keys even if SSH server is disabled (#24025) * Use a general approach to access custom/static/builtin assets (#24022) * Update github.com/google/go-github to v52 (#24004) * Replace tribute with text-expander-element for textarea (#23985) * Group template helper functions, remove `Printf`, improve template error messages (#23982) * Drop "unrolled/render" package (#23965) * Add job.duration in web ui (#23963) * Tweak pull request branch delete ui (#23951) * Merge template functions "dict/Dict/mergeinto" (#23932) * Use a general Eval function for expressions in templates. (#23927) * Clean template/helper.go (#23922) * Actions: Use default branch as ref when a branch/tag delete occurs (#23910) * Add tooltips for MD editor buttons and add `muted` class for buttons (#23896) * Improve markdown editor: width, height, preferred (#23895) * Make Release Download URLs predictable (#23891) * Remove fomantic ".link" selector and styles (#23888) * Added close/open button to details page of milestone (#23877) * Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) * Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) * Make first section on home page full width (#23854) * Use different SVG for pending and running actions (#23836) * Display image size for multiarch container images (#23821) * Improve action log display with control chars (#23820) * Fix dropdown direction behavior (#23806) * Fix incorrect/Improve error handle in edit user page (#23805) * Use clippie module to copy to clipboard (#23801) * Make minio package support legacy MD5 checksum (#23768) * Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766) * Refactor docs (#23752) * Fix markup background, improve wiki rendering (#23750) * Make label templates have consistent behavior and priority (#23749) * Improve LoadUnitConfig to handle invalid or duplicate units (#23736) * Append `(comment)` when a link points at a comment rather than the whole issue (#23734) * Clean some legacy files and move some build files (#23699) * Refactor repo commit list (#23690) * Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) * Add aria attributes to interactive time tooltips. (#23661) * Fix long project name display in issue list and in related dropdown (#23653) * Use data-tooltip-content for tippy tooltip (#23649) * Fix new issue/pull request btn margin when it is next to sort (#23647) * Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) * Allow new file and edit file preview if it has editable extension (#23624) * Replace a few fontawesome icons with svg (#23602) * `Publish Review` buttons should indicate why they are disabled (#23598) * Convert issue list checkboxes to native (#23596) * Set opaque background on markup and images (#23578) * Use a general approach to show tooltip, fix temporary tooltip bug (#23574) * Improve `` to make it output `svg` node and optimize performance (#23570) * Enable color for consistency checks diffs (#23563) * Fix dropdown icon misalignment when using fomantic icon (#23558) * Decouple the issue-template code from comment_tab.tmpl (#23556) * Remove `id="comment-form"` dead code, fix tag (#23555) * Diff improvements (#23553) * Sort Python package descriptors by version to mimic PyPI format (#23550) * Use a general approch to improve a11y for all checkboxes and dropdowns. (#23542) * Fix long name ui issues and label ui issue (#23541) * Return `repository` in npm package metadata endpoint (#23539) * Use `project.IconName` instead of repeated unreadable `if-else` chains (#23538) * Remove stars in dashboard repo list (#23530) * Update mini-css-extract-plugin, remove postcss (#23520) * Change `Close` to either `Close issue` or `Close pull request` (#23506) * Fix theme-auto loading (#23504) * Fix tags sort by creation time (descending) on branch/tag dropdowns (#23491) * Display the version of runner in the runner list (#23490) * Replace Less with CSS (#23481) * Fix `.locale.Tr` function not found in delete modal (#23468) * Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) * Add project type descriptions in issue badge and improve project icons (#23437) * Use context for `RepositoryList.LoadAttributes` (#23435) * Refactor branch/tag selector to Vue SFC (#23421) * Keep (add if not existing) xmlns attribute for generated SVG images (#23410) * Refactor dashboard repo list to Vue SFC (#23405) * Add workflow error notification in ui (#23404) * Refactor branch/tag selector dropdown (first step) (#23394) * Reduce duplicate and useless code in options (#23369) * Convert `
` to `