This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers/web/repo
zeripath d8236f1b16
Ensure minimum mirror interval is reported on settings page (#19895)
* Ensure minimum mirror interval is reported on settings page

Expecting users to guess the minimum mirror interval appears a little unkind.
In this PR we simply change the locale string to include the minimum interval.
This will of course be affected by our current localization framework but...
we can fix that else where.

This PR also includes some fixes for error handling on the settings page as
previously the mirror block amongst others would simply disappear on error.

Fix #3737

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update options/locale/locale_en-US.ini

Co-authored-by: Gusted <williamzijl7@hotmail.com>

* placate lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update options/locale/locale_en-US.ini

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-06-07 13:40:12 -04:00
..
activity.go
attachment.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
blame.go
branch.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00
cherry_pick.go Remove RequireHighlightJS field, update plantuml example. (#19615) 2022-05-05 10:53:38 +03:00
commit.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
compare.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
download.go Set the LastModified header for raw files (#18356) 2022-05-09 17:54:51 +02:00
editor.go Remove RequireHighlightJS field, update plantuml example. (#19615) 2022-05-05 10:53:38 +03:00
editor_test.go
http.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
http_test.go
issue.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
issue_content_history.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_dependency.go
issue_label.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
issue_test.go
issue_timetrack.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 2022-05-08 15:46:34 +02:00
issue_watch.go
lfs.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go Hide private repositories in packages (#19584) 2022-05-07 18:21:15 +02:00
patch.go Remove RequireHighlightJS field, update plantuml example. (#19615) 2022-05-05 10:53:38 +03:00
projects.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
projects_test.go
pull.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
pull_review.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
release.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
release_test.go
repo.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
search.go Remove RequireHighlightJS field, update plantuml example. (#19615) 2022-05-05 10:53:38 +03:00
setting.go Ensure minimum mirror interval is reported on settings page (#19895) 2022-06-07 13:40:12 -04:00
setting_protected_branch.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
settings_test.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
tag.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
topic.go
view.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
webhook.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
wiki.go Set the LastModified header for raw files (#18356) 2022-05-09 17:54:51 +02:00
wiki_test.go