summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changelog for v1.10.6 (#10699)v1.10.6release/v1.10Lunny Xiao2020-03-101-0/+6
| | | | | | | | | | | * Changelog for v1.10.6 * Add warnning * Apply suggestions from code review Co-Authored-By: John Olheiser <john.olheiser@gmail.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* cross compile using go 1.13.x (#10684) (#10696)Lunny Xiao2020-03-101-2/+2
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* add changelog for v1.10.5 (#10628)Lunny Xiao2020-03-061-0/+5
|
* Fix migration bug on v96.go (#10572) (#10574)guillep2k2020-03-021-16/+31
| | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* v1.10.4 Changelog (#10294)v1.10.4zeripath2020-02-162-0/+14
| | | | | | | | | | | | * v1.10.4 Changelog * Add backport identifier for #10261 * Update CHANGELOG.md entry for #9884 * Workaround docker-library/postgres#658 * Update .drone.yml
* Fix reply on code review (#10261)Lunny Xiao2020-02-142-2/+11
| | | | | | | | | | | | | | | | | | | * Fix branch page pull request title and link error (#10092) * Fix branch page pull request title and link error * Fix ui * Fix reply on code review (#10227) Co-authored-by: zeripath <art27@cantab.net> * Revert unrelated change * Fix lint Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix branch page pull request title and link error (#10092) (#10098)Lunny Xiao2020-02-012-6/+6
| | | | | * Fix branch page pull request title and link error (#10092) * Fix tmpl
* Fix milestone API state parameter unhandled (#10049) (#10053)Lunny Xiao2020-01-305-7/+81
| | | | | | | | | | * Fix milestone API state parameter unhandled (#10049) * Fix milestone API state parameter unhandled * Fix test * Fix test
* Fix wiki raw view on sub path (#10002) (#10041)Lunny Xiao2020-01-286-19/+12
| | | | | | | | | | * Fix wiki raw view on sub path * Add test for subpath wiki raw file * Fix bug Co-authored-by: zeripath <art27@cantab.net>
* Fix RocketChat (#9925)John Olheiser2020-01-221-10/+5
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Prevent empty LDAP search from deactivating all users (#9879) (#9890)dioss-Machiel2020-01-207-0/+26
| | | | | | | | | * Backport of #9879 (Add option to prevent LDAP from deactivating everything on empty search) * go fmtted Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net>
* fix bug about wrong dependencies permissions check and other wr… (#9884)Lunny Xiao2020-01-2011-48/+73
| | | | | | * fix bug about wrong dependencies permissions check and other wrong permissions check * improve code
* Ensure that 2fa is checked on reset-password (#9857) (#9877)zeripath2020-01-192-9/+97
| | | | | | | | | | | | | | * Ensure that 2fa is checked on reset-password * Apply suggestions from code review Co-Authored-By: Lauris BH <lauris@nix.lv> * Properly manage scratch_code regeneration Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lauris BH <lauris@nix.lv>
* Changelog 1.10.3 (#9832)v1.10.365432020-01-172-14/+32
|
* fix (#9838)65432020-01-171-1/+7
|
* Fix download file wrong content-type (#9825) (#9835)Lunny Xiao2020-01-171-1/+7
| | | | | | | | | | * Fix download file wrong content-type * change the error text to be more precise * fix test Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix wrong identify poster on a migrated pull request when submi… (#9827) ↵Lunny Xiao2020-01-172-4/+2
| | | | (#9831)
* fix dump non-exist log directory (#9818) (#9820)Lunny Xiao2020-01-171-2/+4
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix compare (#9808) (#9815)Lunny Xiao2020-01-171-24/+20
| | | | | | Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: techknowlogick <matti@mdranta.net>
* Fix missing msteam webhook on organization (#9781) (#9795)Lunny Xiao2020-01-161-1/+3
|
* Fix #9662 (#9783)David Svantesson2020-01-161-1/+1
|
* Send tag create and push webhook when release created on UI (#8671) (#9702)Lauris BH2020-01-131-0/+49
| | | | | | | | | | | | | | | | | | | | * 'update' * Send push tag event when release created * send tag create event while release created in UI * update to go v1.13 * fix gofmt error * update #8671 move release tag created hook to modules/notification/webhook due to #8802 refactoring * use NotifyCreateRef and NotifyPushCommits instead of NotifyNewReleaseTag * move tag notification to correct place Co-authored-by: Benno <blueworrybear@gmail.com>
* Hide credentials when submitting migration (#9102) (#9704)Lauris BH2020-01-111-1/+1
| | | | | | | through API. Same fix, using form.CloneAddr instead of opts.CloneAddr. Co-authored-by: Jordan <eatsleepgame@gmail.com>
* Fix cache problem on dashboard (#9358) (#9703)Lauris BH2020-01-111-0/+2
| | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Never allow an empty password to validate (#9682) (#9684)zeripath2020-01-111-1/+1
| | | | | | * Restore IsPasswordSet previous value * Update models/user.go
* Prevent redirect to Host (#9678) (#9680)zeripath2020-01-091-1/+2
|
* Branches not at ref commit ID should not be listed as Merged (#9614) (#9639)zeripath2020-01-0810-33/+106
| | | | | | | | | | | Once a branch has been merged if the commit ID no longer equals that of the pulls ref commit id don't offer to delete the branch on the pull screen and don't list it as merged on branches. Fix #9201 When looking at the pull page we should also get the commits from the refs/pulls/x/head Fix #9158
* [BugFix] Hide public repos owned by private orgs (#9616)65432020-01-063-4/+10
|
* Changelog for 1.10.2 (#9585)v1.10.265432020-01-021-0/+20
| | | | | | | | | | * Changelog for 1.10.2 * imprufe * fix misspell * Update CHANGELOG.md
* [Backport] [API] Allow only specific Colums to be updated on Issue (#9539) ↵65432020-01-027-23/+116
| | | | | | | | | | | | | | | | | | | | | | | | (#9580) * Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539) * dont insert "-1" in any case to issue.poster_id * Make sure API cant override importand fields * code format * add Test for IssueEdit * load milestone and return it on IssueEdit via API * extend Test for TestAPIEditIssue * fix TEST * make sure Poster is loaded * keep code format on backport as it is
* [Backport] Fix bug when migrate from API (#8631) (#9563)65432020-01-024-10/+31
| | | | | | | | | | | | | | | | | | | | * Fix bug when migrate from API (#8631) * fix bug when migrate from API * fix test * fix test * improve * fix error message * Update routers/api/v1/repo/repo.go * remove unrelated Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* backport part of #9550 (#9564)65432019-12-313-12/+51
| | | | | * add ErrReactionAlreadyExist * extend FindReactionsOptions * createReaction check if exit before create
* fix 500 error for ghost avatar (#9537)65432019-12-301-7/+13
|
* Fix repository issues pagination bug when there are more than one label ↵Lunny Xiao2019-12-284-4/+13
| | | | | | | | filter (#9512) (#9528) * Fix repository issues pagination bug when there are more than one label filter (#9512) * fix merge
* Fix deleted branch isn't removed when push the branch again (#9516) (#9524)Lunny Xiao2019-12-282-1/+12
|
* Fix missing repository status when migrating repository via API (#9511)Lunny Xiao2019-12-272-3/+32
| | | | | | * Fix API migration wrong repository status * Force push for ci
* when branch is deleted after a pull request is merged, trigger webhook (#9510)Brad Albright2019-12-271-0/+16
|
* backport fix: fixed bug in GitTreeBySHA where pulling items from a page ↵Brad Albright2019-12-241-5/+5
| | | | other than page 1 would fail because the wrong var was used to set the entries to return (#9482)
* Fix NewCommitStatus (#9434) (#9435)John Olheiser2019-12-192-4/+4
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Use OriginalURL insead of CloneAddr in migration logging (#9418) (#9420)mrsdizzie2019-12-181-2/+2
| | | | | CloneAddr will contain username and password credentials and they will get stored in system notices about failed migrations (and logs if trace is set). Replace with OriginalURL that doesn't have those.
* Fix Slack webhook payload title generation to work with Mattermost (#9378) ↵Cornel2019-12-181-76/+93
| | | | (#9404)
* DefaultBranch needs to be prefixed by BranchPrefix (#9356) (#9359)zeripath2019-12-151-1/+1
|
* fix issue indexer not triggered when migrating a repository (#9333)Lunny Xiao2019-12-132-16/+26
|
* Fix bug that release attachment files not deleted when deleting repository ↵Lunny Xiao2019-12-121-7/+28
| | | | | | | | | | | (#9322) (#9329) * Fix bug that release attachment files not deleted when deleting repository * improve code * add quote * improve code
* Fix migration releases (#9319) (#9326) (#9328)John Olheiser2019-12-113-4/+11
| | | | | | | | | | | | | | | | * Only sync tags after all batches (#9319) Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add SyncTags to uploader interface (#9326) * Add sync tags to interface Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix revive Signed-off-by: jolheiser <john.olheiser@gmail.com>
* File Edit: Author/Committer interchanged [BugFix] (#9300)65432019-12-095-15/+15
|
* Changelog 1.10.1 (#9256)v1.10.165432019-12-051-0/+21
| | | | | | | | | | * Changelog for 1.10.1 * format ... * format * add @techknowlogick s suggestion
* Fix max length check and limit in multiple repo forms (#9148) (#9204)65432019-11-296-15/+15
| | | | | * Fix input field max length for release, label and milestone forms * Add max length for isseu and PR title
* Properly fix displaying virtual session provider in admin panel (#9137) (#9203)65432019-11-292-8/+8
| | | | | | | | | | | | | | * Properly fix #7147 Although #7300 properly shadows the password from the virtual session provider, the template displaying the provider config still presumed that the config was JSON. This PR updates the template and properly hides the Virtual Session provider. Fixes #7147 * update per @silverwind's suggestion
* upgrade levelqueue to 0.1.0 (#9192) (#9199)Lunny Xiao2019-11-2814-40/+142
|