-
v1.12.3
* BUGFIXES * Don't change creation date when updating Release (#12343) (#12351) * Show 404 page when release not found (#12328) (#12332) * Fix emoji detection in certain cases (#12320) (#12327) * Reduce emoji size (#12317) (#12327) * Fix double-indirection bug in logging IDs (#12294) (#12308) * Link to pull list page on sidebar when view pr (#12256) (#12263) * Extend Notifications API and return pinned notifications by default (#12164) (#12232)
-
v1.12.2
* BUGFIXES * When deleting repository decrese user repositry count in cache (#11954) (#12188) * Gitea commits API again returns commit summaries, not full messages (#12186) (#12187) * Properly set HEAD when a repo is created with a non-master default branch (#12135) (#12182) * Ensure Subkeys are verified (#12155) (#12168) * Fix failing to cache last commit with key being to long (#12151) (#12161) * Multiple small admin dashboard fixes (#12153) (#12156) * Remove spurious logging (#12139) (#12148) * Fix repository setup instructions when default branch is not master (#12122) (#12147) * Move EventSource to SharedWorker (#12095) (#12130) * Fix ui bug in wiki commit page (#12089) (#12125) * Fix gitgraph branch continues after merge (#12044) (#12105) * Set the base url when migrating from Gitlab using access token or username without password (#11852) (#12104) * Ensure BlameReaders close at end of request (#12102) (#12103) * Fix comments webhook panic backport (#12058) * ENHANCEMENTS * Disable dropzone's timeout (#12024) (#12032)
-
v1.12.1
* BUGFIXES * Handle multiple merges in gitgraph.js (#11996) (#12000) * Add serviceworker.js to KnownPublicEntries (#11992) (#11994) * For language detection do not try to analyze big files by content (#11971) (#11975) * ENHANCEMENTS * Fix scrollable header on dropdowns (#11893) (#11965)
-
v1.11.8
* BUGFIXES * Really fix __webpack_public_path__ for 1.11 (#11961)
-
v1.12.0
* BREAKING * When using API CreateRelease set created_unix to the tag commit time (#11218) * Enable ENABLE_HARD_LINE_BREAK by default for rendering markdown (#11162) * Fix sanitizer config - multiple rules (#11133) * Remove check on username when using AccessToken authentication for the API (#11015) * Return 404 from Contents API when items don't exist (#10323) * Notification API should always return a JSON object with the current count of notifications (#10059) * Remove migration support from versions earlier than 1.6.0 (#10026) * SECURITY * Use -1 to disable key algorithm type in ssh.minimum_key_sizes (#11635) (#11662) * FEATURES * Improve config logging when WrappedQueue times out (#11174) * Add branch delete to API (#11112) * Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) * Add a way to mark Conversation (code comment) resolved (#11037) * Handle yaml frontmatter in markdown (#11016) * Cache PullRequest Divergence (#10914) * Make `gitea admin auth list` formatting configurable (#10844) * Add Matrix webhook (#10831) * Add Organization Wide Labels (#10814) * Allow to set protected file patterns for files that can not be changed under no conditions (#10806) * Option to set default branch at repository creation (#10803) * Add request review from specific reviewers feature in pull request (#10756) * Add NextCloud oauth (#10562) * System-wide webhooks (#10546) * Relax sanitization as per https://github.com/jch/html-pipeline (#10527) * Use media links for img in post-process (#10515) * Add API endpoints to manage OAuth2 Application (list/create/delete) (#10437) * Render READMEs in docs/ .gitea or .github from root (#10361) * Add feishu webhook support (#10229) * Cache last commit to accelerate the repository directory page visit (#10069) * Implement basic app.ini and path checks to doctor cmd (#10064) * Make WorkerPools and Queues flushable (#10001) * Implement "embedded" command to extract static resources (#9982) * Add API endpoint for repo transfer (#9947) * Make archive prefixing configurable with a global setting (#9943) * Add Unique Queue infrastructure and move TestPullRequests to this (#9856) * Issue/PR Context Popups (#9822) * Add "Update Branch" button to Pull Requests (#9784) * Add require signed commit for protected branch (#9708) * Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) * Add API notification endpoints (#9488) * Issue search support elasticsearch (#9428) * Add API branch protection endpoint (#9311) * Add a new command doctor to check if some wrong configurations on gitea instance (#9095) * Add support for migrating from Gitlab (#9084) * Add support for database schema in PostgreSQL (#8819) * Add setting to set default and global disabled repository units. (#8788) * Language statistics bar for repositories (#8037) * Restricted users (#6274) * BUGFIXES * Fix commenting on non-utf8 encoded files (#11916) (#11950) * Use google/uuid to instead satori/go.uuid (#11943) (#11946) * Align show/hide outdated button on code review block (#11932) (#11944) * Update to go-git v5.1.0 (#11936) (#11941) * Use ID or Where to instead directly use Get when load object from database (#11925) (#11934) * Update CommitsAhead CommitsBehind on Pull BaseBranch Change too (#11912) (#11915) * Invalidate comments when file is shortened (#11882) (#11884) * Rework api/user/repos for pagination (#11827) (#11877) * Handle more pathological branch and tag names (#11843) (#11863) * Add doctor check to set IsArchived false if it is null (partial #11853) (#11859) * Prevent panic on empty HOST for mysql (#11850) (#11856) * Use DEFAULT_PAGING_NUM instead of MAX_RESPONSE_ITEMS in ListOptions (#11831) (#11836) * Fix reply octicon (#11821) (#11822) * Honor DEFAULT_PAGING_NUM for API (#11805) (#11813) * Ensure rejected push to refs/pull/index/head fails nicely (#11724) (#11809) * In File Create/Update API return 404 if Branch does not exist (#11791) (#11795) * Fix doer of rename repo (#11789) (#11794) * Initialize SimpleMDE when making a code comment (#11749) (#11785) * Fix timezone on issue deadline (#11697) (#11784) * Fix to allow comment poster to edit or delete his own comments (#11671) (#11774) * Show full 500 error in API when Gitea in dev mode (#11641) (#11753) * Add missing templates for Matrix system webhooks (#11729) (#11748) * Fix verification of subkeys of default gpg key (#11713) (#11747) * Fix styling for commiter on diff view (#11715) (#11744) * Properly truncate system notices (#11714) (#11742) * Handle expected errors in FileCreate & FileUpdate API (#11643) (#11718) * Fix missing authorization check on pull for public repos of private/limited org (#11656) (#11682) * Doctor check & fix db consistency (#11111) (#11676) * Exclude generated files from language statistics (#11653) (#11670) * Return json on 500 error from API (#11574) (#11659) * When must change password only show Signout (#11600) (#11637) * Backport various styling fixes (#11619) * Fix wrong milestone in webhook message (#11596) (#11611) * Fix serviceworker output file and misc improvements (#11562) (#11610) * When initialising repositories ensure that the user doing the creation is the initializer (#11601) (#11608) * Prevent empty query parameter being set on dashboard (#11561) (#11604) * Fix images in wiki edit preview (#11546) (#11602) * Prevent (caught) panic on login (#11590) (#11597) * Prevent transferring repos to invisible orgs (#11517) (#11549) * Move serviceworker to workbox and fix SSE interference (#11538) (#11547) * API PullReviewComment HTMLPullURL should return the HTMLURL (#11501) (#11533) * Fix repo-list private and total count bugs (#11500) (#11532) * Fix form action template substitutions on admin pages (backport #11519) (#11531) * Fix a bug where the reaction emoji doesn't disappear. (#11489) (#11530) * TrimSpace when reading InternalToken from a file (#11502) (#11524) * Fix selected line color in arc-green (#11492) (#11520) * Make localstorage read ssh or https correctly (#11483) (#11490) * Check branch protection on IsUserAllowedToUpdate (#11448) * Fix margin on attached segment headers when they are separated by other element (#11425) * Fix webhook template when validation errors occur (#11421) * Fix NPE in template due to missing signing key on commit page (#11392) * Restore active background to Register button on Register page (#11390) * Fix hook failure due to relative LFS_CONTENT_PATH (#11362) * Correctly set the organization num repos (#11339) * Prevent 500 with badly formed task list (#11328) * Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) * Handle panics that percolate up to the graceful module (#11291) * Don't allow registration via the web form, when AllowOnlyExternalRegistration is True (#11248) * Patch fomantic-ui to workaround build issue (#11244) * Prevent panic during wrappedConn close at hammertime (#11219) * On logout force redirect to start page (#11202) * Fix creation of Organization repos by Users with max created personal repos (#11183) * Add option to increase provided OAuth2 token maximum size (#11180) * Log the indexer path on failure (#11172) * Ensure that relative paths in edit preview work (#11143) * Make API EditIssue and EditPullRequest issue notifications (#11123) * Send 404 immediately for known public requests (#11117) * Remove nil inserts in models (#11096) * Add GetReviews() to RetryDownloader (#11093) * Remove nonexistent serviceworker entries (#11091) * Simplify and fix GetApprovalCounts (#11086) * Fix wiki revision template and simplify some tmpl conditions (#11080) * Make branch parameter optional for /api/v1/repos/{owner}/{repo}/contents/{filepath} (#11067) * Align review-item svg octicons (#11065) * Automatically remove Watches, Assignments, etc if user loses access due to being removed as collaborator or from a team (#10997) * Users should not be able to prohibit their own login (#10970) * Fix scrollbar issues in dropdowns (#10897) * Change the order of issues.closed_by to list opening user first (#10876) * Allow site admin to check /api/v1/orgs endpoints (#10867) * Avoid logging []byte in queue failures - convert to string first (#10865) * Use ErrKeyUnableToVerify if fail to calc fingerprint in ssh-keygen (#10863) * Fix assignees double load bug (#10856) * Handle push rejection in branch and upload (#10854) * In authorized_keys use double-quote for windows compatibility (#10841) * Fix milestone template (#10824) * log.Fatal on failure to listen to SSH port (#10795) * Fix forked repo has no icon and language stat. (#10791) * Fix tag/release deletion (#10663) * Fix webhook migration (#10641) * Migration for deleting orphaned dependencies (#10617) * Add migration to fix the old broken merge-bases (#10604) * Update templates for Go 1.14 (#10596) * Remove unnecessary parentheses in wiki/view template (#10583) * Change default value of DefaultCommandExecutionTimeout to match docs (#10581) * Handle panic in indexer initialisation better (#10534) * Set correct content_type value for Gogs/Gitea webhooks (#9504) (#10456) * Fixed wrong AppSubUrl in multiple templates (#10447) * Fix profile page CSS (#10406) * Inject SVG sprite via ajax (#10320) * Fix migration information update bug when linked github account (#10310) * Allow admin to check org membership by API for other users (#10201) * Fix topics dropdown (#10167) * Ensure DeleteUser is not allowed to Delete Orgs and visa versa (#10134) * Fix IsErrPullClosed (#10093) * Accept punctuation after simple+cross repository issue references (#10091) * On merge of already closed PR redirect back to the pulls page (#10010) * Fix crowdin update script (#9969) * Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) * Add option to prevent LDAP from deactivating everything on empty search (#9879) * Fix admin handling at merge of PR (#9749) * err_admin_name_pattern_not_allowed String Clarification (#9731) * Fix wrong original git service type on a migrated repository (#9693) * Fix ref links in issue overviews for tags (#8742) * ENHANCEMENTS * Fix search form button overlap (#11840) (#11864) * Make tabular menu styling consistent for arc-green (#11570) (#11798) * Add option to API to update PullRequest base branch (#11666) (#11796) * Increase maximum SQLite variables count to 32766 (#11696) (#11783) * Update emoji dataset with skin tone variants (#11678) (#11763) * Add logging to long migrations (#11647) (#11691) * Change language statistics to save size instead of percentage (#11681) (#11690) * Allow different HardBreaks settings for documents and comments (#11515) (#11599) * Fix alignment for commits on dashboard (#11595) (#11680) * Default MSSQL port 0 to allow automatic detection by default (#11642) (#11673) * Handle expected errors in AddGPGkey API (#11644) (#11661) * Close EventSource before unloading the page (#11539) (#11557) * Ensure emoji render with regular font-weight (#11541) (#11545) * Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) (#11542) * Tweak reaction buttons (#11516) * Use more toned colors for selected line (#11493) (#11511) * Increase width for authors on commit view (#11441) * Hide archived repos by default in repo-list (#11440) * Better styling for code review comment textarea (#11428) * Support view individual commit for wiki pages (#11415) * Fix yellow background on active elements in code review (#11414) * Better styling for code review comment form (#11413) * Change install description on homepage (#11395) * Ensure search action button is coalesced to adjacent input (#11385) * Switch code editor to Monaco (#11366) * Add paging and archive/private repository filtering to dashboard list (#11321) * Changed image of openid-connect logo for better look on arc-green theme (#11312) * Load Repo Topics on blame view too (#11307) * Change the style in admin notice content view from `<p>` to `<pre>` (#11301) * Allow log.xxx.default to set logging settings for the default logger only (#11292) * Automatically attempt auto recovery of broken disk queues (Update lunny/levelqueue to 0.3.0) (#11285) * Make sendmail a Process and have default timeout (#11256) * Check value of skip-repository flag in dump command (#11254) * Fix submit review form (#11252) * Allow unauthenticated users to compare (#11240) * Add EventSource support (#11235) * Refactor Milestone related (#11225) * Add pull review API endpoints (#11224) * Add a 'this' to issue close/reopened messages (#11204) * When migrating from Gitlab map Approvals to approving Reviews (#11147) * Improve representation of attachments in issues (#11141) * Protect default branch against deletion (#11115) * Add X-Total-Count on /repos/{owner]/{repo}/pulls API endpoint (#11113) * Fix status label on branches list vertical alignment (#11109) * Add single release page and latest redirect (#11102) * Add missing commit states to PR checks template (#11085) * Change icon on title for merged PR to git-merge (#11064) * Add MergePull comment type instead of close for merge PR (#11058) * Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) * Consolidate author name across timeline (#11053) * Refactor UpdateOAuth2Application (#11034) * Support unicode emojis and remove emojify.js (#11032) * Add git hook "warning" to admin panel (#11030) * Add flash notify for email preference setting success (#11027) * Remove package code.gitea.io/gitea/modules/git import out of models (#11025) * Match arc-green code tag color to code blocks (#11023) * Move syntax highlighting to web worker (#11017) * Prevent merge of outdated PRs on protected branches (#11012) * Add Get/Update for api/v1/user/applications/oauth2 (#11008) * Upgrade to most recent bluemonday (#11007) * Tweak code tags in markdown (#11000) * Reject duplicate AccessToken names (#10994) * Fix Ctrl-Enter shortcut for issues (#10986) * Provide `OwnerName` field for README template (#10981) * Prettify Timeline (#10972) * Add issue subscription check to API (#10967) * Use AJAX for notifications table (#10961) * Adjust label padding (#10957) * Avoiding directory execution on hook (#10954) (#10955) * Migrate ActivityHeatmap to Vue SFC (#10953) * Change merge strategy: do not check write access if user in merge white list (#10951) * Enable GO111MODULE=on globally in Makefile (#10939) * API endpoint to get single commit via SHA and Ref (#10915) * Add accordion to release list and hide non-latest (#10910) * Split dashboard elements into separate template files (#10885) * Add more message on sidebar menus (#10872) * Set MySQL rowtype to dynamic for new tables (#10833) * Completely fix task-list checkbox styling (#10798) * Hide gear icon for user who can't use them on sidebar (#10750) * Refactor Cron and merge dashboard tasks (#10745) * Change review status icons on pr view style to github style (#10737) * Make pagination optional for API list notification endpoints (#10714) * Fix tab indentation in code view (#10671) * Fix task-list checkbox styling (#10668) * Multiple LFS improvements (#10667) * Make PR message on pushes configurable (#10664) * Move dropzone.js to npm/webpack (#10645) * Ensure Update button is enabled even when CI has failed (#10640) * Add restricted user filter to LDAP authentication (#10600) * Add Yandex OAuth2 provider (#8335) (#10564) * Make avatar lookup occur at image request (#10540) * Prevent accidential selection of language stats bar (#10537) * Add fluid-icon (#10491) * Inform participants on UI too (#10473) * Build with go 1.14 (and raise minimum go version to 1.12) (#10467) * Add max-file-size to LFS (#10463) * Enable paggination for ListRepoTags API (#10454) * Update JS dependencies (#10450) * Show the username as a fallback on feeds if full name is blank (#10438) * Various dark theme fixes (#10416) * Display pull request head branch even the branch deleted or repository deleted (#10413) * Prevent Firefox from using apple-touch-icon (#10402) * Fix input[type=file] on dark theme (#10382) * Improve mobile review-box sizing (#10297) * Notification: queue ui.go notification-service (#10281) * Add detected file language to code search (#10256) * Index code and stats only for non-empty repositories (#10251) * Add Approval Counts to pulls list (#10238) * Limit label list height on edit issue page (#10216) * Improve 404 error message (#10214) * Tweak locale to respect singular conflicting file message in PR list (#10177) * Fix commit view (#10169) * Reorganize frontend files and tooling (#10168) * Allow emoji on popup label (#10166) * ListIssues add filter for milestones API (#10148) * Show if a PR has conflicting files on the PR lists (#10130) * Fix inconsistent label color format in API (#10129) * Show download count info in release list (#10124) * Add Octicon SVG spritemap (#10107) * Update aria-fixed semantic-dropdown to fomantic master (#10096) * Fix apple-touch-icon, regenerate images (#10065)(#10006) * Style blockquote for default issue mail template (#10024) * More expansions in template repositories (#10021) * Allow list collaborators for users with Read access to repo (#9995) * Add explicit dimensions to navbar avatar (#9986) * Remove loadCSS and preload woff2 icon fonts (#9976) * Fix commit view JS features, reimplement folding (#9968) * Fix review avatar image (#9962) * Improve notification pager (#9821) * Move jquery and jquery-migrate to npm/webpack (#9813) * Change font to Roboto to support more charsets (#9803) * Move mailer to use a queue (#9789) * Issue search on my related repositories (#9758) * Add "before" query to ListIssueComments and ListRepoIssueComments API (#9685) * Move tracked time api convert to convert package (#9665) * Improve PR info in default merge message (#9635) * Granular webhook events (#9626) * Add Reviewed-on in commit message (#9623) * Add top author stats to activity page (#9615) * Allow repo admin to merge PR regardless of review status (#9611) * Migrate reactions when migrating repository from github (#9599) * API orgEditTeam make Fields optional (#9556) * Move create/fork repository from models to modules/repository (#9489) * Migrate reviews when migrating repository from github (#9463) * Times API add filters (#9373) * Move push commits from models to modules/repository (#9370) * Add API endpoint to check notifications [Extend #9488] (#9595) * Add GET /orgs API endpoint (#9560) * API add/generalize pagination (#9452) * Make create org repo API call same as github (#9186) * BUILD * Turn off go modules for xgo and gxz (#10963) * Add gitea-vet (#10948) * Rename scripts to build and add revive command as a new build tool command (#10942) * Add 'make lint', restructure 'compliance' pipeline (#10861) * Move JS build dependencies to 'dependencies' (#10763) * Use whitelist to find go files, run find only once (#10594) * Move vue and vue-calendar-heatmap to npm/webpack (#10188) * Move jquery.are-you-sure to npm/webpack (#10063) * Move highlight.js to npm/webpack (#10011) * Generate Bindata if TAGS="bindata" and not up-to-date (#10004) * Move CSS build to webpack (#9983) * Move fomantic target, update 'make help' (#9945) * Add css extraction and minification to webpack (#9944) * Misc webpack tweaks (#9924) * Make node_modules a order-only prerequisite (#9923) * Update documentation for the go module era (#9751) * Move swagger-ui to webpack/npm and update it to 3.24.3 (#9714) * Use npm to manage fomantic and only build needed components (#9561) * MISC * Add gnupg to Dockerfile (#11365) * Update snapcraft.yaml for core18 and latest features (#11300) * Update JS dependencies, min Node.js version 10.13 (#11246) * Change default charset for MySQL on install to utf8mb4 (#10989) * Return issue subscription status from API subscribe (#10966) * Fix queue log param (#10733) * Add warning when using relative path to app.ini (#10104)
-
v1.11.7
* BUGFIXES * Use ID or Where to instead directly use Get when load object from database (#11925) (#11935) * Fix __webpack_public_path__ for 1.11 (#11907) * Fix verification of subkeys of default gpg key (#11713) (#11902) * Remove unnecessary parentheses in wiki/view template (#11781) * Doctor fix xorm.Count nil on sqlite error (#11741)
-
v1.12.0-rc2
* BUGFIXES * In File Create/Update API return 404 if Branch does not exist (#11791) (#11795) * Fix doer of rename repo (#11789) (#11794) * Initialize SimpleMDE when making a code comment (#11749) (#11785) * Fix timezone on issue deadline (#11697) (#11784) * Fix to allow comment poster to edit or delete his own comments (#11671) (#11774) * Show full 500 error in API when Gitea in dev mode (#11641) (#11753) * Add missing templates for Matrix system webhooks (#11729) (#11748) * Fix verification of subkeys of default gpg key (#11713) (#11747) * Fix styling for commiter on diff view (#11715) (#11744) * Properly truncate system notices (#11714) (#11742) * Handle expected errors in FileCreate & FileUpdate API (#11643) (#11718) * Fix missing authorization check on pull for public repos of private/limited org (#11656) (#11682) * Update emoji regex (#11584) (#11679) * Doctor check & fix db consistency (#11111) (#11676) * Default MSSQL port 0 to allow automatic detection by default (#11642) (#11673) * Exclude generated files from language statistics (#11653) (#11670) * Use -1 to disable key algorithm type in ssh.minimum_key_sizes (#11635) (#11662) * Return json on 500 error from API (#11574) (#11659) * When must change password only show Signout (#11600) (#11637) * Backport various styling fixes (#11619) * Fix wrong milestone in webhook message (#11596) (#11611) * Fix serviceworker output file and misc improvements (#11562) (#11610) * When initialising repositories ensure that the user doing the creation is the initializer (#11601) (#11608) * Prevent empty query parameter being set on dashboard (#11561) (#11604) * Fix images in wiki edit preview (#11546) (#11602) * Allow different HardBreaks settings for documents and comments (#11515) (#11599) * Prevent (caught) panic on login (#11590) (#11597) * Prevent transferring repos to invisible orgs (#11517) (#11549) * Move serviceworker to workbox and fix SSE interference (#11538) (#11547) * API PullReviewComment HTMLPullURL should return the HTMLURL (#11501) (#11533) * Fix repo-list private and total count bugs (#11500) (#11532) * Fix form action template substitutions on admin pages (backport #11519) (#11531) * Fix a bug where the reaction emoji doesn't disappear. (#11489) (#11530) * TrimSpace when reading InternalToken from a file (#11502) (#11524) * Fix selected line color in arc-green (#11492) (#11520) * Make localstorage read ssh or https correctly (#11483) (#11490) * ENHANCEMENTS * Make tabular menu styling consistent for arc-green (#11570) (#11798) * Add option to API to update PullRequest base branch (#11666) (#11796) * Increase maximum SQLite variables count to 32766 (#11696) (#11783) * Update emoji dataset with skin tone variants (#11678) (#11763) * Add logging to long migrations (#11647) (#11691) * Change language statistics to save size instead of percentage (#11681) (#11690) * Fix alignment for commits on dashboard (#11595) (#11680) * Handle expected errors in AddGPGkey API (#11644) (#11661) * Close EventSource before unloading the page (#11539) (#11557) * Ensure emoji render with regular font-weight (#11541) (#11545) * Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) (#11542) * Tweak reaction buttons (#11516) * Use more toned colors for selected line (#11493) (#11511)
-
v1.11.6
* SECURITY * Fix missing authorization check on pull for public repos of private/limited org (#11656) (#11683) * Use session for retrieving org teams (#11438) (#11439) * BUGFIXES * Return json on 500 error from API (#11574) (#11660) * Fix wrong milestone in webhook message (#11596) (#11612) * Prevent (caught) panic on login (#11590) (#11598) * Fix commit page js error (#11527) * Use media links for img in post-process (#10515) (#11504) * Ensure public repositories in private organizations are visible and fix admin organizations list (#11465) (#11475) * Set correct Content-Type value for Gogs/Gitea webhooks (#9504) (#10456) (#11461) * Allow all members of private orgs to see public repos (#11442) (#11459) * Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) (#11457) * Forcibly clean and destroy the session on logout (#11447) (#11451) * Fix /api/v1/orgs/* endpoints by changing parameter to :org from :orgname (#11381) * Add tracked time fix to doctor (part of #11111) (#11138) * Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) (#11544) * Remove unnecessary parentheses in wiki/revision.tmpl to allow 1.11 to build on go1.14 (#11481)
-
v1.12.0-rc1
* BREAKING * Remove migration support from versions earlier than 1.6.0 (#10026) * Enable ENABLE_HARD_LINE_BREAK by default for rendering markdown (#11162) * Fix sanitizer config - multiple rules (#11133) * When using API CreateRelease set created_unix to the tag commit time (#11218) * Remove check on username when using AccessToken authentication for the API (#11015) * Return 404 from Contents API when items don't exist (#10323) * Notification API should always return a JSON object with the current count of notifications (#10059) * FEATURES * Improve config logging when WrappedQueue times out (#11174) * Add branch delete to API (#11112) * Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) * Add a way to mark Conversation (code comment) resolved (#11037) * Handle yaml frontmatter in markdown (#11016) * Cache PullRequest Divergence (#10914) * Make `gitea admin auth list` formatting configurable (#10844) * Add Matrix webhook (#10831) * Add Organization Wide Labels (#10814) * Allow to set protected file patterns for files that can not be changed under no conditions (#10806) * Option to set default branch at repository creation (#10803) * Add request review from specific reviewers feature in pull request (#10756) * Add NextCloud oauth (#10562) * System-wide webhooks (#10546) * Relax sanitization as per https://github.com/jch/html-pipeline (#10527) * Use media links for img in post-process (#10515) * Add API endpoints to manage OAuth2 Application (list/create/delete) (#10437) * Render READMEs in docs/ .gitea or .github from root (#10361) * Add feishu webhook support (#10229) * Cache last commit to accelerate the repository directory page visit (#10069) * Implement basic app.ini and path checks to doctor cmd (#10064) * Make WorkerPools and Queues flushable (#10001) * Implement "embedded" command to extract static resources (#9982) * Add API endpoint for repo transfer (#9947) * Make archive prefixing configurable with a global setting (#9943) * Add Unique Queue infrastructure and move TestPullRequests to this (#9856) * Issue/PR Context Popups (#9822) * Add "Update Branch" button to Pull Requests (#9784) * Add require signed commit for protected branch (#9708) * Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) * Add API notification endpoints (#9488) * Issue search support elasticsearch (#9428) * Add API branch protection endpoint (#9311) * Add a new command doctor to check if some wrong configurations on gitea instance (#9095) * Add support for migrating from Gitlab (#9084) * Add support for database schema in PostgreSQL (#8819) * Add setting to set default and global disabled repository units. (#8788) * Language statistics bar for repositories (#8037) * Restricted users (#6274) * BUGFIXES * Check branch protection on IsUserAllowedToUpdate (#11448) * Fix margin on attached segment headers when they are separated by other element (#11425) * Fix webhook template when validation errors occur (#11421) * Fix NPE in template due to missing signing key on commit page (#11392) * Restore active background to Register button on Register page (#11390) * Fix hook failure due to relative LFS_CONTENT_PATH (#11362) * Correctly set the organization num repos (#11339) * Prevent 500 with badly formed task list (#11328) * Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) * Handle panics that percolate up to the graceful module (#11291) * Don't allow registration via the web form, when AllowOnlyExternalRegistration is True (#11248) * Patch fomantic-ui to workaround build issue (#11244) * Prevent panic during wrappedConn close at hammertime (#11219) * On logout force redirect to start page (#11202) * Fix creation of Organization repos by Users with max created personal repos (#11183) * Add option to increase provided OAuth2 token maximum size (#11180) * Log the indexer path on failure (#11172) * Ensure that relative paths in edit preview work (#11143) * Make API EditIssue and EditPullRequest issue notifications (#11123) * Send 404 immediately for known public requests (#11117) * Remove nil inserts in models (#11096) * Add GetReviews() to RetryDownloader (#11093) * Remove nonexistent serviceworker entries (#11091) * Simplify and fix GetApprovalCounts (#11086) * Fix wiki revision template and simplify some tmpl conditions (#11080) * Make branch parameter optional for /api/v1/repos/{owner}/{repo}/contents/{filepath} (#11067) * Align review-item svg octicons (#11065) * Automatically remove Watches, Assignments, etc if user loses access due to being removed as collaborator or from a team (#10997) * Users should not be able to prohibit their own login (#10970) * Fix scrollbar issues in dropdowns (#10897) * Change the order of issues.closed_by to list opening user first (#10876) * Allow site admin to check /api/v1/orgs endpoints (#10867) * Avoid logging []byte in queue failures - convert to string first (#10865) * Use ErrKeyUnableToVerify if fail to calc fingerprint in ssh-keygen (#10863) * Fix assignees double load bug (#10856) * Handle push rejection in branch and upload (#10854) * In authorized_keys use double-quote for windows compatibility (#10841) * Fix milestone template (#10824) * log.Fatal on failure to listen to SSH port (#10795) * Fix forked repo has no icon and language stat. (#10791) * Fix tag/release deletion (#10663) * Fix webhook migration (#10641) * Migration for deleting orphaned dependencies (#10617) * Add migration to fix the old broken merge-bases (#10604) * Update templates for Go 1.14 (#10596) * Remove unnecessary parentheses in wiki/view template (#10583) * Change default value of DefaultCommandExecutionTimeout to match docs (#10581) * Handle panic in indexer initialisation better (#10534) * Set correct content_type value for Gogs/Gitea webhooks (#9504) (#10456) * Fixed wrong AppSubUrl in multiple templates (#10447) * Fix profile page CSS (#10406) * Inject SVG sprite via ajax (#10320) * Fix migration information update bug when linked github account (#10310) * Allow admin to check org membership by API for other users (#10201) * Fix topics dropdown (#10167) * Ensure DeleteUser is not allowed to Delete Orgs and visa versa (#10134) * Fix IsErrPullClosed (#10093) * Accept punctuation after simple+cross repository issue references (#10091) * On merge of already closed PR redirect back to the pulls page (#10010) * Fix crowdin update script (#9969) * Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) * Add option to prevent LDAP from deactivating everything on empty search (#9879) * Fix admin handling at merge of PR (#9749) * err_admin_name_pattern_not_allowed String Clarification (#9731) * Fix wrong original git service type on a migrated repository (#9693) * Fix ref links in issue overviews for tags (#8742) * ENHANCEMENTS * Increase width for authors on commit view (#11441) * Hide archived repos by default in repo-list (#11440) * Better styling for code review comment textarea (#11428) * Support view individual commit for wiki pages (#11415) * Fix yellow background on active elements in code review (#11414) * Better styling for code review comment form (#11413) * Change install description on homepage (#11395) * Ensure search action button is coalesced to adjacent input (#11385) * Switch code editor to Monaco (#11366) * Add paging and archive/private repository filtering to dashboard list (#11321) * Changed image of openid-connect logo for better look on arc-green theme (#11312) * Load Repo Topics on blame view too (#11307) * Change the style in admin notice content view from `<p>` to `<pre>` (#11301) * Allow log.xxx.default to set logging settings for the default logger only (#11292) * Automatically attempt auto recovery of broken disk queues (Update lunny/levelqueue to 0.3.0) (#11285) * Make sendmail a Process and have default timeout (#11256) * Check value of skip-repository flag in dump command (#11254) * Fix submit review form (#11252) * Allow unauthenticated users to compare (#11240) * Add EventSource support (#11235) * Refactor Milestone related (#11225) * Add pull review API endpoints (#11224) * Add a 'this' to issue close/reopened messages (#11204) * When migrating from Gitlab map Approvals to approving Reviews (#11147) * Improve representation of attachments in issues (#11141) * Protect default branch against deletion (#11115) * Add X-Total-Count on /repos/{owner]/{repo}/pulls API endpoint (#11113) * Fix status label on branches list vertical alignment (#11109) * Add single release page and latest redirect (#11102) * Add missing commit states to PR checks template (#11085) * Change icon on title for merged PR to git-merge (#11064) * Add MergePull comment type instead of close for merge PR (#11058) * Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) * Consolidate author name across timeline (#11053) * Refactor UpdateOAuth2Application (#11034) * Support unicode emojis and remove emojify.js (#11032) * Add git hook "warning" to admin panel (#11030) * Add flash notify for email preference setting success (#11027) * Remove package code.gitea.io/gitea/modules/git import out of models (#11025) * Match arc-green code tag color to code blocks (#11023) * Move syntax highlighting to web worker (#11017) * Prevent merge of outdated PRs on protected branches (#11012) * Add Get/Update for api/v1/user/applications/oauth2 (#11008) * Upgrade to most recent bluemonday (#11007) * Tweak code tags in markdown (#11000) * Reject duplicate AccessToken names (#10994) * Fix Ctrl-Enter shortcut for issues (#10986) * Provide `OwnerName` field for README template (#10981) * Prettify Timeline (#10972) * Add issue subscription check to API (#10967) * Use AJAX for notifications table (#10961) * Adjust label padding (#10957) * Avoiding directory execution on hook (#10954) (#10955) * Migrate ActivityHeatmap to Vue SFC (#10953) * Change merge strategy: do not check write access if user in merge white list (#10951) * Enable GO111MODULE=on globally in Makefile (#10939) * API endpoint to get single commit via SHA and Ref (#10915) * Add accordion to release list and hide non-latest (#10910) * Split dashboard elements into separate template files (#10885) * Add more message on sidebar menus (#10872) * Set MySQL rowtype to dynamic for new tables (#10833) * Completely fix task-list checkbox styling (#10798) * Hide gear icon for user who can't use them on sidebar (#10750) * Refactor Cron and merge dashboard tasks (#10745) * Change review status icons on pr view style to github style (#10737) * Make pagination optional for API list notification endpoints (#10714) * Fix tab indentation in code view (#10671) * Fix task-list checkbox styling (#10668) * Multiple LFS improvements (#10667) * Make PR message on pushes configurable (#10664) * Move dropzone.js to npm/webpack (#10645) * Ensure Update button is enabled even when CI has failed (#10640) * Add restricted user filter to LDAP authentication (#10600) * Add Yandex OAuth2 provider (#8335) (#10564) * Make avatar lookup occur at image request (#10540) * Prevent accidential selection of language stats bar (#10537) * Add fluid-icon (#10491) * Inform participants on UI too (#10473) * Build with go 1.14 (and raise minimum go version to 1.12) (#10467) * Add max-file-size to LFS (#10463) * Enable paggination for ListRepoTags API (#10454) * Update JS dependencies (#10450) * Show the username as a fallback on feeds if full name is blank (#10438) * Various dark theme fixes (#10416) * Display pull request head branch even the branch deleted or repository deleted (#10413) * Prevent Firefox from using apple-touch-icon (#10402) * Fix input[type=file] on dark theme (#10382) * Improve mobile review-box sizing (#10297) * Notification: queue ui.go notification-service (#10281) * Add detected file language to code search (#10256) * Index code and stats only for non-empty repositories (#10251) * Add Approval Counts to pulls list (#10238) * Limit label list height on edit issue page (#10216) * Improve 404 error message (#10214) * Tweak locale to respect singular conflicting file message in PR list (#10177) * Fix commit view (#10169) * Reorganize frontend files and tooling (#10168) * Allow emoji on popup label (#10166) * ListIssues add filter for milestones API (#10148) * Show if a PR has conflicting files on the PR lists (#10130) * Fix inconsistent label color format in API (#10129) * Show download count info in release list (#10124) * Add Octicon SVG spritemap (#10107) * Update aria-fixed semantic-dropdown to fomantic master (#10096) * Fix apple-touch-icon, regenerate images (#10065)(#10006) * Style blockquote for default issue mail template (#10024) * More expansions in template repositories (#10021) * Allow list collaborators for users with Read access to repo (#9995) * Add explicit dimensions to navbar avatar (#9986) * Remove loadCSS and preload woff2 icon fonts (#9976) * Fix commit view JS features, reimplement folding (#9968) * Fix review avatar image (#9962) * Improve notification pager (#9821) * Move jquery and jquery-migrate to npm/webpack (#9813) * Change font to Roboto to support more charsets (#9803) * Move mailer to use a queue (#9789) * Issue search on my related repositories (#9758) * Add "before" query to ListIssueComments and ListRepoIssueComments API (#9685) * Move tracked time api convert to convert package (#9665) * Improve PR info in default merge message (#9635) * Granular webhook events (#9626) * Add Reviewed-on in commit message (#9623) * Add top author stats to activity page (#9615) * Allow repo admin to merge PR regardless of review status (#9611) * Migrate reactions when migrating repository from github (#9599) * API orgEditTeam make Fields optional (#9556) * Move create/fork repository from models to modules/repository (#9489) * Migrate reviews when migrating repository from github (#9463) * Times API add filters (#9373) * Move push commits from models to modules/repository (#9370) * Add API endpoint to check notifications [Extend #9488] (#9595) * Add GET /orgs API endpoint (#9560) * API add/generalize pagination (#9452) * Make create org repo API call same as github (#9186) * BUILD * Turn off go modules for xgo and gxz (#10963) * Add gitea-vet (#10948) * Rename scripts to build and add revive command as a new build tool command (#10942) * Add 'make lint', restructure 'compliance' pipeline (#10861) * Move JS build dependencies to 'dependencies' (#10763) * Use whitelist to find go files, run find only once (#10594) * Move vue and vue-calendar-heatmap to npm/webpack (#10188) * Move jquery.are-you-sure to npm/webpack (#10063) * Move highlight.js to npm/webpack (#10011) * Generate Bindata if TAGS="bindata" and not up-to-date (#10004) * Move CSS build to webpack (#9983) * Move fomantic target, update 'make help' (#9945) * Add css extraction and minification to webpack (#9944) * Misc webpack tweaks (#9924) * Make node_modules a order-only prerequisite (#9923) * Update documentation for the go module era (#9751) * Move swagger-ui to webpack/npm and update it to 3.24.3 (#9714) * Use npm to manage fomantic and only build needed components (#9561) * MISC * Add gnupg to Dockerfile (#11365) * Update snapcraft.yaml for core18 and latest features (#11300) * Update JS dependencies, min Node.js version 10.13 (#11246) * Change default charset for MySQL on install to utf8mb4 (#10989) * Return issue subscription status from API subscribe (#10966) * Fix queue log param (#10733) * Add warning when using relative path to app.ini (#10104)
-
v1.13.0-dev
v1.13.0-dev
-
v1.11.5
* BUGFIXES * Prevent timer leaks in Workerpool and others (#11333) (#11340) * Fix tracked time issues (#11349) (#11354) * Add NotifySyncPushCommits to indexer notifier (#11309) (#11338) * Allow X in addition to x in tasks (#10979) (#11335) * When delete tracked time through the API return 404 not 500 (#11319) (#11326) * Prevent duplicate records in organizations list when creating a repository (#11303) (#11325) * Manage port in submodule refurl (#11305) (#11323) * api.Context.NotFound(...) should tolerate nil (#11288) (#11306) * Show pull request selection even when unrelated branches (#11239) (#11283) * Repo: milestone: make /milestone/:id endpoint accessible (#11264) (#11282) * Fix GetContents(): Dont't ignore Executables (#11192) (#11209) * Fix submodule paths when AppSubUrl is not root (#11098) (#11176) * Prevent clones and pushes to disabled wiki (#11131) (#11134) * Remove errant third closing curly-bracket from account.tmpl and send account ID in account.tmpl (#11130) * On Repo Deletion: Delete related TrackedTimes too (#11110) (#11125) * Refresh codemirror on show pull comment tab (#11100) (#11122) * Fix merge dialog on protected branch with missing required statuses (#11074) (#11084) * Load pr Issue Poster on API too (#11033) (#11039) * Fix release counter on API repository info (#10968) (#10996) * Generate Diff and Patch direct from Pull head (#10936) (#10938) * Fix rebase conflict detection in git 2.26 (#10929) (#10930) * ENHANCEMENT * Fix 404 and 500 image size in small size screen (#11043) (#11049) * Multiple Gitea Doctor improvements (#10943) (#10990) (#10064) (#9095) (#10991)
-
v1.11.4
* BUGFIXES * Only update merge_base if not already merged (#10909) * Fix milestones too many SQL variables bug (#10880) (#10904) * Protect against NPEs in notifications list (#10879) (#10883) * Convert plumbing.ErrObjectNotFound to git.ErrNotExist in getCommit (#10862) (#10868) * Convert plumbing.ErrReferenceNotFound to git.ErrNotExist in GetRefCommitID (#10676) (#10797) * Account for empty lines in receive-hook message (#10773) (#10784) * Fix bug on branch API (#10767) (#10775) * Migrate to go-git/go-git v5.0.0 (#10735) (#10753) * Fix hiding of fields in authorization source page (#10734) (#10752) * Prevent default for linkAction (#10742) (#10743)
-
v1.11.3
* BUGFIXES * Prevent panic in stopwatch (#10670) (#10673) * Fix bug on pull view when required status check no ci result (#10648) (#10651) * Build explicitly with Go 1.13 (#10684)
-
v1.10.6
This is a re-tag version of v1.10.5 and also explicitly built with Go 1.13. WARNING: v1.10.5 is incorrectly tagged targeting 1.12-dev and should not be used.
-
-
v1.11.2
* BREAKING * Various fixes in login sources (#10428) (#10429) * SECURITY * Ensure only own addresses are updated (#10397) (#10399) * Logout POST action (#10582) (#10585) * Org action fixes and form cleanup (#10512) (#10514) * Change action GETs to POST (#10462) (#10464) * Fix admin notices (#10480) (#10483) * Change admin dashboard to POST (#10465) (#10466) * Update markbates/goth (#10444) (#10445) * Update crypto vendors (#10385) (#10398) * BUGFIXES * Allow users with write permissions to modify issue descriptions and comments. (#10623) (#10626) * Handle deleted base branch in PR (#10618) (#10619) * Delete dependencies when deleting a repository (#10608) (#10616) * Ensure executable bit is kept on the web editor (#10607) (#10614) * Update mergebase in pr checker (#10586) (#10605) * Fix release attachments being deleted while upgrading (#10572) (#10573) * Fix redirection path if Slack webhook channel is invalid (#10566) * Fix head.tmpl og:image picture location (#10531) (#10556) * Fix 404 after activating secondary email (#10547) (#10553) * Show Signer in commit lists and add basic trust (#10425 & #10511) (#10524) * Fix potential bugs (#10513) (#10518) * Use \[:space:\] instead of \\s (#10508) (#10509) * Avoid mailing users that have explicitly unwatched an issue (#10475) (#10500) * Handle push rejection message in Merge & Web Editor (#10373) (#10497) * Fix SQLite concurrency problems by using BEGIN IMMEDIATE (#10368) (#10493) * Fix double PR notification from API (#10482) (#10486) * Show the username as a fallback on feeds if full name is blank (#10461) * Trigger webhooks on issue label-change via API too (#10421) (#10439) * Fix git reference type in webhooks (#10427) (#10432) * Prevent panic on merge to PR (#10403) (#10408) * Fix wrong num closed issues on repository when close issue via commit… (#10364) (#10380) * Reading pull attachments should depend on read UnitTypePullRequests (#10346) (#10354) * Set max-width on review-box comment box (#10348) (#10353) * Prevent nil pointer in GetPullRequestCommitStatusState (#10342) (#10344) * Fix protected branch status check settings (#10341) (#10343) * Truncate long commit message header (#10301) (#10319) * Set the initial commit status to Success otherwise it will always be Pending (#10317) (#10318) * Don't manually replace whitespace during render (#10291) (#10315) * ENHANCEMENT * Admin page for managing user e-mail activation (#10557) (#10579)
-
v1.10.5
* BUGFIXES * Fix release attachments being deleted while upgrading (#10572) (#10574)
-
v1.11.1
* BUGFIXES * Repo name added to automatically generated commit message when merging (#9997) (#10285) * Fix Workerpool deadlock (#10283) (#10284) * Divide GetIssueStats query in smaller chunks (#10176) (#10282) * Fix reply on code review (#10257) * Stop hanging issue indexer initialisation from preventing shutdown (#10243) (#10249) * Fix filter label emoji width (#10241) (#10244) * Fix issue sidebar menus having an infinite height (#10239) (#10240) * Fix commit between two commits calculation if there is only last commit (#10225) (#10226) * Only check for conflicts/merging if the PR has not been merged in the interim (#10132) (#10206) * Blacklist manifest.json & milestones user (#10292) (#10293)
-
v1.10.4
* FEATURE * Prevent empty LDAP search from deactivating all users (#9879) (#9890) * BUGFIXES * Fix reply on code review (#10261) (#10227) * Fix branch page pull request title and link error (#10092) (#10098) * Fix milestone API state parameter unhandled (#10049) (#10053) * Fix wiki raw view on sub path (#10002) (#10041) * Fix RocketChat Webhook (#9908) (#9921) (#9925) * Fix bug about wrong dependencies permissions check and other wrong permissions check (#9884) (Partial backport #9842) * Ensure that 2fa is checked on reset-password (#9857) (#9877)
-
v1.11.0
* BREAKING * Fix followers and following tabs in profile (#10202) (#10203) * Make CertFile and KeyFile relative to CustomPath (#9868) (#9874) * Remove unused endpoints (#9538) * Prefix all user-generated IDs in markup (#9477) * Enforce Gitea environment for pushes (#8982) * Hide some user information via API if user have not enough permissions (#8655) * Move startpage/homepage translation to crowdin (#8596) * SECURITY * Never allow an empty password to validate (#9682) (#9683) * Prevent redirect to Host (#9678) (#9679) * Swagger hide search field (#9554) * Add "search" to reserved usernames (#9063) * Switch to fomantic-ui (#9374) * Only serve attachments when linked to issue/release and if accessible by user (#9340) * FEATURES * Webhooks should only show sender if it makes sense (#9601) * Provide Default messages for merges (#9393) * Add description to labels on create issue (#9392) * Graceful Queues: Issue Indexing and Tasks (#9363) * Default NO_REPLY_ADDRESS to DOMAIN (#9325) * Allow FCGI over unix sockets (#9298) * Graceful: Xorm, RepoIndexer, Cron and Others (#9282) * Add API for Reactions (#9220) * Graceful: Cancel Process on monitor pages & HammerTime (#9213) * Graceful: Allow graceful restart for unix sockets (#9113) * Graceful: Allow graceful restart for fcgi (#9112) * Sign protected branches (#8993) * Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) * Add Gitea icon to Emojis (#8950) * Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) * Allow Custom Reactions (#8886) * Close/reopen issues by keywords in titles and comments (#8866) * Allow incompletely specified Time Formats (#8816) * Prevent upload (overwrite) of lfs locked file (#8769) * Template Repositories (#8768) * Add /milestones endpoint (#8733) * Make repository management section handle lfs locks (#8726) * Respect LFS File Lock on UI (#8719) * Add team option to grant rights for all organization repositories (#8688) * Enabling and disabling the commit button to prevent empty commits (web editor) (#8590) * Add setting to disable BASIC authentication (#8586) * Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) * Allow Protected Branches to Whitelist Deploy Keys (#8483) * Push to create repo (#8419) * Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) * Add basic repository lfs management (#7199) * BUGFIXES * Fix code-expansion arc-green theme bug (#10180) (#10185) * Prevent double wait-group decrement (#10170) (#10175) * Allow emoji on review head comments (#10159) (#10174) * Fix issue/pull link (#10158) (#10173) * Fix push-create SSH bugs (#10145) (#10151) * Prevent DeleteUser API abuse (#10125) (#10128) * Fix issues/pulls dashboard paging error (#10114) (#10115) * Add button to revert SimpleMDE to plain textarea (#10099) (#10102) * Fix branch page pull request title and link error (#10092) (#10097) * Fix PR API: Only try to get HeadBranch if HeadRepo exist (#10029) (#10088) * Update topics repo count when deleting repository (#10051) (#10081) * Show pull icon on pull requests (#10061) (#10062) * Fix milestone API state parameter unhandled (#10049) (#10052) * Move to using a temporary repo for pushing new PRs (#10009) (#10042) * Fix wiki raw view on sub path (#10002) (#10040) * Ensure that feeds are appropriately restricted (#10018) (#10019) * Sanitize credentials in mirror form (#9975) (#9991) * Close related pull requests when deleting head repository or head branch (#9927) (#9974) * Switch to use -f instead of -F for sendmail (#9961) (#9970) * Fix file rename/copy not supported by indexer (#9965) (#9967) * Fix repo indexer not updating upon push (#9957) (#9963) * Don't convert ellipsis in markdown (#9905) (#9937) * Fixed repo link in generated comment for cross repository dependency (#9863) (#9935) * Check if diff actually contains sections when rendering (#9926) (#9933) * Fix wrong hint when status checking is running on pull request view (#9886) (#9928) * Fix RocketChat (#9908) (#9921) * Do not try to recreate ldap user if they are already created (#9900) (#9919) * Create terminated channel in queue_redis (#9910) (#9911) * Prevent empty LDAP search result from deactivating all users (#9879) (#9896) * Fix wrong permissions check when issues/prs shared operations (#9885) (#9889) * Check user != nil before checking values (#9881) (#9883) * Allow hyphen in language name (#9873) (#9880) * Ensure that 2fa is checked on reset-password (#9857) (#9876) * Fix issues/pulls dependencies problems (#9842) (#9864) * Fix markdown anchor links (#9673) (#9840) * Allow assignee on Pull Creation when Issue Unit is deactivated (#9836) (#9837) * Fix download file wrong content-type (#9825) (#9834) * Fix wrong poster identity on a migrated pull request when submit review (#9827) (#9830) * Fix database dump when log directory is missing (#9818) (#9819) * Fix compare (#9808) (#9814) * Fix push-to-create (#9772) (#9797) * Fix missing msteam webhook on organization (#9781) (#9794) * Fix missing unlock in uniquequeue (#9790) (#9791) * Fix add team on collaborator page when same name as organization (#9778) * DeleteRepoFile incorrectly handles Delete to new branch (#9769) (#9775) * Fix milestones page (#9771) * Fix SimpleMDE quote reply (#9757) (#9768) * Fix missing updated time on migrated issues and comments (#9744) (#9764) * Move Errored PRs out of StatusChecking (#9675) (#9726) * Make hook status printing configurable with delay (#9641) (#9725) * Fix /repos/issues/search (#9698) (#9724) * Silence fomantic error regarding tabs (#9713) (#9718) * Remove unused lock (#9709) (#9710) * Remove q.lock.Unlock() in setInternal to prevent panic (#9705) (#9706) * Load milestone in API PR list (#9671) (#9700) * Don't attempt to close issue if already closed (#9696) (#9699) * Remove google font call (#9668) (#9681) * Eliminate horizontal scroll caused by footer (#9674) * Fix nil reference in repo generation (#9660) (#9666) * Add HTML URL to API Issues (#9654) (#9661) * Add PR review webhook to Telegram (#9653) (#9655) * Use filepath.IsAbs instead of path.IsAbs (#9651) (#9652) * Disable remove button on repository teams when have access to all (#9640) * Clean up old references on branch delete (#9614) * Hide public repos owned by private orgs (#9609) * Fix access issues on milestone and issue overview pages. (#9603) * Fix error logged when repos qs is empty (#9591) * Dont trigger notification twice on issue assignee change (#9582) * Fix mirror pushed commit actions (#9572) * Allow only specific columns to be updated on issue via API (#9189) (#9539) * Fix default avatar for ghost user (#9536) * Fix download of release attachments with same name (#9529) * Resolve deprecated INI conversion (#9525) * Ignore empty avatars during database migration (#9520) * Fix deleted branch isn't removed when push the branch again (#9516) * Fix repository issues pagination bug when there are more than one label filter (#9512) * Fix SetExpr failed (#9506) * Remove obsolete file private/push_update.go (#9503) * When recreating hooks, delete them first so they are recreated with the umask (#9502) * Properly enforce gitea environment for pushes (#9501) * Fix datarace on repo indexer queue (#9490) * Add call to load repo prior to redirect in add/remove dependency code (#9484) * Wrap the code indexer (#9476) * Use Req.URL.RequestURI() to cope with FCGI urls (#9473) * Set default ssh.minimum_key_sizes (#9466) * Fixed issue with paging in /repos/{owner}/{repo}/git/trees/{sha} api (#9459) * Fix wrong notification on merge (#9450) * Issue with Migration rule v111 (#9449) * Trigger webhook when deleting a branch after merging a PR (#9424) * Add migration to sanitize repository original_url (#9423) * Use OriginalURL instead of CloneAddr in migration logging (#9418) * Push update after branch is restored (#9416) * Fix wrong migration (#9381) * Fix show repositories filter (#9234) (#9379) * Fix Slack webhook payload title generation to work with Mattermost (#9378) * Fix double webhook for new PR (#9375) * AuthorizedKeysCommand should not query db directly (#9371) * Fix missed change to GetManager() (#9361) * Fix cache problem on dashboard (#9358) * RepoIndexer: DefaultBranch needs to be prefixed by BranchPrefix (#9356) * Fix protected branch using IssueID (#9348) * Fix nondeterministic behavior (#9341) * Fix PR/issue redirects when having external tracker (#9339) * Remove release attachments which repository has been deleted (#9334) * Fix issue indexer not triggered when migrating a repository (#9332) * Add SyncTags to uploader interface (#9326) * Fix bug that release attachment files not deleted when deleting repository (#9322) * Only sync tags after all migration release batches are completed (#9319) * File Edit: Author/Committer interchanged (#9297) * prebuild CSS/JS before xgo release binaries (#9293) * Log: Ensure FLAGS=none shows no flags (#9287) * Make Diff Detail on Pull Request Changed File UI always on Top (#9280) * Switch CSS minifier to cssnano (#9260) * Fix latest docker image haven't include static files. (#9252) * Don't link wiki revision to commit (#9244) * Change review content column to type text in db (#9229) * Fixed topic regex pattern and added search by topic links after save (#9219) * Add language to user API responce (#9215) * Correct tooltip message blocked by dependencies (#9211) * Add SimpleMDE and Fix Image Paste for Issue/Comment Editor (#9197) * Fix panic when diff (#9187) * Fix #9151 - smtp logger configuration sendTos should be an array (#9154) * Fix max length check and limit in multiple repo forms (#9148) * Always Show Password Field on Link Account Sign-in Page (#9147) * Properly fix displaying virtual session provider in admin panel (#9137) * Fix race condition on indexer (#9136) * Fix team links in HTML rendering (#9127) * Fix race condition in ReplaceSanitizer (#9123) * Fix what information is shown about user in API (#9115) * Fix nil context user for template repositories (#9099) * Hide given credentials for migrated repos. (#9097) * Fix reCAPTCHA API URL (#9083) * Fix password checks on admin create/edit user (#9076) * Update golang.org/x/crypto vendor to use acme v2 (#9056) * Ensure Written is set in GZIP ProxyResponseWriter (#9018) * Fix wrong system notice when repository is empty (#9010) * Fix broken link to branch from issue list (#9003) * Fix bug when pack js (#8992) * New review approvals shouldn't require a message (#8991) * Shadow password correctly for session config (#8984) * Don't send notification on pending reviews (#8943) * Fix Notify Create Ref Error on tag creation (#8936) * Convert EOL to UNIX-style to render MD properly (#8925) * Migrate temp_repo.go to use git.NewCommand (#8918) * Fix issue with user.fullname (#8902) * Add Close() method to gogitRepository (#8901) * Enable punctuations ending mentions (#8889) * Fix password complexity check on registration (#8887) * Fix require external registration password (#8885) * Fix edit content button on migrated issue content (#8877) * Fix permission checks for close/reopen from commit (#8875) * Fix API Bug (fail on empty assignees) (#8873) * Stop using git count-objects and use raw directory size for repository (#8848) * Fix count for commit graph last page (#8843) * Fix to close opened io resources as soon as not needed (#8839) * Improve notification (#8835) * Fix new user form for non-local users (#8826) * Fix: remove duplicated signed commit icons (#8820) * Fix (open/closed) issue count when label excluded (#8815) * Fix SSH2 conditional in key parsing code (#8806) * Fix 500 when edit hook (#8782) * On windows set core.longpaths true (#8776) * Fix commit expand button to not go to commit link (#8745) * Avoid re-issuing redundant cross-references. (#8734) * Fix milestone close timestamp function (#8728) * Move webhook codes from service to webhook notification (#8712) * Show zero lines on the line counter if the file empty (#8700) * Fix deadline on update issue or PR via API (#8696) * make call createMilestoneComment on newIssue func (#8678) * Send tag create and push webhook when release created on UI (#8671) * Prevent chrome download page as html with alt + click (#8669) * Fix 500 when getting user as unauthenticated user (#8653) * Graceful fixes (#8645) * Add SubURL to redirect path (#8632) (#8634) * Fix extra columns from `label` table (#8633) * Add SubURL to redirect path for transferred/renamed repos (#8632) * Fix bug when migrate from API (#8631) * Allow to merge if file path contains " or \ (#8629) * Prevent removal of non-empty emoji panel following selection of duplicate (#8609) * Ensure default gpg settings not nil and found commits have reference to repo (#8604) * Set webhook Content-Type for application/x-www-form-urlencoded (#8599) * Fix #8582 by handling empty repos (#8587) * Fix of the diff statistics view on pull request's (#8581) * Fix bug on pull requests when transfer head repository (#8564) * Fix template error on account page (#8562) * Allow externalID to be UUID (#8551) * Fix ignored error on editorconfig api (#8550) * Fix user avatar name (#8547) * Ensure that GitRepo is set on Empty repositories (#8539) * Add missed close in ServeBlobLFS (#8527) * Fix migrate mirror 500 bug (#8526) * Fix password complexity regex for special characters (on master) (#8525) * ENHANCEMENTS * Explicitly refer to PR in squash-merge commit message in case of external tracker (#9844) (#9855) * Add a /user/login landing page option (#9622) * Some more e-mail notification fixes (#9596) * Add branch protection option to block merge on requested changes. (#9592) * Add footer extra links template (#9576) * Fix for a wrong URL in activity page of repository. (#9571) * Update default issue template (#9568) * Change markdown rendering from blackfriday to goldmark (#9533) * Extend file create api with dates (#9464) * Add ActionCommentPull action (#9456) * Response for context on retry database connection (#9444) * Refactor webhooks to reduce code duplication (#9422) * update couchbase deps for new license (#9419) * Add .ignore file for search tools (#9417) * Remove unsued struct (#9405) * Hide not allowed Reactions (#9387) * Remove text from action-only webhooks (#9377) * Move PushToBaseRepo from models to services/pull (#9352) * Site admin could view org's members (#9346) * Sleep longer if request speed is over github limitation (#9335) * Refactor comment (#9330) * Refactor code indexer (#9313) * Remove SavePatch and generate patches on the fly (#9302) * Move some pull request functions from models to services (#9266) * Update JS dependencies (#9255) * Show label list on label set (#9251) * Redirect issue if repo has configured external tracker. (#9247) * Allow kbd tags (#9245) * Remove unused comment actions (#9222) * Fixed errors logging in dump.go (#9218) * Expose release counter to repo API response (#9214) * Make consistent links to repository in the Slack/Mattermost notificiations (#9205) * Expose pull request counter to repo API response (#9202) * Extend TrackedTimes API (#9200) * Extend StopWatch API (#9196) * Move code indexer related code to a new package (#9191) * Docker: ask s6 to stop all service when gitea stop (#9171) * Variable expansion in repository templates (#9163) * Add avatar and issue labels to template repositories (#9149) * Show single review comments in the PR conversation tab (#9143) * Extract createComment (#9125) * Move PushUpdateOptions from models to repofiles (#9124) * Alternate syntax for cross references (#9116) * Add USE_SERVICE_WORKER setting (#9110) * Only show part of members on orgnization dashboard and add paging for orgnization members page (#9092) * Explore page: Add topic param to pagination (#9077) (#9078) * Markdown: Sanitizier Configuration (#9075) * Add password requirement info on error (#9074) * Allow authors to use act keywords in PR content (#9059) * Move modules/gzip to gitea.com/macaron/gzip (#9058) * Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) * Context menus for comments, add quote reply (#9043) * Update branch API endpoint to show effective branch protection. (#9031) * Move git graph from models to modules/graph (#9027) * Move merge actions to notification (#9024) * Move mirror sync actions to notification (#9022) * Add retry for migration http/https requests (#9019) * Rewrite delivery of issue and comment mails (#9009) * Add review comments to mail notifications (#8996) * Refactor pull request review (#8954) * Githook highlighter (#8932) * Add git hooks and webhooks to template repositories; move to services (#8926) * Only view branch or tag if it match refType requested. (#8899) * Drop Admin attribute based on LDAP when login (continue #1743) (#8849) * Add additional periods to activity page (#8829) * Update go-org to optimize code (#8824) * Move some actions to notification/action (#8779) * Webhook support custom proxy (#8760) * Fix API deadline removal (#8759) * Mark review comment as invalidated when file is deleted (#8751) * Move pull list code to a separate file (#8748) * Move webhook to a standalone package under modules (#8747) * Multi repo select on issue page (#8741) * apply exclude label on milestone issue list (#8739) * Move issue notifications and assignee man (#8713) * Move issue change content from models to service (#8711) * Move issue change status from models to service (#8691) * Move more issue assignee code from models to issue service (#8690) * Create PR on Current Repository by Default (#8670) * Improve Open Graph Protocol (#8637) * Batch hook pre- and post-receive calls (#8602) * Improve webhooks (#8583) * Move transfer repository and rename repository on a service package and start action notification (#8573) * Implement/Fix PR review webhooks (#8570) * Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering to go-org (#8560) * Move some repositories' operations to a standalone service package (#8557) * Allow more than 255 characters for tokens in external_login_user table (#8554) * Move issue label operations to issue service package (#8553) * Adjust error reporting from merge failures and use LC_ALL=C for git (#8548) * Mail assignee when issue/pull request is assigned (#8546) * Allow committing / adding empty files using the web ui (#8420) (#8532) * Move sync mirror actions to mirror service package (#8518) * Remove arrows on numeric inputs (#8516) * Support inline rendering of CUSTOM_URL_SCHEMES (#8496) * Recalculate repository access only for specific user (#8481) * Add download button for rull request diff- and patch-file (#8470) * Add single sign-on support via SSPI on Windows (#8463) * Move change issue title from models to issue service package (#8456) * Add included tag on branch view (#8449) * Make static resouces web browser cache time customized on app.ini (#8442) * Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) * Add pagination to commit graph page (#8360) * Use templates for issue e-mail subject and body (#8329) * Move clearlabels from models to issue service (#8326) * Move AddTestPullRequestTask to pull service package from models (#8324) * Team permission to create repository in organization (#8312) * Allows external rendering of other filetypes (#8300) * Add 'Alt + click' feature to exclude labels (#8199) * Configurable close and reopen keywords for PRs (#8120) * Configurable URL for static resources (#7911) * Unifies commit list in repository commit table and wiki revision page (#7907) * Allow cross-repository dependencies on issues (#7901) * Auto-subscribe user to repository when they commit/tag to it (#7657) * Restore Graceful Restarting & Socket Activation (#7274) * wiki - add 'write' 'preview' buttons to wiki edit like in issues (#7241) * Change target branch for pull request (#6488) * Display PR commits and diffs using base repo rather than forked (#3648) * TESTING * Add debug option to serv to help debug problems (#9492) * Fix the intermittent TestGPGGit failures (#9360) * Testing: Update postgres sequences (#9304) * Missed defer prepareTestEnv (#9285) * Fix "data race" in testlogger (#9159) * Yet another attempt to fix the intermittent failure of gpg git test (#9146) * integrations: Fix Dropped Test Errors (#9040) * services/mirror: fix dropped test errors (#9007) * Fix intermittent GPG Git test failure (#8968) * Update Github Migration Tests (#8893) (#8938) * Update heatmap fixtures to restore tests (#8615) * TRANSLATION * Fix Korean locales (#9761) (#9780) * Fix placeholders in the error message (#9060) * Fix spelling of admin.users.max_repo_creation (#8934) * Improve german translation of homepage (#8549) * BUILD * Fix webpack polyfills (#9735) (#9738) * Update gitea.com/macaron to 1.4.0 (#9608) * Upgrade lato fonts to v16. (#9498) * Update alpine to 3.11 (#9440) * Upgrade blevesearch (#9177) * Remove built js/css files from git (#9114) * Move semantic.dropdown.custom.js to webpack (#9064) * Check compiled files during build (#9042) * Enable lazy-loading of gitgraph.js (#9036) * Pack web_src/js/draw.js to public/js/index.js (#8975) * Modernize js and use babel (#8973) * Move index.js to web_src and use webpack to pack them (#8598) * Restrict modules/graceful to non-windows build and shim IsChild (#8537) * Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501) * DOCS * Swagger info corrections (#9441) (#9558) * Add ALLOW_ONLY_EXTERNAL_REGISTRATION to config cheat sheet (#8986) * Rephrase comment about RuntimeDirectory option in systemd config (#8912) * Explicitly indicate the socket unit to use the service unit "gitea.service" (#8804) * Adjust the must-change-password help (#8755) * Add notice to docs for migrating from more recent versions of Gogs (#8724) * Add explicit info about customization of homepage (#8694) * Change external asciidoctor tool to embedded mode (#8677) * Add Docker fail2ban configuration (#8642) * Correct some outdated statements in the contributing guidelines (#8612) * Basic Design guidelines (describing different parts of the code) (#8601) * Display Gitea logo in Readme (#8592) * Fix building from source docs to ref AppWorkPath (#8567) * Update the provided gitea.service to mention socket activation (#8531) * Doc added how to setup email (#8520) * MISC * Backport Locales [2020-01-14] (#9773) * Add translatable Powered by Gitea text in footer (#9600) * Add contrib/environment-to-ini (#9519) * Remove unnecessary loading of settings in update hook (#9496) * Update gitignore list (#9437) * Update license list (#9436) * Fix background reactions in the arc-green theme (#9421) * Update and fix chardet import (#9351) * Ensure LF on checkouts and in editors (#9259) * Fixed topics margin (#9248) * Add comment to exported function WindowsServiceName (make revive) (#9241) * Remove empty lines on issues/pulls page (#9232) * Fix Add Comment Button's "+" Position (#9140) * Add first issue comment hashtag (#9052) * Change some label colors (#9051) * Fix double scroll in branch dropdown (#9048) * Add comment highlight when target from url (#9047) * Update display of reactions to issues and comments (#9038) * Button tooltip formatting under Branches (#9034) * Allow setting default branch via API (#9030) * Update dashboard context for PR reviews (#8995) * Show repository size in repo home page and settings (#8940) * Allow to add and remove all repositories to/from team. (#8867) * Show due date in dashboard issues list (#8860) * Theme arc-green: reverse heatmap colors (#8840) * Project files table style update (#8757) * gitignore debugging file from vscode (#8740) * Add API for Issue set Subscription (#8729) * Make 100% width search bar (#8710) * Update color theme for heatmap (#8709) * Add margin to title_wip_desc (#8705) * Improve visibility of "Pending" indicator (#8685) * Improve accessibility of dropdown menus (#8638) * Make /users/{username}/repos list private repos the current user has access to (#8621) * Prevent .code-view from overriding font on icon fonts (#8614) * Add id references on all issue events to allow internal linking (#8608) * Upgrade xorm to v0.8.0 (#8536) * Upgrade gopkg.in/ini.v1 (#8500) * Update CodeMirror to version 5.49.0 (#8381) * Wiki editor: enable side-by-side button (#7242)