Commit Graph

49 Commits (zipped-static)

Author SHA1 Message Date
HFO4 13d36c25d4 test: fix failed test in model/file/deleteFile 2022-04-15 16:03:00 +08:00
HFO4 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
HFO4 081e75146c Fix: add optimism lock when updating file size 2022-03-13 16:15:19 +08:00
HFO4 e0714fdd53 Feat: process upload callback sent from slave node 2022-03-03 19:17:25 +08:00
HFO4 521c5c8dc4 Feat: use transactions to manipulate user's used storage 2022-02-27 14:24:17 +08:00
HFO4 285e80ba76 Feat: use database transactions to delete / update file size 2022-02-27 14:23:26 +08:00
HFO4 7dd636da74 Feat: upload session recycle crontab job / API for cleanup all upload session 2022-02-27 14:16:36 +08:00
HFO4 3444b4a75e Feat: chunk upload handling for local policy 2022-02-27 14:13:39 +08:00
HFO4 72173bf894 Refactor: create placeholder file and record upload session id in it 2022-02-27 14:07:12 +08:00
HFO4 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
HFO4 170f2279c1 Fix: failed to get thumbnails under global OneDrive policy 2021-03-14 11:03:10 +08:00
HFO4 d9cff24c75 Modify: disable association_autoupdate in model.File.UpdateSourceName 2021-03-03 14:10:08 +08:00
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
2020-11-21 17:34:55 +08:00
HFO4 0575b0aa92 Fix: search function should not convert case (#288) 2020-04-11 09:42:22 +08:00
HFO4 bb63ea7142 Test: model.Tags / modifications 2020-02-12 13:19:25 +08:00
HFO4 127d0236f9 Feat: filter and search file 2020-02-11 11:13:20 +08:00
HFO4 9be1b4366f Modify: change raw object ID to Hash ID in file service 2020-02-10 13:10:59 +08:00
HFO4 7804b4efb1 Fix: Onedrive have batch requests limit for 20 per request 2020-02-04 10:48:26 +08:00
HFO4 0e62665d7f Fix: do hard-copy when editing file with soft links 2020-01-16 10:11:16 +08:00
HFO4 91b873065a Test: FileInfo interface 2019-12-21 12:49:48 +08:00
HFO4 327765a7be Fix: missing ttl check in memstore.Get 2019-12-21 12:29:58 +08:00
HFO4 e97ed216f2 Feat: finish WebDAV adaptation 2019-12-20 15:08:04 +08:00
HFO4 9fdf2fe7ab Feat: adapt major methods of WebDAV for Cloudreve file system 2019-12-17 12:02:50 +08:00
HFO4 8bf2966d46 Feat: update file content 2019-12-15 14:01:37 +08:00
HFO4 ca07a94d41 Test: file compress / download 2019-12-14 14:28:01 +08:00
HFO4 afc0b647ca Fix: failed unit test / Feat: support TTL in redis cache 2019-12-13 13:22:10 +08:00
HFO4 9f26c0c8ab Test: signRequired middleware 2019-12-10 21:26:19 +08:00
HFO4 297b507ca7 Feat: get file content via anonymous url 2019-12-10 20:42:40 +08:00
HFO4 0932a10fed Feat: generate thumbnails for image file 2019-12-08 14:16:01 +08:00
HFO4 6eff13c80a Test: modified folder methods and filesystem 2019-12-08 10:57:43 +08:00
HFO4 05c802e0fa Test: modified folder methods 2019-12-07 20:27:20 +08:00
HFO4 56b1ae9f31 Modify: use pure tree structure in file system scheme 2019-12-07 19:47:22 +08:00
HFO4 10a2ef4267 Feat: rename file 2019-12-07 15:54:07 +08:00
HFO4 362a7c389d Test: middleware / file / folder 2019-12-03 21:25:10 +08:00
HFO4 adf7f3deeb Fix: handler move files in top levels 2019-12-02 14:47:55 +08:00
HFO4 d28e5632d5 Fix: unique index check failed due to soft delete 2019-12-01 19:45:01 +08:00
HFO4 fd02425547 Feat: move files/directories 2019-12-01 18:31:29 +08:00
HFO4 081c92067f Test: delete objects related methods 2019-12-01 14:31:29 +08:00
HFO4 ceb25ce1c3 Modify: add unique index for folder & file 2019-12-01 11:23:54 +08:00
HFO4 b4cfa6b601 Test: delete object route 2019-11-30 23:22:57 +08:00
HFO4 93010e3525 Feat: delete objects 2019-11-30 15:09:56 +08:00
HFO4 4156a71adf Feat: file download in service level 2019-11-26 20:59:57 +08:00
HFO4 5e1e76719f Test: list folder & filesystem/path & model/folder/list 2019-11-24 16:28:41 +08:00
HFO4 b431f3674c Feat: list objects in specific path 2019-11-24 13:06:15 +08:00
HFO4 a89c3cb11a Feat: create folder / Modify: add index to some column 2019-11-24 11:33:30 +08:00
HFO4 438ce02420 Modify: re-organize structure of filesystem 2019-11-20 15:53:00 +08:00
HFO4 e09294d388 Feat: insert file record to database 2019-11-20 15:24:26 +08:00
HFO4 20ea86eaf6 Fix: test failed due to `Policy.AutoName` 2019-11-19 17:20:59 +08:00
HFO4 71e668c005 Add: model/file 2019-11-15 16:36:48 +08:00