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.
forgejo/services
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
..
agit Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
asymkey Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Restore user autoregistration with email addresses (#19261) 2 years ago
comments Move some issue methods as functions (#19255) 2 years ago
context Add `ContextUser` to http request context (#18798) 2 years ago
cron Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Move checks for pulls before merge into own function (#19271) 2 years ago
gitdiff Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
issue Move some issue methods as functions (#19255) 2 years ago
lfs Update HTTP status codes to modern codes (#18063) 2 years ago
mailer Move organization related structs into sub package (#18518) 2 years ago
migrations Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
mirror Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
org Add Package Registry (#16510) 2 years ago
packages Fix container download counter (#19287) 2 years ago
pull Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
release Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
repository Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
task Use a more general (and faster) method to sanitize URLs with credentials (#19239) 2 years ago
user Add Package Registry (#16510) 2 years ago
webhook Remove legacy `unknwon/com` package (#19298) 2 years ago
wiki Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago