From 10bb9a68f6b47b444435a108cc037641295ac788 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 14 Oct 2019 17:36:01 +0200 Subject: [PATCH 01/14] Changelog for 1.10.0 --- CHANGELOG.md | 305 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 298 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c71af6b73ef1..c14874ed3f592 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,297 @@ This changelog goes through all the changes that have been made in each release without substantial changes to our git log; to see the highlights of what has been added to each release, please refer to the [blog](https://blog.gitea.io). +## [1.10.0](https://github.com/go-gitea/gitea/releases/tag/v1.10.0) - 2019-10-14 +* 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 bug on FindExternalUsersByProvider (#8504) + * Fixes #8369: Create .ssh dir as necessary (#8486) + * IsBranchExist: return false if provided name is empty (#8485) + * Fix #8453 by 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) + * Revert "Fix issues/pr list broken when there are many repositories" (#8427) + * Singular form for files that has only one line (#8416) + * Fix issues/pr list broken when there are many repositories (#8409) + * 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) + * Do 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) + * [fix #7384] 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 #7945 - 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) + * api: fix multiple bugs with statuses endpoints (#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 #7611 (#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 #7564 - 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) + * Fixes #7475 - Settings pages giving UnitType error message (#7482) + * Fixes #7474 - 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 + * 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) +* TESTING + * Update golangci to v1.19.1 (#8414) + * Fix lfs locks (#8361) + * Make encoding tests independent of LOCALE settings (#8018) + * Fix local runs of ssh-requiring integration tests (#7855) + * integration tests: Use t.Helper() (#7654) +* TRANSLATION + * Latvian translation for home page (#8468) + * Add home template italian translation (#8352) + * fix misprint (#7452) +* BUILD + * Update golangci to v1.20 (#8432) + * use go 1.13 (#8088) + * Make CI work (#8057) + * Update JS dependencies (#8051) + * Fix vendor modules.txt (#8032) + * Update golangci-lint to v1.17.1 (#7848) + * Fix #7736: remove `-i` flag from GOFLAGS (#7778) + * drone: add a test for compat with 32 bit (#7707) + * Update src-d/go-git to v4.13.0 (#7688) + * Update to latest mssqldriver (#7613) + * drone/docker: prepare multi-arch release + provide arm64 image (#7571) + * drone/docker: Use a more standard format (#7480) + * Fix vendor (#7394) + * Use vendors when go generate (#7340) +* DOCS + * Update seek-help.zh-cn.md (#8488) + * Update seek-help.en-us.md (#8487) + * Doc updated list of supported webhooks and added example (#8388) + * Doc recommend to use reverse proxy if Apache/nginx is also running on… (#8384) + * Add buildbot CI (#8378) + * Fix a comment typo (#8358) + * Added AppVeyor to the list of CI/CD working with Gitea (#8104) + * Fix broken link (#8091) + * Adds details about what tags can use the Git tags API (#7989) + * Add swagger documentation for limiting API repository search to topics only (#7957) + * Add release notes of 1.9.2 (#7934) (#7939) + * swagger/fix: []string are not enum by swagger definition (#7916) +* 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 in #7754 (#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] Protection Symbole (delete dublicate) (#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 #7136: Add paging and extend API GetCommitStatuses (#7141) + ## [1.9.4](https://github.com/go-gitea/gitea/releases/tag/v1.9.4) - 2019-10-08 * BUGFIXES * Highlight issue references (#8101) (#8404) @@ -122,20 +413,20 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Move add to hook queue for created repo to outside xorm session. (#7682) (#7675) * Show protection symbol if needed on default branch (#7660) (#7668) * Hide delete/restore button on archived repos (#7660) - * Fix bug on migrating milestone from github (#7665) (#7666) + * Fix bug on migrating milestone from github (#7665) (#7666) * Use flex to fix floating paginate (#7656) (#7662) * Change length of some repository's columns (#7652) (#7655) * Fix wrong email when use gitea as OAuth2 provider (#7640) (#7647) - * Fix syntax highlight initialization (#7617) (#7626) + * Fix syntax highlight initialization (#7617) (#7626) * Fix bug create/edit wiki pages when code master branch protected (#7580) (#7623) * Fix panic on push at #7611 (#7615) (#7618) - * Handle ErrUserProhibitLogin in http git (#7586, #7591) (#7590) + * Handle ErrUserProhibitLogin in http git (#7586, #7591) (#7590) * Fix color of split-diff view in dark theme (#7587) (#7589) - * Fix file header overflow in file and blame views (#7562) (#7579) + * Fix file header overflow in file and blame views (#7562) (#7579) * Malformed URLs in API git/commits response (#7565) (#7567) * Fix empty commits now showing in repo overview (#7521) (#7563) - * Fix repository's pull request count error (#7518) (#7524) - * Remove duplicated webhook trigger (#7511) (#7516) + * Fix repository's pull request count error (#7518) (#7524) + * Remove duplicated webhook trigger (#7511) (#7516) * Handles all redirects for Web UI File CRUD (#7478) (#7507) * Fix regex for issues in commit messages (#7444) (#7466) * cmd/serv: actually exit after fatal errors (#7458) (#7460) @@ -736,7 +1027,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). ## [1.7.5](https://github.com/go-gitea/gitea/releases/tag/v1.7.5) - 2019-03-27 * BUGFIXES * Fix unitTypeCode not being used in accessLevelUnit (#6419) (#6423) - * Fix bug where manifest.json was being requested without cookies and continuously creating new sessions (#6372) (#6383) + * Fix bug where manifest.json was being requested without cookies and continuously creating new sessions (#6372) (#6383) * Fix ParsePatch function to work with quoted diff --git strings (#6323) (#6332) ## [1.7.4](https://github.com/go-gitea/gitea/releases/tag/v1.7.4) - 2019-03-12 From df42d3bb4a6a2a29c894c1ba2a02727a341f7efd Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 14 Oct 2019 17:44:47 +0200 Subject: [PATCH 02/14] add missing bugfix --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c14874ed3f592..a707799599246 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add option to initialize repository with labels (#6061) * Add additional password hash algorithms (#6023) * BUGFIXES + * Nofollow to sign in links (#8509) * Fix bug on FindExternalUsersByProvider (#8504) * Fixes #8369: Create .ssh dir as necessary (#8486) * IsBranchExist: return false if provided name is empty (#8485) From d1f6db1a612ff29151d9da4c4c0afc943239f77a Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 17:52:02 +0200 Subject: [PATCH 03/14] Update CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a707799599246..27c3c76ae9450 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -132,7 +132,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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) + * 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) @@ -156,7 +156,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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) + * 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) From 9f588542b4f4ac4fb4e3dfb210f433b4ee2f885d Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 17:52:18 +0200 Subject: [PATCH 04/14] Update CHANGELOG.md Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27c3c76ae9450..7b2cb730455dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,7 +49,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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) - * Do only show teams access for organization repositories on collaboration setting page (#8265) + * 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) From 91410256ac67a128d2b180e353fa63369a290d87 Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 17:56:34 +0200 Subject: [PATCH 05/14] Update CHANGELOG.md Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b2cb730455dc..61f8f2b621ff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,7 +60,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Fix data race (#8204) * Fix team user api (#8172) * Fix pull merge 500 error caused by git-fetch breaking behaviors (#8161) - * [fix #7384] make show private icon when repo avatar set (#8144) + * 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) From 267ad2b8f3795137069238c475ffd9964cc1f186 Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 17:59:08 +0200 Subject: [PATCH 06/14] Update CHANGELOG.md --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61f8f2b621ff5..56e45a69bab79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,9 +21,9 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * BUGFIXES * Nofollow to sign in links (#8509) * Fix bug on FindExternalUsersByProvider (#8504) - * Fixes #8369: Create .ssh dir as necessary (#8486) + * Create .ssh dir as necessary (#8486) * IsBranchExist: return false if provided name is empty (#8485) - * Fix #8453 by making openssh listen on SSH_LISTEN_PORT not SSH_PORT (#8477) + * 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) @@ -85,7 +85,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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) - * api: fix multiple bugs with statuses endpoints (#7785) + * 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) From 7eb152f182d386a7cc4ac70867142443e4707381 Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 18:07:09 +0200 Subject: [PATCH 07/14] Update CHANGELOG.md Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56e45a69bab79..3734e8f1d67c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ This changelog goes through all the changes that have been made in each release without substantial changes to our git log; to see the highlights of what has been added to each release, please refer to the [blog](https://blog.gitea.io). -## [1.10.0](https://github.com/go-gitea/gitea/releases/tag/v1.10.0) - 2019-10-14 +## [1.10.0-RC1](https://github.com/go-gitea/gitea/releases/tag/v1.10.0-rc1) - 2019-10-14 * BREAKING * Remove legacy handling of drone token (#8191) * Change repo search to use exact match for topic search. (#7941) From 5784087fdd7fe1ba052160ffbcee0d75393c4691 Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 18:15:08 +0200 Subject: [PATCH 08/14] Update CHANGELOG.md --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3734e8f1d67c8..1930629853231 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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) + * 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) @@ -30,9 +30,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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) - * Revert "Fix issues/pr list broken when there are many repositories" (#8427) * Singular form for files that has only one line (#8416) - * Fix issues/pr list broken when there are many repositories (#8409) * 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) From 0010699db663b716c45330c49472f873fdbb6ab8 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 14 Oct 2019 20:18:08 +0200 Subject: [PATCH 09/14] reslofe Fix XY statements --- CHANGELOG.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1930629853231..ab3c4c97f54d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,7 +68,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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 #7945 - makes sure we are only getting tag refs (#7990) + * 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) @@ -106,21 +106,21 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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 #7611 (#7615) + * 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 #7564 - Malformed URLs in API git/commits response (#7565) + * 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) + * Remove duplicated webhook trigger (#7511) * Update User.NumRepos atomically in createRepository (#7493) - * Fixes #7475 - Settings pages giving UnitType error message (#7482) - * Fixes #7474 - Handles all redirects for Web UI File CRUD (#7478) + * 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) @@ -238,7 +238,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Update JS dependencies (#8051) * Fix vendor modules.txt (#8032) * Update golangci-lint to v1.17.1 (#7848) - * Fix #7736: remove `-i` flag from GOFLAGS (#7778) + * Fix Build failure on i386: remove `-i` flag from GOFLAGS (#7778) * drone: add a test for compat with 32 bit (#7707) * Update src-d/go-git to v4.13.0 (#7688) * Update to latest mssqldriver (#7613) @@ -276,7 +276,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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 in #7754 (#7854) + * 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) @@ -292,7 +292,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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 #7136: Add paging and extend API GetCommitStatuses (#7141) + * Fix Statuses API only shows first 10 statuses: Add paging and extend API GetCommitStatuses (#7141) ## [1.9.4](https://github.com/go-gitea/gitea/releases/tag/v1.9.4) - 2019-10-08 * BUGFIXES From 4e6041a1d34afc136cde6435d252bbb0d96efeae Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 20:20:57 +0200 Subject: [PATCH 10/14] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab3c4c97f54d8..80275ac1a4443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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) * Nofollow to sign in links (#8509) * Fix bug on FindExternalUsersByProvider (#8504) * Create .ssh dir as necessary (#8486) From cc38e6a22e35f8a165ac0d209d93f09e66503638 Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 20:22:03 +0200 Subject: [PATCH 11/14] Update CHANGELOG.md Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80275ac1a4443..098c0f96a90d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -283,7 +283,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Tweak label border CSS (#7739) * Fix create menu item widths (#7708) * Extract the username and password from the mirror url (#7651) - * [Branch View] Protection Symbole (delete dublicate) (#7624) + * [Branch View] Delete duplicate protection symbol (#7624) * [Branch View] Delete Table Header (#7622) * [Branch View] icons to buttons (#7602) * update js dependencies (#7462) From 00d1090d83a5ccd605beb840fe1b518ae948ffba Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Mon, 14 Oct 2019 20:22:21 +0200 Subject: [PATCH 12/14] Update CHANGELOG.md Co-Authored-By: zeripath --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 098c0f96a90d6..1c49ee45c0c54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -136,6 +136,7 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * 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) From 6af49605f249ca4b1fb7768172d9994da1e3f904 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 14 Oct 2019 20:25:41 +0200 Subject: [PATCH 13/14] clean up | remove TESTING and DOCS sction | short BUILD section --- CHANGELOG.md | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c49ee45c0c54..d8715075dbaf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -223,44 +223,12 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Ignore mentions for users with no access (#8395) * Be more strict with git arguments (#7715) * reserve .well-known username (#7637) -* TESTING - * Update golangci to v1.19.1 (#8414) - * Fix lfs locks (#8361) - * Make encoding tests independent of LOCALE settings (#8018) - * Fix local runs of ssh-requiring integration tests (#7855) - * integration tests: Use t.Helper() (#7654) * TRANSLATION * Latvian translation for home page (#8468) * Add home template italian translation (#8352) * fix misprint (#7452) * BUILD - * Update golangci to v1.20 (#8432) * use go 1.13 (#8088) - * Make CI work (#8057) - * Update JS dependencies (#8051) - * Fix vendor modules.txt (#8032) - * Update golangci-lint to v1.17.1 (#7848) - * Fix Build failure on i386: remove `-i` flag from GOFLAGS (#7778) - * drone: add a test for compat with 32 bit (#7707) - * Update src-d/go-git to v4.13.0 (#7688) - * Update to latest mssqldriver (#7613) - * drone/docker: prepare multi-arch release + provide arm64 image (#7571) - * drone/docker: Use a more standard format (#7480) - * Fix vendor (#7394) - * Use vendors when go generate (#7340) -* DOCS - * Update seek-help.zh-cn.md (#8488) - * Update seek-help.en-us.md (#8487) - * Doc updated list of supported webhooks and added example (#8388) - * Doc recommend to use reverse proxy if Apache/nginx is also running on… (#8384) - * Add buildbot CI (#8378) - * Fix a comment typo (#8358) - * Added AppVeyor to the list of CI/CD working with Gitea (#8104) - * Fix broken link (#8091) - * Adds details about what tags can use the Git tags API (#7989) - * Add swagger documentation for limiting API repository search to topics only (#7957) - * Add release notes of 1.9.2 (#7934) (#7939) - * swagger/fix: []string are not enum by swagger definition (#7916) * MISC * add file line count info on UI (#8396) * Make issues page left menu 100% width and add reponame as title attribute (#8359) From 412d3333b5e72ba0543b30bc440617ed0ebb7e31 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 14 Oct 2019 20:47:53 +0200 Subject: [PATCH 14/14] @zeripath #8509 was already in it - fixed --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8715075dbaf5..2a88eb10357d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,6 @@ been added to each release, please refer to the [blog](https://blog.gitea.io). * Add additional password hash algorithms (#6023) * BUGFIXES * Fix errors in create org UI regarding team access permission (#8506) - * Nofollow to sign in links (#8509) * Fix bug on FindExternalUsersByProvider (#8504) * Create .ssh dir as necessary (#8486) * IsBranchExist: return false if provided name is empty (#8485)