forgejo/modules
zeripath b5856c4437
Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136)
There was a serious issue with the `gitea dump` command in 1.14.3-1.14.6 which led to corruption of the `config` field of the `repo_unit` table. 

This PR adds a doctor command to attempt to fix the broken repo_units. Users affected by #16961 should run:

```
gitea doctor --fix --run fix-broken-repo-units
```

Fix #16961

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-27 16:55:12 +01:00
..
analyze Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 2021-09-09 21:13:36 +01:00
auth Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
avatar refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
base
cache
charset refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
context Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
convert Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
cron
csv Fixes #16557 - duplicate csv import (#16631) 2021-08-05 17:56:11 +01:00
doctor Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136) 2021-09-27 16:55:12 +01:00
emoji
eventsource
generate
git Support direct comparison (git diff a..b) as well merge comparison (a...b) (#16635) 2021-09-27 13:19:34 +01:00
gitgraph Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
graceful refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
hcaptcha
highlight Prevent panic in Org mode HighlightCodeBlock (#17140) 2021-09-24 14:29:32 +01:00
httpcache
httplib refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
indexer Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
json
lfs refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
log refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
markup Prevent panic in Org mode HighlightCodeBlock (#17140) 2021-09-24 14:29:32 +01:00
matchlist
metrics Separate open and closed issue in metrics (#16637) 2021-08-07 12:43:50 +03:00
migrations Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
nosql
notification Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
options refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
password
pprof refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
private refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
process
proxy Return nil proxy function if proxy not enabled (#16742) 2021-08-19 16:41:20 -04:00
public refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
queue refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
recaptcha refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
references
repofiles Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repository Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
secret
session
setting Use light/dark theme based on system preference (#17051) 2021-09-27 15:47:44 +01:00
ssh
storage refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
structs Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
svg refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
sync
task Fix bug of migrated repository not index (#16991) 2021-09-08 18:43:19 +01:00
templates refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
test Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
timeutil
translation
typesniffer
upload
uri
user
util Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
validation
web Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00