summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make CertFile and KeyFile relative to CustomPath (#9868)zeripath2020-01-194-6/+27
| | | | | | | | | | | | | | | | * Make CertFile and KeyFile relative to CustomPath The current code will absolute CertFile and KeyFile against the current working directory. This is quite unexpected for users. This code makes relative paths absolute against the CustomPath. Fix #4196 * Improve error reporting when reading certificates * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-191-0/+32
|
* run translations pipeline on arm server (#9865)techknowlogick2020-01-191-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-191-0/+33
|
* Fix issues/pulls dependencies problems (#9842)Lunny Xiao2020-01-198-26/+57
| | | | | | | | * Fix issues/pulls dependencies problems * fix swagger and api param name * fix js
* Change won't sign information text to black. (#9843)David Svantesson2020-01-181-3/+3
| | | | | | | | | * Change won't sign information text to black. * icon and text same color Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Explicitly refer to PR in squash-merge commit message in case of external ↵David Svantesson2020-01-182-1/+9
| | | | | | | | | | tracker (#9844) * Explicitly refer to PR in squash-merge commit message in case of external tracker * documentation Co-authored-by: zeripath <art27@cantab.net>
* [Docs] add usefull info to REQUIRE_SIGNIN_VIEW (#9848)65432020-01-172-2/+2
|
* Changelog 1.10.3 (#9832) (#9850)65432020-01-172-11/+29
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-171-0/+6
|
* Improve notification pager (#9821)Lunny Xiao2020-01-172-8/+16
| | | | Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* fix (#9836)65432020-01-171-1/+7
|
* Fix download file wrong content-type (#9825)Lunny Xiao2020-01-171-1/+7
| | | | | | | | * Fix download file wrong content-type * change the error text to be more precise * fix test
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-171-3/+3
|
* Fix wrong identify poster on a migrated pull request when submi… (#9827)Lunny Xiao2020-01-172-2/+2
|
* Add setting to set default and global disabled repository units. (#8788)David Svantesson2020-01-1714-136/+311
| | | | | | | | | | | | | | | | | | * Add possibility to global disable repo units. * Add Default Repo Unit app.ini setting. * Hide units * Hide disabled repo units * Minor fixes * Indicate disabled units in team settings. Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
* Add "Update Branch" button to Pull Requests (#9784)65432020-01-1732-68/+489
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add Divergence * add Update Button * first working version * re-use code * split raw merge commands and db-change functions (notify, cache, ...) * use rawMerge (remove redundant code) * own function to get Diverging of PRs * use FlashError * correct Error Msg * hook is triggerd ... so remove comment * add "branch2" to "user2/repo1" because it unit-test "TestPullView_ReviewerMissed" use it but dont exist jet :/ * move GetPerm to IsUserAllowedToUpdate * add Flash Success MSG * imprufe code - remove useless js chage * fix-lint * TEST: add PullRequest ID:5 Repo: user2/repo1 Base: branch1 Head: pr-to-update * correct comments * make PR5 outdated * fix Tests * WIP: add pull update test * update revs * update locales * working TEST * update UI * misspell * change style * add 1s delay so rev exist * move row up (before merge row) * fix lint nit * UI remove divider * Update style * nits * do it right * introduce IsSameRepo * remove useless check Co-authored-by: Lauris BH <lauris@nix.lv>
* fix dump non-exist log directory (#9818)Lunny Xiao2020-01-161-2/+4
|
* remove promise-polyfill (#9812)silverwind2020-01-164-8/+2
| | | promises are polyfilled by babel, it's no longer needed.
* Fix admin handling at merge of PR (#9749)David Svantesson2020-01-163-19/+18
| | | | | | | | | | | | | | | | * Admin shall be able to bypass merge checks. * Repository admin should not bypass if merge whitelist is set. * Add code comment about checks that PR are ready * notAllOverrideableChecksOk->notAllOverridableChecksOk * Fix merge, require signed currently not overridable. * fix Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Fix compare (#9808)Lunny Xiao2020-01-161-24/+20
| | | | Co-authored-by: techknowlogick <matti@mdranta.net>
* ci: simplify tag/release by always running coverage (#9774)Antoine GIRARD2020-01-162-73/+3
| | | | | | | | * ci: simplify tag/release by always running coverage * use mod and vendor for unit test coverage * remove not needed lfs for unit test
* Move mailer to use a queue (#9789)zeripath2020-01-164-53/+92
| | | | | | | | * Move mailer to use a queue * Make sectionMap map[string]bool * Ensure that Message is json encodable
* [refactor] notify remove unused praram (#9804)65432020-01-169-22/+10
|
* tests: configure github remaining limit + read token (#9800)Antoine GIRARD2020-01-163-4/+22
| | | | | | | | | | | | | | | | | | * ci: configure remaining github limmit * prepend with github since package is common to all migrations * add RefreshRate * Update github.go * add missing space * go fmt * Read env variable GITHUB_READ_TOKEN for token * Update .drone.yml
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-161-0/+20
|
* Remove unnecessary permissions load (#9796)Lunny Xiao2020-01-163-20/+4
| | | | | Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <matti@mdranta.net>
* Fix markdown anchor links (#9673)Moritz2020-01-161-0/+3
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Update go-org to 0.1.9 (#9782)Damien Cassou2020-01-168-10/+20
| | | | | | | | | | * Update go-org to 0.1.9 What I did to generate this commit: $ go get github.com/niklasfasching/go-org * make vendor
* [Docs] Update Feature 'Reject unsigned commits' (#9793)65432020-01-162-3/+3
| | | | | | * update docs * add link to feature
* Fix push-to-create (#9772)John Olheiser2020-01-161-1/+58
| | | | | | | | | | | | | | | | | | | | | | * Fix push-to-create Signed-off-by: jolheiser <john.olheiser@gmail.com> * Check URL path and service Signed-off-by: jolheiser <john.olheiser@gmail.com> * Send dummy payload on receive-pack GET Signed-off-by: jolheiser <john.olheiser@gmail.com> * The space was actually a NUL byte Signed-off-by: jolheiser <john.olheiser@gmail.com> * Use real bare repo instead of manufactured payload Signed-off-by: jolheiser <john.olheiser@gmail.com>
* update supported browsers and add a few more (#9734)silverwind2020-01-161-4/+1
| | | | | | | | | Now includes Firefox ESR, Opera and a few more browser with usages between 0.5% and 1%. defaults resolves to > 0.5%, last 2 versions, Firefox ESR, not dead. Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix signing info on PR view if not signed in (#9788)65432020-01-151-1/+1
|
* Fix missing unlock in uniquequeue (#9790)zeripath2020-01-151-0/+1
|
* Fix missing msteam webhook on organization (#9781)Lunny Xiao2020-01-151-1/+3
|
* Fix #9662 (#9767)David Svantesson2020-01-151-1/+1
| | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-1514-14/+40
|
* Migrate reactions when migrating repository from github (#9599)Lunny Xiao2020-01-1518-101/+329
| | | | | | | | | | | | | | | | | | | | * Migrate reactions when migrating repository from github * fix missed sleep * fix tests * update reactions when external user binding * Fix test * fix tests * change the copy head * fix test * fix migrator add/delete reaction
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-1530-35/+137
|
* err_admin_name_pattern_not_allowed String Clarification (#9731)Bagas Sanjaya2020-01-151-1/+1
| | | | | | | | | | | | | * err_admin_name_pattern_not_allowed clarification edit * Apply suggestion from @zeripath Context: username that provided as admin Co-Authored-By: zeripath <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* Add require signed commit for protected branch (#9708)zeripath2020-01-1529-122/+618
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add require signed commit for protected branch * Fix fmt * Make editor show if they will be signed * bugfix * Add basic merge check and better information for CRUD * linting comment * Add descriptors to merge signing * Slight refactor * Slight improvement to appearances * Handle Merge API * manage CRUD API * Move error to error.go * Remove fix to delete.go * prep for merge * need to tolerate \r\n in message * check protected branch before trying to load it * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * fix commit-reader Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* use arm drone agent for docs (#9776)techknowlogick2020-01-151-7/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-152-17/+24
|
* ci: move some integration tests on arm64 (#9747)Antoine GIRARD2020-01-141-41/+87
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-151-0/+8
|
* Move RepoWorkingPool to services/repository package (#9754)Lunny Xiao2020-01-152-10/+10
| | | | | | | | * Move RepoWorkingPool to services/repository package * Make repoWorkingPool private Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* ci: run notify on arm64 (#9762)Antoine GIRARD2020-01-151-11/+14
| | | | | | | | | | | | | | | | | | * ci: run notify on arm64 Free one jobs on amrd64 * Update .drone.yml * Update .drone.yml * Update .drone.yml Based on: https://github.com/appleboy/drone-discord/blob/master/.drone.yml#L339 * improve trigger Co-authored-by: techknowlogick <matti@mdranta.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-151-1/+13
|
* Fix #9752 (#9769)zeripath2020-01-141-1/+1
|
* Fix milestones page (#9770)John Olheiser2020-01-141-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>