gogs/internal/db
Joe Chen 0fef3c9082
repo_editor: check upload `TreePath` and file name (#6838)
2022-03-14 00:37:34 +08:00
..
errors action: fix issue reference regexp and error handling (#6352) 2020-09-26 16:23:40 +08:00
migrations ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
testdata/backup db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +08:00
access.go db: add tests for permissions (#6088) 2020-04-11 05:39:45 +08:00
access_tokens.go db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +08:00
access_tokens_test.go db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +08:00
action.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
action_test.go action: fix issue reference regexp and error handling (#6352) 2020-09-26 16:23:40 +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: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
backup_test.go db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +08:00
comment.go workflows: enable golangci-lint (#5998) 2020-03-21 13:39:32 +08:00
db.go cmd/serv: use different log files for ORMs in hook mode (#6361) 2020-09-29 22:36:02 +08:00
db_test.go db: add tests for helper functions (#6084) 2020-04-10 22:51:24 +08:00
error.go db: add tests for users (#6116) 2020-04-18 12:07:30 +08:00
issue.go action: fix issue reference regexp and error handling (#6352) 2020-09-26 16:23:40 +08:00
issue_label.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00
issue_mail.go conf: overhaul auth and user settings (#5942) 2020-02-27 18:06:38 +08:00
lfs.go db: add tests for permissions (#6088) 2020-04-11 05:39:45 +08:00
lfs_test.go db: add tests for users (#6116) 2020-04-18 12:07:30 +08:00
login_source.go db: remove `db.User.LoginType` field (#6122) 2020-04-19 04:32:53 +08:00
login_source_files.go login_source: migrate to GORM and add tests (#6090) 2020-04-11 20:18:05 +08:00
login_source_files_test.go db: add tests for `loginSourceFiles` (#6102) 2020-04-15 05:52:30 +08:00
login_sources.go db: fix wrong column type of `login_source` (#6283) 2020-08-27 14:46:26 +08:00
login_sources_test.go db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +08:00
main_test.go db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +08:00
milestone.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00
mirror.go ci: enable go vet check (#5981) 2020-03-11 00:30:51 +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 users (#6116) 2020-04-18 12:07:30 +08:00
models.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
org.go organization: limit showing at most 12 members in profile page (#6254) 2020-08-17 21:09:22 +08:00
org_team.go db: fix update team panic (#6253) 2020-08-16 21:31:08 +08:00
perms.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
perms_test.go db: add tests for users (#6116) 2020-04-18 12:07:30 +08:00
pull.go workflows: enable golangci-lint (#5998) 2020-03-21 13:39:32 +08:00
release.go api: support get releases endpoint (#6026) 2020-03-28 21:56:11 +08:00
repo.go markup: render SHA links without branch prefix (#6350) 2020-10-06 13:08:27 +08:00
repo_branch.go lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +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-14 00:37:34 +08:00
repo_editor_test.go test: remove the use of goconvey (#6123) 2020-04-19 04:24:08 +08:00
repo_test.go markup: render SHA links without branch prefix (#6350) 2020-10-06 13:08:27 +08:00
repos.go db: add tests for users (#6116) 2020-04-18 12:07:30 +08:00
repos_test.go db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +08:00
ssh_key.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +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: add tests for two factors (#6099) 2020-04-14 09:41:54 +08:00
two_factors.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
two_factors_test.go db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +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: remove `db.User.LoginType` field (#6122) 2020-04-19 04:32:53 +08:00
user_cache.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
user_mail.go db: add tests for users (#6116) 2020-04-18 12:07:30 +08:00
users.go db: remove `db.User.LoginType` field (#6122) 2020-04-19 04:32:53 +08:00
users_test.go db: use GORM to backup and restore non-legacy tables (#6142) 2020-05-04 16:25:57 +08:00
webhook.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
webhook_dingtalk.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
webhook_discord.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
webhook_slack.go ci: sync workflows from `main` branch (#6730) 2022-01-16 19:51:14 +08:00
wiki.go git: migrate to github.com/gogs/git-module@v1.0.0 (#5958) 2020-03-08 19:09:31 +08:00