mirror of
1
Fork 0
forgejo/templates
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 cleanup repo details icons/labels (#27644) (#27654) 2023-10-19 22:04:24 +02:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
code Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve dropdown button alignment and fix hover bug (#27632) (#27637) 2023-10-16 16:15:15 +08:00
explore Fix incorrect "tab" parameter for repo search sub-template (#27755) (#27764) 2023-10-24 11:01:26 +08:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Use flex-container for repo and org settings (#27418) (#27430) 2023-10-04 07:20:43 +00:00
package Add dedicated class for empty placeholders (#27788) (#27792) 2023-10-26 09:26:05 +02:00
projects More `db.DefaultContext` refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
repo [GITEA] Make confirmation clearer for dangerous actions 2023-11-06 14:56:38 +01:00
shared Always use whole user name as link (#27815) (#27838) 2023-10-30 12:25:40 +01:00
status Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
swagger [API] Forgejo API /api/forgejo/v1 2023-11-06 14:56:35 +01:00
user Feed UI Improvements (#27356) (#27717) 2023-10-21 11:13:15 +00:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
install.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00
post-install.tmpl Backport ctx locale refactoring manually (#27231) (#27259) (#27260) 2023-09-25 13:15:51 +00:00