gitea/cmd
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
..
admin.go Fix missing storage init (#15589) 2021-04-22 18:48:47 +02:00
admin_auth_ldap.go
admin_auth_ldap_test.go
cert.go
cmd.go
convert.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
docs.go
doctor.go
dump.go dump: Add option to skip LFS/attachment files (#15407) 2021-04-12 17:33:32 +08:00
dump_repo.go Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 2020-12-27 11:34:19 +08:00
embedded.go
embedded_stub.go
generate.go Add asymmetric JWT signing (#16010) 2021-06-17 23:56:46 +02:00
hook.go Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
keys.go
mailer.go
manager.go
migrate.go
migrate_storage.go
restore_repo.go Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) 2021-05-10 15:57:45 +08:00
serv.go add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00
web.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web_graceful.go Move FCGI req.URL.Path fix-up to the FCGI listener (#15292) 2021-04-09 21:17:57 +08:00
web_letsencrypt.go Fix bound address/port for caddy's certmagic library (see #15848) (#15859) 2021-05-14 15:39:10 +01:00