0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-06 22:50:15 -05:00
forgejo/modules
zeripath 3aba72c613
Add more checks in migration code (#21011) (#21050)
Backport #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>
2022-09-04 08:41:21 -05:00
..
activitypub
analyze
appstate
auth
avatar
base Prettify number of issues (#17760) 2022-06-12 20:08:23 +08:00
cache
charset Detect truncated utf-8 characters at the end of content as still representing utf-8 (#19773) 2022-05-21 14:06:24 +01:00
container
context Fix download archiver of a commit (#20962) (#20971) 2022-08-28 13:29:34 +02:00
convert Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
csv Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
doctor Fix git.Init for doctor sub-command (#20782) (#20783) 2022-08-14 00:32:44 +08:00
emoji
eventsource Stop spurious APIFormat stopwatches logs (#20008) 2022-06-17 22:47:15 +01:00
generate
git Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
gitgraph Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
graceful Ensure that graceful start-up is informed of unused SSH listener (#20877) 2022-08-21 20:18:22 +08:00
hcaptcha
highlight Adjust line detection in highlight.go (#20612) 2022-08-03 01:37:28 +08:00
hostmatcher fix merge (#20819) 2022-08-17 11:33:26 -04:00
httpcache Add Cache-Control header to html and api responses, add no-transform (#20432) (#20459) 2022-07-23 11:58:58 +01:00
httplib
indexer Fix dump-repo git init, fix wrong error type for NullDownloader (#20182) (#20186) 2022-07-01 18:01:05 +02:00
json
lfs Move some code into models/git (#19879) 2022-06-12 23:51:54 +08:00
log Disable doctor logging on panic (#20847) (#20898) 2022-08-24 15:04:41 +01:00
markup Fix NPE when using non-numeric (#20277) (#20278) 2022-07-07 20:56:50 +08:00
metrics
migration Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
nosql
notification Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
options
packages Add migrate repo archiver and packages storage support on command line (#20757) (#20806) 2022-08-18 09:27:56 +08:00
paginator
password
pprof
private
process Set Setpgid on child git processes (#19865) 2022-06-03 15:36:18 +01:00
proxy
public
queue
recaptcha
references Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
regexplru Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
repository Executable check always returns true for windows (#20637) (#20835) 2022-08-17 23:34:29 +01:00
secret
session
setting Enable contenthash in filename for dynamic assets (#20813) (#20932) 2022-08-25 07:16:20 +01:00
ssh Ensure that graceful start-up is informed of unused SSH listener (#20877) 2022-08-21 20:18:22 +08:00
storage
structs Dismiss prior pull reviews if done via web in review dismiss (#20197) (#20407) 2022-07-19 17:46:33 +02:00
svg
sync
templates Enable contenthash in filename for dynamic assets (#20813) (#20932) 2022-08-25 07:16:20 +01:00
test
timeutil
translation
typesniffer Rework raw file http header logic (#20484) (#20542) 2022-07-30 18:37:02 +02:00
updatechecker
upload
uri
user
util Fix SecToTime edge-cases (#20610) (#20611) 2022-08-08 13:09:12 +08:00
validation Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
web Unify repo settings & show better error (#19828) 2022-06-12 13:43:27 +08:00