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.
gitea/routers/web/repo
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.
3 years ago
..
activity.go
attachment.go
blame.go
branch.go Make git.OpenRepository accept Context (#19260) 3 years ago
cherry_pick.go
commit.go Make git.OpenRepository accept Context (#19260) 3 years ago
compare.go Make git.OpenRepository accept Context (#19260) 3 years ago
download.go
editor.go
editor_test.go Make git.OpenRepository accept Context (#19260) 3 years ago
http.go Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
http_test.go
issue.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
issue_content_history.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go Make git.OpenRepository accept Context (#19260) 3 years ago
main_test.go
middlewares.go
migrate.go Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
milestone.go
packages.go Add Package Registry (#16510) 3 years ago
patch.go
projects.go
projects_test.go
pull.go Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
pull_review.go
release.go
release_test.go
repo.go
search.go
setting.go
setting_protected_branch.go
settings_test.go
tag.go
topic.go
view.go
webhook.go Add Package Registry (#16510) 3 years ago
wiki.go Make git.OpenRepository accept Context (#19260) 3 years ago
wiki_test.go Make git.OpenRepository accept Context (#19260) 3 years ago