forgejo/templates
Zettat123 301de3ab6b
Handle missing README in create repos API (#23387) (#23510)
Backport #23387 
Close #22934

In `/user/repos` API (and other APIs related to creating repos), user
can specify a readme template for auto init. At present, if the
specified template does not exist, a `500` will be returned . This PR
improved the logic and will return a `400` instead of `500`.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-03-16 21:04:52 -04:00
..
admin Support reflogs (#22451) (#23438) 2023-03-13 12:20:10 +00:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Fix various bugs for "install" page (#23194) (#23286) 2023-03-05 11:59:58 +01:00
code Fix 'View File' button in code search (#23478) (#23483) 2023-03-15 10:34:05 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
mail Revert relative links to absolute links in mail templates (#23267) (#23269) 2023-03-03 17:41:00 +00:00
org Add missing tabs to org projects page (#22705) (#23412) 2023-03-10 10:08:28 -06:00
package Fix nil context in RenderMarkdownToHtml (#23092) (#23108) 2023-02-24 21:17:03 +08:00
projects Show edit/close/delete button on organization wide repositories (#23388) (#23429) 2023-03-12 15:17:25 +01:00
repo Fix 'View File' button in code search (#23478) (#23483) 2023-03-15 10:34:05 +01:00
shared Fix due date being wrong on issue list (#23475) (#23477) 2023-03-15 09:40:43 +08:00
status Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
swagger Handle missing README in create repos API (#23387) (#23510) 2023-03-16 21:04:52 -04:00
user Add missing tabs to org projects page (#22705) (#23412) 2023-03-10 10:08:28 -06:00
home.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
install.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00
post-install.tmpl Fix various bugs for "install" page (#23194) (#23286) 2023-03-05 11:59:58 +01:00