HFO4
4f65d0e859
fix: use default chunk size if it is set as 0
3 years ago
HFO4
18f5bffed1
test: fix failed test
3 years ago
HFO4
478d390867
Fix: show modified date instead of creating date in file list
3 years ago
HFO4
febbd0c5a0
Feat: batch download in streamming paradism
...
Fix: add cache-controler header in API call responses
3 years ago
HFO4
6451e4c903
Merge branch 'master' of https://github.com/cloudreve/Cloudreve
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>
3 years ago
HFO4
20e90e3963
Improve error message when uploading is conflicted
3 years ago
HFO4
ec776ac837
Test: new changes in pkg request, serializer, task, xml, router
3 years ago
HFO4
d117080991
Test: new changes pkg filesystem
3 years ago
HFO4
1c0a735df8
Test: new changes pkg remote, fsctx, part of filesystem
3 years ago
HFO4
c6130ab078
Feat: new changes in pkg: chunk, backoff, local, onedrive
3 years ago
HFO4
31315c86ee
Feat: support option for cache streamed chunk data into temp file for potential retry.
3 years ago
HFO4
636ac52a3f
Test: new changes in pkg: cache, cluster, conf
3 years ago
HFO4
e51c5cd70d
Fix: root folder should not be deleted
3 years ago
HFO4
eaa8c9e12d
Refactor: move thumbnail config from ini file to database
3 years ago
HFO4
d54ca151b2
Feat: overwrite database settings in conf.ini for slave node.
3 years ago
HFO4
7eb8173101
Feat: adapt new uploader for s3 like policy
...
This commit also fix #730 , #713 , #756 , #5
3 years ago
HFO4
d3016b60af
Feat: adapt new uploader for upyun policy
3 years ago
HFO4
9e5713b139
Feat: adapt new uploader for COS policy
3 years ago
HFO4
07f13cc350
Refactor: factory method for OSS client
...
Fix: use HTTPS schema by default in OSS client
Feat: new handler for Qiniu policy
3 years ago
HFO4
0df9529b32
Feat: generating token and callback url for OSS muiltpart upload, support resume upload in sever-side uploading for OSS
3 years ago
HFO4
015ccd5026
Feat: use new ChunkManager for OneDrive API client
3 years ago
HFO4
b6efca1878
Feat: uploading OneDrive files in client side
3 years ago
HFO4
24dfb2c24e
Fix: undefined method in transfer task
3 years ago
HFO4
c89327631e
Fix: panics inside of task was not correctly logged into DB
...
Feat: slave node use new API to upload file to master
3 years ago
HFO4
9136f3caec
Fix: while placeholder file got conflict, original file might be deleted
3 years ago
HFO4
0650684dd9
Feat: cancel upload session in slave node
3 years ago
HFO4
effbc8607e
Refactor: use chunk manager to manage resume upload in server side
3 years ago
HFO4
b96019be7c
Feat: client method to upload file from master node to slave node
3 years ago
HFO4
e0714fdd53
Feat: process upload callback sent from slave node
3 years ago
HFO4
4925a356e3
Enable overwrite for non-first chunk uploading request
3 years ago
HFO4
7214e59c25
Feat: creating upload session and credential from master server
3 years ago
HFO4
118d738797
Feat: support apply append mode and overwrite mode for FileStream
3 years ago
HFO4
285611baf7
Feat: truncate file if uploaded chunk is overlapped
3 years ago
HFO4
521c5c8dc4
Feat: use transactions to manipulate user's used storage
3 years ago
HFO4
285e80ba76
Feat: use database transactions to delete / update file size
3 years ago
HFO4
2811ee3285
Feat: slave policy creating upload session API
3 years ago
HFO4
7dd636da74
Feat: upload session recycle crontab job / API for cleanup all upload session
3 years ago
HFO4
3444b4a75e
Feat: chunk upload handling for local policy
3 years ago
HFO4
c301bd6045
Feat: API for receiviing chunk data
3 years ago
HFO4
72173bf894
Refactor: create placeholder file and record upload session id in it
3 years ago
HFO4
6fdf77e00e
Feat: support setting "last modified" props when creating upload session
3 years ago
HFO4
e37e93a7b6
Feat: create hidden file when creating upload session
3 years ago
HFO4
868a88e5fc
Refactor: use universal FileHeader when handling file upload, remove usage of global ctx with FileHeader, SavePath, DisableOverwrite
3 years ago
KAAAsS
8a222e7df4
fix: nil pointer in qiniu and upyun driver ( #1146 )
3 years ago
HFO4
8443a30fb1
Feat: support chunk size option in policy
3 years ago
HFO4
de9c41082c
Feat: create upload session and pre-upload check
3 years ago
HFO4
855c9d92c4
Feat: get policy from directory props / Feat: return source enabled flag in file list
3 years ago
HFO4
6b15cae0b5
Update version number
3 years ago
HFO4
84d81f201f
Fix: refresh interval not working
3 years ago
HFO4
af4d9767c2
Fix: slave node cannot transfer files to other slave node
3 years ago
HFO4
7ea72cf364
Fix: default CORS setting header should be applied with new change
3 years ago
HFO4
4eb7525c51
Fix: cannot transfer tasks with multiple files in slave node
3 years ago
HFO4
3948ee7f3a
Fix: use `X-Cr-` as custom header prefix
3 years ago
HFO4
865a801fa8
Update version number
3 years ago
WeidiDeng
8c8ad3e149
Fix: WebDAV cannot move and rename at the same time ( #1056 )
3 years ago
HFO4
700e13384e
Fix: using url escape instead of unescape in remote handler ( #1051 )
3 years ago
HFO4
96b84bb5e5
Test: tasks pkg
3 years ago
HFO4
9056ef9171
Test: new changes in 3.4.0
3 years ago
HFO4
532bff820a
Test: new modifications in filesystem pkg
3 years ago
HFO4
fcd9eddc54
Test: pkg/cluster
3 years ago
HFO4
6c9967b120
Test: cluster/node.go and controller.go
3 years ago
HFO4
416f4c1dd2
Test: balancer / auth / controller in pkg
3 years ago
HFO4
f0089045d7
Test: aria2 task monitor 100% cover
3 years ago
kikoqiu
54ed7e43ca
Feat: improve thumbnails proformance and GC for local policy ( #1044 )
...
* thumb generating improvement
Replace "github.com/nfnt/resize" with "golang.org/x/image/draw". Add thumb task queue to avoid oom when batch thumb operation
* thumb improvement
* Add some tests for thumbnail generation
3 years ago
HFO4
4d7b8685b9
Test: aria2 task monitor
...
Fix: tmp file not deleted after transfer task failed to create
3 years ago
HFO4
e41ec9defa
Refactor: move slave pkg inside of cluster
...
Test: middleware for node communication
3 years ago
HFO4
eaa0f6be91
Update version number
3 years ago
HFO4
5db476634a
Fix: deadlock and sync issue in node pool
3 years ago
HFO4
1f06ee3af6
Fix: node cannot be reloaded when db model changes
3 years ago
AaronLiu
056de22edb
Feat: aria2 download and transfer in slave node ( #1040 )
...
* Feat: retrieve nodes from data table
* Feat: master node ping slave node in REST API
* Feat: master send scheduled ping request
* Feat: inactive nodes recover loop
* Modify: remove database operations from aria2 RPC caller implementation
* Feat: init aria2 client in master node
* Feat: Round Robin load balancer
* Feat: create and monitor aria2 task in master node
* Feat: salve receive and handle heartbeat
* Fix: Node ID will be 0 in download record generated in older version
* Feat: sign request headers with all `X-` prefix
* Feat: API call to slave node will carry meta data in headers
* Feat: call slave aria2 rpc method from master
* Feat: get slave aria2 task status
Feat: encode slave response data using gob
* Feat: aria2 callback to master node / cancel or select task to slave node
* Fix: use dummy aria2 client when caller initialize failed in master node
* Feat: slave aria2 status event callback / salve RPC auth
* Feat: prototype for slave driven filesystem
* Feat: retry for init aria2 client in master node
* Feat: init request client with global options
* Feat: slave receive async task from master
* Fix: competition write in request header
* Refactor: dependency initialize order
* Feat: generic message queue implementation
* Feat: message queue implementation
* Feat: master waiting slave transfer result
* Feat: slave transfer file in stateless policy
* Feat: slave transfer file in slave policy
* Feat: slave transfer file in local policy
* Feat: slave transfer file in OneDrive policy
* Fix: failed to initialize update checker http client
* Feat: list slave nodes for dashboard
* Feat: test aria2 rpc connection in slave
* Feat: add and save node
* Feat: add and delete node in node pool
* Fix: temp file cannot be removed when aria2 task fails
* Fix: delete node in admin panel
* Feat: edit node and get node info
* Modify: delete unused settings
3 years ago
WeidiDeng
9ff1b47646
fix webdav prop get ( #1023 )
...
修复了displayname为空,potplayer可以正常使用webdav功能
3 years ago
AaronLiu
65c4367689
Revert "delete $name policy ( #831 )" ( #961 )
...
This reverts commit e6959a5026
.
3 years ago
HFO4
db7489fb61
Update version number
3 years ago
HFO4
622b928a90
Feat: support database charset option and more DMBS driver
3 years ago
Songtao
e6959a5026
delete $name policy ( #831 )
3 years ago
kleinsea
c85c2da523
feat: append config parameter: registerEnabled ( #911 )
3 years ago
HFO4
8659bdcf77
Fix: unable to read file from UPYUN ( #472 , #472 , #836 )
4 years ago
HFO4
641fe352da
Fix: user encryption setting will now overwrite the default one in gomail ( #869 #857 #723 #545 )
4 years ago
HFO4
96712fb066
Feat: use RFC3339 time format in returned results ( #811 )
4 years ago
HFO4
a1252c810b
Update version number to 3.3.1
4 years ago
topjohncian
233648b956
Refactor: captcha ( #796 )
4 years ago
HFO4
c0f7214cdb
Revert "Fix: OSS SDK will encode all object key ( #694 )"
...
This reverts commit 270f617b
and fix #802
4 years ago
HFO4
ccaefdab33
Fix: unable to upload file in WebDAV ( #803 )
4 years ago
HFO4
595f4a1350
Test: get parament source in OneDrive handler
4 years ago
HFO4
a5f80a4431
Feat: get permanent URL for OneDrive policy
4 years ago
HFO4
8431906b94
Update version number
4 years ago
ihipop
270f617b9d
Fix: OSS SDK will encode all object key ( #694 )
...
(cherry picked from commit b9cd82b849065f0d1ad093708f09c8722339bf2a)
4 years ago
HFO4
170f2279c1
Fix: failed to get thumbnails under global OneDrive policy
4 years ago
HFO4
4e2f243436
Feat: support using SharePoint site to store files
4 years ago
HFO4
fec2fe14f8
Modify: json tag for QueryDate
4 years ago
HFO4
1f1bc056e3
Feat: API for getting object property
4 years ago
HFO4
a93b964d8b
Modify: OneDrive file URL cache will refreshed after file is updated
4 years ago
HFO4
4cf6c81534
Fix: failed unit test
4 years ago
HFO4
5a66af3105
Fix: failed unit test
4 years ago
HFO4
fc5c67cc20
Feat: disable overwrite for OneDrive policy
4 years ago
HFO4
5e226efea1
Feat: disable overwrite for non-updating put request, only works under local,slave,OneDrive,OSS policy. ( #764 )
4 years ago
HFO4
e699287ffd
Modify: mark as success when deleting a file that does not exist;
...
Fix: minio is not usable in S3 policy
Modify: use batch request to delete S3 files
4 years ago
HFO4
3b22b4fd25
Update version number
4 years ago
Breeze Chen
488e62f762
Fix qiniu last modify time. ( #691 )
4 years ago
HFO4
61e6d9b591
Update version number
4 years ago
HFO4
055ed0e075
Fix: standardize the use of error codes related to login credentials
4 years ago
HFO4
5b44606276
Test: replace cdn proxy url for OneDrive policy
4 years ago
HFO4
bd2bdf253b
Feat: using custom reverse proxying in OneDrive file downloading
4 years ago
HFO4
7279be2924
Fix: user storage might be returned twice when OneDrive uploading canceled in WebDAV requests
4 years ago
HFO4
a5805b022a
Feat: enable using LAN endpoint in serverside request of OSS policy ( #399 )
4 years ago
HFO4
f0a68236a8
Feat: delete aria2 record in client side ( #335 )
4 years ago
HFO4
c6110e9e75
Feat: keep folder structure in aria2 transferring
4 years ago
HFO4
d97bc26042
Fix: add recycleLock preventing recycle FileSystem used by another goroutine
4 years ago
HFO4
11c218eb94
Merge branch 'master' of https://github.com/cloudreve/Cloudreve
4 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
HFO4
59d50b1b98
Modify: change `Unix` to `UnixSocket` in config section
4 years ago
HFO4
746aa3e8ef
Test: s3 policy
4 years ago
HFO4
95f318e069
Feat: adapt minio for S3 policy and fix listing files
4 years ago
HFO4
77394313aa
Fix: S3 adaption for minio
4 years ago
GuerraMorgan
bfd2340732
Add: Unix Socket support ( #466 )
...
* Update conf.go
* Update driver.go
* Update session.go
* Update defaults.go
* Update main.go
* Update conf.go
* Update defaults.go
4 years ago
ZZF
dd50ef1c25
添加S3策略的支持 ( #425 )
...
* 添加亚马逊S3策略的支持
* 添加CDN支持,公有目录删除无用参数
* 增加Region
4 years ago
HFO4
c71a2c5b64
Modify: version number to 3.1.1
4 years ago
HFO4
a7ba357cb8
Fix: hash mark in file name lead to 404 error ( #405 )
4 years ago
HFO4
e607311268
Update: version number for 3.1.0
5 years ago
HFO4
bfb5b34edc
Fix: concurrent logging lock / Feat: listen SSL ( #287 )
5 years ago
HFO4
5af3c4e244
Fix: directory renaming should not be limited by file extensions ( #395 )
5 years ago
HFO4
280308bc05
Modify: increase OneDrive client uploading chunk size to 100MB
5 years ago
HFO4
1172765c58
Feat: option for using SSL connection in mail queue
5 years ago
HFO4
e8a6df9a86
Feat: import file from existing outer folder
5 years ago
TS
51f66eb06b
Feat: ICP 备案信息 ( #348 )
5 years ago
HFO4
79daf92896
Test: List files in OneDrive
5 years ago
HFO4
8a2be58ef3
Feat: List files in OneDrive
5 years ago
HFO4
ce7784090f
Feat: List files in upyun bucket
5 years ago
HFO4
dfb663a6e0
Feat: List files in Qiniu bucket
5 years ago
HFO4
cfaf20926f
Feat: List files in COS bucket
5 years ago
HFO4
305497e7cb
Test: oss.List
5 years ago
HFO4
52c2422be9
Feat: list oss files
5 years ago
HFO4
1afc750dae
Modify: create folder if not exist while importing files
5 years ago
HFO4
960c886496
Test: slave side list file
5 years ago
HFO4
5d579cdadc
Feat: slave side list file
5 years ago
HFO4
030fd4ac57
Test: task.ImportTask
5 years ago
HFO4
9eeb4b6d19
Feat: task for importing file from existing filesystem
5 years ago
HFO4
36e5b31f73
Modify: add recursive options for list method
...
Test: local.List
5 years ago
cha0sCat
26d4d34837
Feat: webdav 适配 rclone ( #330 )
...
rclone在传输时会反复创建父目录, 导致cloudreve返回409, 最终导致传输失败.
因此检测如果是rclone则忽略文目录已存在错误
5 years ago
HFO4
8c547a05fd
Fix: mismatched pointer receiver in oss.Driver
5 years ago
HFO4
f7311f906b
Feat: add List method to Handler interface / implement local.List
5 years ago
HFO4
6006ff4d22
Feat: regenerate when thumbnail files not exist
5 years ago
ihipop
034ed956a3
Bad syntax for struct tag value `authn` ( #314 )
5 years ago
HFO4
8c3287d380
Test: Policy.IsThumbExist / filesystem.AddFile
5 years ago
HFO4
304e7b502c
Feat: thumbnail support for COS policy
5 years ago
HFO4
514e069113
Refactor: decide if there is a thumbnail based on the file extension
5 years ago
HFO4
ab3b59e63d
Feat: add option to force delete file record in database
5 years ago
HFO4
0575b0aa92
Fix: search function should not convert case ( #288 )
5 years ago
topjohncian
e58fb82463
Feat: ReCaptcha support ( #292 )
...
* Add custom mysql database port.
* Modify: add cloudreve bin file to .gitignore
* Feat:增加后端对ReCaptcha的支持
P.S.必须要执行迁移
5 years ago
HFO4
fa900b166a
Feat: check static files version
5 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
816b537787
Fix: permission error while creating folder recursively
5 years ago
HFO4
e07b09186d
Modify: use 644 permission when creating a new physical directory ( #274 )
5 years ago
HFO4
8c7d075484
Fix: repeated return of capacity when OneDrive WebDAV upload canceled
5 years ago
HFO4
46743f3c1e
Fix: unsupported GET parameters in public OSS bucket
5 years ago
yeungc
6285e45e34
Fix: filename and code typo ( #260 )
...
* Rename handller.go to handler.go
* Rename handller.go to handler.go
* Rename handller_test.go to handler_test.go
* Rename handller.go to handler.go
* Rename handller.go to handler.go
* Rename handller.go to handler.go
* Rename handller.go to handler.go
* Fix typo
5 years ago
HFO4
87fde687eb
Fix: files with percent sign (%) cannot be deleted in OneDrive
5 years ago
HFO4
0eb04ed0ea
Feat: cache for OneDrive META request
5 years ago
HFO4
96983ddc70
Feat: custom SQLite db file path
5 years ago
HFO4
ff2dae80f0
Fix: incorrect thumb path detect while deleting files
5 years ago
HFO4
d1ca65461c
Fix: incorrect capacity unit for OSS traffic limit
5 years ago
HFO4
15074015b3
Fix: file not deleted when aria2 download complete
5 years ago
HFO4
36cec067d9
Fix: OneDrive monitoring should continue when error occurs
5 years ago
HFO4
40f8a73f89
Release: 3.0.0-beta1
5 years ago
HFO4
c74ed10dbd
Test: aria2 / filesystem.image
5 years ago
HFO4
297fc8d5bb
Fix: failed test due to relative path
5 years ago
HFO4
71876a79cd
Fix: failed test due to relative path
5 years ago
HFO4
37de715541
Fix: failed test due to relative path
5 years ago
HFO4
439b5a2ce0
Modify: stop recycle filesystem when generate thumbnails
5 years ago
HFO4
4de0a2577a
Fix: recycle error when handling upload task
5 years ago
HFO4
8ad7702736
Fix: relative path for SQLite file
5 years ago
HFO4
45b54b3455
Modify: clean useless codes
5 years ago
HFO4
09de05548f
Modify: clean crontab
5 years ago
HFO4
4ba24e0cf1
Modify: clean modals
5 years ago
HFO4
4d70f9fa3e
Fix: get execute file path dynamically
5 years ago
HFO4
b6e1e04ce0
Fix: panic while decompress files / Cannot edit policy
5 years ago
HFO4
cb57fdbb59
Fix: nil pointer and initial policy file type wildcard
5 years ago
HFO4
d16f9784e4
Fix: nil pointer in crontab
5 years ago
Aaron
d80446d30f
Feat: cross compile script
5 years ago
HFO4
68d3131521
Feat: cross compile script
5 years ago
HFO4
30311d181d
Feat: embed static files
5 years ago
HFO4
c30c19ca3e
Feat: create SFC for oss callback
5 years ago
HFO4
e8c4660c38
Feat: check policy update before upload
5 years ago
HFO4
2f1f619f2f
Fix: failed test due to modifications
5 years ago
HFO4
c4eada2723
Modify: oss handle sign URL
5 years ago
HFO4
bd643fa2d5
Feat: remote test ping and ping-back
5 years ago
HFO4
f1ef21e195
Feat: add local policy
5 years ago
HFO4
c1d2b933aa
Feat: RWMutex / reload for aira2
5 years ago
HFO4
000a48ff06
Feat: mail SMTP settings
5 years ago
HFO4
ef42ec3927
Modify: create Web Authn instance when needed
5 years ago
HFO4
ce2a70df68
Feat: add read/write lock for authn
5 years ago
HFO4
3ce4b87f2b
Feat: login / register setting in dashboard
5 years ago
HFO4
31d4a0e1c2
Feat: admin dashboard homepage
5 years ago
HFO4
49f784104e
Fix: get site summary in dashboard
5 years ago
HFO4
22cec36751
Fix: failed uint test due to aria2 internal package
5 years ago
HFO4
8d9dee6e3d
Test: migration modifications
5 years ago
HFO4
a8272a66b7
Modify: move aria2 into internal packages / migration version check
5 years ago
HFO4
1ac4767db7
Feat: reset password by Email
5 years ago