summaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* Disable unnecessary mirroring elements (#18527)Paweł Bogusławski2022-06-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disable unnecessary mirroring elements This mod fixes disabling unnecessary mirroring elements. Related: https://github.com/go-gitea/gitea/pull/16957 Related: https://github.com/go-gitea/gitea/pull/13084 Author-Change-Id: IB#1105104 * Checkbox rendering disabled instead of hiding it Fixes: 02b45051503d4330da9757ff084c9cc5e6e60d84 Related: https://github.com/go-gitea/gitea/pull/18527#pullrequestreview-878061913 Author-Change-Id: IB#1105104 * Update custom/conf/app.example.ini Co-authored-by: silverwind <me@silverwind.io> * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-authored-by: silverwind <me@silverwind.io> * Mirror filter removed only when whole mirroring feature is disabled Fixes: 02b45051503d4330da9757ff084c9cc5e6e60d84 Related: https://github.com/go-gitea/gitea/pull/18527#discussion_r883268890 Author-Change-Id: IB#1105104 Co-authored-by: silverwind <me@silverwind.io>
* [skip ci] Updated translations via Crowdinwxiaoguang2022-06-041-1/+13
|
* [skip ci] Updated translations via Crowdinzeripath2022-06-031-0/+12
|
* [skip ci] Updated translations via Crowdinzeripath2022-06-022-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-313-1/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-301-9/+9
|
* Fix i18n for Link Account button, re-format tmpl (#19835)wxiaoguang2022-05-291-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-291-9/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-282-22/+196
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-241-2/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-2323-23/+4
|
* [skip ci] Updated licenses and gitignoresGiteaBot2022-05-222-1/+19
|
* Estimate Action Count in Statistics (#19775)zeripath2022-05-211-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-172-3/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-153-9/+57
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-132-1/+20
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-121-14/+14
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-101-33/+36
|
* Add tooltip to pending PR comments (#19662)Jack Hay2022-05-091-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-0928-28/+21
|
* Admin should not delete himself (#19423)Lunny Xiao2022-05-081-0/+1
| | | | | | Admin should not be able to delete themselves. Also partially fix #15449
* Repository level enable package or disable (#19323)Lunny Xiao2022-05-081-0/+1
|
* Allow to mark files in a PR as viewed (#19007)delvh2022-05-071-0/+3
| | | Users can now mark files in PRs as viewed, resulting in them not being shown again by default when they reopen the PR again.
* Auto merge pull requests when all checks succeeded via API (#9307)kolaente2022-05-081-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix indention Signed-off-by: kolaente <k@knt.li> * Add option to merge a pr right now without waiting for the checks to succeed Signed-off-by: kolaente <k@knt.li> * Fix lint Signed-off-by: kolaente <k@knt.li> * Add scheduled pr merge to tables used for testing Signed-off-by: kolaente <k@knt.li> * Add status param to make GetPullRequestByHeadBranch reusable Signed-off-by: kolaente <k@knt.li> * Move "Merge now" to a seperate button to make the ui clearer Signed-off-by: kolaente <k@knt.li> * Update models/scheduled_pull_request_merge.go Co-authored-by: 赵智超 <1012112796@qq.com> * Update web_src/js/index.js Co-authored-by: 赵智超 <1012112796@qq.com> * Update web_src/js/index.js Co-authored-by: 赵智超 <1012112796@qq.com> * Re-add migration after merge * Fix frontend lint * Fix version compare * Add vendored dependencies * Add basic tets * Make sure the api route is capable of scheduling PRs for merging * Fix comparing version * make vendor * adopt refactor * apply suggestion: User -> Doer * init var once * Fix Test * Update templates/repo/issue/view_content/comments.tmpl * adopt * nits * next * code format * lint * use same name schema; rm CreateUnScheduledPRToAutoMergeComment * API: can not create schedule twice * Add TestGetBranchNamesForSha * nits * new go routine for each pull to merge * Update models/pull.go Co-authored-by: a1012112796 <1012112796@qq.com> * Update models/scheduled_pull_request_merge.go Co-authored-by: a1012112796 <1012112796@qq.com> * fix & add renaming sugestions * Update services/automerge/pull_auto_merge.go Co-authored-by: a1012112796 <1012112796@qq.com> * fix conflict relicts * apply latest refactors * fix: migration after merge * Update models/error.go Co-authored-by: delvh <dev.lh@web.de> * Update options/locale/locale_en-US.ini Co-authored-by: delvh <dev.lh@web.de> * Update options/locale/locale_en-US.ini Co-authored-by: delvh <dev.lh@web.de> * adapt latest refactors * fix test * use more context * skip potential edgecases * document func usage * GetBranchNamesForSha() -> GetRefsBySha() * start refactoring * ajust to new changes * nit * docu nit * the great check move * move checks for branchprotection into own package * resolve todo now ... * move & rename * unexport if posible * fix * check if merge is allowed before merge on scheduled pull * debugg * wording * improve SetDefaults & nits * NotAllowedToMerge -> DisallowedToMerge * fix test * merge files * use package "errors" * merge files * add string names * other implementation for gogit * adapt refactor * more context for models/pull.go * GetUserRepoPermission use context * more ctx * use context for loading pull head/base-repo * more ctx * more ctx * models.LoadIssueCtx() * models.LoadIssueCtx() * Handle pull_service.Merge in one DB transaction * add TODOs * next * next * next * more ctx * more ctx * Start refactoring structure of old pull code ... * move code into new packages * shorter names ... and finish **restructure** * Update models/branches.go Co-authored-by: zeripath <art27@cantab.net> * finish UpdateProtectBranch * more and fix * update datum * template: use "svg" helper * rename prQueue 2 prPatchCheckerQueue * handle automerge in queue * lock pull on git&db actions ... * lock pull on git&db actions ... * add TODO notes * the regex * transaction in tests * GetRepositoryByIDCtx * shorter table name and lint fix * close transaction bevore notify * Update models/pull.go * next * CheckPullMergable check all branch protections! * Update routers/web/repo/pull.go * CheckPullMergable check all branch protections! * Revert "PullService lock via pullID (#19520)" (for now...) This reverts commit 6cde7c9159a5ea75a10356feb7b8c7ad4c434a9a. * Update services/pull/check.go * Use for a repo action one database transaction * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: delvh <dev.lh@web.de> * Update services/issue/status.go Co-authored-by: delvh <dev.lh@web.de> * Update services/issue/status.go Co-authored-by: delvh <dev.lh@web.de> * use db.WithTx() * gofmt * make pr.GetDefaultMergeMessage() context aware * make MergePullRequestForm.SetDefaults context aware * use db.WithTx() * pull.SetMerged only with context * fix deadlock in `test-sqlite\#TestAPIBranchProtection` * dont forget templates * db.WithTx allow to set the parentCtx * handle db transaction in service packages but not router * issue_service.ChangeStatus just had caused another deadlock :/ it has to do something with how notification package is handled * if we merge a pull in one database transaktion, we get a lock, because merge infoce internal api that cant handle open db sessions to the same repo * ajust to current master * Apply suggestions from code review Co-authored-by: delvh <dev.lh@web.de> * dont open db transaction in router * make generate-swagger * one _success less * wording nit * rm * adapt * remove not needed test files * rm less diff & use attr in JS * ... * Update services/repository/files/commit.go Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> * ajust db schema for PullAutoMerge * skip broken pull refs * more context in error messages * remove webUI part for another pull * remove more WebUI only parts * API: add CancleAutoMergePR * Apply suggestions from code review Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> * fix lint * Apply suggestions from code review * cancle -> cancel Co-authored-by: delvh <dev.lh@web.de> * change queue identifyer * fix swagger * prevent nil issue * fix and dont drop error * as per @zeripath * Update integrations/git_test.go Co-authored-by: delvh <dev.lh@web.de> * Update integrations/git_test.go Co-authored-by: delvh <dev.lh@web.de> * more declarative integration tests (dedup code) * use assert.False/True helper Co-authored-by: 赵智超 <1012112796@qq.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-072-0/+2
|
* Add "Reference" section to Issue view sidebar (#19609)neon2022-05-051-0/+1
| | | | | | | | | | | | | | | * Add "Reference" section to Issue view sidebar * Removed unneeded tailored CSS, added Fomantic UI classes * Removed tailored CSS in favour of HTML-only approach Kindly provided by @Gusted * Added i18 translation key for reference link string * Corrected spelling of "References:" to "Reference:" for reference link text * Removed `Issue.ReferenceLink` in favour of a local template variable
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-052-1/+315
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-05-022-1/+6
|
* [skip ci] Updated licenses and gitignoresGiteaBot2022-05-012-0/+466
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-301-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-291-0/+6
|
* Add "Allow edits from maintainer" feature (#18002)qwerty2872022-04-281-0/+3
| | | | | | | | | | | | | | | | | Adds a feature [like GitHub has](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) (step 7). If you create a new PR from a forked repo, you can select (and change later, but only if you are the PR creator/poster) the "Allow edits from maintainers" option. Then users with write access to the base branch get more permissions on this branch: * use the update pull request button * push directly from the command line (`git push`) * edit/delete/upload files via web UI * use related API endpoints You can't merge PRs to this branch with this enabled, you'll need "full" code write permissions. This feature has a pretty big impact on the permission system. I might forgot changing some things or didn't find security vulnerabilities. In this case, please leave a review or comment on this PR. Closes #17728 Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-281-0/+1
|
* Add a new menu in file view to open blame view and fix blame view select ↵Lunny Xiao2022-04-261-1/+2
| | | | range bug (#19500)
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-2628-1/+127
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-251-0/+3
|
* Add RSS Feed buttons to Repo, User and Org pages (#19370)ktprograms2022-04-241-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-241-0/+7
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-231-9/+58
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-221-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-213-1/+7
|
* Add Helm Chart registry (#19406)KN4CK3R2022-04-191-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-181-0/+1372
|
* [skip ci] Updated licenses and gitignoresGiteaBot2022-04-171-1/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-131-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-102-0/+117
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-0811-11/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-071-0/+20
|
* Show ssh command directly in template instead of i18n translation (#19335)原俊杰2022-04-061-1/+0
| | | | | | | | | | | | | * add missing space for generate ssh token command Signed-off-by: Junjie Yuan <yuan@junjie.pro> * Do not use i18n for ssh command * Remove unnecessary settings.ssh_token_code * Revert locale_zh-CN.ini Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2022-04-061-0/+8
|