1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 13:19:37 -05:00
forgejo/routers/web/repo/setting
Gusted df3b058179
[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)
2023-10-23 14:16:24 +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 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-10-23 14:16:24 +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) 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