Roman Burunkov
8b32412f98
Merge pull request #127 from RomanBurunkov/master
...
mv works across filesystems
5 years ago
Roman Burunkov
a308223eac
Merge branch 'master' into master
5 years ago
Roman Burunkov
9f2443e971
Bump version
...
Bump version to 1.1.3-alpha.1 and also set "node" to ">=6.0.0", since according to the docs module doesn't suppoort node versions less the 6
5 years ago
Roman Burunkov
86a4cda494
Exclude streamifier dependancy
5 years ago
Roman Burunkov
bb22dec4c5
Exclude streamifier dependancy
5 years ago
Roman Burunkov
f8c078df0d
Fix typo
5 years ago
Roman Burunkov
d261a7a2be
More prettify
5 years ago
Roman Burunkov
2b590f7a94
Prettify
5 years ago
Roman Burunkov
5a65a66afd
Prettify
5 years ago
Roman Burunkov
7f28d28346
Remove unused index value
5 years ago
Roman Burunkov
0161ab1f20
Fix too long row
5 years ago
Roman Burunkov
f7fd641ed7
bump version
5 years ago
Roman Burunkov
a4f13ff5d1
Fix for mv: works accross filesystems
...
Now mv use copy + unlink instead of rename for moving temporary files.
5 years ago
Roman Burunkov
02eea189ce
Update tests
...
Added tests for utilities.js.
Added checks for md5 and size for uploaded files.
5 years ago
Richard Girges
35273c2f52
version bump
5 years ago
Richard Girges
9f0eed23f6
Merge pull request #126 from RomanBurunkov/master
...
Adds file size and md5 hash support
5 years ago
Roman Burunkov
edff9eb917
Fix typos
5 years ago
Roman Burunkov
049522c187
Added info about size parameter
...
Corrected version to 1.1.1 and added info about 'size' parameter.
5 years ago
Roman Burunkov
02e15cb067
Removed unused variable
5 years ago
Roman Burunkov
35b9668865
Removed unused index variable
5 years ago
Roman Burunkov
2e839cb52a
Fix line 40 to long issue.
5 years ago
Roman Burunkov
9212470685
Moved md5 to the dev dependancies.
...
Moved md5 to the dev dependancies, since it used only for testing porpuse.
5 years ago
Roman Burunkov
224cefce52
Change info about md5 hangling.
5 years ago
Roman Burunkov
380fa22e1a
Add tests for md5 and file size results
5 years ago
Roman Burunkov
71a61d2035
Adds file size and md5 hash support
...
This commit add file size to the output object and md5 hash wich know calculates during uploading instead of returning md5 compute function.
Know md5 can be returned for both upload options: in memory or in the temporary file and support huge files.
5 years ago
Roman Burunkov
31b27c9f2a
Merge pull request #124 from RomanBurunkov/master
...
move mv method local funcs outside of the factory
5 years ago
Roman Burunkov
620eada2b9
Remove return in the arrow function isFunc
5 years ago
Roman Burunkov
410d451e4d
Update fileFactory.js
...
Added isFunc function
Moved callback logic into moveFromBuffer & moveFromTemp.
5 years ago
Roman Burunkov
a8fa3f994a
Added several semicolons
5 years ago
Roman Burunkov
51675b5c46
Fix typo
5 years ago
Roman Burunkov
273cadb8f8
move mv method local funcs outside of the factory.
...
Moved 'mv' method local functions outside of the factory.
Added some comments.
Now in mv method we have one entry point for checking upload type(into memory or into a temporary file) instead of checking it two times for callback and promise cases.
Added check if callback is a function.
5 years ago
Roman Burunkov
63cfcce92b
Merge pull request #2 from richardgirges/master
...
Merge with a main branch
5 years ago
Richard Girges
9e9a41e16f
version bump
5 years ago
Richard Girges
57669b44e3
Merge pull request #119 from RomanBurunkov/master
...
Move in memory handler to the separate module.
5 years ago
Roman Burunkov
710225db80
complete function returns empty buffer
...
complete function returns empty buffer since uploaded to the temporary file.
5 years ago
Roman Burunkov
d027a76218
Fix data handler name type
5 years ago
Roman Burunkov
92dc663ae0
Move fine name regexp under condision
5 years ago
Roman Burunkov
7fda6919aa
Fix data handler name typo
5 years ago
Roman Burunkov
1d4f82f8df
Remove extra buffer variable.
5 years ago
Roman Burunkov
610b94d543
Add fieldname, filename to the memHandler.
5 years ago
Roman Burunkov
8ee6cf0da0
Fix extra semo-colomn at line 58
5 years ago
Roman Burunkov
376f37860f
Update memHandler.js
...
Add file size loging in debug mode
Return empty string for getFilePath method.
5 years ago
Roman Burunkov
7747c34b64
Add size option
...
Add size option
5 years ago
Roman Burunkov
0ec1a9a86a
Update memHandler.js
...
Generalization of the upload handler interface.
5 years ago
Roman Burunkov
0f94904016
Update tempFileHandler.js
...
Generalization of the upload handler interface.
5 years ago
Roman Burunkov
cf82442b51
Use common upload handler interface
...
Use common upload handler interface instead of variants of in memory and temp file handlers with checking useTempFiles option.
5 years ago
Roman Burunkov
a986c94426
Create separate module for memory upload handler
...
Moving memory upload handler to the sepate file to separate logic for upload handling and in attempt to unificate upload handler interface.
5 years ago
Roman Burunkov
dc32e489c9
Update processMultipart.js
...
Change tempFileHandler declaration.
5 years ago
Roman Burunkov
9cbf60279a
Update tempFileHandler.js
...
Assign module.exports directly to the main module function(since it is currenlty only one function which could be used from outside).
5 years ago
Roman Burunkov
8aa9cee20a
Merge pull request #1 from richardgirges/master
...
Merge pull request #116 from RomanBurunkov/master
5 years ago