1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-03 14:57:55 -05: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 Move user/org deletion to services (#17673) 2021-11-19 01:42:27 +08:00
appstate
avatars Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
db Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
fixtures
issues Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
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 Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
unittest A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
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 DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
action_test.go
action.go
branches_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
branches.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
commit_status_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
commit_status.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
commit.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
consistency_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
consistency.go
engine_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
error.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
external_login_user.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
fixture_generation.go
fixture_test.go
gpg_key_add.go
gpg_key_commit_verification.go Move EmailAddress & UserRedirect into models/user/ (#17607) 2021-11-11 15:03:30 +08:00
gpg_key_common.go
gpg_key_import.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
gpg_key_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
gpg_key_verify.go
gpg_key.go Move EmailAddress & UserRedirect into models/user/ (#17607) 2021-11-11 15:03:30 +08:00
helper_directory.go
helper_environment.go
helper.go Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136) 2021-09-27 16:55:12 +01:00
issue_assignees_test.go Remove unnecessary variable assignments (#17695) 2021-11-18 09:33:06 +08:00
issue_assignees.go
issue_comment_list.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_comment_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
issue_comment.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
issue_dependency_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
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 Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
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 Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
issue_milestone.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
issue_reaction_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
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 A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
issue_tracked_time_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
issue_tracked_time.go Move attachment into models/repo/ (#17650) 2021-11-19 21:39:57 +08:00
issue_user_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
issue_user.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
issue_watch_test.go
issue_watch.go
issue_xref_test.go
issue_xref.go
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 Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
protected_tag.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
pull_list.go
pull_sign.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
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 DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
repo_archiver.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
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 A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
repo_collaboration.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_generate_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
repo_generate.go
repo_indexer.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
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 Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
repo_list.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_mirror.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
repo_permission_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
repo_permission.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
repo_pushmirror_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
repo_pushmirror.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
repo_redirect_test.go
repo_redirect.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
repo_sign.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
repo_test.go
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 Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
repo_watch_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
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 A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
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 A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
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 A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
star.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
statistic.go
task.go Remove NewSession method from db.Engine interface (#17577) 2021-11-21 23:41:00 +08:00
token_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
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 DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
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 Remove unnecessary variable assignments (#17695) 2021-11-18 09:33:06 +08:00
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 Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
userlist.go Move twofactor to models/login (#17143) 2021-09-25 15:00:12 +02:00
wiki_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
wiki.go