forgejo/models
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075)
* Move db related basic functions to models/db

* Fix lint

* Fix lint

* Fix test

* Fix lint

* Fix lint

* revert unnecessary change

* Fix test

* Fix wrong replace string

* Use *Context

* Correct committer spelling and fix wrong replaced words

Co-authored-by: zeripath <art27@cantab.net>
2021-09-19 19:49:59 +08:00
..
db Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
fixtures Add repo_id for attachment (#16958) 2021-09-08 17:19:30 +02:00
migrations Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
access.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
access_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
action.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
action_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
action_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
admin.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
admin_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
attachment.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
attachment_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
avatar.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
avatar_test.go
branches.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
branches_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
commit.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
commit_status.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
commit_status_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
consistency.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
consistency_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
engine_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
error.go
error_oauth2.go
external_login_user.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
fixture_generation.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
fixture_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key_add.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key_commit_verification.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
gpg_key_common.go
gpg_key_import.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
gpg_key_verify.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
helper.go
helper_directory.go
helper_environment.go
issue.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_assignees.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_assignees_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_comment.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_comment_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_comment_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_dependency.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_dependency_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_label.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_label_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_list_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_lock.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_milestone.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_milestone_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_reaction.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_reaction_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_stopwatch.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_stopwatch_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_tracked_time.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_tracked_time_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_user.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_user_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_watch.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_watch_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_xref.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue_xref_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
lfs.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
lfs_lock.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
list_options.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
list_options_test.go Add AbsoluteListOptions (#17028) 2021-09-14 18:48:27 +01:00
login_source.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
login_source_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
main_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
migrate.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
notification.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
notification_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
oauth2.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
oauth2_application.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
oauth2_application_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
org.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
org_team.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
org_team_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
org_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
project.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
project_board.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
project_issue.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
project_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
protected_tag.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
protected_tag_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
pull.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
pull_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
pull_sign.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
pull_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
release.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_activity.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_archiver.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_avatar.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_branch.go
repo_collaboration.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_collaboration_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_generate.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_generate_test.go
repo_indexer.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_issue.go
repo_language_stats.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_list.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_list_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_mirror.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_permission.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_permission_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_pushmirror.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_pushmirror_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_redirect.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_redirect_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_sign.go
repo_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_transfer.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_transfer_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_unit.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_watch.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_watch_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
review.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
review_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
session.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_authorized_keys.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_authorized_principals.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_deploy.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_fingerprint.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_parse.go
ssh_key_principals.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
ssh_key_test.go
star.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
star_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
statistic.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
task.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
token.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
token_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
topic.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
topic_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
twofactor.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
u2f.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
u2f_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
unit.go
update.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
upload.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_avatar.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_follow.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_follow_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_heatmap.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_heatmap_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_mail.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_mail_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_openid.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_openid_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_redirect.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_redirect_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
user_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
userlist.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
userlist_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
webhook.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
webhook_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
wiki.go
wiki_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00