forgejo/services/forms
Gusted 350e32c5ef
fix: validate input for default_{merge,update}_style
- Add `binding:"In(...)"` to the `default_merge_style` and
`default_update_style` fields to only accept recognized merge and update styles.
- Resolves forgejo/forgejo#7389
- Added integration test for the API (`binding` works in the exact same
way for the API and web routes).
2025-03-30 20:54:25 +02:00
..
admin.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
auth_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
org.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
package_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_branch_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_form.go fix: validate input for default_{merge,update}_style 2025-03-30 20:54:25 +02:00
repo_form_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_tag_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
runner.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form_auth_openid.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form_hidden_comments.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00