0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 00:03:11 -05:00
forgejo/services
KN4CK3R 44b8b07631
Add tag protection (#15629)
* Added tag protection in hook.

* Prevent UI tag creation if protected.

* Added settings page.

* Added tests.

* Added suggestions.

* Moved tests.

* Use individual errors.

* Removed unneeded methods.

* Switched delete selector.

* Changed method names.

* No reason to be unique.

* Allow editing of protected tags.

* Removed unique key from migration.

* Added docs page.

* Changed date.

* Respond with 404 to not found tags.

* Replaced glob with regex pattern.

* Added support for glob and regex pattern.

* Updated documentation.

* Changed white* to allow*.

* Fixed edit button link.

* Added cancel button.

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-06-25 16:28:55 +02:00
..
archiver Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
auth Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 2021-06-09 19:53:16 +02:00
comments Enhance Ghost comment mitigation Settings (#14392) 2021-01-21 21:56:19 -05:00
externalaccount
forms Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
gitdiff Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
issue Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
lfs Rewrite of the LFS server (#15523) 2021-06-06 02:59:27 +03:00
mailer Localize Email Templates (#16200) 2021-06-23 14:33:21 +02:00
mirror Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
pull Fix 500 Error with branch and tag sharing the same name #15592 (#16040) 2021-06-23 17:08:26 -04:00
release Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
repository Small refactoring of modules/private (#15947) 2021-06-23 15:38:19 -04:00
webhook Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
wiki Fix individual tests (addition to #15802) (#15818) 2021-05-12 00:13:42 -04:00