forgejo/models
Lunny Xiao d9c69596ff
Fix commit status index problem (#17061)
* Fix commit status index problem

* remove unused functions

* Add fixture and test for migration

* Fix lint

* Fix fixture

* Fix lint

* Fix test

* Fix bug

* Fix bug
2021-09-23 18:50:06 +08:00
..
db Fix commit status index problem (#17061) 2021-09-23 18:50:06 +08:00
fixtures Fix commit status index problem (#17061) 2021-09-23 18:50:06 +08:00
migrations Fix commit status index problem (#17061) 2021-09-23 18:50:06 +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 Fix problem when database id is not increment as expected (#17124) 2021-09-22 23:09:29 +03: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 Fix individual tests (addition to #15802) (#15818) 2021-05-12 00:13:42 -04:00
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 Fix commit status index problem (#17061) 2021-09-23 18:50:06 +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 refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +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
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 refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +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 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
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
helper_directory.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
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 Fix commit status index problem (#17061) 2021-09-23 18:50:06 +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 refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +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 Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
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 refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08: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
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