1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-17 11:35:22 +01:00
gitea/services/forms
Giteabot b3bc79262d
Add validation constraints for repository creation fields (#36671) (#36757)
Backport #36671 by @lunny

Adds validation constraints to repository creation inputs, enforcing
max-length limits for labels/license/readme and enum validation for
trust model and object format. Updates both the API option struct and
the web form struct to keep validation consistent.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2026-02-25 20:43:00 +00:00
..
admin.go Add option to set language in admin user view (#28449) 2024-03-02 22:55:02 +01:00
auth_form.go Refactor OpenIDConnect to support SSH/FullName sync (#34978) 2025-07-10 18:35:59 +00:00
org.go Move organization's visibility change to danger zone. (#34814) 2025-08-20 20:57:42 -07:00
package_form.go Add Arch package registry (#32692) 2024-12-04 23:09:07 +00:00
repo_branch_form.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repo_form_editor.go Refactor editor (#34780) 2025-06-21 19:20:51 +08:00
repo_form_test.go Add API routes to lock and unlock issues (#34165) 2025-04-21 00:43:43 +00:00
repo_form.go Add validation constraints for repository creation fields (#36671) (#36757) 2026-02-25 20:43:00 +00:00
repo_tag_form.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
runner.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
user_form_auth_openid.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
user_form_hidden_comments.go Issue time estimate, meaningful time tracking (#23113) 2024-12-05 13:07:53 +00:00
user_form_test.go Replace gobwas/glob package (#35478) 2025-09-13 18:01:00 +00:00
user_form.go Fix package link setting can only list limited repositories (#35394) 2025-09-11 01:50:17 +02:00