You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gusted 9fbe28fca3
[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 bf679b24dd23c9ed586b9439e293bbd27cc89232)
(cherry picked from commit 1963085dd9d1521b7a4aa8558d409bd1a9f2e1da)
(cherry picked from commit fb94095d1992c3e47f03e0fccc98a90707a5271b)
(cherry picked from commit e1d1e46afee6891becdb6ccd027fc66843b56db9)
(cherry picked from commit 93993029e4ec8a20a8bc38d80bb4b801e52ee1b7)
(cherry picked from commit df3b058179d8f3e06cc6fb335b287c72c8952821)
(cherry picked from commit 8ccc6b9cba46a736665e4b25523da0baf1679702)
8 months ago
..
actions Even more `db.DefaultContext` refactor (#27352) 9 months ago
setting [GITEA] Make confirmation clearer for dangerous actions 8 months ago
activity.go Implement FSFE REUSE for golang files (#21840) 2 years ago
attachment.go Even more `db.DefaultContext` refactor (#27352) 9 months ago
blame.go Improve tree not found page (#26570) 9 months ago
branch.go Penultimate round of `db.DefaultContext` refactor (#27414) 9 months ago
cherry_pick.go Upgrade to golangci-lint@v1.55.0 (#27756) 8 months ago
commit.go Even more `db.DefaultContext` refactor (#27352) 9 months ago
compare.go Replace ajax with fetch, improve image diff (#27267) 9 months ago
download.go Less naked returns (#25713) 1 year ago
editor.go Improve tree not found page (#26570) 9 months ago
editor_test.go Move web/api context related testing function into a separate package (#26859) 10 months ago
find.go Implement FSFE REUSE for golang files (#21840) 2 years ago
githttp.go Fix http protocol auth (#27875) 8 months ago
githttp_test.go Fix http protocol auth (#27875) 8 months ago
helper.go Improve tree not found page (#26570) 9 months ago
helper_test.go Make web context initialize correctly for different cases (#26726) 10 months ago
issue.go Allow pull requests Manually Merged option to be used by non-admins (#27780) 8 months ago
issue_content_history.go Improve issue history dialog and make poster can delete their own history (#27323) 9 months ago
issue_dependency.go Upgrade to golangci-lint@v1.55.0 (#27756) 8 months ago
issue_label.go Even more `db.DefaultContext` refactor (#27352) 9 months ago
issue_label_test.go Move web/api context related testing function into a separate package (#26859) 10 months ago
issue_lock.go Penultimate round of `db.DefaultContext` refactor (#27414) 9 months ago
issue_pin.go Add context parameter to some database functions (#26055) 11 months ago
issue_stopwatch.go Final round of `db.DefaultContext` refactor (#27587) 9 months ago
issue_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_timetrack.go Final round of `db.DefaultContext` refactor (#27587) 9 months ago
issue_watch.go Next round of `db.DefaultContext` refactor (#27089) 10 months ago
main_test.go make writing main test easier (#27270) 9 months ago
middlewares.go More refactoring of `db.DefaultContext` (#27083) 10 months ago
migrate.go Next round of `db.DefaultContext` refactor (#27089) 10 months ago
milestone.go Fix `link-action` redirect network error (#27734) 8 months ago
packages.go Fix the display of org level badges (#26504) 10 months ago
patch.go Upgrade to golangci-lint@v1.55.0 (#27756) 8 months ago
projects.go Fix `link-action` redirect network error (#27734) 8 months ago
projects_test.go Move web/api context related testing function into a separate package (#26859) 10 months ago
pull.go Final round of `db.DefaultContext` refactor (#27587) 9 months ago
pull_review.go More `db.DefaultContext` refactor (#27265) 9 months ago
release.go Penultimate round of `db.DefaultContext` refactor (#27414) 9 months ago
release_test.go Improvements of releases list and tags list (#25859) 9 months ago
render.go Penultimate round of `db.DefaultContext` refactor (#27414) 9 months ago
repo.go Even more `db.DefaultContext` refactor (#27352) 9 months ago
search.go Refactor indexer (#25174) 1 year ago
topic.go Next round of `db.DefaultContext` refactor (#27089) 10 months ago
treelist.go Implement FSFE REUSE for golang files (#21840) 2 years ago
view.go Penultimate round of `db.DefaultContext` refactor (#27414) 9 months ago
view_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
wiki.go Penultimate round of `db.DefaultContext` refactor (#27414) 9 months ago
wiki_test.go Move web/api context related testing function into a separate package (#26859) 10 months ago