1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-17 10:15:22 +01:00
gitea/templates
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 Fix code tag style problem and LFS view bug (#35628) (#35636) 2025-10-11 20:25:03 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Add "site admin" back to profile menu (#36010) (#36013) 2025-11-23 14:07:44 -08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Refactor mail template and support preview (#34990) 2025-07-09 10:25:25 +08:00
explore Forks repository list page follow other repositories page (#34784) 2025-06-21 12:27:25 -07:00
mail Fix various bugs (#35684) (#35696) 2025-10-19 02:26:03 +08:00
org Fix package link setting can only list limited repositories (#35394) 2025-09-11 01:50:17 +02:00
package fix: add dnf5 command for Fedora in RPM package instructions (#36527) (#36572) 2026-02-10 02:16:39 +01:00
projects Change project default column icon to 'star' (#35967) (#35979) 2025-11-19 10:43:48 +01:00
repo Fix push time bug (#36693) (#36713) 2026-02-22 22:27:40 +01:00
shared Add wrap to runner label list (#36565) (#36574) 2026-02-10 04:47:12 +00:00
status Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 -07:00
swagger Add validation constraints for repository creation fields (#36671) (#36757) 2026-02-25 20:43:00 +00:00
user Contribution heatmap improvements (#35876) (#35880) 2025-11-06 08:51:49 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Misc CSS fixes (#34638) 2025-06-07 19:57:07 +02:00
install.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
post-install.tmpl Add post-installation redirect based on admin account status (#34493) 2025-06-21 18:48:06 +00:00