gitea/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_test.go 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
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
action.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
admin.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
attachment.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
avatar_test.go Fix individual tests (addition to #15802) (#15818) 2021-05-12 00:13:42 -04:00
avatar.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
branches.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
commit_status.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
consistency_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
engine_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
error_oauth2.go gofmt (#1662) 2017-05-04 13:54:56 +08:00
error.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
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_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 Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
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
gpg_key.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
helper_directory.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
helper_environment.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
helper.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
issue_assignees_test.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_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_comment.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_dependency.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_label.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_list.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_test.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_reaction_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_stopwatch_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_test.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_tracked_time.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_user.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_watch.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
issue_xref.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
issue.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
lfs.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
list_options.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
login_source.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_test.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
oauth2_application_test.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.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_team.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
org.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
project.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
protected_tag.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
pull.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_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 Move newbranch to standalone package (#9627) 2020-01-14 11:38:04 +08:00
repo_collaboration_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_collaboration.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_generate_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
repo_generate.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_indexer.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
repo_issue.go Add EnableTimetracking option to app settings (#3719) 2018-04-09 23:15:32 +08:00
repo_language_stats.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_list.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_test.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_pushmirror_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_redirect_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_sign.go Add configurable Trust Models (#11712) 2020-09-20 00:44:55 +08:00
repo_test.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_transfer.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_test.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.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
review.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_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 Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
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 Add support for ed25519_sk and ecdsa_sk SSH keys (#13462) 2021-01-20 20:36:55 +00:00
ssh_key.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
star.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_test.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
topic_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
twofactor.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
u2f.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
unit.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
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_avatar.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_follow.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_heatmap.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_mail.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_openid.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_redirect.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
user.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
userlist.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
webhook.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
wiki_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
wiki.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00