aboutsummaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* Add Matrix webhook (#10831)S7evinK2020-03-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Matrix webhook Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Add template and related translations for Matrix hook Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Add actual webhook routes and form Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Add missing file Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Update modules/webhook/matrix_test.go * Use stricter regex to replace URLs Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Escape url and text Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Remove unnecessary whitespace * Fix copy and paste mistake Co-Authored-By: Tulir Asokan <tulir@maunium.net> * Fix indention inconsistency * Use Authorization header instead of url parameter * Add raw commit information to webhook Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Tulir Asokan <tulir@maunium.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-271-0/+35
|
* Allow to set protected file patterns that can not be changed under no ↵Lauris BH2020-03-271-0/+2
| | | | | conditions (#10806) Co-Authored-By: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-251-14/+14
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-091-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-0825-0/+25
|
* System-wide webhooks (#10546)James Lakin2020-03-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create system webhook column (and migration) * Create system webhook DB methods Based on the default webhook ones * Modify router to handle system webhooks and default ones * Remove old unused admin nav template * Adjust orgRepoCtx to differentiate system and default webhook URLs * Assign IsSystemWebhook when creating webhooks * Correctly use booleans for IsSystemWebhook * Use system webhooks when preparing webhooks for payload * Add UI and locale changes * Use router params to differentiate admin hook pages * Fix deleting admin webhooks and rename method * Add clarity to webhook docs * Revert "Remove old unused admin nav template" This reverts commit 191a20a7389fe5f6256b0ad6aafd04b9b0e295c5. * Rename WebHooksNewPost to GiteaHooksNewPost for clarity * Reintroduce blank line lost during merge conflict Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-081-3/+40
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-071-0/+18
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-0625-161/+122
|
* Granular webhook events (#9626)John Olheiser2020-03-061-10/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial work Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add PR reviews and API coverage Signed-off-by: jolheiser <john.olheiser@gmail.com> * Split up events Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add migration and locale Signed-off-by: jolheiser <john.olheiser@gmail.com> * Format Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert IsPull Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix comments Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix PR reviews Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix issue_comment Signed-off-by: jolheiser <john.olheiser@gmail.com> * Make fmt Signed-off-by: jolheiser <john.olheiser@gmail.com> * Migrations Signed-off-by: jolheiser <john.olheiser@gmail.com> * Backwards compatible API Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix feishu Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move session commit Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Add Approval Counts to pulls list (#10238)zeripath2020-03-061-0/+5
| | | | | | | | | * Add Approval Counts to pulls list Add simple approvals counts to pulls lists * Remove non-official counts * Add PR features to milestone_issues.tmpl
* Add restricted user filter to LDAP authentication (#10600)Lauris BH2020-03-051-0/+2
| | | | | | * Add restricted user filter to LDAP authentification * Fix unit test cases
* OAuth2: add Yandex provider (#8335) (#10564)Lauris BH2020-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | * OAuth2: add Yandex provider (#8335) * remove changes from locale ru-RU * fmt modules/auth/oauth2/oauth2.go Co-Authored-By: 6543 <6543@obermui.de> * fix fmt * Update templates/admin/auth/new.tmpl * fix fmt Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-0323-44/+0
|
* Rename repo size sorting options (#10587)Felix W. Dekker2020-03-031-2/+2
|
* nextcloud oauth (#10562)techknowlogick2020-03-021-0/+1
| | | Fix #7078
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-0225-0/+31
|
* Admin page for managing user e-mail activation (#10557)guillep2k2020-03-021-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | * Implement mail activation admin panel * Add export comments * Fix another export comment * again... * And again! * Apply suggestions by @lunny * Add UI for user activated emails * Make new activation UI work * Fix lint * Prevent admin from self-deactivate; add modal Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-03-021-0/+28
|
* Show Signer in commit lists and add basic trust (#10425)zeripath2020-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show Signer in commit lists and add basic trust Show the avatar of the signer in the commit list pages as we do not enforce that the signer is an author or committer. This makes it clearer who has signed the commit. Also display commits signed by non-members differently from members and in particular make it clear when a non-member signer is different from the committer to help reduce the risk of spoofing. Signed-off-by: Andrew Thornton <art27@cantab.net> * ensure orange text and background is available Signed-off-by: Andrew Thornton <art27@cantab.net> * Update gpg_key.go * Update models/gpg_key.go * Apply suggestions from code review * Require team collaborators to have access to UnitTypeCode * as per @6543 * fix position of sha as per @silverwind * as per @guillep2k
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-251-2/+9
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-241-0/+6
|
* Various fixes in login sources (#10428)guillep2k2020-02-231-0/+1
|
* Handle push rejection message in Merge & Web Editor (#10373)zeripath2020-02-221-0/+4
| | | | | | | | | | | | | | | | | | * Handle push rejection message in Merge * placate golangci-lint * Fix sanitize, adjust message handling * oops * Oops * Handle push-rejection in webeditor CRUD too * Apply suggestions from code review Co-authored-by: Lauris BH <lauris@nix.lv>
* Render READMEs in docs/ .gitea or .github from root (#10361)zeripath2020-02-211-0/+1
| | | | * Render READMEs in docs/ .gitea or .github from root
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-211-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-201-0/+9
|
* Add detected file language to code search (#10256)Lauris BH2020-02-201-0/+1
| | | | | | | Move langauge detection to separate module to be more reusable Add option to disable vendored file exclusion from file search Allways show all language stats for search
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-181-0/+12
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-181-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-161-2/+51
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-152-1/+46
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-142-2/+11
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-142-2/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-122-1/+53
|
* Add feishu webhook support (#10229)Lunny Xiao2020-02-121-0/+1
| | | | Add feishu webhook support
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-121-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-111-0/+2
|
* Language statistics bar for repositories (#8037)Lauris BH2020-02-111-0/+1
| | | | | | | | | | | | | | | | | | * Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-1025-0/+25
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-101-0/+2
|
* Improve 404 error message (#10214)guillep2k2020-02-101-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-091-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-072-2/+0
|
* Tweak locale to respect singular conflicting file message in P… (#10177)James Lakin2020-02-071-1/+2
| | | | Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-051-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-02-042-0/+4
|
* Show if a PR has conflicting files on the PR lists (#10130)James Lakin2020-02-041-0/+1
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Show download count info in release list (#10124)Lauris BH2020-02-031-0/+1
| | | | | | * Show download count info in release list * Use go-humanize