gogs/internal/db
Joe Chen 403e1fb219
Fix test
2023-12-17 16:46:07 -05:00
..
errors refactor(db): migrate off `user_email.go` to `users.go` (#7452) 2023-05-14 20:15:47 -04:00
migrations db: migrate `org.go` to `orgs.go` with GORM 2023-12-17 16:34:09 -05:00
schemadoc all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
testdata/backup db: migrate `org.go` to `orgs.go` with GORM 2023-12-17 16:34:09 -05:00
access_tokens.go db: migrate `org.go` to `orgs.go` with GORM 2023-12-17 16:34:09 -05:00
access_tokens_test.go db: pass context to tests by default (#7622) 2023-12-17 16:32:28 -05:00
actions.go fixup 2023-12-17 16:37:40 -05:00
actions_test.go fixup 2023-12-17 16:37:40 -05:00
attachment.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
backup.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
backup_test.go db: migrate `org.go` to `orgs.go` with GORM 2023-12-17 16:34:09 -05:00
comment.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
db.go fixup 2023-12-17 16:37:40 -05:00
error.go db: migrate `org.go` to `orgs.go` with GORM 2023-12-17 16:34:09 -05:00
issue.go getOrgUsersByOrgID 2023-12-17 16:39:41 -05:00
issue_label.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
issue_mail.go refactor(db): migrate methods off `user.go` (#7333) 2023-02-04 12:22:37 +08:00
lfs.go db: migrate `org.go` to `orgs.go` with GORM 2023-12-17 16:34:09 -05:00
lfs_test.go db: pass context to tests by default (#7622) 2023-12-17 16:32:28 -05:00
login_source_files.go refactor(db): merge relation stores into entity stores (#7341) 2023-02-08 13:55:54 +08:00
login_source_files_test.go db: refactor "action" table to use GORM (#7054) 2022-06-25 18:07:39 +08:00
login_sources.go db: migrate `org.go` to `orgs.go` with GORM 2023-12-17 16:34:09 -05:00
login_sources_test.go db: pass context to tests by default (#7622) 2023-12-17 16:32:28 -05:00
main_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
milestone.go mod: bump github.com/go-ldap/ldap/v3 from 3.4.4 to 3.4.5 (#7476) 2023-06-17 12:17:06 -04:00
mirror.go db: migrate `admin.go` to `notices.go` with GORM (#7536) 2023-08-23 00:15:30 -04:00
mirror_test.go git: migrate to github.com/gogs/git-module@v1.0.0 (#5958) 2020-03-08 19:09:31 +08:00
mocks.go fixup 2023-12-17 16:37:40 -05:00
mocks_test.go gitutil: strip SSH port from submodule URL when rendering for HTML link (#7383) 2023-03-05 20:00:56 +08:00
models.go fixup 2023-12-17 16:37:40 -05:00
notices.go db: migrate `admin.go` to `notices.go` with GORM (#7536) 2023-08-23 00:15:30 -04:00
notices_test.go db: pass context to tests by default (#7622) 2023-12-17 16:32:28 -05:00
org_team.go GetUserMirrorRepositories 2023-12-17 16:39:41 -05:00
organizations.go Add tests 2023-12-17 16:44:32 -05:00
organizations_test.go Fix test 2023-12-17 16:46:07 -05:00
perms.go refactor(db): merge relation stores into entity stores (#7341) 2023-02-08 13:55:54 +08:00
perms_test.go db: pass context to tests by default (#7622) 2023-12-17 16:32:28 -05:00
public_keys.go refactor(db): merge relation stores into entity stores (#7341) 2023-02-08 13:55:54 +08:00
public_keys_test.go db: pass context to tests by default (#7622) 2023-12-17 16:32:28 -05:00
pull.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
release.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
repo.go `DeleteByID` 2023-12-17 16:39:41 -05:00
repo_branch.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
repo_collaboration.go refactor(db): finish migrate methods off `user.go` (#7337) 2023-02-07 23:39:00 +08:00
repo_editor.go fix(db): correctly check Git path on case-insensitive file system (#7359) 2023-02-18 22:15:13 +08:00
repo_editor_test.go fix(db): correctly check Git path on case-insensitive file system (#7359) 2023-02-18 22:15:13 +08:00
repo_tag.go api: support listing repository tags (#6656) 2021-12-14 20:41:12 +08:00
repo_test.go chore: rename few consts to camel case (#6725) 2022-01-13 11:27:16 +08:00
repositories.go Check access before watch repo 2023-12-17 16:44:31 -05:00
repositories_test.go Fix test 2023-12-17 16:46:07 -05:00
ssh_key.go refactor(db): finish migrate methods off `user.go` (#7337) 2023-02-07 23:39:00 +08:00
ssh_key_test.go test: remove the use of goconvey (#6123) 2020-04-19 04:24:08 +08:00
two_factor.go db: refactor "action" table to use GORM (#7054) 2022-06-25 18:07:39 +08:00
two_factors.go db: migrate `org.go` to `orgs.go` with GORM 2023-12-17 16:34:09 -05:00
two_factors_test.go db: pass context to tests by default (#7622) 2023-12-17 16:32:28 -05:00
update.go refactor(db): migrate methods off and delete deprecated methods from `user.go` (#7231) 2022-11-05 23:33:05 +08:00
users.go orgsRemoveMember 2023-12-17 16:42:35 -05:00
users_test.go Check access before watch repo 2023-12-17 16:44:31 -05:00
webhook.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
webhook_dingtalk.go golangci-lint: add `unparam` linter (#6839) 2022-03-13 22:37:00 +08:00
webhook_discord.go golangci-lint: add `unparam` linter (#6839) 2022-03-13 22:37:00 +08:00
webhook_slack.go golangci-lint: add `unparam` linter (#6839) 2022-03-13 22:37:00 +08:00
wiki.go chore: remove usages of the deprecated `ioutil` (#7332) 2023-02-04 13:43:36 +08:00