gitea/templates
Giteabot 665a06c41f
Catch and handle unallowed file type errors in issue attachment API (#30791) (#30834)
Backport #30791 by kemzeb

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.

Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com>
2024-05-03 01:45:45 +08:00
..
admin Don't show loading indicators when refreshing the system status (#30712) 2024-04-27 13:05:06 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Rework and fix stopwatch (#30732) (#30787) 2024-04-30 21:46:45 +00:00
custom
devtest Fix issue comment form and quick-submit (#30623) 2024-04-22 01:00:04 +08:00
explore Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Right align the "Settings" menu item in overflow-menu (#30764) (#30777) 2024-04-30 16:40:09 +08:00
package Some NuGet package enhancements (#30280) 2024-04-07 16:46:59 +00:00
projects Fix project name wrapping, remove horizontal margin on header (#30631) 2024-04-23 04:17:51 +00:00
repo Fix issue card layout (#30800) (#30820) 2024-05-02 20:10:32 +08:00
shared Rename CodeIndexerEnabled to IsRepoIndexerEnabled (#30762) (#30767) 2024-04-29 21:57:48 +00:00
status Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
swagger Catch and handle unallowed file type errors in issue attachment API (#30791) (#30834) 2024-05-03 01:45:45 +08:00
user Fix all rounded borders, change affected tab menus to pills (#30707) (#30769) 2024-04-29 21:19:44 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Correct locale string rendering (#30522) 2024-04-17 10:24:08 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00