forgejo/cmd
zeripath 4569339a4b
Refactor doctor (#12264)
* Refactor Logger

Refactor Logger to make a logger interface and make it possible to
wrap loggers for specific purposes.

* Refactor Doctor

    Move the gitea doctor functions into its own module.
    Use a logger for its messages instead of returning a results string[]

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

* Update modules/doctor/misc.go

Co-authored-by: 6543 <6543@obermui.de>

* Update modules/doctor/misc.go

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-12-02 06:56:04 +02:00
..
admin.go Sendmail command (#13079) 2020-10-24 16:38:14 -04:00
admin_auth_ldap.go
admin_auth_ldap_test.go
cert.go
cmd.go Sendmail command (#13079) 2020-10-24 16:38:14 -04:00
convert.go
docs.go Add docs command (#13429) 2020-11-07 08:32:57 +08:00
doctor.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
dump.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
embedded.go
embedded_stub.go
generate.go
hook.go Move update-server-info to hooks (#12826) 2020-10-14 00:24:06 +08:00
keys.go
mailer.go Fix send mail (#13312) 2020-10-26 12:42:27 -04:00
manager.go
migrate.go
migrate_storage.go Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
serv.go Add ssh certificate support (#12281) 2020-10-10 20:38:09 -04:00
web.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
web_graceful.go Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00