1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-24 23:06:07 +02:00
gitea/routers/api/v1
Kemal Zebari 872caa17c0
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.
2024-05-02 16:33:31 +00:00
..
activitypub Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
admin Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
misc Refactor cache and disable go-chi cache (#30417) 2024-04-13 08:38:44 +00:00
notify Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
org feat(api): enhance Actions Secrets Management API for repository (#30656) 2024-04-26 21:11:49 +08:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
repo Catch and handle unallowed file type errors in issue attachment API (#30791) 2024-05-02 16:33:31 +00:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 2024-04-27 08:03:49 +00:00
swagger Add API endpoints for getting action jobs status (#26673) 2024-05-01 09:40:23 +08:00
user Add setting to disable user features when user login type is not plain (#29615) 2024-03-29 16:05:41 +01:00
utils Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go Add API endpoints for getting action jobs status (#26673) 2024-05-01 09:40:23 +08:00