gogs/internal/db
Michael Li 32c454ba5f
assets: convert usage of go-bindata to Go embed (#6851)
Co-authored-by: Joe Chen <jc@unknwon.io>
2022-03-17 14:05:09 +08:00
..
errors action: fix issue reference regexp and error handling (#6352) 2020-09-26 16:23:05 +08:00
migrations migrations: remove old migrations before 0.12.0 (#6270) 2020-08-23 12:51:55 +08:00
schemadoc schemadoc: add go:generate to output database schema (#6310) 2020-09-06 17:02:25 +08:00
testdata/backup db: migrate access table to use GORM (#6371) 2020-10-06 15:43:28 +08:00
access_tokens.go db: migrate to GORM v2 (#6309) 2020-09-06 10:11:08 +08:00
access_tokens_test.go db: migrate to GORM v2 (#6309) 2020-09-06 10:11:08 +08:00
action.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +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 api: EditWiki implementation (#5860) 2021-11-10 13:29:27 +08:00
backup_test.go db: migrate access table to use GORM (#6371) 2020-10-06 15:43:28 +08:00
comment.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
db.go database: add PostgreSQL custom schema support (#6695) 2022-01-05 22:02:33 +08:00
db_test.go database: add PostgreSQL custom schema support (#6695) 2022-01-05 22:02:33 +08:00
error.go db: add tests for users (#6116) 2020-04-18 12:07:30 +08:00
issue.go autofix: types of function parameters can be combined (#6800) 2022-03-06 15:59:45 +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 db: migrate to GORM v2 (#6309) 2020-09-06 10:11:08 +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 auth: decouple types and functions from db (#6320) 2020-09-20 11:19:02 +08:00
main_test.go db: simplify GORM logger init in tests (#6444) 2020-12-06 01:06:24 +08:00
milestone.go autofix: types of function parameters can be combined (#6800) 2022-03-06 15:59:45 +08:00
mirror.go chore: fix typos in code comments (#6556) 2021-05-19 13:12:09 +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: migrate access table to use GORM (#6371) 2020-10-06 15:43:28 +08:00
models.go autofix: format code with gofumpt and gofmt (#6803) 2022-03-06 17:55:17 +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 autofix: format code with gofumpt and gofmt (#6803) 2022-03-06 17:55:17 +08:00
pull.go chore: fix typos in code comments (#6556) 2021-05-19 13:12:09 +08:00
release.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
repo.go assets: convert usage of go-bindata to Go embed (#6851) 2022-03-17 14:05:09 +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 upload `TreePath` and file name (#6838) 2022-03-13 22:18:56 +08:00
repo_editor_test.go test: remove the use of goconvey (#6123) 2020-04-19 04:24:08 +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 golangci-lint: add `unparam` linter (#6839) 2022-03-13 22:37:00 +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 db: migrate to GORM v2 (#6309) 2020-09-06 10:11:08 +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 auth: decouple types and functions from db (#6320) 2020-09-20 11:19:02 +08:00
webhook.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +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 autofix: function call can be replaced with helper function (#6805) 2022-03-06 16:33:55 +08:00