You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules
zeripath c34ad62eea
Mulitple Gitea Doctor improvements (#10943) (#10990) (#10064) (#9095) (#10991)
* Mulitple Gitea Doctor improvements (#10943)

Backport #10943

* Add `gitea doctor --list` flag to list the checks that will be run, including those by default
* Add `gitea doctor --run` to run specific checks
* Add `gitea doctor --all` to run all checks
* Add db version checker
* Add non-default recalculate merge bases check/fixer to doctor
* Add hook checker (Fix #9878) and ensure hooks are executable (Fix #6319)
* Fix authorized_keys checker - slight change of functionality here because parsing the command is fragile and we should just check if the authorized_keys file is essentially the same as what gitea would produce. (This is still not perfect as order matters - we should probably just md5sum the two files.)
* Add SCRIPT_TYPE check (Fix #10977)
* Add `gitea doctor --fix` to attempt to fix what is possible to easily fix
* Add `gitea doctor --log-file` to set the log-file, be it a file, stdout or to switch off completely. (Fixes previously undetected bug with certain xorm logging configurations - see @6543 comment.)

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

* Switch to io.Writer instead of io.StringWriter

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years ago
..
auth Change admin dashboard to POST (#10465) (#10466) 5 years ago
avatar Improve handling of non-square avatars (#7025) 6 years ago
base Use gitea forked macaron (#7933) 6 years ago
cache Use gitea forked macaron (#7933) 6 years ago
charset deps: update and fix chardet import (#9351) 5 years ago
context Fix wrong permissions check when issues/prs shared operations (#9885) (#9889) 5 years ago
convert Fix bug on branch API (#10767) (#10775) 5 years ago
cron Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
generate Integrate OAuth2 Provider (#5378) 6 years ago
git Convert plumbing.ErrObjectNotFound to git.ErrNotExist in getCommit (#10862) (#10868) 5 years ago
gitgraph Move git graph from models to modules/graph (#9027) 5 years ago
graceful Prevent double waitgroup decrement (#10170) (#10175) 5 years ago
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 6 years ago
httplib Add golangci (#6418) 6 years ago
indexer Stop hanging issue indexer initialisation from preventing shutdown (#10243) (#10249) 5 years ago
lfs Make repository management section handle lfs locks (#8726) 5 years ago
log Log: Ensure FLAGS=none is -1 (#9287) 5 years ago
markup Fix potential bugs (#10513) (#10518) 5 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations [Backport] CI optimisation & add github token env var (#9875) 5 years ago
notification Fix webhook bug (#10427) (#10432) 5 years ago
options Mulitple Gitea Doctor improvements (#10943) (#10990) (#10064) (#9095) (#10991) 5 years ago
password Add password requirement info on error (#9074) 5 years ago
pprof Add golangci (#6418) 6 years ago
private Batch hook pre- and post-receive calls (#8602) 5 years ago
process Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
public Use gitea forked macaron (#7933) 6 years ago
queue Fix Workerpool deadlock (#10283) (#10284) 5 years ago
recaptcha fixed reCAPTCHA URL (#9083) 5 years ago
references Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
repofiles Ensure executable bit is kept on the web editor (#10607) (#10614) 5 years ago
repository Batch hook pre- and post-receive calls (#8602) 5 years ago
secret Integrate OAuth2 Provider (#5378) 6 years ago
session Use gitea forked macaron (#7933) 6 years ago
setting Fix SQLite concurrency problems by using BEGIN IMMEDIATE (#10368) (#10493) 5 years ago
ssh Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
structs Fix wrong hint when status checking is running on pull request view (#9886) (#9928) 5 years ago
sync Fix missing unlock in uniquequeue (#9791) 5 years ago
task Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
templates Fix repository issues pagination bug when there are more than one label filter (#9512) 5 years ago
test Add Close() method to gogitRepository (#8901) 5 years ago
timeutil Use gitea forked macaron (#7933) 6 years ago
upload Fix upload file type check (#7890) 6 years ago
user Add golangci (#6418) 6 years ago
util Sanitize credentials in mirror form (#9975) (#9991) 5 years ago
validation Implement webhook branch filter (#7791) 6 years ago
webhook Fix RocketChat (#9908) (#9921) 5 years ago