58 Commits

Author SHA1 Message Date
8d7ecedf47 feat(source link): create perm source link with shorter url 2022-10-29 11:06:07 +08:00
8b30593822 fix: cannot delete mass files (>=333) in SQLite (#622) 2022-10-15 10:12:23 +08:00
f2c53dda31 Merge remote-tracking branch 'origin/master' 2022-09-29 17:43:06 +08:00
7366ff534e i18n: logs in models 2022-09-29 17:40:22 +08:00
88e10aeaa2 Fix: unexpected querying all files when deleting an empty folder (#1469) 2022-09-29 09:26:30 +08:00
0e5683bc3b test: search file with limited parent ids 2022-04-30 10:02:57 +08:00
8ab0fe0e2f feat: search file under current folder 2022-04-29 20:03:52 +08:00
2dcf1664a6 fix: keep update at column when rename 2022-04-25 20:23:53 +08:00
0fb31f4523 fix: deadlock while creating default user in SQLite 2022-04-24 15:16:25 +08:00
13d36c25d4 test: fix failed test in model/file/deleteFile 2022-04-15 16:03:00 +08:00
ace398d87b Fix: file size is ready dirty when clean upload sessions
After listing to be deleted files, before delete is committed to database, file size might be changed by ongoing upload, causing inconsistent user storage.
2022-04-03 20:39:50 +08:00
081e75146c Fix: add optimism lock when updating file size 2022-03-13 16:15:19 +08:00
e0714fdd53 Feat: process upload callback sent from slave node 2022-03-03 19:17:25 +08:00
521c5c8dc4 Feat: use transactions to manipulate user's used storage 2022-02-27 14:24:17 +08:00
285e80ba76 Feat: use database transactions to delete / update file size 2022-02-27 14:23:26 +08:00
7dd636da74 Feat: upload session recycle crontab job / API for cleanup all upload session 2022-02-27 14:16:36 +08:00
3444b4a75e Feat: chunk upload handling for local policy 2022-02-27 14:13:39 +08:00
72173bf894 Refactor: create placeholder file and record upload session id in it 2022-02-27 14:07:12 +08:00
868a88e5fc Refactor: use universal FileHeader when handling file upload, remove usage of global ctx with FileHeader, SavePath, DisableOverwrite 2022-02-27 14:03:07 +08:00
170f2279c1 Fix: failed to get thumbnails under global OneDrive policy 2021-03-14 11:03:10 +08:00
d9cff24c75 Modify: disable association_autoupdate in model.File.UpdateSourceName 2021-03-03 14:10:08 +08:00
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
2020-11-21 17:34:55 +08:00
0575b0aa92 Fix: search function should not convert case (#288) 2020-04-11 09:42:22 +08:00
bb63ea7142 Test: model.Tags / modifications 2020-02-12 13:19:25 +08:00
127d0236f9 Feat: filter and search file 2020-02-11 11:13:20 +08:00
9be1b4366f Modify: change raw object ID to Hash ID in file service 2020-02-10 13:10:59 +08:00
7804b4efb1 Fix: Onedrive have batch requests limit for 20 per request 2020-02-04 10:48:26 +08:00
0e62665d7f Fix: do hard-copy when editing file with soft links 2020-01-16 10:11:16 +08:00
91b873065a Test: FileInfo interface 2019-12-21 12:49:48 +08:00
327765a7be Fix: missing ttl check in memstore.Get 2019-12-21 12:29:58 +08:00
e97ed216f2 Feat: finish WebDAV adaptation 2019-12-20 15:08:04 +08:00
9fdf2fe7ab Feat: adapt major methods of WebDAV for Cloudreve file system 2019-12-17 12:02:50 +08:00
8bf2966d46 Feat: update file content 2019-12-15 14:01:37 +08:00
ca07a94d41 Test: file compress / download 2019-12-14 14:28:01 +08:00
afc0b647ca Fix: failed unit test / Feat: support TTL in redis cache 2019-12-13 13:22:10 +08:00
9f26c0c8ab Test: signRequired middleware 2019-12-10 21:26:19 +08:00
297b507ca7 Feat: get file content via anonymous url 2019-12-10 20:42:40 +08:00
0932a10fed Feat: generate thumbnails for image file 2019-12-08 14:16:01 +08:00
6eff13c80a Test: modified folder methods and filesystem 2019-12-08 10:57:43 +08:00
05c802e0fa Test: modified folder methods 2019-12-07 20:27:20 +08:00
56b1ae9f31 Modify: use pure tree structure in file system scheme 2019-12-07 19:47:22 +08:00
10a2ef4267 Feat: rename file 2019-12-07 15:54:07 +08:00
362a7c389d Test: middleware / file / folder 2019-12-03 21:25:10 +08:00
adf7f3deeb Fix: handler move files in top levels 2019-12-02 14:47:55 +08:00
d28e5632d5 Fix: unique index check failed due to soft delete 2019-12-01 19:45:01 +08:00
fd02425547 Feat: move files/directories 2019-12-01 18:31:29 +08:00
081c92067f Test: delete objects related methods 2019-12-01 14:31:29 +08:00
ceb25ce1c3 Modify: add unique index for folder & file 2019-12-01 11:23:54 +08:00
b4cfa6b601 Test: delete object route 2019-11-30 23:22:57 +08:00
93010e3525 Feat: delete objects 2019-11-30 15:09:56 +08:00