forgejo/routers
Zettat123 301de3ab6b
Handle missing README in create repos API () ()
Backport  
Close 

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
..
api Handle missing README in create repos API () () 2023-03-16 21:04:52 -04:00
common Support sanitising the URL by removing extra slashes in the URL () () 2023-03-05 02:14:12 -05:00
install Set X-Gitea-Debug header once () () 2023-03-09 06:33:05 +08:00
private Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
utils Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web Make branches list page operations remember current page () () 2023-03-14 20:51:14 +08:00
init.go Refactor setting.Database.UseXXX to methods () () 2023-03-07 20:11:44 +08:00