-
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)
-
v1.11.0-rc2
* BREAKING * Make CertFile and KeyFile relative to CustomPath (#9868) (#9874) * SECURITY * Never allow an empty password to validate (#9682) (#9683) * Prevent redirect to Host (#9678) (#9679) * BUGFIXES * 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) * Explicitly refer to PR in squash-merge commit message in case of external tracker (#9844) (#9855) * 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) * TRANSLATION * Fix Korean locales (#9761) (#9780) * BUILD * Fix webpack polyfills (#9735) (#9738) * MISC * Backport Locales [2020-01-14] (#9773)
-
v1.10.3
* SECURITY * Hide credentials when submitting migration (#9102) (#9704) * Never allow an empty password to validate (#9682) (#9684) * Prevent redirect to Host (#9678) (#9680) * Hide public repos owned by private orgs (#9609) (#9616) * BUGFIXES * Allow assignee on Pull Creation when Issue Unit is deactivated (#9836) (#9838) * Fix download file wrong content-type (#9825) (#9835) * Fix wrong identify poster on a migrated pull request when submit review (#9827) (#9831) * Fix dump non-exist log directory (#9818) (#9820) * Fix compare (#9808) (#9815) * Fix missing msteam webhook on organization (#9781) (#9795) * Fix add team on collaborator page when same name as organization (#9783) * Fix cache problem on dashboard (#9358) (#9703) * Send tag create and push webhook when release created on UI (#8671) (#9702) * Branches not at ref commit ID should not be listed as Merged (#9614) (#9639)
-
v1.11.0-rc1
* BREAKING * 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 no enough permission (#8655) * Move startpage/homepage translation to crowdin (#8596) * 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 * 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 * 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) * SECURITY * 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) * Hide credentials when submitting migration through API (#9102) * 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 placeholders in the error message (#9060) * Fix spelling of admin.users.max_repo_creation (#8934) * Improve german translation of homepage (#8549) * BUILD * 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 * 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)
-
v1.10.2
* BUGFIXES * Allow only specific Columns to be updated on Issue via API (#9539) (#9580) * Add ErrReactionAlreadyExist error (#9550) (#9564) * Fix bug when migrate from API (#8631) (#9563) * Use default avatar for ghost user (#9536) (#9537) * Fix repository issues pagination bug when there are more than one label filter (#9512) (#9528) * Fix deleted branch not removed when push the branch again (#9516) (#9524) * Fix missing repository status when migrating repository via API (#9511) * Trigger webhook when deleting a branch after merging a PR (#9510) * Fix paging on /repos/{owner}/{repo}/git/trees/{sha} API endpoint (#9482) * Fix NewCommitStatus (#9434) (#9435) * Use OriginalURL instead of CloneAddr in migration logging (#9418) (#9420) * Fix Slack webhook payload title generation to work with Mattermost (#9404) * DefaultBranch needs to be prefixed by BranchPrefix (#9356) (#9359) * Fix issue indexer not triggered when migrating a repository (#9333) * Fix bug that release attachment files not deleted when deleting repository (#9322) (#9329) * Fix migration releases (#9319) (#9326) (#9328) * Fix File Edit: Author/Committer interchanged (#9297) (#9300)
-
v1.10.1
* BUGFIXES * Fix max length check and limit in multiple repo forms (#9148) (#9204) * Properly fix displaying virtual session provider in admin panel (#9137) (#9203) * Upgrade levelqueue to 0.1.0 (#9192) (#9199) * Fix panic when diff (#9187) (#9193) * Smtp logger configuration sendTos should be an array (#9154) (#9157) * Always Show Password Field on Link Account Sign-in Page (#9150) * Create PR on Current Repository by Default (#8670) (#9141) * Fix race on indexer (#9136) (#9139) * Fix reCAPTCHA URL (#9119) * Hide migrated credentials (#9098) * Update golang.org/x/crypto vendor to use acme v2 (#9056) (#9085) * Fix password checks on admin create/edit user (#9076) (#9081) * Fix add search as a reserved username (#9063) (#9065) * Fix permission checks for close/reopen from commit (#8875) (#9033) * Ensure Written is set in GZIP ProxyResponseWriter (#9018) (#9025) * Fix broken link to branch from issue list (#9003) (#9021) * Fix wrong system notice when repository is empty (#9020) * Shadow password correctly for session config (#8984) (#9002)
-
v1.10.0
* BREAKING * Fix deadline on update issue or PR via API (#8698) * Hide some user information via API if user doesn't have enough permission (#8655) (#8657) * Remove legacy handling of drone token (#8191) * Change repo search to use exact match for topic search. (#7941) * Add pagination for admin api get orgs and fix only list public orgs bug (#7742) * Implement the ability to change the ssh port to match what is in the gitea config (#7286) * SECURITY * Ignore mentions for users with no access (#8395) * Be more strict with git arguments (#7715) * reserve .well-known username (#7637) * FEATURE * Org/Members: display 2FA members states + optimize sql requests (#7621) * SetDefaultBranch on pushing to empty repository (#7610) * Adds side-by-side diff for images (#6784) * API method to list all commits of a repository (#6408) * Password Complexity Checks (#6230) * Add option to initialize repository with labels (#6061) * Add additional password hash algorithms (#6023) * BUGFIXES * Allow to merge if file path contains " or \ (#8629) (#8771) * On windows set core.longpaths true (#8776) (#8786) * Fix 500 when edit hook (#8782) (#8789) * Fix Checkbox at RepoSettings Protected Branch (#8799) (#8801) * Fix SSH2 conditional in key parsing code (#8806) (#8810) * Fix commit expand button to not go to commit link (#8745) (#8825) * Fix new user form for non-local users (#8826) (#8828) * Fix to close opened io resources as soon as not needed (#8839) (#8846) * Fix edit content button on migrated issue content (#8877) (#8884) * Fix require external registration password (#8885) (#8890) * Fix password complexity check on registration (#8887) (#8888) * Update Github Migration Tests (#8896) (#8938) (#8945) * Fix issue with user.fullname (#8903) * Enable punctuations ending mentions (#8889) (#8894) * Add Close() method to gogitRepository (#8901) (#8956) * Hotfix for review actions and notifications (#8965) * Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) (#8618) * Fix milestone close timestamp (#8728) (#8730) * Fix 500 when getting user as unauthenticated user (#8653) (#8663) * Fix 'New Issue Missing Milestone Comment' (#8678) (#8681) * Use AppSubUrl for more redirections (#8647) (#8651) * Add SubURL to redirect path (#8632) (#8634) * Fix template error on account page (#8562) (#8622) * Allow externalID to be UUID (#8551) (#8624) * Prevent removal of non-empty emoji panel following selection of duplicate (#8609) (#8623) * Update heatmap fixtures to restore tests (#8615) (#8616) * Ensure that diff stats can scroll independently of the diff (#8581) (#8621) * Webhook: set Content-Type for application/x-www-form-urlencoded (#8600) * Fix #8582 by handling empty repos (#8587) (#8594) * Fix bug on pull requests when transfer head repository (#8564) (#8569) * Add missed close in ServeBlobLFS (#8527) (#8542) * Ensure that GitRepo is set on Empty repositories (#8539) (#8541) * Fix migrate mirror 500 bug (#8526) (#8530) * Fix password complexity regex for special characters (#8524) * Prevent .code-view from overriding font on icon fonts (#8614) (#8627) * Allow more than 255 characters for tokens in external_login_user table (#8554) * Fix errors in create org UI regarding team access permission (#8506) * Fix bug on FindExternalUsersByProvider (#8504) * Create .ssh dir as necessary (#8486) * IsBranchExist: return false if provided name is empty (#8485) * Making openssh listen on SSH_LISTEN_PORT not SSH_PORT (#8477) * Add check for empty set when dropping indexes during migration (#8471) * LFS files are relative to LFS content path, ensure that when deleting they are made relative to this (#8455) * Ensure Request Body Readers are closed in LFS server (#8454) * Fix template bug on mirror repository setting page (#8438) * Fix migration v96 to keep issue attachments (#8435) * Update strk.kbt.io/projects/go/libravatar to latest (#8429) * Singular form for files that has only one line (#8416) * Check for either escaped or unescaped wiki filenames (#8408) * Allow users with explicit read access to give approvals (#8382) * Fix editor commit to new branch if PR disabled (#8375) * readd .markdown class to all markup renderers (#8357) * Upgrade xorm to v0.7.9 to fix some bugs (#8354) * Fix column name ambiguity in GetUserIssueStats() (#8347) * Change general form binding to gogs form (#8334) * Fix pull request commit status in user dashboard list (#8321) * Fix repo_admin_change_team_access always checked in org settings (#8319) * Update to github.com/lafriks/xormstore@v1.3.0 (#8317) * Show correct commit status in PR list (#8316) * Bugfix for image compare and minor improvements to image compare (#8289) * Update xorm (#8286) * Fix API for edit and delete release attachment (#8285) * Fix nil object access in some conditions when parsing cross references (#8281) * Fix label count (#8267) * Only show teams access for organization repositories on collaboration setting page (#8265) * Test more reserved usernames (#8263) * Rewrite reference processing code in preparation for opening/closing from comment references (#8261) * Fix assets key on release webhook (#8253) * Allow registration when button is hidden (#8237) * Fix release API URL generation (#8234) * Fix milestone num_issues (#8221) * MS Teams webhook misses commit messages (#8209) * Fix data race (#8204) * Fix team user api (#8172) * Fix pull merge 500 error caused by git-fetch breaking behaviors (#8161) * Make show private icon when repo avatar set (#8144) * Add reviewers as participants (#8121) * Fix Go 1.13 private repository go get issue (#8112) * feat: highlight issue references with : (#8101) * Make AllowedUsers configurable in sshd_config (#8094) * Strict name matching for Repository.GetTagID() (#8074) * Avoid ambiguity of branch/directory names for the git-diff-tree command (#8066) * Add change title notification for issues (#8061) * [ssh] fix the config specification in the authorized_keys template (#8031) * Fix reading git notes from nested trees (#8026) * Fixes synchronize tags to releases for repository - makes sure we are only getting tag refs (#7990) * Fix adding default Telegram webhook (#7972) * Run CORS handler first for /api routes (#7967) * Abort synchronization from LDAP source if there is some error. (#7960) * Fix wrong sender when send slack webhook (#7918) * Fix bug when migrating a private repository (#7917) * Evaluate emojis in commit messages in list view (#7906) * Fix upload file type check (#7890) * lfs/lock: round locked_at timestamp to second (#7872) * fix non existent milestone with 500 error instead of 404 (#7867) * gpg/bugfix: Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7846) * Fix duplicate call of webhook (#7821) * Enable switching to a different source branch when PR already exists (#7819) * Convert files to utf-8 for indexing (#7814) * Do not fetch all refs in pull-request compare (#7797) * Fix multiple bugs with statuses endpoints at API (#7785) * Restore functionality for early gits (#7775) * Fix Slack webhook fork message (#7774) * Rewrite existing repo units if setting is not included in api body (#7763) * Fix rename failed when rewrite public keys (#7761) * Fix approvals counting (#7757) * Add migration step to remove old repo_indexer_status orphaned records (#7746) * Fix repo_index_status lingering when deleting a repository (#7734) * Remove camel case tokenization from repo indexer (#7733) * Fix milestone completness calculation when migrating (#7725) * Regression: Include "executable" files in the index, as they are not necessarily … (#7718) * Fixes indexed repos keeping outdated indexes when files grow too large (#7712) * Skip non-regular files (e.g. submodules) on repo indexing (#7711) * Fix dropTableColumns sqlite implementation (#7710) * Update gopkg.in/src-d/go-git.v4 to v4.13.1 (#7705) * improve branches list performance and fix protected branch icon when no-login (#7695) * Correct wrong datetime format for git (#7689) * Move add to hook queue for created repo to outside xorm session. (#7675) * sugestion to use range .Branches (#7674) * Fix bug on migrating milestone from github (#7665) * hide delete/restore button on archived repos (#7658) * css: use flex to fix floating paginate (#7656) * Fix syntax highlight initialization (#7617) * Fix panic on push at - Merging pull request causes 500 error (#7615) * Make PKCS8, PEM and SSH2 keys work (#7600) * Fix mistake in arc-green.less split-diff css code. (#7587) * Handle ErrUserProhibitLogin in http git (#7586) * Fix bug create/edit wiki pages when code master branch protected (#7580) * Fixes Malformed URLs in API git/commits response (#7565) * Fix file header overflow in file and blame views (#7562) * Improve SSH key parser to handle newlines in keys (#7522) * Fix empty commits now showing in repo overview (#7521) * Fix repository's pull request count error (#7518) * Fix markdown invoke sequence (#7513) * Remove duplicated webhook trigger (#7511) * Update User.NumRepos atomically in createRepository (#7493) * Fix settings page of repo you aren't admin print error - Settings pages giving UnitType error message (#7482) * Fix redirection after file edit - Handles all redirects for Web UI File CRUD (#7478) * cmd/serv: actually exit after fatal errors (#7458) * Fix an issue with some pages throwing 'not defined' js exceptions (#7450) * fix Dropzone.js integration (#7445) * Fix regex for issues in commit messages (#7444) * Diff: Fix indentation on unhighlighted code (#7435) * Only show "New Pull Request" button if repo allows pulls (#7426) * Upgrade macaron/captcha to fix random error problem (#7407) * create class for inline positioned lists (#7393) * Fetch refs for successful testing for tag (#7388) * add missing template variable on organisation settings (#7385) * fix post parameter - on issue list - unset assignee (#7380) * fix/define autochecked checkboxes on issue list in firefox (#7320) * only return head: null if source branch was deleted (#6705) * ENHANCEMENT * Add nofollow to sign in links (#8509) * vendor: update mvdan.cc/xurls/v2 to v2.1.0 (#8495) * Update milestone issues numbers when save milestone and other code improvements (#8411) * Add extra user information when migrating release (#8331) * Require overall success if no context is given for status check (#8318) * Transaction-aware retry create issue to cope with duplicate keys (#8307) * Change link on issue milestone (#8246) * Alwaywas return local url for users avatar (#8245) * Move some milestone functions to a standalone package (#8213) * Move create issue comment to comments package (#8212) * Disable max height property of comment textarea (#8203) * Add 'Mentioning you' group to /issues page (#8201) * oauth2 with remote Gitea (#8149) * Reference issues from pull requests and other issues (#8137) * Fix webhooks to use proxy from environment (#8116) * Add merged commit id on pull view when it's merged (#8062) * Add teams to repo on collaboration page. (#8045) * Update swagger to 0.20.1 (#8010) * Make link last commit massages in repository home page and commit tables (#8006) * Add API endpoint for accessing repo topics (#7963) * Include description in repository search (#7942) * Use gitea forked macaron (#7933) * Fix pull creation with empty changes (#7920) * Allow token as authorization for accessing attachments (#7909) * Retry create issue to cope with duplicate keys (#7898) * Move git diff codes from models to services/gitdiff (#7889) * migrate gplus to google oauth2 provider (#7885) * Remove unique filter from repo indexer analyzer. (#7878) * Detect delimiter in CSV rendering (#7869) * Import topics during migration (#7851) * Move CreateReview to modules/pull (#7841) * vendor: update pdf.js to v2.1.266 (#7834) * Support SSH_LISTEN_PORT env var in docker app.ini template (#7829) * Add Ability for User to Customize Email Notification Frequency (#7813) * Move database settings from models to setting (#7806) * Display ui time with customize time location (#7792) * Implement webhook branch filter (#7791) * Restrict repository indexing by glob match (#7767) * Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756) * Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) * deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#7749) * Apply emoji on commit graph page (#7743) * Add a lot of extension to language mappings for syntax highlights (#7741) * Add SQL execution on log and indexes on table repository and comment (#7740) * Set DB connection error level to error (#7724) * Check commit message hashes before making links (#7713) * remove unnecessary fmt on generate bindata (#7706) * Fix specific highlighting (CMakeLists.txt ...) (#7686) * Add file status on API (#7671) * Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669) * Provide links in commit summaries in commits table/view list (#7659) * Change length of some repository's columns (#7652) * Move commit repo action from models to repofiles package (#7645) * fix wrong email when use gitea as OAuth2 provider (#7640) * [Branch View] add download button (#7604) * Update to xorm@v0.7.4 (#7596) * use 403 instead of 401 for ErrUserProhibitLogin (#7591) * Removed unnecessary conversions (#7557) * Un-lambda base.FileSize (#7556) * Added missing error checks in tests (#7554) * Move create release from models to a standalone package (#7539) * Make default branch name link to default branch (#7519) * Added total count of contributions to heatmap (#7517) * Move mirror to a standalone package from models (#7486) * Move models.PushUpdate to repofiles.PushUpdate (#7485) * Include thread related headers in issue/coment mail (#7484) * Refuse merge until all required status checks success (#7481) * convert all js var to let/const (#7464) * Only create branches for opened pull requestes when migrating from github (#7463) * jQuery 3 (#7425) * Add notification placeholder (#7409) * Search Commits via Commit Hash (#7400) * Move status table to cron package (#7370) * wiki - page revisions list (#7369) * Display original author and URL information when showing migrated issues/comments (#7352) * Refactor filetype is not allowed errors (#7309) * switch to use gliderlabs/ssh for builtin server (#7250) * Remove settting dependency on modules/session (#7237) * Move all mail related codes from models to services/mailer (#7200) * Support git.PATH entry in app.ini (#6772) * Support setting cookie domain (#6288) * Move migrating repository from frontend to backend (#6200) * Delete releases attachments if release is deleted (#6068) * TRANSLATION * Latvian translation for home page (#8468) * Add home template italian translation (#8352) * fix misprint (#7452) * BUILD * use go 1.13 (#8088) * MISC * add file line count info on UI (#8396) * Make issues page left menu 100% width and add reponame as title attribute (#8359) * [arc-green] white on hover for active menu items (#8344) * Move ref (branch or tag) location on issue list page (#8157) * apply emoji on dashboard issue list labels (#8156) * 1148: Take up the full width when viewing the diff in split view. (#8114) * Display description of 'make this repo private' as help text, not as tooltip (#8097) * Fixes deformed emoji in pull request reviews (#8047) * Add strike to old header on comment (#8046) * Add tooltip for the visibility checkbox in /repo/create (#8025) * Update github.com/lafriks/xormstore and tidy up mod.go (#8020) * keep blame view buttons sequence consistent with normal view when view a file (#8007) * Use "Pull Request" instead of "Merge Request" (#8003) * Move line number to :before attr to hide from search on browser (#8002) * Changed black color to white for (read) number label on issue list page (#8000) * [Branch View] show "New Pull Request" Button only if posible (#7977) * Fix hook problem by only setting the git environment variables if we are passed them (#7854) * Prevent Commit Status and Message From Overflowing On Branch Page (#7800) * Fix global search result CSS, misc CSS tweaks (#7789) * Tweak label border CSS (#7739) * Fix create menu item widths (#7708) * Extract the username and password from the mirror url (#7651) * [Branch View] Delete duplicate protection symbol (#7624) * [Branch View] Delete Table Header (#7622) * [Branch View] icons to buttons (#7602) * update js dependencies (#7462) * Add Extra Info to Branches Page (#7461) * Bump lodash from 4.17.11 to 4.17.14 (#7459) * wiki history improvements (#7391) * ui fixes - compare view and archieved repo issues (#7345) * dark theme scrollbars (#7269) * wiki - editor - add buttons 'inline code', 'empty checkbox', 'checked checkbox' (#7243) * Fix Statuses API only shows first 10 statuses: Add paging and extend API GetCommitStatuses (#7141)
-
v1.9.6
* BUGFIXES * Allow to merge if file path contains " or \ (#8629) (#8772) * Fix 500 when edit hook (#8782) (#8790) * Fix issue with user.fullname (#8904) * Update Github Migration Test (#8897) (#8946) * Add Close() method to gogitRepository (#8901) (#8958)
-
v1.9.5
* BREAKING * Hide some user information via API if user doesn't have enough permission (#8655) (#8658) * BUGFIXES * Fix milestone close timestamp (#8728) (#8731) * Fix deadline on update issue or PR via API (#8699) * Fix 'New Issue Missing Milestone Comment' (#8678) (#8682) * Fix 500 when getting user as unauthenticated user (#8653) (#8662) * Use AppSubUrl for more redirections (#8647) (#8652) * Add SubURL to redirect path (#8632) (#8634) (#8640) * Fix #8582 by handling empty repos (#8587) (#8593) * Fix bug on pull requests when transfer head repository (#8571) * Add missed close in ServeBlobLFS (#8527) (#8543) * Return false if provided branch name is empty for IsBranchExist (#8485) (#8492) * Create .ssh dir as necessary (#8369) (#8486) (#8489) * Restore functionality for early gits (#7775) (#8476) * Add check for empty set when dropping indexes during migration (#8475) * Ensure Request Body Readers are closed in LFS server (#8454) (#8459) * Ensure that LFS files are relative to the LFS content path (#8455) (#8458) * SECURITY * Ignore mentions for users with no access (#8395) (#8484) * TESTING * Update heatmap fixtures to restore tests (#8615) (#8617)
-
v1.10.0-rc2
* BREAKING * Fix deadline on update issue or PR via API (#8698) * Hide some user information via API if user doesn't have enough permission (#8655) (#8657) * BUGFIXES * Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) (#8618) * Fix milestone close timestamp (#8728) (#8730) * Fix 500 when getting user as unauthenticated user (#8653) (#8663) * Fix 'New Issue Missing Milestone Comment' (#8678) (#8681) * Use AppSubUrl for more redirections (#8647) (#8651) * Add SubURL to redirect path (#8632) (#8634) * Fix template error on account page (#8562) (#8622) * Allow externalID to be UUID (#8551) (#8624) * Prevent removal of non-empty emoji panel following selection of duplicate (#8609) (#8623) * Update heatmap fixtures to restore tests (#8615) (#8616) * Ensure that diff stats can scroll independently of the diff (#8581) (#8621) * Webhook: set Content-Type for application/x-www-form-urlencoded (#8600) * Fix #8582 by handling empty repos (#8587) (#8594) * Fix bug on pull requests when transfer head repository (#8564) (#8569) * Add missed close in ServeBlobLFS (#8527) (#8542) * Ensure that GitRepo is set on Empty repositories (#8539) (#8541) * Fix migrate mirror 500 bug (#8526) (#8530) * Fix password complexity regex for special characters (#8524) * Prevent .code-view from overriding font on icon fonts (#8614) (#8627) * Allow more than 255 characters for tokens in external_login_user table (#8554)
-
v1.10.0-rc1
* BREAKING * Remove legacy handling of drone token (#8191) * Change repo search to use exact match for topic search. (#7941) * Add pagination for admin api get orgs and fix only list public orgs bug (#7742) * Implement the ability to change the ssh port to match what is in the gitea config (#7286) * FEATURE * Org/Members: display 2FA members states + optimize sql requests (#7621) * SetDefaultBranch on pushing to empty repository (#7610) * Adds side-by-side diff for images (#6784) * API method to list all commits of a repository (#6408) * Password Complexity Checks (#6230) * Add option to initialize repository with labels (#6061) * Add additional password hash algorithms (#6023) * BUGFIXES * Fix errors in create org UI regarding team access permission (#8506) * Fix bug on FindExternalUsersByProvider (#8504) * Create .ssh dir as necessary (#8486) * IsBranchExist: return false if provided name is empty (#8485) * Making openssh listen on SSH_LISTEN_PORT not SSH_PORT (#8477) * Add check for empty set when dropping indexes during migration (#8471) * LFS files are relative to LFS content path, ensure that when deleting they are made relative to this (#8455) * Ensure Request Body Readers are closed in LFS server (#8454) * Fix template bug on mirror repository setting page (#8438) * Fix migration v96 to keep issue attachments (#8435) * Update strk.kbt.io/projects/go/libravatar to latest (#8429) * Singular form for files that has only one line (#8416) * Check for either escaped or unescaped wiki filenames (#8408) * Allow users with explicit read access to give approvals (#8382) * Fix editor commit to new branch if PR disabled (#8375) * readd .markdown class to all markup renderers (#8357) * Upgrade xorm to v0.7.9 to fix some bugs (#8354) * Fix column name ambiguity in GetUserIssueStats() (#8347) * Change general form binding to gogs form (#8334) * Fix pull request commit status in user dashboard list (#8321) * Fix repo_admin_change_team_access always checked in org settings (#8319) * Update to github.com/lafriks/xormstore@v1.3.0 (#8317) * Show correct commit status in PR list (#8316) * Bugfix for image compare and minor improvements to image compare (#8289) * Update xorm (#8286) * Fix API for edit and delete release attachment (#8285) * Fix nil object access in some conditions when parsing cross references (#8281) * Fix label count (#8267) * Only show teams access for organization repositories on collaboration setting page (#8265) * Test more reserved usernames (#8263) * Rewrite reference processing code in preparation for opening/closing from comment references (#8261) * Fix assets key on release webhook (#8253) * Allow registration when button is hidden (#8237) * Fix release API URL generation (#8234) * Fix milestone num_issues (#8221) * MS Teams webhook misses commit messages (#8209) * Fix data race (#8204) * Fix team user api (#8172) * Fix pull merge 500 error caused by git-fetch breaking behaviors (#8161) * Make show private icon when repo avatar set (#8144) * Add reviewers as participants (#8121) * Fix Go 1.13 private repository go get issue (#8112) * feat: highlight issue references with : (#8101) * Make AllowedUsers configurable in sshd_config (#8094) * Strict name matching for Repository.GetTagID() (#8074) * Avoid ambiguity of branch/directory names for the git-diff-tree command (#8066) * Add change title notification for issues (#8061) * [ssh] fix the config specification in the authorized_keys template (#8031) * Fix reading git notes from nested trees (#8026) * Fixes synchronize tags to releases for repository - makes sure we are only getting tag refs (#7990) * Fix adding default Telegram webhook (#7972) * Run CORS handler first for /api routes (#7967) * Abort synchronization from LDAP source if there is some error. (#7960) * Fix wrong sender when send slack webhook (#7918) * Fix bug when migrating a private repository (#7917) * Evaluate emojis in commit messages in list view (#7906) * Fix upload file type check (#7890) * lfs/lock: round locked_at timestamp to second (#7872) * fix non existent milestone with 500 error instead of 404 (#7867) * gpg/bugfix: Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7846) * Fix duplicate call of webhook (#7821) * Enable switching to a different source branch when PR already exists (#7819) * Convert files to utf-8 for indexing (#7814) * Do not fetch all refs in pull-request compare (#7797) * Fix multiple bugs with statuses endpoints at API (#7785) * Restore functionality for early gits (#7775) * Fix Slack webhook fork message (#7774) * Rewrite existing repo units if setting is not included in api body (#7763) * Fix rename failed when rewrite public keys (#7761) * Fix approvals counting (#7757) * Add migration step to remove old repo_indexer_status orphaned records (#7746) * Fix repo_index_status lingering when deleting a repository (#7734) * Remove camel case tokenization from repo indexer (#7733) * Fix milestone completness calculation when migrating (#7725) * Regression: Include "executable" files in the index, as they are not necessarily … (#7718) * Fixes indexed repos keeping outdated indexes when files grow too large (#7712) * Skip non-regular files (e.g. submodules) on repo indexing (#7711) * Fix dropTableColumns sqlite implementation (#7710) * Update gopkg.in/src-d/go-git.v4 to v4.13.1 (#7705) * improve branches list performance and fix protected branch icon when no-login (#7695) * Correct wrong datetime format for git (#7689) * Move add to hook queue for created repo to outside xorm session. (#7675) * sugestion to use range .Branches (#7674) * Fix bug on migrating milestone from github (#7665) * hide delete/restore button on archived repos (#7658) * css: use flex to fix floating paginate (#7656) * Fix syntax highlight initialization (#7617) * Fix panic on push at - Merging pull request causes 500 error (#7615) * Make PKCS8, PEM and SSH2 keys work (#7600) * Fix mistake in arc-green.less split-diff css code. (#7587) * Handle ErrUserProhibitLogin in http git (#7586) * Fix bug create/edit wiki pages when code master branch protected (#7580) * Fixes Malformed URLs in API git/commits response (#7565) * Fix file header overflow in file and blame views (#7562) * Improve SSH key parser to handle newlines in keys (#7522) * Fix empty commits now showing in repo overview (#7521) * Fix repository's pull request count error (#7518) * Fix markdown invoke sequence (#7513) * Remove duplicated webhook trigger (#7511) * Update User.NumRepos atomically in createRepository (#7493) * Fix settings page of repo you aren't admin print error - Settings pages giving UnitType error message (#7482) * Fix redirection after file edit - Handles all redirects for Web UI File CRUD (#7478) * cmd/serv: actually exit after fatal errors (#7458) * Fix an issue with some pages throwing 'not defined' js exceptions (#7450) * fix Dropzone.js integration (#7445) * Fix regex for issues in commit messages (#7444) * Diff: Fix indentation on unhighlighted code (#7435) * Only show "New Pull Request" button if repo allows pulls (#7426) * Upgrade macaron/captcha to fix random error problem (#7407) * create class for inline positioned lists (#7393) * Fetch refs for successful testing for tag (#7388) * add missing template variable on organisation settings (#7385) * fix post parameter - on issue list - unset assignee (#7380) * fix/define autochecked checkboxes on issue list in firefox (#7320) * only return head: null if source branch was deleted (#6705) * ENHANCEMENT * Add nofollow to sign in links (#8509) * vendor: update mvdan.cc/xurls/v2 to v2.1.0 (#8495) * Update milestone issues numbers when save milestone and other code improvements (#8411) * Add extra user information when migrating release (#8331) * Require overall success if no context is given for status check (#8318) * Transaction-aware retry create issue to cope with duplicate keys (#8307) * Change link on issue milestone (#8246) * Alwaywas return local url for users avatar (#8245) * Move some milestone functions to a standalone package (#8213) * Move create issue comment to comments package (#8212) * Disable max height property of comment textarea (#8203) * Add 'Mentioning you' group to /issues page (#8201) * oauth2 with remote Gitea (#8149) * Reference issues from pull requests and other issues (#8137) * Fix webhooks to use proxy from environment (#8116) * Add merged commit id on pull view when it's merged (#8062) * Add teams to repo on collaboration page. (#8045) * Update swagger to 0.20.1 (#8010) * Make link last commit massages in repository home page and commit tables (#8006) * Add API endpoint for accessing repo topics (#7963) * Include description in repository search (#7942) * Use gitea forked macaron (#7933) * Fix pull creation with empty changes (#7920) * Allow token as authorization for accessing attachments (#7909) * Retry create issue to cope with duplicate keys (#7898) * Move git diff codes from models to services/gitdiff (#7889) * migrate gplus to google oauth2 provider (#7885) * Remove unique filter from repo indexer analyzer. (#7878) * Detect delimiter in CSV rendering (#7869) * Import topics during migration (#7851) * Move CreateReview to modules/pull (#7841) * vendor: update pdf.js to v2.1.266 (#7834) * Support SSH_LISTEN_PORT env var in docker app.ini template (#7829) * Add Ability for User to Customize Email Notification Frequency (#7813) * Move database settings from models to setting (#7806) * Display ui time with customize time location (#7792) * Implement webhook branch filter (#7791) * Restrict repository indexing by glob match (#7767) * Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756) * Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) * deps: Upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#7749) * Apply emoji on commit graph page (#7743) * Add a lot of extension to language mappings for syntax highlights (#7741) * Add SQL execution on log and indexes on table repository and comment (#7740) * Set DB connection error level to error (#7724) * Check commit message hashes before making links (#7713) * remove unnecessary fmt on generate bindata (#7706) * Fix specific highlighting (CMakeLists.txt ...) (#7686) * Add file status on API (#7671) * Add support for DEFAULT_ORG_MEMBER_VISIBLE (#7669) * Provide links in commit summaries in commits table/view list (#7659) * Change length of some repository's columns (#7652) * Move commit repo action from models to repofiles package (#7645) * fix wrong email when use gitea as OAuth2 provider (#7640) * [Branch View] add download button (#7604) * Update to xorm@v0.7.4 (#7596) * use 403 instead of 401 for ErrUserProhibitLogin (#7591) * Removed unnecessary conversions (#7557) * Un-lambda base.FileSize (#7556) * Added missing error checks in tests (#7554) * Move create release from models to a standalone package (#7539) * Make default branch name link to default branch (#7519) * Added total count of contributions to heatmap (#7517) * Move mirror to a standalone package from models (#7486) * Move models.PushUpdate to repofiles.PushUpdate (#7485) * Include thread related headers in issue/coment mail (#7484) * Refuse merge until all required status checks success (#7481) * convert all js var to let/const (#7464) * Only create branches for opened pull requestes when migrating from github (#7463) * jQuery 3 (#7425) * Add notification placeholder (#7409) * Search Commits via Commit Hash (#7400) * Move status table to cron package (#7370) * wiki - page revisions list (#7369) * Display original author and URL information when showing migrated issues/comments (#7352) * Refactor filetype is not allowed errors (#7309) * switch to use gliderlabs/ssh for builtin server (#7250) * Remove settting dependency on modules/session (#7237) * Move all mail related codes from models to services/mailer (#7200) * Support git.PATH entry in app.ini (#6772) * Support setting cookie domain (#6288) * Move migrating repository from frontend to backend (#6200) * Delete releases attachments if release is deleted (#6068) * SECURITY * Ignore mentions for users with no access (#8395) * Be more strict with git arguments (#7715) * reserve .well-known username (#7637) * TRANSLATION * Latvian translation for home page (#8468) * Add home template italian translation (#8352) * fix misprint (#7452) * BUILD * use go 1.13 (#8088) * MISC * add file line count info on UI (#8396) * Make issues page left menu 100% width and add reponame as title attribute (#8359) * [arc-green] white on hover for active menu items (#8344) * Move ref (branch or tag) location on issue list page (#8157) * apply emoji on dashboard issue list labels (#8156) * 1148: Take up the full width when viewing the diff in split view. (#8114) * Display description of 'make this repo private' as help text, not as tooltip (#8097) * Fixes deformed emoji in pull request reviews (#8047) * Add strike to old header on comment (#8046) * Add tooltip for the visibility checkbox in /repo/create (#8025) * Update github.com/lafriks/xormstore and tidy up mod.go (#8020) * keep blame view buttons sequence consistent with normal view when view a file (#8007) * Use "Pull Request" instead of "Merge Request" (#8003) * Move line number to :before attr to hide from search on browser (#8002) * Changed black color to white for (read) number label on issue list page (#8000) * [Branch View] show "New Pull Request" Button only if posible (#7977) * Fix hook problem by only setting the git environment variables if we are passed them (#7854) * Prevent Commit Status and Message From Overflowing On Branch Page (#7800) * Fix global search result CSS, misc CSS tweaks (#7789) * Tweak label border CSS (#7739) * Fix create menu item widths (#7708) * Extract the username and password from the mirror url (#7651) * [Branch View] Delete duplicate protection symbol (#7624) * [Branch View] Delete Table Header (#7622) * [Branch View] icons to buttons (#7602) * update js dependencies (#7462) * Add Extra Info to Branches Page (#7461) * Bump lodash from 4.17.11 to 4.17.14 (#7459) * wiki history improvements (#7391) * ui fixes - compare view and archieved repo issues (#7345) * dark theme scrollbars (#7269) * wiki - editor - add buttons 'inline code', 'empty checkbox', 'checked checkbox' (#7243) * Fix Statuses API only shows first 10 statuses: Add paging and extend API GetCommitStatuses (#7141)
-
v1.9.4
* BUGFIXES * Highlight issue references (#8101) (#8404) * Fix bug when migrating a private repository #7917 (#8403) * Change general form binding to gogs form (#8334) (#8402) * Fix editor commit to new branch if PR disabled (#8375) (#8401) * Fix milestone num_issues (#8221) (#8400) * Allow users with explicit read access to give approvals (#8398) * Fix commit status in PR #8316 and PR #8321 (#8339) * Fix API for edit and delete release attachment (#8290) * Fix assets on release webhook (#8283) * Fix release API URL generation (#8239) * Allow registration when button is hidden (#8238) * MS Teams webhook misses commit messages (backport v1.9) (#8225) * Fix data race (#8206) * Fix pull merge 500 error caused by git-fetch breaking behaviors (#8194) * Fix the SSH config specification in the authorized_keys template (#8193) * Fix reading git notes from nested trees (#8189) * Fix team user api (#8172) (#8188) * Add reviewers as participants (#8124) * BUILD * Use vendored go-swagger (#8087) (#8165) * Fix version-validation for GO 1.13 (go-macaron/cors) (#8389) * MISC * Make show private icon when repo avatar set (#8144) (#8175)
-
v1.9.3
* BUGFIXES * Fix go get from a private repository with Go 1.13 (#8100) * Strict name matching for Repository.GetTagID() (#8082) * Avoid ambiguity of branch/directory names for the git-diff-tree command (#8070) * Add change title notification for issues (#8064) * Run CORS handler first for /api routes (#7967) (#8053) * Evaluate emojis in commit messages in list view (#8044) * Fix failed to synchronize tags to releases for repository (#7990) (#7994) * Fix adding default Telegram webhook (#7972) (#7992) * Abort synchronization from LDAP source if there is some error (#7965) * Fix deformed emoji in commit message (#8071) * ENHANCEMENT * Keep blame view buttons sequence consistent with normal view when viewing a file (#8007) (#8009)
-
v1.9.2
* BUGFIXES * Fix wrong sender when send slack webhook (#7918) (#7924) * Upload support text/plain; charset=utf8 (#7899) * Lfs/lock: round locked_at timestamp to second (#7872) (#7875) * Fix non existent milestone with 500 error (#7867) (#7873) * SECURITY * Fix No PGP signature on 1.9.1 tag (#7874) * Release built with go 1.12.9 to fix security fixes in golang std lib, ref: https://groups.google.com/forum/#!msg/golang-announce/oeMaeUnkvVE/a49yvTLqAAAJ * ENHANCEMENT * Fix pull creation with empty changes (#7920) (#7926) * BUILD * Drone/docker: prepare multi-arch release + provide arm64 image (#7571) (#7884)