forgejo/routers/web/repo/setting
Gusted fa7cdefa9d
[GITEA] Make confirmation clearer for dangerous actions
- Currently the confirmation for dangerous actions such as transferring
the repository or deleting it only requires the user to ~~copy paste~~
type the repository name.
- This can be problematic when the user has a fork or another repository
with the same name as an organization's repository, and the confirmation
doesn't make clear that it could be deleting the wrong repository. While
it's mentioned in the dialog, it's better to be on the safe side and
also add the owner's name to be an element that has to be typed for
these dangerous actions.
- Added integration tests.

(cherry picked from commit bf679b24dd)
(cherry picked from commit 1963085dd9)
(cherry picked from commit fb94095d19)
(cherry picked from commit e1d1e46afe)
(cherry picked from commit 93993029e4)
(cherry picked from commit df3b058179)
(cherry picked from commit 8ccc6b9cba)
(cherry picked from commit 9fbe28fca3)
2023-11-13 12:21:09 +01:00
..
avatar.go Improve hint when uploading a too large avatar (#26935) 2023-09-07 13:35:45 +00:00
collaboration.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
default_branch.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
deploy_key.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
git_hooks.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
lfs.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
protected_branch.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
protected_tag.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
runners.go Fix repo count in org action settings (#27245) 2023-09-29 15:46:07 +00:00
secrets.go Fix repo count in org action settings (#27245) 2023-09-29 15:46:07 +00:00
setting.go [GITEA] Make confirmation clearer for dangerous actions 2023-11-13 12:21:09 +01:00
settings_test.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
variables.go Fix repo count in org action settings (#27245) 2023-09-29 15:46:07 +00:00
webhook.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00