forgejo/templates
Kemal Zebari 9cd0441cd3
Catch and handle unallowed file type errors in issue attachment API (#30791)
Before, we would just throw 500 if a user passes an attachment that is
not an allowed type. This commit catches this error and throws a 422
instead since this should be considered a validation error.

(cherry picked from commit 872caa17c0a30d95f85ab75c068d606e07bd10b3)

Conflicts:
	tests/integration/api_comment_attachment_test.go
	tests/integration/api_issue_attachment_test.go
	trivial context conflict because of 'allow setting the update date on issues and comments'
2024-05-05 12:15:40 +01:00
..
admin Don't show loading indicators when refreshing the system status (#30712) 2024-04-28 15:39:01 +02:00
api/packages/pypi
base
custom
devtest Revert 100% label max-width (#30481) 2024-04-21 11:37:55 +02:00
explore
mail
org Show repo count in blocked users tab (#3601) 2024-05-02 15:51:27 +00:00
package Add support for npm bundleDependencies (#30751) 2024-05-05 08:24:01 +01:00
projects Fix project name wrapping, remove horizontal margin on header (#30631) 2024-04-28 15:39:00 +02:00
repo Fix issue card layout (#30800) 2024-05-05 12:15:40 +01:00
shared Remove obsolete CSS text classes (#30576) 2024-04-28 15:39:00 +02:00
status
swagger Catch and handle unallowed file type errors in issue attachment API (#30791) 2024-05-05 12:15:40 +01:00
user Show repo count in blocked users tab (#3601) 2024-05-02 15:51:27 +00:00
webhook webhook: matrix access_token helper text 2024-04-16 08:59:56 +02:00
home.tmpl
install.tmpl
post-install.tmpl