mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Fixed Non-ASCII attachment filename will crash when downloading.
Thanks to xet7 ! Fixes #2759
This commit is contained in:
parent
843ff8eaaa
commit
c2da477735
277 changed files with 30568 additions and 52 deletions
38
packages/wekan-cfs-worker/api.md
Normal file
38
packages/wekan-cfs-worker/api.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
## cfs-worker Public API ##
|
||||
|
||||
CollectionFS, file worker - handles file copies/versions
|
||||
|
||||
_API documentation automatically generated by [docmeteor](https://github.com/raix/docmeteor)._
|
||||
|
||||
TODO: Use power queue to handle throttling etc.
|
||||
Use observe to monitor changes and have it create tasks for the power queue
|
||||
to perform.
|
||||
-
|
||||
|
||||
### <a name="FS.FileWorker"></a>*fs*.FileWorker Object <sub><i>Server</i></sub> ###
|
||||
|
||||
*This property __FileWorker__ is defined in `FS`*
|
||||
|
||||
|
||||
> ```FS.FileWorker = { ...``` [fileWorker.js:9](fileWorker.js#L9)
|
||||
|
||||
|
||||
-
|
||||
|
||||
### <a name="FS.FileWorker.observe"></a>*fsFileworker*.observe(fsCollection) <sub><i>Server</i></sub> ###
|
||||
|
||||
*This method __observe__ is defined in `FS.FileWorker`*
|
||||
|
||||
__Arguments__
|
||||
|
||||
* __fsCollection__ *{[FS.Collection](#FS.Collection)}*
|
||||
|
||||
__Returns__ *{undefined}*
|
||||
|
||||
|
||||
Sets up observes on the fsCollection to store file copies and delete
|
||||
temp files at the appropriate times.
|
||||
|
||||
> ```FS.FileWorker.observe = function(fsCollection) { ...``` [fileWorker.js:20](fileWorker.js#L20)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue