-
v1.21.11acdcfcc6 · ·
* SECURITY * Use go1.21.9 to include Golang security fix * Fix possible renderer security problem (#30136) (#30315) * 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) * Performance optimization for git push (#30104) * Fix duplicate migrated milestones (#30102) (#30105) * Fix panic for fixBrokenRepoUnits16961 (#30068) (#30100) * Fix incorrect SVGs (#30087) * Fix create commit status (#30225) (#30340) * Performance optimization for git push (#30104) (#30354) * 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)
-
v1.21.10d6b0d0e9 · ·
v1.21.10 * 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)
-
v1.21.9e1e88f9a · ·
* 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)
-
v1.21.81e4d5a55 · ·
* 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)
-
v1.21.778cb09de · ·
* 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)
-
v1.21.6e20023af · ·
v1.21.6 * SECURITY * Fix XSS vulnerabilities (#29336) * Use general token signing secret (#29205) (#29325) * API * Refactor issue template parsing and fix API endpoint (#29069) (#29140) * Fix swift packages not resolving (#29095) (#29102) * 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) * BUGFIXES * 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: Elasticsearch: 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) * DOCS * Rm outdated docs from some languages (#27530) (#29208) * MISC * Implement some action notifier functions (#29173) (#29308) * Fix gitea-action user avatar broken on edited menu (#29190) (#29307) * Disallow merge when required checked are missing (#29143) (#29268) * Convert visibility to number (#29226) (#29244) * Load outdated comments when (un)resolving conversation on PR timeline (#29203) (#29221) * Fix incorrect link to swift doc and swift package-registry login command (#29096) (#29103) * Fix typos in the documentation (#29048) (#29056) * Explained where create issue/PR template (#29035)
-
v1.21.52588d73e · ·
* 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)
-
v1.21.4f4923854 · ·
* 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)
-
v1.21.32360c7ec · ·
* SECURITY * Update golang.org/x/crypto (#28519) * API * Fix merging artifact chunks error when minio storage basepath is set (#28555) (#28568) * 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) * Initalize 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 comparsion 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)
-
v1.21.296d3fcf1 · ·
* 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)
-
v1.20.6f831540e · ·
* SECURITY * Fix comment permissions (#28213) (#28217) * Dont leak private users via extensions (#28023) (#28028) * Unify two factor check (#27915) (#27939) * Support allowed hosts for webhook to work with proxy (#27655) (#27674) * BUGFIXES * Fix no ActionTaskOutput table waring (#28149) (#28151) * Restricted users only see repos in orgs which their team was assigned to (#28025) (#28050) * Fix DownloadFunc when migrating releases (#27887) (#27889) * Fix http protocol auth (#27875) (#27878) * Revert "fix orphan check for deleted branch (#27310) (#27320)" (#27763) * Fix label render containing invalid HTML (#27752) (#27761) * Fix poster is not loaded in get default merge message (#27657) (#27665) * Fix 404 when deleting Docker package with an internal version (#27615) (#27629) * Fix attachment download bug (#27486) (#27570) * When comparing with an non-exist repository, return 404 but 500 (#27437) (#27441) * API * Fix package webhook (#27839) (#27854) * Fix org team endpoint (#27721) (#27729) * ENHANCEMENTS * Render email addresses as such if followed by punctuation (#27987) (#27991) * Fix mermaid flowchart margin issue (#27503) (#27517) * Fix panic in storageHandler (#27446) (#27478) * DOCS * Update agit-support.en-us.md (#27652) * MISC * Fix wrong xorm Delete usage(backport for 1.20) (#28003) * Remove duplicated button in Install web page (#27941) * Avoid run change title process when the title is same (#27467) (#27557)
-
v1.21.1196100a0 · ·
* 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)
-
v1.21.0bc6477b3 · ·
v1.21.0 * 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 grammer 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)
-
v1.21.0-rc26cef7a76 · ·
* 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) * Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413) * Set SSH_AUTHORIZED_KEYS_BACKUP to false (#25412) * SECURITY * Support allowed hosts for webhook to work with proxy (#27655) (#27675) * Expanded minimum RSA Keylength to 3072 (#26604) * 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 * Api: GetPullRequestCommits: return file list (#27483) (#27539) * Don't let API add 2 exclusive labels from same scope (#27433) (#27460) * More `db.DefaultContext` refactor (#27265) (#27347) * Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) (#27304) * Another round of `db.DefaultContext` refactor (#27103) (#27262) * 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) * Next round of `db.DefaultContext` refactor (#27089) * Fix token endpoints ignore specified account (#27080) * Reduce usage of `db.DefaultContext` (#27073) * 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) * ENHANCEMENTS * 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) * Revert "Fix pr template (#27436)" (#27567) * Increase queue length (#27555) (#27562) * 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) * Fix panic in storageHandler (#27446) (#27479) * Refactor system setting (#27000) (#27452) * Fix pr template (#27436) (#27440) * Fix missing `ctx` in new_form.tmpl (#27434) (#27438) * 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) * Fix missing ctx for GetRepoLink in dashboard (#27372) (#27375) * Absolute positioned checkboxes overlay floated elements (#26870) (#27366) * Improve tree not found page (#26570) (#27346) * Improve issue history dialog and make poster can delete their own history (#27323) (#27327) * Improve branch list UI (#27319) (#27324) * Fix protected branch icon location (#26576) (#27317) * Fix divider in subscription page (#27298) (#27301) * Fix some animation bugs (#27287) (#27294) * Add missed return to actions view fetch (#27289) (#27293) * Fix incorrect change from #27231 (#27275) (#27282) * Backport ctx locale refactoring manually (#27231) (#27259) (#27260) * Disable `Test Delivery` and `Replay` webhook buttons when webhook is inactive (#27211) (#27253) * Add missing public user visibility in user details page (#27246) (#27250) * 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 EOL handling in web editor (#27141) (#27234) * Fix issues on action runners page (#27226) (#27233) * 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) * Fix the variable regexp pattern on web page (#27161) (#27164) * 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) * More refactoring of `db.DefaultContext` (#27083) * 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) * Extract common code to new template (#26933) * Move createrepository from module to service layer (#26927) * Move notification interface to services layer (#26915) * Fix the secret regexp pattern on web page (#26910) * 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) * Refactor "shortsha" (#26877) * Refactor `og:description` to limit the max length (#26876) * Move web/api context related testing function into a separate package (#26859) * S3: log human readable error on 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) * 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) * Use line-height: normal by default (#26635) * 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) * Rewrite the DiffFileTreeItem and fix misalignment (#26565) * 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) * Use correct pull request commit link instead of a generic commit link (#26434) * Refactor "editorconfig" (#26391) * 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) * 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) * 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) * Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076) * Improve "gitea doctor" sub-command and fix "help" commands (#26072) * Add context parameter to some database functions (#26055) * Docusaurus-ify (#26051) * Improve text for empty issue/pr description (#26047) * Fix the truncate and alignment problem for some admin tables (#26042) * 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) * Replace gogs/cron with go-co-op/gocron (#25977) * Fix UI for release tag page / wiki page / subscription page (#25948) * Support copy protected branch from template repository (#25889) * Fix margin on the new/edit project page. (#25885) * Show image size on view page (#25884) * Allow the use of alternative net.Listener implementations by downstreams (#25855) * Refactor "Content" for file uploading (#25851) * 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) * Restructure issue list template, styles (#25750) * Move issue filters to shared template (#25729) * Add open/closed field support for issue index (#25708) * Some less naked returns (#25682) * Fix inconsistent user profile layout across tabs (#25625) * 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) * Fix migrate page layout on mobile (#25507) * 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: TotalTimest return seconds (#25370) * Navbar styling rework (#25343) * Introduce shared template for search inputs (#25338) * Fix tags line no margin see #25255 (#25280) * Change form actions to fetch for submit review box (#25219) * Improve AJAX link and modal confirm dialog (#25210) * 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) * 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) * BUGFIXES * Upgrade xorm (#27673) (#27691) * Always delete existing scheduled action tasks (#27662) (#27688) * 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) * Fix data-race bug when accessing task.LastRun (#27584) (#27586) * Fix attachment download bug (#27486) (#27571) * Improve dropdown's behavior when there is a search input in menu (#27526) (#27534) * When comparing with an non-exist repository, return 404 but 500 (#27437) (#27442) * Fix git 2.11 error when checking IsEmpty (#27393) (#27397) * Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) * Introduce fixes and more rigorous tests for 'Show on a map' feature (#26803) (#27365) * Fix repo count in org action settings (#27245) (#27353) * 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) * Fix orphan check for deleted branch (#27310) (#27321) * Bump bleve (#27300) (#27305) * Fix yaml test (#27297) (#27303) * 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: 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) * Allow users with write permissions for issues to add attachments with API (#26837) * Make "link-action" backend code respond correct JSON content (#26680) * Fix NPM packages name validation (#26595) * 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) * Update minimum password length requirements (#25946) * Do not "guess" the file encoding/BOM when using API to upload files (#25828) * Fix issues indexer document mapping (#25619) * Use JSON response for "user/logout" (#25522) * 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) * TESTING * Add tests for db indexer in indexer_test.go (#27087) * Speed up TestEventSourceManagerRun (#26262) * Add unit test for user renaming (#26261) * Improve unit test for caching (#26185) * BUILD * Fix build errors on BSD (in BSDMakefile) (#27594) (#27608) * Fully replace drone with actions (#27556) (#27575) * Update JS and PY dependencies (#27501) (#27518) * Enable markdownlint `no-duplicate-header` (#27500) (#27506) * Enable production source maps for index.js, fix CSS sourcemaps (#27291) (#27295) * Update JS and Poetry dependencies and eslint (#27200) (#27201) * Use Go 1.21 and update dependencies (#26878) * 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 * Add 1.20.5 changelog (#27404) (#27412) * 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 v1.20.4 changelog (#26974) * 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) * Update info regarding internet connection for build (#26776) * Docs: template variables (#26547) * Update index doc (#26455) * Update zh-cn documentation (#26406) * Fix typos and grammer 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 * Upgrade go dependencies (#27599) (#27609) * Don't show Link to TOTP if not set up (#27585) (#27588) * Show manual cron run's last time (#27544) (#27577) * Avoid run change title process when the title is same (#27467) (#27558) * Respect SSH.KeygenPath option when calculating ssh key fingerprints (#27536) (#27551) * Restore warning commit status (#27504) (#27529) * Add Index to `action.user_id` (#27403) (#27425) * Add protected branch name description (#27257) (#27351) * Add logs for data broken of comment review (#27326) (#27345) * Add Index to `comment.dependent_issue_id` (#27325) (#27340) * Update go-enry to 2.8.5 (#27215) (#27217) * Add index to `issue_user.issue_id` (#27154) (#27158) * Upgrading the actions/checkout@4 (#27096) * Drop Node.js 16 and update js dependencies (#27094) * Apply lng2020 to maintainers (#27068) * Update snap package (#27021) * Fix: typo (#27009) * Improve hint when uploading a too large avatar (#26935) * Add @chenrui333 as maintainer (#26917) * Improve DeleteByID (#26904) * Expanding documentation in queue.go (#26889) * Relocate the `RSS user feed` button (#26882) * Replace deprecated `elliptic.Marshal` (#26800) * Updating the js libraries to latest version. (#26795) * Use Go 1.21 for golangci-lint (#26786) * Add auth-required to config.json for Cargo http registry (#26729) * Update JS dependencies (#26586) * Always show usernames in reaction tooltips (#26444) * Make `user-content-* ` consistent with github (#26388) * 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) * Use yellow if an approved review is stale (#26312) * Add locale for deleted head branch (#26296) * Remove nonsense `<a>` for commit status check icon (#26287) * Add some Wiki unit tests (#26260) * Improve multiple strings in en-US locale (#26213) * Fix typo in metadata (#26207) * Improve clickable area in repo action view page (#26115) * Fix minor capitalization error in string (#26100) * Remove nfnt/resize and oliamb/cutter (#25999) * Bump github.com/golang-jwt/jwt to v5 (#25975) * Fix "Flash" message usage (#25895) * Improve display of Labels/Projects/Assignees sort options (#25886) * Remove ref name in PR commits page (#25876) * Add error info if no user can fork the repo (#25820) * Upgrade go dependencies (#25819) * Fix `ref` for workflows triggered by `pull_request_target` (#25743) * Fix broken translations for package documantion (#25742) * Use frontend fetch for branch dropdown component (#25719) * Add unit test for `HashAvatar` (#25662) * Correct translation wrong format (#25643) * Add elapsed time on debug for slow git commands (#25642) * Get latest commit statuses from database instead of git data on dashboard for repositories (#25605) * Adding branch-name copy to clipboard branches screen. (#25596) * 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) * Use fetch to send requests to create issues/comments (#25258) * Reduce unnecessary DB queries for Actions tasks (#25199) * Modify the content format of the Feishu webhook (#25106) * Support changing labels of Actions runner without re-registration (#24806)
-
v1.20.54126aad4 · ·
* 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)
-
v1.21.0-rc0707c69f3 · ·
* 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) * Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413) * Set SSH_AUTHORIZED_KEYS_BACKUP to false (#25412) * SECURITY * Expanded minimum RSA Keylength to 3072 (#26604) * 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) * Support configuration variables on Gitea Actions (#24724) * Support downloading raw task logs (#24451) * API * Allow empty Conan files (#27092) * Next round of `db.DefaultContext` refactor (#27089) * Fix token endpoints ignore specified account (#27080) * Reduce usage of `db.DefaultContext` (#27073) * 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) * ENHANCEMENTS * 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) * More refactoring of `db.DefaultContext` (#27083) * 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) * Extract common code to new template (#26933) * Move createrepository from module to service layer (#26927) * Move notification interface to services layer (#26915) * Fix the secret regexp pattern on web page (#26910) * 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) * Refactor "shortsha" (#26877) * Refactor `og:description` to limit the max length (#26876) * Move web/api context related testing function into a separate package (#26859) * S3: log human readable error on 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) * 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) * Use line-height: normal by default (#26635) * 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) * Rewrite the DiffFileTreeItem and fix misalignment (#26565) * 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) * Use correct pull request commit link instead of a generic commit link (#26434) * Refactor "editorconfig" (#26391) * 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) * 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) * 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) * Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076) * Improve "gitea doctor" sub-command and fix "help" commands (#26072) * Add context parameter to some database functions (#26055) * Docusaurus-ify (#26051) * Improve text for empty issue/pr description (#26047) * Fix the truncate and alignment problem for some admin tables (#26042) * 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) * Replace gogs/cron with go-co-op/gocron (#25977) * Fix UI for release tag page / wiki page / subscription page (#25948) * Support copy protected branch from template repository (#25889) * Fix margin on the new/edit project page. (#25885) * Show image size on view page (#25884) * Allow the use of alternative net.Listener implementations by downstreams (#25855) * Refactor "Content" for file uploading (#25851) * 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) * Restructure issue list template, styles (#25750) * Move issue filters to shared template (#25729) * Add open/closed field support for issue index (#25708) * Some less naked returns (#25682) * Fix inconsistent user profile layout across tabs (#25625) * 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) * Fix migrate page layout on mobile (#25507) * 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: TotalTimest return seconds (#25370) * Navbar styling rework (#25343) * Introduce shared template for search inputs (#25338) * Fix tags line no margin see #25255 (#25280) * Change form actions to fetch for submit review box (#25219) * Improve AJAX link and modal confirm dialog (#25210) * 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) * 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) * BUGFIXES * 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) * Allow users with write permissions for issues to add attachments with API (#26837) * Make "link-action" backend code respond correct JSON content (#26680) * Fix NPM packages name validation (#26595) * 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) * Update minimum password length requirements (#25946) * Do not "guess" the file encoding/BOM when using API to upload files (#25828) * Fix issues indexer document mapping (#25619) * Use JSON response for "user/logout" (#25522) * 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) * TESTING * Add tests for db indexer in indexer_test.go (#27087) * Speed up TestEventSourceManagerRun (#26262) * Add unit test for user renaming (#26261) * Improve unit test for caching (#26185) * TRANSLATION * 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 * Use Go 1.21 and update dependencies (#26878) * 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 * 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 v1.20.4 changelog (#26974) * 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) * Update info regarding internet connection for build (#26776) * Docs: template variables (#26547) * Update index doc (#26455) * Update zh-cn documentation (#26406) * Fix typos and grammer 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 * Upgrading the actions/checkout@4 (#27096) * Drop Node.js 16 and update js dependencies (#27094) * Apply lng2020 to maintainers (#27068) * Update snap package (#27021) * Fix: typo (#27009) * Improve hint when uploading a too large avatar (#26935) * Add @chenrui333 as maintainer (#26917) * Improve DeleteByID (#26904) * Expanding documentation in queue.go (#26889) * Relocate the `RSS user feed` button (#26882) * Replace deprecated `elliptic.Marshal` (#26800) * Updating the js libraries to latest version. (#26795) * Use Go 1.21 for golangci-lint (#26786) * Add auth-required to config.json for Cargo http registry (#26729) * Update JS dependencies (#26586) * Always show usernames in reaction tooltips (#26444) * Make `user-content-* ` consistent with github (#26388) * 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) * Use yellow if an approved review is stale (#26312) * Remove nonsense `<a>` for commit status check icon (#26287) * Add some Wiki unit tests (#26260) * Fix typo in metadata (#26207) * Improve clickable area in repo action view page (#26115) * Fix minor capitalization error in string (#26100) * Remove nfnt/resize and oliamb/cutter (#25999) * Bump github.com/golang-jwt/jwt to v5 (#25975) * Fix "Flash" message usage (#25895) * Improve display of Labels/Projects/Assignees sort options (#25886) * Remove ref name in PR commits page (#25876) * Add error info if no user can fork the repo (#25820) * Upgrade go dependencies (#25819) * Fix `ref` for workflows triggered by `pull_request_target` (#25743) * Use frontend fetch for branch dropdown component (#25719) * Add unit test for `HashAvatar` (#25662) * Add elapsed time on debug for slow git commands (#25642) * Get latest commit statuses from database instead of git data on dashboard for repositories (#25605) * Adding branch-name copy to clipboard branches screen. (#25596) * 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) * Use fetch to send requests to create issues/comments (#25258) * Reduce unnecessary DB queries for Actions tasks (#25199) * Modify the content format of the Feishu webhook (#25106) * Actions Artifacts support uploading multiple files and directories (#24874) * Support changing labels of Actions runner without re-registration (#24806)