Gitea v1.12.0 Release Notes
Release Date: 2020-06-17 // almost 4 years ago-
π₯ 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)
- 0οΈβ£ 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)
- 0οΈβ£ 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)
- 0οΈβ£ 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)
- 0οΈβ£ 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)
- 0οΈβ£ 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)