forgejo/routers/api/v1
zeripath e6b3be4608
Add more checks in migration code (#21011)
When migrating add several more important sanity checks:

* SHAs must be SHAs
* Refs must be valid Refs
* URLs must be reasonable

Signed-off-by: Andrew Thornton <art27@cantab.net>

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
2022-09-04 13:47:56 +03:00
..
activitypub Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
admin Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
misc Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
notify Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
org Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
packages Add support for Vagrant packages (#20930) 2022-08-29 15:04:45 +08:00
repo Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
settings
swagger Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
user Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
utils refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
api.go Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
auth.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00