1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 02:21:40 +02:00
gitea/models
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577)
* Remove NewSession method from db.Engine interface

* Fix bug

* Some improvements

* Fix bug

* Fix test

* Use XXXBean instead of XXXExample
2021-11-21 23:41:00 +08:00
..
admin
appstate
avatars
db Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
fixtures
issues
login Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
migrations
repo Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
unit
unittest
user Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
webhook Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
access_test.go
access.go
action_list.go
action_test.go
action.go
branches_test.go
branches.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
commit_status_test.go
commit_status.go
commit.go
consistency_test.go
consistency.go
engine_test.go
error.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
external_login_user.go
fixture_generation.go
fixture_test.go
gpg_key_add.go
gpg_key_commit_verification.go
gpg_key_common.go
gpg_key_import.go
gpg_key_test.go
gpg_key_verify.go
gpg_key.go
helper_directory.go
helper_environment.go
helper.go
issue_assignees_test.go
issue_assignees.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_comment_list.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_comment_test.go
issue_comment.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
issue_dependency_test.go
issue_dependency.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
issue_label_test.go
issue_label.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
issue_list_test.go
issue_list.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_lock.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_milestone_test.go
issue_milestone.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
issue_reaction_test.go
issue_reaction.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
issue_stopwatch_test.go
issue_stopwatch.go Fix close issue but time watcher still running (#17643) 2021-11-21 17:11:48 +08:00
issue_test.go
issue_tracked_time_test.go
issue_tracked_time.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref_test.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_xref.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
lfs_lock.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
lfs.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
main_test.go
migrate.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
notification_test.go
notification.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
org_team_test.go
org_team.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
org_test.go
org.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
project_board.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
project_issue.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
project_test.go
project.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
protected_tag_test.go
protected_tag.go
pull_list.go
pull_sign.go
pull_test.go
pull.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
release.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
repo_activity.go
repo_archiver.go
repo_avatar.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_branch.go
repo_collaboration_test.go
repo_collaboration.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_generate_test.go
repo_generate.go
repo_indexer.go
repo_issue.go
repo_language_stats.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_list_test.go
repo_list.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_mirror.go
repo_permission_test.go
repo_permission.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_pushmirror_test.go
repo_pushmirror.go
repo_redirect_test.go
repo_redirect.go
repo_sign.go
repo_test.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
repo_transfer_test.go
repo_transfer.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_unit.go
repo_watch_test.go
repo_watch.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
review_test.go
review.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
ssh_key_authorized_keys.go
ssh_key_authorized_principals.go
ssh_key_deploy.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
ssh_key_fingerprint.go
ssh_key_parse.go
ssh_key_principals.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
ssh_key_test.go
ssh_key.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
star_test.go
star.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
statistic.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
task.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
token_test.go
token.go
topic_test.go
topic.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
update.go
upload.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
user_avatar.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
user_email_test.go
user_email.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
user_heatmap_test.go
user_heatmap.go
user_test.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
user.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
userlist_test.go
userlist.go
wiki_test.go
wiki.go