1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/models/activities
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
..
action_list.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
action_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
action.go Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
main_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
notification_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
notification.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
repo_activity.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
statistic.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
user_heatmap_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
user_heatmap.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00