1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-30 13:32:15 +02:00
gitea/models
Jonas 54f0293f0a Mirror sync interval specified as duration string (#1407)
* Sync interval specifed as duration string

* Changed mirror interval text

* make fmt

* Add MinInterval for mirror sync

* Use duration internally

* Changed min default to 10m

* make fmt

* Incorrect default

* Removed defaults in MustDuration()

* Add Mirror interval migration

* Default values corrected

* Use transaction during migration

* Change http 500 to page with error message

* Cleanup session.commit()
2017-04-08 23:27:26 +08:00
..
fixtures Add unit tests for issue_watch 2017-03-30 20:20:08 -03:00
migrations Mirror sync interval specified as duration string (#1407) 2017-04-08 23:27:26 +08:00
access_test.go
access.go
action_test.go
action.go Fix "Error: No issue number specified" when pushing (#1393) 2017-03-31 18:05:39 -07:00
admin_test.go
admin.go refactor: remove workaround after the golang 1.7 release. (#1349) 2017-03-29 10:05:23 +08:00
attachment.go
branches.go
consistency_test.go
error.go
external_login_user.go
git_diff_test.go
git_diff.go fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425) 2017-04-03 10:21:09 +08:00
gpg_key_test.go GPG commit validation (#1150) 2017-03-22 18:43:54 +08:00
gpg_key.go GPG commit validation (#1150) 2017-03-22 18:43:54 +08:00
graph_test.go
graph.go
helper.go
issue_comment.go
issue_indexer.go
issue_label_test.go
issue_label.go
issue_list_test.go
issue_list.go
issue_mail.go
issue_milestone_test.go
issue_milestone.go
issue_test.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
issue_user_test.go
issue_user.go
issue_watch_test.go Improve tests a little 2017-04-01 10:05:58 -03:00
issue_watch.go Code style fixes 2017-04-01 09:58:20 -03:00
issue.go
lfs.go
login_source.go
mail.go
models_sqlite.go
models_test.go Cleaner IMO (#1361) 2017-03-22 22:30:40 +08:00
models_tidb.go
models.go Create issue_watch table 2017-03-29 19:55:40 -03:00
notification_test.go
notification.go Consider issue_watchers while sending notifications 2017-03-29 20:54:57 -03:00
org_team_test.go
org_team.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
org_test.go
org.go fix migrate failed and org dashboard failed on MSSQL database (#1448) 2017-04-06 18:47:25 -07:00
pull_test.go
pull.go Add length check for the return string (#1420) 2017-03-31 16:42:23 +08:00
release.go
repo_branch.go
repo_collaboration_test.go
repo_collaboration.go
repo_editor.go
repo_list_test.go
repo_list.go
repo_mirror.go Mirror sync interval specified as duration string (#1407) 2017-04-08 23:27:26 +08:00
repo_redirect_test.go
repo_redirect.go
repo_test.go
repo_unit.go
repo_watch_test.go
repo_watch.go
repo.go Mirror sync interval specified as duration string (#1407) 2017-04-08 23:27:26 +08:00
setup_for_test.go
ssh_key_test.go
ssh_key.go refactor update ssh key use time (#1466) 2017-04-07 17:40:38 -07:00
star_test.go
star.go
token_test.go
token.go
twofactor.go
unit.go
update_test.go
update.go
user_follow_test.go
user_follow.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_mail_test.go
user_mail.go
user_openid_test.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_openid.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_test.go
user.go
webhook_slack.go
webhook_test.go
webhook.go
wiki_test.go
wiki.go