GiteaBot
c86c061dbe
[skip ci] Updated translations via Crowdin
6 years ago
Lauris BH
3edcc40a40
Allow to set protected file patterns that can not be changed under no conditions ( #10806 )
Co-Authored-By: zeripath <art27@cantab.net>
6 years ago
GiteaBot
4bece91324
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
8279c438ed
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
6fbcf82aaa
[skip ci] Updated translations via Crowdin
6 years ago
James Lakin
16f96e2abc
System-wide webhooks ( #10546 )
* 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 191a20a738 .
* 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>
6 years ago
GiteaBot
c2e5f799e9
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
d5e234d07d
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
f3233346b3
[skip ci] Updated translations via Crowdin
6 years ago
John Olheiser
ffc33714dc
Granular webhook events ( #9626 )
* 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>
6 years ago
zeripath
030a54b319
Add Approval Counts to pulls list ( #10238 )
* Add Approval Counts to pulls list
Add simple approvals counts to pulls lists
* Remove non-official counts
* Add PR features to milestone_issues.tmpl
6 years ago
Lauris BH
0486b6fe45
Add restricted user filter to LDAP authentication ( #10600 )
* Add restricted user filter to LDAP authentification
* Fix unit test cases
6 years ago
Lauris BH
8609599ee4
OAuth2: add Yandex provider ( #8335 ) ( #10564 )
* 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>
6 years ago
GiteaBot
844bb7dbd7
[skip ci] Updated translations via Crowdin
6 years ago
Felix W. Dekker
d9be3a11ff
Rename repo size sorting options ( #10587 )
6 years ago
techknowlogick
b1bdd4462e
nextcloud oauth ( #10562 )
Fix #7078
6 years ago
GiteaBot
c889694165
[skip ci] Updated translations via Crowdin
6 years ago
guillep2k
3756c986cf
Admin page for managing user e-mail activation ( #10557 )
* 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>
6 years ago
GiteaBot
b8df2b1e50
[skip ci] Updated translations via Crowdin
6 years ago
zeripath
c8bdf9ba98
Show Signer in commit lists and add basic trust ( #10425 )
* 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
6 years ago
GiteaBot
9a49badf5f
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
f9ee4c6aa4
[skip ci] Updated translations via Crowdin
6 years ago
guillep2k
d629b04495
Various fixes in login sources ( #10428 )
6 years ago
zeripath
66aebdef7b
Handle push rejection message in Merge & Web Editor ( #10373 )
* 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>
6 years ago
zeripath
b410ea0672
Render READMEs in docs/ .gitea or .github from root ( #10361 )
* Render READMEs in docs/ .gitea or .github from root
6 years ago
GiteaBot
3de02a22fa
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
dbad802282
[skip ci] Updated translations via Crowdin
6 years ago
Lauris BH
6ce8f85da9
Add detected file language to code search ( #10256 )
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
6 years ago
GiteaBot
2566ec5e5c
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
7541ff6703
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
4e7d2cef67
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
d0d061a6d7
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
705fc361be
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
8f253e89d1
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
dea91d6880
[skip ci] Updated translations via Crowdin
6 years ago
Lunny Xiao
a1d35421d5
Add feishu webhook support ( #10229 )
Add feishu webhook support
6 years ago
GiteaBot
00c7e44fc5
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
6ae189e434
[skip ci] Updated translations via Crowdin
6 years ago
Lauris BH
416682f73d
Language statistics bar for repositories ( #8037 )
* 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
6 years ago
GiteaBot
6434243c8a
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
4e63504689
[skip ci] Updated translations via Crowdin
6 years ago
guillep2k
2289488125
Improve 404 error message ( #10214 )
6 years ago
GiteaBot
d24ffaabf6
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
4e747cf477
[skip ci] Updated translations via Crowdin
6 years ago
James Lakin
c9cb7eb2d9
Tweak locale to respect singular conflicting file message in P… ( #10177 )
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6 years ago
GiteaBot
26c455e9b8
[skip ci] Updated translations via Crowdin
6 years ago
GiteaBot
a569b54a50
[skip ci] Updated translations via Crowdin
6 years ago
James Lakin
9fb6d2c0da
Show if a PR has conflicting files on the PR lists ( #10130 )
Co-authored-by: Lauris BH <lauris@nix.lv>
6 years ago
Lauris BH
83b5e8be25
Show download count info in release list ( #10124 )
* Show download count info in release list
* Use go-humanize
6 years ago
GiteaBot
0b2561443b
[skip ci] Updated translations via Crowdin
6 years ago