Commit graph

292 commits

Author SHA1 Message Date
HFO4
35c2a5c977 Test: filesystem/Preview 2019-12-31 13:31:20 +08:00
HFO4
8a262a15d5 Modify: Decide whether to redirect when previewing based on storage policy 2019-12-31 13:09:26 +08:00
HFO4
eceee2fc76 Test: remote callback auth 2019-12-30 19:56:01 +08:00
HFO4
4a5782b4e5 Feat: remote upload callback / validation 2019-12-30 19:37:21 +08:00
HFO4
d29b7ef6f8 Feat: auth for remote callback / Modify: use map to store hooks in filesystem 2019-12-30 19:08:38 +08:00
HFO4
ca9f44c06c Test: SlaveAfterUpload hook 2019-12-29 17:11:54 +08:00
HFO4
64342fa88d Feat: send remote uploading callback 2019-12-29 17:04:08 +08:00
HFO4
5b9de0e097 Feat: use sync.pool to obtain new FileSystem instance 2019-12-29 14:31:03 +08:00
HFO4
de4793aacb Modify: auth instance as first param in SignURI/Request 2019-12-29 13:50:23 +08:00
HFO4
b5ee3ee609 Fix: cors middleware should be applied directly to root router 2019-12-29 13:15:09 +08:00
HFO4
2b8921e9fd Fix: untracked files 2019-12-28 15:54:16 +08:00
HFO4
132c7a8fcb Feat: file uploading in slave mode 2019-12-28 13:14:00 +08:00
HFO4
6470340104 Add: upload controller in slave mode 2019-12-27 21:15:05 +08:00
HFO4
4f8558d1e8 Add: uploadPolicy serializer 2019-12-24 11:50:44 +08:00
HFO4
f8c8604cda Feat: auth middleware for complex request 2019-12-24 11:42:23 +08:00
HFO4
90827b2441 Feat: sign http request / read running mode from config file 2019-12-23 13:27:18 +08:00
HFO4
fd7b6e33c8 Test: auth middleware for WebDAV 2019-12-23 11:22:46 +08:00
HFO4
cf90ab5a9a Fix: unable to save office file in root directory of WebDAV 2019-12-21 18:32:13 +08:00
HFO4
bb27d1d587 Test: remove test for internal xml package 2019-12-21 13:01:18 +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
c1b02380ac Feat: adapt copy method for WebDAV 2019-12-20 11:59:09 +08:00
HFO4
9fdf2fe7ab Feat: adapt major methods of WebDAV for Cloudreve file system 2019-12-17 12:02:50 +08:00
HFO4
1dac66e632 Merge branch 'master' of github.com:HFO4/Backend-V3 2019-12-16 19:43:21 +08:00
HFO4
963100d60f Modify: add fs into webdav 2019-12-16 19:43:00 +08:00
HFO4
a6d16cc7ba Add: internal packages in webdav 2019-12-16 19:35:13 +08:00
HFO4
327a3c1edf Feat: ttl in memory-cache / Add: webdav from standard library 2019-12-16 18:56:25 +08:00
HFO4
9a942f8b48 Modify: decoupling getSignedURL modules 2019-12-16 12:52:35 +08:00
HFO4
6ada69f637 Test: update file content related hooks 2019-12-15 16:35:01 +08:00
HFO4
8bf2966d46 Feat: update file content 2019-12-15 14:01:37 +08:00
HFO4
8557ed8e2e Fix: failed uint test due to cache 2019-12-14 14:44:29 +08:00
HFO4
ca07a94d41 Test: file compress / download 2019-12-14 14:28:01 +08:00
HFO4
03dcd9a9e0 Modify: add general ReaderCloserSeeker interface for handler GET method to return 2019-12-13 20:54:28 +08:00
HFO4
f262caf1f5 Feat: download file and get file downloading session 2019-12-13 20:46:11 +08:00
HFO4
ad02a659a6 Feat: read CORS config from file 2019-12-13 19:00:58 +08:00
HFO4
c102c74d6d Fix: download archived file anonymously 2019-12-13 18:07:15 +08:00
HFO4
00ef240bea Delete: test file for task/pool 2019-12-13 15:21:45 +08:00
HFO4
02c93be3bc Feat: download temporary archive file 2019-12-13 15:10:44 +08:00
HFO4
afc0b647ca Fix: failed unit test / Feat: support TTL in redis cache 2019-12-13 13:22:10 +08:00
HFO4
cf9416ef88 Feat: archive download and sign temp url 2019-12-13 11:41:22 +08:00
HFO4
012281c41f Feat: zip create 2019-12-13 09:46:53 +08:00
HFO4
d58898e364 Feat: task pool for goroutines 2019-12-12 11:33:41 +08:00
HFO4
e8aa0435c5 Feat: archive & download routers for test 2019-12-12 10:04:24 +08:00
HFO4
18968458a4 Modify: close file in main routine 2019-12-11 18:52:41 +08:00
HFO4
d0bb123e03 Test: get source URL of files 2019-12-11 12:24:09 +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
ea7f034332 Feat: sign auth middleware 2019-12-10 20:17:21 +08:00
HFO4
36d5f51495 Feat: sign file source url 2019-12-10 17:10:34 +08:00
HFO4
1963a495fb Feat: get file source route / Fix: cache initialize at wrong time 2019-12-10 11:55:28 +08:00
HFO4
e871f6e421 Feat: HMAC auth and check 2019-12-10 11:13:33 +08:00
HFO4
5b01202844 Test: redis pool connection 2019-12-09 19:40:24 +08:00
HFO4
6d6255e759 Test: redis cache 2019-12-09 19:30:52 +08:00
HFO4
cb61945125 Feat: redis driver for cache 2019-12-09 15:20:02 +08:00
HFO4
f6da4cc7f0 Test: local handler.thumb 2019-12-09 12:18:30 +08:00
HFO4
c3c0e92964 Test: thumbnail and authn / Modify: read thumbnail config from file 2019-12-09 11:33:39 +08:00
HFO4
f35c585edf Feat experimental WebAuth API 2019-12-08 22:17:36 +08:00
HFO4
0932a10fed Feat: generate thumbnails for image file 2019-12-08 14:16:01 +08:00
HFO4
a445da5286 Fix: failed unit test due to missing mock.ExpectWereMatch() 2019-12-08 13:03:08 +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
f4c414c0f6 Fix: uint may overflow / Test: get user storage 2019-12-07 15:05:48 +08:00
HFO4
13fb090194 Fix: failed unit tests 2019-12-05 19:10:55 +08:00
HFO4
5df8f688d1 Test: util / filesystem 2019-12-05 19:01:51 +08:00
HFO4
7375cc01f1 Feat: cache in-memory store 2019-12-05 17:01:14 +08:00
HFO4
362a7c389d Test: middleware / file / folder 2019-12-03 21:25:10 +08:00
HFO4
c15b8a047d Feat: copy files and folders 2019-12-03 16:32:23 +08:00
HFO4
c09fc535dc Feat: unit test coverage report 2019-12-03 14:20:23 +08:00
HFO4
5424115e51 Fix: failed test due to database type 2019-12-03 10:42:35 +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
b3f13c56bc Modify: remove PositionAbsolute scheme in folder 2019-12-01 10:57:44 +08:00
HFO4
8b3fd8ec66 Modify: test for local handler delete 2019-11-30 23:26:02 +08:00
HFO4
93010e3525 Feat: delete objects 2019-11-30 15:09:56 +08:00
HFO4
0cbbe5bb79 Modify: use uri parameter in Get File 2019-11-29 15:24:23 +08:00
HFO4
b0e9c38732 Feat: redis for session storing 2019-11-27 19:53:39 +08:00
HFO4
7d5016ae40 Test: same folder check 2019-11-27 19:16:13 +08:00
HFO4
0982347f40 Fix: folder with the same name should not be created 2019-11-27 19:14:13 +08:00
HFO4
b3ef833afd Fix: test error / missing AfterFind hook in user model 2019-11-27 15:27:19 +08:00
HFO4
16067c3ac8 Test: download file in filesystem 2019-11-27 13:54:25 +08:00
HFO4
9bb432c220 Feat: download file with speed limit 2019-11-27 13:10:19 +08:00
HFO4
29def02489 Fix: upload was marked canceled when small file uploaded 2019-11-27 12:49:31 +08:00
HFO4
4156a71adf Feat: file download in service level 2019-11-26 20:59:57 +08:00
HFO4
a734493b65 Feat: custom error for general layer codes 2019-11-26 19:51:54 +08:00
HFO4
9a1665526c Test: local policy file uploading 2019-11-26 14:52:54 +08:00
HFO4
e07adb9d97 Test: filesystem/hooks 2019-11-26 11:52:09 +08:00
HFO4
0cb80f69f5 Modify: split hooks into small modules 2019-11-26 11:42:26 +08:00
HFO4
451bdb4ee1 Modify: parameters in headers should be URIEncoded 2019-11-25 21:12:28 +08:00
HFO4
28df5ca833 Modify: return user information in siteConfig while logged in 2019-11-25 14:08:11 +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
a994a74f4e Fix: 0 length upload should be allowed 2019-11-23 15:39:30 +08:00
HFO4
671d031d00 Fix: able to upload empty file 2019-11-23 15:37:13 +08:00
HFO4
948059ec1c Feat: CORS / Test: site/config route 2019-11-23 15:09:46 +08:00
HFO4
370a1a0c9f Feat: GET Site/Config getting global configuration 2019-11-22 19:33:06 +08:00
HFO4
9d8a462dc4 Remove: mutipart file upload 2019-11-22 14:56:46 +08:00
HFO4
7cb27b2102 Test: filesystem/file, filesystem, filesystem/hook, model/file/Create 2019-11-20 17:21: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
e835dafc88 Feat: colorful log output for log prefix 2019-11-20 12:39:27 +08:00
HFO4
f9b37a3359 Fix: test failed due to missing context 2019-11-19 18:10:18 +08:00
HFO4
20ea86eaf6 Fix: test failed due to Policy.AutoName 2019-11-19 17:20:59 +08:00
HFO4
88a543ef74 Feat: {path} marker in name rule representing the virtual path of the file 2019-11-19 16:42:36 +08:00
HFO4
2e9f256462 Feat: after uploading finished hook 2019-11-18 19:32:06 +08:00
HFO4
aa17aa8e6a Feat: after uploading hooks and checks 2019-11-18 19:09:56 +08:00
HFO4
0dddc12609 Modify: check whether file exist before deleting unfinished uploading 2019-11-18 18:29:37 +08:00
HFO4
5f7ece6d82 Fix: filepath.Dir behaves differently between, result in failed uint test 2019-11-18 14:08:27 +08:00
HFO4
631c23f065 Feat: recycling file storage and user capacity when uploading canceled 2019-11-18 14:06:15 +08:00
HFO4
160f964564 Feat: use goroutine to detect upload-canceling action / Object name validate 2019-11-18 13:26:32 +08:00
HFO4
331931e539 Fix: permission error 2019-11-17 20:30:25 +08:00
HFO4
861ba77b04 Feat: stream uploading 2019-11-17 19:12:10 +08:00
HFO4
5aa61301af Fix: letter case should be ignored while validating file extension 2019-11-17 14:35:28 +08:00
HFO4
3741da692b Test: filesystem/local & filesystem/validator 2019-11-17 14:33:00 +08:00
HFO4
99e7eecab7 Feat: file upload handler 2019-11-17 13:50:14 +08:00
HFO4
841832bb65 Add: context 2019-11-16 20:31:34 +08:00
HFO4
f46b52b6ba Feat: support sqlite 2019-11-16 16:49:03 +08:00
HFO4
e05ba1030c Modify: package name 2019-11-16 16:11:37 +08:00
HFO4
79caf635f9 Feat: basic file validator 2019-11-16 16:05:10 +08:00
HFO4
003274162b Add: filesystem 2019-11-16 13:37:42 +08:00
HFO4
d86a3533ca Add: route for uploading file 2019-11-15 18:12:34 +08:00
HFO4
4309653160 Feat: model/policy 2019-11-14 14:18:10 +08:00
HFO4
41e0dec74c Test: captcha 2019-11-13 18:34:29 +08:00
HFO4
9660d2f9c1 Feat: captcha config 2019-11-13 17:22:45 +08:00
HFO4
7d4e212d4e Feat: captcha 2019-11-13 17:03:55 +08:00
HFO4
c8c85501e4 Test: middleware/auth 2019-11-12 16:18:58 +08:00
HFO4
589c399488 Feat: User/Me 2019-11-12 15:34:54 +08:00
HFO4
6f96018223 Feat: User login 2019-11-11 19:13:17 +08:00
HFO4
943c84320c Feat: Setting model 2019-11-10 17:07:35 +08:00
HFO4
f453b3e918 Fix: rand seeding error / Test: conf/version and util 2019-11-09 19:47:26 +08:00
HFO4
3ed1a5dc43 Add: default settings rows in migration 2019-11-09 19:27:47 +08:00
HFO4
e858cbe2cf Feat: Decide whether to do database migration based on version.lock 2019-11-09 19:04:48 +08:00
HFO4
c5493fd1f1 Delete temp test file when exist 2019-11-09 18:09:32 +08:00
HFO4
ec7ab83d7c Test: conf 2019-11-09 18:06:29 +08:00
HFO4
53da4655ad Reading config file 2019-11-08 18:29:12 +08:00
HFO4
aca8bde521 User model/migrations and gorm init 2019-11-07 15:56:05 +08:00
HFO4
2c9e0c1119 Testing for controller/main.go 2019-11-06 22:35:31 +08:00