forgejo/routers/web/repo
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
..
actions Artifacts retention and auto clean up (#26131) 2023-09-06 07:41:06 +00:00
setting [GITEA] Make confirmation clearer for dangerous actions 2023-10-23 14:20:50 +02:00
activity.go
attachment.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
blame.go Improve tree not found page (#26570) (#27346) 2023-09-29 18:35:11 +08:00
branch.go Search branches (#27055) 2023-09-17 08:24:40 +00:00
cherry_pick.go
commit.go More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
compare.go Replace ajax with fetch, improve image diff (#27267) (#27583) 2023-10-11 16:12:31 +02:00
download.go
editor.go Improve tree not found page (#26570) (#27346) 2023-09-29 18:35:11 +08:00
editor_test.go
find.go
helper.go Improve tree not found page (#26570) (#27346) 2023-09-29 18:35:11 +08:00
helper_test.go
http.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
http_test.go
issue.go Hide archived labels when filtering by labels on the issue list (#27115) (#27381) 2023-10-01 22:56:48 -04:00
issue_content_history.go Improve issue history dialog and make poster can delete their own history (#27323) (#27327) 2023-09-28 09:46:46 +00:00
issue_dependency.go
issue_label.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
issue_label_test.go
issue_lock.go
issue_pin.go
issue_stopwatch.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
issue_test.go
issue_timetrack.go
issue_watch.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
main_test.go
middlewares.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
migrate.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
milestone.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
packages.go
patch.go
projects.go More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
projects_test.go
pull.go More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
pull_review.go More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
release.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
release_test.go
render.go
repo.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
search.go
topic.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
treelist.go
view.go More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
view_test.go
wiki.go
wiki_test.go