gitea/models
finga 67bc04fe21
Fix problem when database ID is not incremented as expected ()
Although  fixed the same issue for the feed, some other parts
with the same issue were found.

Co-authored-by: finga <finga@onders.org>
..
avatars Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code ()
db Move login related structs and functions to models/login ()
fixtures Fix commit status index problem ()
login Move twofactor to models/login ()
migrations Kanban colored boards ()
access.go Nicely handle missing user in collaborations ()
access_test.go DBContext is just a Context ()
action.go DBContext is just a Context ()
action_list.go DBContext is just a Context ()
action_test.go Move db related basic functions to models/db ()
admin.go Fix problem when database ID is not incremented as expected ()
admin_test.go Move db related basic functions to models/db ()
attachment.go DBContext is just a Context ()
attachment_test.go DBContext is just a Context ()
branches.go DBContext is just a Context ()
branches_test.go Move db related basic functions to models/db ()
commit.go Replace `list.List` with slices ()
commit_status.go Move login related structs and functions to models/login ()
commit_status_test.go Move login related structs and functions to models/login ()
consistency.go DBContext is just a Context ()
consistency_test.go DBContext is just a Context ()
engine_test.go DBContext is just a Context ()
error.go Move twofactor to models/login ()
error_oauth2.go gofmt ()
external_login_user.go Move login related structs and functions to models/login ()
fixture_generation.go DBContext is just a Context ()
fixture_test.go refactor: move from io/ioutil to io and os package ()
gpg_key.go Move login related structs and functions to models/login ()
gpg_key_add.go DBContext is just a Context ()
gpg_key_commit_verification.go Move login related structs and functions to models/login ()
gpg_key_common.go Add option to provide signature for a token to verify key ownership ()
gpg_key_import.go DBContext is just a Context ()
gpg_key_test.go Move db related basic functions to models/db ()
gpg_key_verify.go DBContext is just a Context ()
helper.go Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 ()
helper_directory.go refactor: move from io/ioutil to io and os package ()
helper_environment.go chore(models): rewrite code format. ()
issue.go Fix problem when database ID is not incremented as expected ()
issue_assignees.go DBContext is just a Context ()
issue_assignees_test.go Move db related basic functions to models/db ()
issue_comment.go Move login related structs and functions to models/login ()
issue_comment_list.go DBContext is just a Context ()
issue_comment_test.go Move db related basic functions to models/db ()
issue_dependency.go DBContext is just a Context ()
issue_dependency_test.go Move db related basic functions to models/db ()
issue_label.go Move login related structs and functions to models/login ()
issue_label_test.go Move login related structs and functions to models/login ()
issue_list.go DBContext is just a Context ()
issue_list_test.go Move db related basic functions to models/db ()
issue_lock.go DBContext is just a Context ()
issue_milestone.go Move login related structs and functions to models/login ()
issue_milestone_test.go Move login related structs and functions to models/login ()
issue_reaction.go Move login related structs and functions to models/login ()
issue_reaction_test.go DBContext is just a Context ()
issue_stopwatch.go Move login related structs and functions to models/login ()
issue_stopwatch_test.go Move db related basic functions to models/db ()
issue_test.go Move login related structs and functions to models/login ()
issue_tracked_time.go Move login related structs and functions to models/login ()
issue_tracked_time_test.go Move db related basic functions to models/db ()
issue_user.go DBContext is just a Context ()
issue_user_test.go DBContext is just a Context ()
issue_watch.go Move login related structs and functions to models/login ()
issue_watch_test.go Move login related structs and functions to models/login ()
issue_xref.go DBContext is just a Context ()
issue_xref_test.go DBContext is just a Context ()
lfs.go DBContext is just a Context ()
lfs_lock.go DBContext is just a Context ()
main_test.go Move db related basic functions to models/db ()
migrate.go DBContext is just a Context ()
notification.go Move login related structs and functions to models/login ()
notification_test.go Move db related basic functions to models/db ()
org.go Move login related structs and functions to models/login ()
org_team.go Move login related structs and functions to models/login ()
org_team_test.go Move db related basic functions to models/db ()
org_test.go Move login related structs and functions to models/login ()
project.go DBContext is just a Context ()
project_board.go Kanban colored boards ()
project_issue.go DBContext is just a Context ()
project_test.go Move db related basic functions to models/db ()
protected_tag.go DBContext is just a Context ()
protected_tag_test.go Move db related basic functions to models/db ()
pull.go Fix stange behavior of DownloadPullDiffOrPatch in incorect index ()
pull_list.go Move login related structs and functions to models/login ()
pull_sign.go Move twofactor to models/login ()
pull_test.go Fix stange behavior of DownloadPullDiffOrPatch in incorect index ()
release.go Move login related structs and functions to models/login ()
repo.go Move login related structs and functions to models/login ()
repo_activity.go DBContext is just a Context ()
repo_archiver.go DBContext is just a Context ()
repo_avatar.go DBContext is just a Context ()
repo_branch.go Move newbranch to standalone package ()
repo_collaboration.go Nicely handle missing user in collaborations ()
repo_collaboration_test.go Move login related structs and functions to models/login ()
repo_generate.go Move login related structs and functions to models/login ()
repo_generate_test.go Fixed assert statements. ()
repo_indexer.go DBContext is just a Context ()
repo_issue.go Add EnableTimetracking option to app settings ()
repo_language_stats.go DBContext is just a Context ()
repo_list.go Move login related structs and functions to models/login ()
repo_list_test.go Move login related structs and functions to models/login ()
repo_mirror.go DBContext is just a Context ()
repo_permission.go DBContext is just a Context ()
repo_permission_test.go DBContext is just a Context ()
repo_pushmirror.go DBContext is just a Context ()
repo_pushmirror_test.go Move db related basic functions to models/db ()
repo_redirect.go DBContext is just a Context ()
repo_redirect_test.go DBContext is just a Context ()
repo_sign.go Move twofactor to models/login ()
repo_test.go DBContext is just a Context ()
repo_transfer.go Nicely handle missing user in collaborations ()
repo_transfer_test.go Move db related basic functions to models/db ()
repo_unit.go Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 ()
repo_watch.go Move login related structs and functions to models/login ()
repo_watch_test.go Move login related structs and functions to models/login ()
review.go Move login related structs and functions to models/login ()
review_test.go Move db related basic functions to models/db ()
session.go DBContext is just a Context ()
ssh_key.go Move login related structs and functions to models/login ()
ssh_key_authorized_keys.go DBContext is just a Context ()
ssh_key_authorized_principals.go DBContext is just a Context ()
ssh_key_deploy.go Move login related structs and functions to models/login ()
ssh_key_fingerprint.go Move db related basic functions to models/db ()
ssh_key_parse.go refactor: move from io/ioutil to io and os package ()
ssh_key_principals.go Move login related structs and functions to models/login ()
ssh_key_test.go Add support for ed25519_sk and ecdsa_sk SSH keys ()
star.go Move login related structs and functions to models/login ()
star_test.go Move login related structs and functions to models/login ()
statistic.go Add metrics to get issues by repository ()
task.go DBContext is just a Context ()
token.go Fix problem when database ID is not incremented as expected ()
token_test.go Move db related basic functions to models/db ()
topic.go Move login related structs and functions to models/login ()
topic_test.go Move login related structs and functions to models/login ()
unit.go Kanban board ()
update.go DBContext is just a Context ()
upload.go DBContext is just a Context ()
user.go Move login related structs and functions to models/login ()
user_avatar.go Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code ()
user_follow.go DBContext is just a Context ()
user_follow_test.go Move db related basic functions to models/db ()
user_heatmap.go DBContext is just a Context ()
user_heatmap_test.go Move db related basic functions to models/db ()
user_mail.go Move login related structs and functions to models/login ()
user_mail_test.go Move login related structs and functions to models/login ()
user_openid.go DBContext is just a Context ()
user_openid_test.go Move db related basic functions to models/db ()
user_redirect.go DBContext is just a Context ()
user_redirect_test.go DBContext is just a Context ()
user_test.go Move login related structs and functions to models/login ()
userlist.go Move twofactor to models/login ()
userlist_test.go Move db related basic functions to models/db ()
webhook.go Move login related structs and functions to models/login ()
webhook_test.go Move db related basic functions to models/db ()
wiki.go Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
wiki_test.go Move db related basic functions to models/db ()