Aaron Liu
95027e4f5d
refactor(db): move dialects to a standalone pkg
2 years ago
VigorFox
9c58278e08
refactor(db): change SQLite driver from github.com/jinzhu/gorm/dialects/sqlite to github.com/glebarez/go-sqlite ( #1626 )
...
* sqlite 驱动从 github.com/jinzhu/gorm/dialects/sqlite 改为 github.com/glebarez/go-sqlite,以移除对 cgo 的依赖
* // 兼容已有配置中的 "sqlite3" 配置项
* Update models/init.go: 修改变量名
2 years ago
5aaee9
8dafb4f40a
feat: support connect to mysql with unix socket ( #1571 )
2 years ago
HFO4
7366ff534e
i18n: logs in models
2 years ago
HFO4
f8b7e086ba
fix: `database is locked` when using sqlite
3 years ago
想出网名啦
a3b4a22dbc
bug fix: can't connect to postgres database ( #992 )
...
* bug fix: can't connect to postgres database
* remove useless arg
* remove vscode setting
3 years ago
HFO4
622b928a90
Feat: support database charset option and more DMBS driver
3 years ago
Loyalsoldier
79b8784934
Comply with Golang semantic import versioning ( #630 )
...
* Code: compatible with semantic import versioning
* Tools & Docs: compatible with semantic import versioning
* Clean go.mod & go.sum
4 years ago
mritd
7df09537e0
fix(db_driver): fix the panic when sqlite3 is used in the conf ( #551 )
...
* fix(db_driver): fix the panic when sqlite3 is used in the conf
fix the panic when sqlite3 is used in the conf
ref cloudreve/Cloudreve#550
Signed-off-by: mritd <mritd@linux.com>
* fix(nullpointer): fix possible null pointer error
fix possible null pointer error
Signed-off-by: mritd <mritd@linux.com>
4 years ago
HFO4
2e43f8ed5b
Modify: use INT represent Database port
5 years ago
topjohncian
554493dea4
Add custom mysql database port. ( #289 )
5 years ago
HFO4
96983ddc70
Feat: custom SQLite db file path
5 years ago
HFO4
8ad7702736
Fix: relative path for SQLite file
5 years ago
HFO4
68d3131521
Feat: cross compile script
5 years ago
HFO4
127d0236f9
Feat: filter and search file
5 years ago
HFO4
e722c33cd5
Feat: task queue / compression task
5 years ago
HFO4
e2f6dab70c
Feat: save re-save single shared file
5 years ago
HFO4
6aee31341f
Feat: async monitor OneDrive resume upload progress
5 years ago
HFO4
4a5782b4e5
Feat: remote upload callback / validation
5 years ago
HFO4
cf90ab5a9a
Fix: unable to save office file in root directory of WebDAV
5 years ago
HFO4
adf7f3deeb
Fix: handler move files in top levels
5 years ago
HFO4
948059ec1c
Feat: CORS / Test: site/config route
5 years ago
HFO4
7cb27b2102
Test: filesystem/file, filesystem, filesystem/hook, model/file/Create
5 years ago
HFO4
8dd411f5d4
Feat: memory database for testing
5 years ago
HFO4
f46b52b6ba
Feat: support sqlite
5 years ago
HFO4
e05ba1030c
Modify: package name
5 years ago
HFO4
9660d2f9c1
Feat: captcha config
5 years ago
HFO4
29fe6047a1
Modify: GetSettingByName returns string
5 years ago
HFO4
e858cbe2cf
Feat: Decide whether to do database migration based on `version.lock`
5 years ago
HFO4
ec7ab83d7c
Test: conf
5 years ago
HFO4
53da4655ad
Reading config file
5 years ago
HFO4
aca8bde521
User model/migrations and gorm init
5 years ago
HFO4
2c9e0c1119
Testing for controller/main.go
5 years ago