gogs/internal/db
Joe Chen 0a92ad27ef
db: use `context` and go-mockgen for `AccessTokensStore` (#7013)
2022-06-06 12:10:36 +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: use `context` and go-mockgen for `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +08:00
access_tokens_test.go db: use `context` and go-mockgen for `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +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 ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +08:00
backup_test.go access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
comment.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
db.go access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
db_test.go ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +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: migrate to GORM v2 (#6309) 2020-09-06 10:11:08 +08:00
lfs_test.go ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +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: migrate to GORM v2 (#6309) 2020-09-06 10:11:08 +08:00
login_sources.go autofix: unused parameter should be replaced by underscore (#6799) 2022-03-06 15:46:21 +08:00
login_sources_test.go ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +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 `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +08:00
mocks.go db: use `context` and go-mockgen for `AccessTokensStore` (#7013) 2022-06-06 12:10:36 +08:00
models.go access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +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: migrate access table to use GORM (#6371) 2020-10-06 15:43:28 +08:00
perms_test.go ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +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 repo: remove hard-coded branch name in init (#6999) 2022-06-03 17:14:21 +08:00
repo_branch.go chore: fix typos in code comments (#6556) 2021-05-19 13:12:09 +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 autofix: unused parameter should be replaced by underscore (#6799) 2022-03-06 15:46:21 +08:00
repos_test.go ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +08:00
ssh_key.go autofix: function call can be replaced with helper function (#6805) 2022-03-06 16:33:55 +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 autofix: unused parameter should be replaced by underscore (#6799) 2022-03-06 15:46:21 +08:00
two_factors_test.go ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +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 autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +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 autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
users_test.go ci: run database tests against Postgres, MySQL and SQLite (#6996) 2022-06-01 22:51:46 +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