forgejo/routers/web
Gusted e8aa66f1dd
[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)
2023-10-23 14:20:50 +02:00
..
admin
auth Don't show Link to TOTP if not set up (#27585) (#27588) 2023-10-11 22:59:21 +02:00
devtest
events
explore
feed
healthcheck
misc [API] Forgejo API /api/forgejo/v1 2023-10-23 14:20:49 +02:00
org
repo [GITEA] Make confirmation clearer for dangerous actions 2023-10-23 14:20:50 +02:00
shared
user Fix 404 when deleting Docker package with an internal version (#27615) (#27630) 2023-10-15 12:08:04 +02:00
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go [API] Forgejo API /api/forgejo/v1 2023-10-23 14:20:49 +02:00
webfinger.go