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
..
admin Add Goroutine stack inspector to admin/monitor (#19207) 2 years ago
auth Update HTTP status codes to modern codes (#18063) 2 years ago
dev Move user related model into models/user (#17781) 3 years ago
events Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
explore Update HTTP status codes to modern codes (#18063) 2 years ago
feed Add `ContextUser` to http request context (#18798) 2 years ago
org Add Package Registry (#16510) 2 years ago
repo Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
user Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
auth.go Let web and API routes have different auth methods group (#19168) 2 years ago
auth_windows.go Let web and API routes have different auth methods group (#19168) 2 years ago
base.go Update HTTP status codes to modern codes (#18063) 2 years ago
goget.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
home.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
metrics.go Update HTTP status codes to modern codes (#18063) 2 years ago
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
swagger_json.go Refactor routers directory (#15800) 3 years ago
web.go Fix global packages enabled avaiable (#19276) 2 years ago