gitea/cmd
wxiaoguang 2df7563f31
Recommend/convert to use case-sensitive collation for MySQL/MSSQL ()
Mainly for MySQL/MSSQL.

It is important for Gitea to use case-sensitive database charset
collation. If the database is using a case-insensitive collation, Gitea
will show startup error/warning messages, and show the errors/warnings
on the admin panel's Self-Check page.

Make `gitea doctor convert` work for MySQL to convert the collations of
database & tables & columns.

* Fix 

## ⚠️ BREAKING ⚠️

It is not quite breaking, but it's highly recommended to convert the
database&table&column to a consistent and case-sensitive collation.
..
actions.go Improve CLI code and descriptions ()
admin.go Improve CLI code and descriptions ()
admin_auth.go Use db.Find instead of writing methods for every object ()
admin_auth_ldap.go Penultimate round of `db.DefaultContext` refactor ()
admin_auth_ldap_test.go Penultimate round of `db.DefaultContext` refactor ()
admin_auth_oauth.go Penultimate round of `db.DefaultContext` refactor ()
admin_auth_stmp.go Penultimate round of `db.DefaultContext` refactor ()
admin_regenerate.go move the `gitea admin` subcommands into separate files ()
admin_user.go Refactor to use urfave/cli/v2 ()
admin_user_change_password.go Refactor to use urfave/cli/v2 ()
admin_user_create.go More refactoring of `db.DefaultContext` ()
admin_user_delete.go Refactor to use urfave/cli/v2 ()
admin_user_generate_access_token.go More refactoring of `db.DefaultContext` ()
admin_user_list.go Reduce usage of `db.DefaultContext` ()
admin_user_must_change_password.go Refactor to use urfave/cli/v2 ()
cert.go Expanded minimum RSA Keylength to 3072 ()
cmd.go Refactor to use urfave/cli/v2 ()
docs.go Refactor to use urfave/cli/v2 ()
doctor.go Improve CLI code and descriptions ()
doctor_convert.go Recommend/convert to use case-sensitive collation for MySQL/MSSQL ()
doctor_test.go Improve doctor cli behavior ()
dump.go fixed duplicate attachments on dump on windows ()
dump_repo.go Refactor to use urfave/cli/v2 ()
embedded.go Refactor to use urfave/cli/v2 ()
generate.go Improve CLI code and descriptions ()
hook.go Improve ObjectFormat interface ()
hook_test.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ()
keys.go Improve CLI code and descriptions ()
mailer.go Refactor to use urfave/cli/v2 ()
main.go Improve CLI code and descriptions ()
main_test.go make writing main test easier ()
manager.go Refactor to use urfave/cli/v2 ()
manager_logging.go Add missing default value for some Bool cli flags ()
migrate.go Refactor to use urfave/cli/v2 ()
migrate_storage.go fix: typo ()
migrate_storage_test.go Another round of `db.DefaultContext` refactor ()
restore_repo.go Refactor to use urfave/cli/v2 ()
serv.go Improve CLI code and descriptions ()
web.go Refactor tests ()
web_acme.go Implement FSFE REUSE for golang files ()
web_graceful.go Implement FSFE REUSE for golang files ()
web_https.go Implement FSFE REUSE for golang files ()