mirror of
1
Fork 0
forgejo/routers/web/repo/setting
Gusted 0c2a78fa48
[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 64e38b3363)
2023-10-16 15:50:10 +02: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 Another round of `db.DefaultContext` refactor (#27103) (#27262) 2023-09-25 19:24:35 +02: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 Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
protected_branch.go Update status and code index after changing the default branch (#27018) 2023-09-13 04:43:31 +00:00
protected_tag.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
runners.go Fix repo count in org action settings (#27245) (#27353) 2023-09-29 20:00:24 +02:00
secrets.go Fix repo count in org action settings (#27245) (#27353) 2023-09-29 20:00:24 +02:00
setting.go [GITEA] Make confirmation clearer for dangerous actions 2023-10-16 15:50:10 +02: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) (#27353) 2023-09-29 20:00:24 +02:00
webhook.go Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00