0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-22 05:46:12 -05:00
forgejo/routers/web/repo
Gusted 59fc009e6e
[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)
(cherry picked from commit df3b058179)
(cherry picked from commit 8ccc6b9cba)
(cherry picked from commit 9fbe28fca3)
2023-11-27 18:22:25 +01:00
..
actions Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
setting [GITEA] Make confirmation clearer for dangerous actions 2023-11-27 18:22:25 +01:00
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
commit.go
compare.go
download.go
editor.go Revert "Fix EOL handling in web editor" (#28101) 2023-11-22 09:14:16 +00:00
editor_test.go
find.go
githttp.go Fix http protocol auth (#27875) 2023-11-02 22:14:33 +08:00
githttp_test.go Fix http protocol auth (#27875) 2023-11-02 22:14:33 +08:00
helper.go
helper_test.go
issue.go Fix issue will be detected as pull request when checking First-time contributor (#28237) 2023-11-27 10:46:55 +00:00
issue_content_history.go Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
issue_dependency.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go Fix viewing wiki commit on empty repo (#28040) 2023-11-14 19:42:23 +08:00
migrate.go
milestone.go
packages.go
patch.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
projects.go Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
projects_test.go
pull.go
pull_review.go
release.go Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
release_test.go
render.go
repo.go
search.go
topic.go
treelist.go
view.go Add edit option for README.md (#28071) 2023-11-20 11:47:55 +00:00
view_test.go
wiki.go
wiki_test.go