WittF
bac8908691
refactor(share): extract share logic to reusable packages
...
- Extract LoadShareForInfo() and BuildRedirectURL() to pkg/share
- Move OG template and preview logic to pkg/sharepreview
- Extract IsSocialMediaBot() to pkg/util
- Simplify service/share/visit.go to use new packages
2 weeks ago
Aaron Liu
e8f965e980
fix(security): resolve multiple vulnerability.
...
Vulnerability identified and fix provided by Kolega.dev (https://kolega.dev )
3 weeks ago
Darren Yu
05c68b4062
fix(thumb blob path): separators be wrongly modified ( #3062 ) ( #3116 )
...
* fix(thumb blob path): separators be wrongly modified
* Update common.go
2 months ago
Darren Yu
deecc5c20b
feat(thumb blob path): support magic variables in thumb blob path ( #3030 )
3 months ago
AaronLiu
21d158db07
Init V4 community edition ( #2265 )
...
* Init V4 community edition
* Init V4 community edition
10 months ago
Aaron Liu
7cb5e68b78
refactor(thumb): thumb logic for slave policy
3 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: 修改变量名
3 years ago
HFO4
644a326580
i18n: logs in rest pkgs
3 years ago
Ink33
84807be1ca
use go:embed for static resources ( #1107 )
...
* feat: use go:embed to embed static files
* ci: fix broken test
* docs: update readme.md
* chore: remove statik
* feat: simplify code
Co-authored-by: AaronLiu <abslant@126.com>
4 years ago
HFO4
bfb5b34edc
Fix: concurrent logging lock / Feat: listen SSL ( #287 )
6 years ago
HFO4
4d70f9fa3e
Fix: get execute file path dynamically
6 years ago
Aaron
d80446d30f
Feat: cross compile script
6 years ago
HFO4
68d3131521
Feat: cross compile script
6 years ago
HFO4
81d6988a50
Feat: user register / send activate email
6 years ago
HFO4
4c530a26a0
Test: pkg/task / Fix: failed test due to policy cache
6 years ago
HFO4
8c7e3883ee
Feat: handle aria2 download complete
6 years ago
HFO4
91e202c7e6
Feat: decompression task
6 years ago
HFO4
4baddecd8e
Fix: ignore data-race detector in onedrive tests
6 years ago
HFO4
f3c7263b52
Fix: ignore data-race detector in onedrive tests
6 years ago
HFO4
7eda63f089
Feat: Get file for oss handler
6 years ago
HFO4
f8c8604cda
Feat: auth middleware for complex request
6 years ago
HFO4
bb27d1d587
Test: remove test for internal xml package
6 years ago
HFO4
c1b02380ac
Feat: adapt copy method for WebDAV
6 years ago
HFO4
cf9416ef88
Feat: archive download and sign temp url
6 years ago
HFO4
e871f6e421
Feat: HMAC auth and check
6 years ago
HFO4
6eff13c80a
Test: modified folder methods and filesystem
6 years ago
HFO4
56b1ae9f31
Modify: use pure tree structure in file system scheme
6 years ago
HFO4
5df8f688d1
Test: util / filesystem
6 years ago
HFO4
fd02425547
Feat: move files/directories
6 years ago
HFO4
081c92067f
Test: delete objects related methods
6 years ago
HFO4
93010e3525
Feat: delete objects
6 years ago
HFO4
0cbbe5bb79
Modify: use uri parameter in Get File
6 years ago
HFO4
e09294d388
Feat: insert file record to database
6 years ago
HFO4
e835dafc88
Feat: colorful log output for log prefix
6 years ago
HFO4
88a543ef74
Feat: `{path}` marker in name rule representing the virtual path of the file
6 years ago
HFO4
2e9f256462
Feat: after uploading finished hook
6 years ago
HFO4
99e7eecab7
Feat: file upload handler
6 years ago
HFO4
79caf635f9
Feat: basic file validator
6 years ago
HFO4
4309653160
Feat: model/policy
6 years ago
HFO4
9660d2f9c1
Feat: captcha config
6 years ago
HFO4
7d4e212d4e
Feat: captcha
6 years ago
HFO4
c8c85501e4
Test: middleware/auth
6 years ago
HFO4
943c84320c
Feat: Setting model
6 years ago
HFO4
f453b3e918
Fix: rand seeding error / Test: conf/version and util
6 years ago
HFO4
e858cbe2cf
Feat: Decide whether to do database migration based on `version.lock`
6 years ago
HFO4
ec7ab83d7c
Test: conf
6 years ago
HFO4
53da4655ad
Reading config file
6 years ago
HFO4
aca8bde521
User model/migrations and gorm init
6 years ago
HFO4
2c9e0c1119
Testing for controller/main.go
6 years ago