gogs/internal/db
Zachary Walters 5887bc116f
chore: remove usages of the deprecated `ioutil` (#7332)
Co-authored-by: Joe Chen <jc@unknwon.io>
2023-02-04 13:43:36 +08:00
..
errors refactor(db): migrate methods off `user.go` (#7329) 2023-02-02 21:14:27 +08:00
migrations db: refactor "action" table to use GORM (#7054) 2022-06-25 18:07:39 +08:00
schemadoc all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
testdata/backup refactor(db): migrate `Follow` off `user.go` (#7203) 2022-10-23 16:17:53 +08:00
access_tokens.go chore: consistently use `errors.Cause` for identifying error types (#7264) 2022-11-27 15:53:26 +08:00
access_tokens_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
actions.go refactor(db): move some methods off `user.go` (#7199) 2022-10-22 20:01:38 +08:00
actions_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
admin.go log: migrate to unknwon.dev/clog/v2 (#5927) 2020-02-20 02:25:02 +08: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 all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
comment.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
db.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
email_addresses.go chore: consistently use `errors.Cause` for identifying error types (#7264) 2022-11-27 15:53:26 +08:00
email_addresses_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
error.go webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +08:00
follows.go refactor(db): migrate methods off `user.go` (#7219) 2022-10-30 23:04:24 +08:00
follows_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
issue.go refactor(db): migrate methods off `user.go` (#7331) 2023-02-04 00:02:34 +08: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: refactor "action" table to use GORM (#7054) 2022-06-25 18:07:39 +08:00
lfs_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
login_source_files.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +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 all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
login_sources_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
main_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
milestone.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
mirror.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08: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 db: add tests for authentication through login sources (#7049) 2022-06-12 10:34:12 +08:00
mocks_test.go db: refactor "action" table to use GORM (#7054) 2022-06-25 18:07:39 +08:00
models.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
org.go refactor(db): add `Users.Update` (#7263) 2022-11-27 15:19:44 +08:00
org_team.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
org_users.go refactor(db): migrate methods off `user.go` (#7219) 2022-10-30 23:04:24 +08:00
org_users_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
orgs.go refactor(db): migrate methods off `user.go` (#7331) 2023-02-04 00:02:34 +08:00
orgs_test.go refactor(db): migrate methods off `user.go` (#7331) 2023-02-04 00:02:34 +08:00
perms.go db: refactor "action" table to use GORM (#7054) 2022-06-25 18:07:39 +08:00
perms_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08: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 all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
repo_branch.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
repo_collaboration.go lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
repo_editor.go refactor(db): migrate password methods off `user.go` (#7205) 2022-10-23 19:15:14 +08:00
repo_editor_test.go repo_editor: check both styles of `os.PathSeparator` in all systems (#7005) 2022-06-04 13:11:29 +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
repos.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
repos_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
ssh_key.go chore: remove usages of the deprecated `ioutil` (#7332) 2023-02-04 13:43:36 +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 refactor(db): migrate perms methods off `user.go` (#7207) 2022-10-23 21:22:36 +08:00
two_factors_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
update.go refactor(db): migrate methods off and delete deprecated methods from `user.go` (#7231) 2022-11-05 23:33:05 +08:00
user.go refactor(db): migrate methods off `user.go` (#7334) 2023-02-04 13:36:00 +08:00
user_mail.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08:00
users.go refactor(db): migrate methods off `user.go` (#7334) 2023-02-04 13:36:00 +08:00
users_test.go refactor(db): migrate methods off `user.go` (#7334) 2023-02-04 13:36:00 +08:00
watches.go db: refactor "action" table to use GORM (#7054) 2022-06-25 18:07:39 +08:00
watches_test.go all: replace `interface{}` with `any` (#7330) 2023-02-02 21:25:25 +08: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