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.
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308)
Remove two unmaintained vendor packages `i18n` and `paginater`. Changes:
* Rewrite `i18n` package with a more clear fallback mechanism. Fix an unstable `Tr` behavior, add more tests.
* Refactor the legacy `Paginater` to `Paginator`, test cases are kept unchanged.

Trivial enhancement (no breaking for end users):
* Use the first locale in LANGS setting option as the default, add a log to prevent from surprising users.
2 years ago
..
security Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
account.go Add Package Registry (#16510) 2 years ago
account_test.go Update HTTP status codes to modern codes (#18063) 2 years ago
adopt.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
applications.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
keys.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
oauth2.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
profile.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago