forgejo/routers/web
Gusted a448744b7b
[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)
(cherry picked from commit 0c2a78fa48)
(cherry picked from commit e8aa66f1dd)
(cherry picked from commit 55b5aa0239)
2023-11-06 14:56:38 +01:00
..
admin
auth
devtest
events
explore
feed
healthcheck
misc [API] Forgejo API /api/forgejo/v1 2023-11-06 14:56:35 +01:00
org Delete repos of org when purge delete user (#27273) (#27728) 2023-11-01 10:03:12 +08:00
repo [GITEA] Make confirmation clearer for dangerous actions 2023-11-06 14:56:38 +01:00
shared
user Delete repos of org when purge delete user (#27273) (#27728) 2023-11-01 10:03:12 +08:00
base.go
githttp.go Fix http protocol auth (#27875) (#27876) 2023-11-02 16:34:55 +01:00
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go [API] Forgejo API /api/forgejo/v1 2023-11-06 14:56:35 +01:00
webfinger.go