summaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* Multiple small admin dashboard fixes (#12153) (#12156)zeripath2020-07-051-6/+6
| | | | | | | | * Prevent (EXTRA string) comments in Task headers * Redirect tasks started from monitor page back to monitor * Fix #12107 - redirects from process cancel should use AppSubUrl * When wrapping queues set the name correctly Signed-off-by: Andrew Thornton <art27@cantab.net>
* European Portuguese translation (#11568) (#11778)Emanuel Angelo2020-06-061-0/+1
| | | | | This PR includes the modifications necessary to make use of the European Portuguese translation from the default setting. Co-authored-by: zeripath <art27@cantab.net>
* Fix styling for commiter on diff view (#11715) (#11744)Cirno the Strongest2020-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | | * Fix styling for commiter on diff view * Update options/locale/locale_en-US.ini * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <me@silverwind.io> * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <me@silverwind.io> * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io> (cherry picked from commit 8e035f81c01ba6c1ccf8952ffad37bef063aad2d)
* Fix "Unknown task: git_fsck" error on admin dashboard (#11468) (#11471)65432020-05-181-1/+0
| | | | | | | * Fix "Unknown task: git_fsck" error on admin dashboard (#11468) * Update .drone.yml Co-authored-by: zeripath <art27@cantab.net>
* [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
|
* Use markdown frontmatter to provide Table of contents, language and ↵zeripath2020-04-241-0/+1
| | | | | | | | | frontmatter rendering (#11047) * Add control for the rendering of the frontmatter * Add control to include a TOC * Add control to set language - allows control of ToC header and CJK glyph choice. Signed-off-by: Andrew Thornton art27@cantab.net
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-221-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-201-0/+8
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-201-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-201-1/+14
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-191-2/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-1915-30/+0
|
* consolidate author name across timeline (#11053)Sorien2020-04-191-2/+2
| | | | | | | | | * consolidate author name across timeline * Sync with master Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add a way to mark Conversation (code comment) resolved (#11037)赵智超2020-04-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a way to mark Conversation (code comment) resolved mark Conversation is a way to mark a Conversation is stale or be solved. when it's marked as stale, will be hided like stale. all Pull Request writer , Offical Reviewers and poster can add or remove Conversation resolved mark. Signed-off-by: a1012112796 <1012112796@qq.com> * fix lint * Apply suggestions from code review * Add ResolveDoer * fix ui Co-Authored-By: Lauris BH <lauris@nix.lv> Co-Authored-By: 6543 <6543@obermui.de> * change IsResolved to an function Add permission check in UpdateResolveConversation * Apply suggestions from code review * change return error for permisson check * add default message for deleted user * get issue message from comment * add migration for ``ResolveDoerID`` column another change: * block mark pending review as resolved because it's not necessary Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> * change button color * resolve button size * fix code style * remove unusefull code Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-181-0/+7
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-171-1/+1
|
* Prevent merge of outdated PRs on protected branches (#11012)65432020-04-161-0/+3
| | | | | | | | | | | | | | | | * Block PR on Outdated Branch * finalize * cleanup * fix typo and sentences thanks @guillep2k Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-1614-14/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-04-161-16/+483
|