summaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* Allow site admin to disable mirrors (#11740)John Olheiser2020-06-021-0/+1
| | | | | | | | | | | | | | | | | | | * Allow site admin to disable mirrors Signed-off-by: jolheiser <john.olheiser@gmail.com> * No need to run through Safe Signed-off-by: jolheiser <john.olheiser@gmail.com> * Clarify only disabling NEW mirrors Signed-off-by: jolheiser <john.olheiser@gmail.com> * Apply suggestions from @guillep2k 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-05-311-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-2924-24/+4
|
* translate: Change translate for admin.config.enable_captcha (#11657)赵智超2020-05-291-1/+1
| | | | | | | | | | | | | | * translate: Change translate for admin.config.enable_captcha add 'register' to make it more accurate Signed-off-by: a1012112796 <1012112796@qq.com> * Update options/locale/locale_en-US.ini Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-271-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-262-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-264-4/+1
|
* Make issues.force_push_codes message shorter (#11575)Cirno the Strongest2020-05-251-1/+1
| | | | | Also removes stray dot and whitespace. Trying to make base message shorter; I don't envy translators, the message can easily get multi-line in English, I'm sure that is even bigger problem in other languages.
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-241-9/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-221-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-211-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-201-0/+23
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-201-1/+70
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-203-0/+54
|
* Add push commits history comment on PR time-line (#11167)赵智超2020-05-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add push commits history comment on PR time-line * Add notify by email and ui of this comment type also Signed-off-by: a1012112796 <1012112796@qq.com> * Add migrations for IsForcePush * fix wrong force-push judgement * Apply suggestions from code review * Remove commit number check * add own notify fun * fix some typo Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> * fix lint * fix style again, I forgot something before * Change email notify way * fix api * add number check if It's force-push * Add repo commit link fuction remove unnecessary check skip show push commits comment which not have commits alive * Update issue_comment.go * Apply suggestions from code review Co-authored-by: mrsdizzie <info@mrsdizzie.com> * Apply suggestions from code review * fix ui view Co-authored-by: silverwind <me@silverwind.io> * fix height * remove unnecessary style define * simplify GetBranchName * Apply suggestions from code review * save commit ids and isForce push by json * simplify GetBranchName * fix bug Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: mrsdizzie <info@mrsdizzie.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: silverwind <me@silverwind.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-191-0/+7
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-1719-19/+0
|
* Fix "Unknown task: git_fsck" error on admin dashboard (#11468)65432020-05-171-1/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-172-2/+36
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-176-5/+456
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-173-0/+176
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-177-25/+1110
|
* Fix translation to be compatible with crowdin (#11453)Lauris BH2020-05-171-4/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-1723-208/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-161-0/+11
|
* Refactor Cron and merge dashboard tasks (#10745)zeripath2020-05-161-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor Cron and merge dashboard tasks * Merge Cron and Dashboard tasks * Make every cron task report a system notice on completion * Refactor the creation of these tasks * Ensure that execution counts of tasks is correct * Allow cron tasks to be started from the cron page * golangci-lint fixes * Enforce that only one task with the same name can be registered Signed-off-by: Andrew Thornton <art27@cantab.net> * fix name check Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @guillep2k * as per @lafriks Signed-off-by: Andrew Thornton <art27@cantab.net> * Add git.CommandContext variants Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-1626-35/+3521
|
* Add paging and archive/private repository filtering to dashboard list (#11321)zeripath2020-05-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add archived options to SearchRepository Signed-off-by: Andrew Thornton <art27@cantab.net> * Add only-private search Signed-off-by: Andrew Thornton <art27@cantab.net> * Add filter options and paging to dashboard repository page Signed-off-by: Andrew Thornton <art27@cantab.net> * swagger generate Signed-off-by: Andrew Thornton <art27@cantab.net> * fix-swagger-again Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @mrsdizzie also remember state Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-141-4/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-141-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-1315-17/+1
|
* Change install description (#11395)John Olheiser2020-05-131-1/+1
| | | | | | Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-131-0/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-112-9/+97
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-111-12/+25
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-112-37/+332
|
* Split some words from template to improve translation. (#11221)L0veSunshine2020-05-081-0/+5
| | | | | | | | | | | | * split some words from template * split some words from template * add " " to mustache expression * split some words from template Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-071-1/+93
|
* Protect default branch against deletion (#11115)65432020-05-061-0/+1
| | | | | | Although default branch is not offered for deletion in the templates, we need to prevent it both at the router level and in the pre-receive hook. Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* Allow unauthenticated users to compare (#11240)Kyle Evans2020-05-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * routers: make /compare route available to unauthenticated users Remove some bits of the compare interface if the user isn't signed in. Notably, they don't need to see the "New Pull Request" button box nor the hidden form that would fail to submit due to the POST request continuing to require proper privileges. Follow-up commits will improve the UI a bit around this, removing some "Pull Request" verbiage in favor of "Compare." * ui: home: show "compare" button for unauthenticated users This change requires pulling in the BaseRepo unconditionally and recording if the pull request is in-fact not allowed (.PullRequestCtx.Allowed). If the user isn't allowed to create a pull request, either because this isn't a fork or same-fork branch PRs aren't allowed, then we'll name the button "Compare" instead of "Pull Request." * ui: branch list: use the new Compare language when available When viewing the branch listing as an unauthenticated user, you'll get "Pull Request" buttons. use the new "Compare" verbiage instead, which matches GitHub behavior when you can't issue a pull request from the branches. Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-031-1/+8
|
* Sendmail should create a process on the gitea system and have a default ↵zeripath2020-05-031-0/+1
| | | | | | | | | | | | timeout (#11256) * Make sure that sendmail processes register with the process manager * Provide a timeout for these (initially of 5 minutes) * Add configurable value and tie in to documentation * Tie in to the admin config page. Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-022-0/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-05-0214-28/+0
|
* Remove last traces of has-emoji class (#11263)mrsdizzie2020-05-011-2/+2
| | | | | | Now that emojify.js has been removed, get rid of all instances of has-emoji class that was only used for that. Support for rendering shortcodes should remain in all of these places so it should still work the same. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-3025-50/+0
|
* Add a 'this' to issue close/reopened messages (#11204)silverwind2020-04-301-2/+4
| | | | | | | | * add a 'this' to issue close/reopened messages * add 'this issue/pull request' and create new localization entries Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-2726-0/+52
|
* Make error pages translatable (#11163)65432020-04-271-0/+4
| | | | | | | * make error pages translatable * dont translate ":" * link need Safe
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-271-0/+1
|