1452 Commits (8d0e331c0abcda2a6da16c3eafecc98d38a8d4ae)

Author SHA1 Message Date
Ash McKenzie 6ff63c8202
Display error if twofaSecret cannot be retrieved (#14372) 3 years ago
GiteaBot 8e39157e92 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 3aa53dc6bc [skip ci] Updated translations via Crowdin 4 years ago
6543 21da519c0c
Implement ghost comment mitigation (#14349)
* Implement ghost comment mitigation

Adds a config option USER_DELETE_WITH_COMMENTS_MAX_DAYS to the [service] section. See https://codeberg.org/Codeberg/Discussion/issues/24 for the underlying issue.

* cleanup

* use setting module correctly

* add to docs

Co-authored-by: Moritz Marquardt <git@momar.de>
4 years ago
Jimmy Praet acb1ceb1f4
Add review requested filter on pull request overview (#13701)
* Add review requested filter on pull request overview #13682

fix formatting

* add review_requested filter to /repos/issues/search API endpoint

* only Approve and Reject status should supersede Request status

* add support for team reviews

* refactor: remove duplication of issue filtering conditions
4 years ago
GiteaBot 66e426b2f1 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot e6155ff9b6 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 76fefd803f [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 2db4733c7d [skip ci] Updated translations via Crowdin 4 years ago
6543 3091600cc8
KanBan: be able to set default board (#14147)
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: zeripath <art27@cantab.net>
4 years ago
GiteaBot c09e11d018 [skip ci] Updated translations via Crowdin 4 years ago
Lauris BH 6eee9f0f4e
Merge default and system webhooks under one menu (#14244) 4 years ago
GiteaBot 648d85d426 [skip ci] Updated translations via Crowdin 4 years ago
Jonathan Tran 81467e6f35
Display SVG files as images instead of text (#14101)
* Change to display SVG files as images

* Remove unsafe styles from SVG CSP

* Add integration test to test SVG headers

* Add config setting to disable SVG rendering

* Add test for img tag when loading SVG image

* Remove the Raw view button for svg files since we don't fully support this

* Fix copyright year

* Rename and move config setting

* Add setting to cheat sheet in docs

* Fix so that comment matches cheat sheet

* Add allowing styles in CSP based on pull request feedback

* Re-enable raw button since we show SVG styles now

* Change so that SVG files are editable

* Add UI to toggle between source and rendered image for SVGs

* Change to show blame button for SVG images

* Fix to update ctx data

* Add test for DetectContentType when file is longer than sniffLen

Co-authored-by: Jonathan Tran <jon@allspice.io>
Co-authored-by: Kyle D <kdumontnu@gmail.com>
4 years ago
GiteaBot 9465e60504 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 9659808172 [skip ci] Updated translations via Crowdin 4 years ago
6543 6b3b6f1833
Add option to change username to the admin panel (#14229)
Co-authored-by: Bwko <bouwko@gmail.com>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: zeripath <art27@cantab.net>
4 years ago
GiteaBot 461406070c [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 8688c2be95 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 91ceba0427 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 4ef5f17a7e [skip ci] Updated translations via Crowdin 4 years ago
6543 325add71cf
Add option for administrator to reset user 2FA (#14243)
* Frontend

* Backend

* only show 2FA-Reset option if posible
4 years ago
Cirno the Strongest 8db0372a45
Handle NotifyCreateRef as create branch in feeds (#14245)
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
GiteaBot af2fe9a733 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot cfc3916b3f [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot d75f011345 [skip ci] Updated translations via Crowdin 4 years ago
Timo Ley 2b2a4a53bf
Custom icons for OAuth sources (#14161)
* Add Icon URL to Backend

* Template for Icon URL

* Localization & Edit Icon URL

* Improve Custom Icon URL

* Removed not working else

Co-authored-by: 6543 <6543@obermui.de>
4 years ago
GiteaBot f6ca44c706 [skip ci] Updated translations via Crowdin 4 years ago
Jimmy Praet 40274b4a93
Team dashboards (#14159) 4 years ago
GiteaBot 5a1ccacac7 [skip ci] Updated translations via Crowdin 4 years ago
zeripath ad1164f73b
Disable SSH key deletion of externally managed Keys (#13985)
* Disable SSH key addition and deletion when externally managed

When a user has a login source which has SSH key management
key addition and deletion using the UI should be disabled.

Fix #13983

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Make only externally managed keys disabled

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
GiteaBot 4c2a1c01a8 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot a9876bca82 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 30edcd5c71 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot c236fe2f10 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot cd607b5f98 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 6f1dddf5c3 [skip ci] Updated translations via Crowdin 4 years ago
Cirno the Strongest 2c9dd71140
Standardize Co-Authored-By / Reviewed-By strings (#14097)
* Standardize Co-Authored-By / Reviewed-By strings

* Use lowercase variant

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
GiteaBot f8fd8996c0 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 1b1adab26c [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot 3a500cf8c4 [skip ci] Updated translations via Crowdin 4 years ago
Norwin 7a3c71433a
expose translation of previously hardcoded string (#14087)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
GiteaBot 7dd32276b7 [skip ci] Updated translations via Crowdin 4 years ago
DuckDuckWhale e8a354f819
Locale: say another issue instead of this issue (#14082)
Saying "this issue" is confusing because it could be understood as the
issue that the user is currently viewing, not which the "issue" link
points to.
4 years ago
GiteaBot 029836c34c [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot e674478227 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot cf6f8b22ca [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot de06ee6a30 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot d07b8a75d7 [skip ci] Updated translations via Crowdin 4 years ago
GiteaBot f8e9a3df40 [skip ci] Updated translations via Crowdin 4 years ago