gogs/internal/db
Joe Chen 1df62fafb9
db: use `context` and go-mockgen for `ReposStore` (#7046)
2022-06-11 12:43:56 +08:00
..
errors action: fix issue reference regexp and error handling (#6352) 2020-09-26 16:23:05 +08:00
migrations access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
schemadoc schemadoc: print table indexes (#7012) 2022-06-05 18:08:59 +08:00
testdata/backup access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
access_tokens.go db: add back xorm tag for `AccessToken.UserID` (#7032) 2022-06-08 14:47:15 +08:00
access_tokens_test.go db: use `context` and go-mockgen for `PermsStore` (#7033) 2022-06-08 19:26:20 +08:00
action.go mod: bump github.com/gogs/git-module from 1.2.0 to 1.4.0 (#6866) 2022-03-22 00:55:36 +08:00
action_test.go action: fix issue reference regexp and error handling (#6352) 2020-09-26 16:23:05 +08:00
admin.go log: migrate to unknwon.dev/clog/v2 (#5927) 2020-02-20 02:25:02 +08:00
attachment.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00
backup.go db: use `context` for backup and restore (#7044) 2022-06-11 11:10:25 +08:00
backup_test.go db: use `context` for backup and restore (#7044) 2022-06-11 11:10:25 +08:00
comment.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
db.go db: use `context` and go-mockgen for `ReposStore` (#7046) 2022-06-11 12:43:56 +08:00
db_test.go db: use `context` and go-mockgen for `ReposStore` (#7046) 2022-06-11 12:43:56 +08:00
error.go webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +08:00
issue.go chore: fix lint errors (#6951) 2022-05-16 20:57:19 +08:00
issue_label.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
issue_mail.go conf: overhaul auth and user settings (#5942) 2020-02-27 18:06:38 +08:00
lfs.go db: use `context` and go-mockgen for `LFSStore` (#7038) 2022-06-10 11:27:06 +08:00
lfs_test.go db: use `context` and go-mockgen for `LFSStore` (#7038) 2022-06-10 11:27:06 +08:00
login_source_files.go auth: decouple types and functions from db (#6320) 2020-09-20 11:19:02 +08:00
login_source_files_test.go db: use `context` and go-mockgen for `UsersStore` (#7042) 2022-06-11 09:42:17 +08:00
login_sources.go db: use `context` and go-mockgen for login sources (#7041) 2022-06-10 19:54:36 +08:00
login_sources_test.go db: use `context` and go-mockgen for `UsersStore` (#7042) 2022-06-11 09:42:17 +08:00
main_test.go db: run tests with pure-Go SQLite (#6998) 2022-06-03 10:03:48 +08:00
milestone.go autofix: types of function parameters can be combined (#6800) 2022-03-06 15:59:45 +08:00
mirror.go mod: bump github.com/gogs/git-module from 1.2.0 to 1.4.0 (#6866) 2022-03-22 00:55:36 +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
mock_gen.go db: use `context` and go-mockgen for `ReposStore` (#7046) 2022-06-11 12:43:56 +08:00
mocks.go db: use `context` and go-mockgen for `ReposStore` (#7046) 2022-06-11 12:43:56 +08:00
models.go db: use `context` and go-mockgen for login sources (#7041) 2022-06-10 19:54:36 +08:00
org.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
org_team.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
perms.go db: use `context` and go-mockgen for `PermsStore` (#7033) 2022-06-08 19:26:20 +08:00
perms_test.go db: use `context` and go-mockgen for `PermsStore` (#7033) 2022-06-08 19:26:20 +08:00
pull.go pull: ignore PR status check if head repository is missing (#7004) 2022-06-04 13:10:15 +08:00
release.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
repo.go db: use `context` and go-mockgen for `PermsStore` (#7033) 2022-06-08 19:26:20 +08:00
repo_branch.go db: use `context` and go-mockgen for `PermsStore` (#7033) 2022-06-08 19:26:20 +08:00
repo_collaboration.go lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
repo_editor.go repo_editor: check both styles of `os.PathSeparator` in all systems (#7005) 2022-06-04 13:11:29 +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 db: use `context` and go-mockgen for `ReposStore` (#7046) 2022-06-11 12:43:56 +08:00
repos_test.go db: use `context` and go-mockgen for `ReposStore` (#7046) 2022-06-11 12:43:56 +08:00
ssh_key.go db: use `context` and go-mockgen for `PermsStore` (#7033) 2022-06-08 19:26:20 +08:00
ssh_key_test.go test: remove the use of goconvey (#6123) 2020-04-19 04:24:08 +08:00
two_factor.go autofix: unused parameter should be replaced by underscore (#6799) 2022-03-06 15:46:21 +08:00
two_factors.go db: use `context` and go-mockgen for `TwoFactorsStore` (#7045) 2022-06-11 11:54:11 +08:00
two_factors_test.go db: use `context` and go-mockgen for `TwoFactorsStore` (#7045) 2022-06-11 11:54:11 +08:00
update.go git: migrate to github.com/gogs/git-module@v1.0.0 (#5958) 2020-03-08 19:09:31 +08:00
user.go db: use `context` and go-mockgen for `TwoFactorsStore` (#7045) 2022-06-11 11:54:11 +08:00
user_cache.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
user_mail.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
users.go db: use `context` and go-mockgen for `UsersStore` (#7042) 2022-06-11 09:42:17 +08:00
users_test.go db: use `context` and go-mockgen for `UsersStore` (#7042) 2022-06-11 09:42:17 +08:00
webhook.go webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +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 mod: bump github.com/gogs/git-module from 1.2.0 to 1.4.0 (#6866) 2022-03-22 00:55:36 +08:00