Roman Burunkov
f8116c49ab
Merge pull request #150 from RomanBurunkov/master
...
Adds uriDecodeFileNames option
5 years ago
Roman Burunkov
036d908397
Make uriDecodeFileName lighter
5 years ago
Roman Burunkov
82bb1897eb
Bump version
5 years ago
Roman Burunkov
52801a1d35
Add description for uriDecodeFileNames option
5 years ago
Roman Burunkov
c010f29e66
Use uriDecodeFileName for file name.
5 years ago
Roman Burunkov
d90e54837e
Add tests for uriDecodeFileName function
5 years ago
Roman Burunkov
491b6b7474
Add uriDecodeFileName function
5 years ago
Roman Burunkov
8b1c0e6351
Add uriDecodeFileNames option
...
Add uriDecodeFileNames option
5 years ago
Roman Burunkov
a5a8b9846d
Merge pull request #6 from richardgirges/master
...
Merge to actual version
5 years ago
Roman Burunkov
4bfd2b72c5
Add length to Buffer.concat invoke
...
Add length to Buffer.concat invoke.
That should increase performance according to the node documenation.
If totalLength is not provided, it is calculated from the Buffer instances in list. This however causes an additional loop to be executed in order to calculate the totalLength, so it is faster to provide the length explicitly if it is already known.
5 years ago
Roman Burunkov
700a5ef065
Update utilities.js
...
Make it lighter with some refactoring.
Use const instead of let for several variables.
5 years ago
Roman Burunkov
a61e8bf3d1
Update utilities.js
...
Make it lighter
5 years ago
Roman Burunkov
47628a8e80
Merge pull request #146 from closingin/fix/create-parent-path-recursively
...
Add support for recursive path creation in createParentPath
5 years ago
Rémi Weislinger
2ea495612a
Add support for recursive path creation in createParentPath
5 years ago
Roman Burunkov
e9a5f2fc76
Merge pull request #5 from richardgirges/master
...
Sync fork with main reppo
5 years ago
Roman Burunkov
345ef9a09f
Bump version
5 years ago
Roman Burunkov
15923a23a0
Add details about empty file data for useTempFiles
...
Add details about empty file data for useTempFiles
5 years ago
Roman Burunkov
fac7e5988f
Merge pull request #140 from RomanBurunkov/master
...
Add limitHandler
5 years ago
Roman Burunkov
27e5b9b48a
remove unneeded next func
5 years ago
Roman Burunkov
8229f3245f
Define isFunc from utilities
5 years ago
Roman Burunkov
b632cc954c
Add limitHandler description
5 years ago
Roman Burunkov
89c9e60c74
Add limitHandler tests
5 years ago
Roman Burunkov
855b99e808
Add limitHandler tests
5 years ago
Roman Burunkov
c5b93a0b36
Add limitHandler support
...
Run user defined limit handler function if upload limit reached.
5 years ago
Roman Burunkov
0cec5ed5df
Merge pull request #137 from RomanBurunkov/master
...
Anchancements for isEligibleRequest and fileFactory
5 years ago
Roman Burunkov
9a799b3d1f
Define buildFields function
5 years ago
Roman Burunkov
8808c15d71
Add simple buildFields test.
5 years ago
Roman Burunkov
c14f2b39ce
buildFields do nothing if value is empty
5 years ago
Roman Burunkov
0179b84fce
Moved issue #14 check to fileFactory
5 years ago
Roman Burunkov
acf0f8e16b
Returns empty value for issue #14
5 years ago
Roman Burunkov
204b0341a0
Add tests for empty buffer and in memory upload.
...
This check needed for issue #14 .
5 years ago
Roman Burunkov
74901848f8
Add tests for case when tempFileDir is empty
...
Add tests for case when tempFileDir is empty.
Make file lighter.
5 years ago
Roman Burunkov
612b48217d
Small anchancements
...
Make it lighter
Change multipart regexp to /^(multipart\/.+);(.*)$/i
5 years ago
Roman Burunkov
b589056ade
Merge pull request #136 from RomanBurunkov/master
...
Make code lighter
5 years ago
Roman Burunkov
55ddbcd772
Forgot to add buildFields code
5 years ago
Roman Burunkov
41a9488516
Make it lighter
5 years ago
Roman Burunkov
6da92b3384
Make code lighter
5 years ago
Roman Burunkov
ab44dbd6f2
Use moveFile
...
Use moveFile function for 'mv' method to move temporary files.
Make code lighter.
5 years ago
Roman Burunkov
e946d3fef8
Use buildFields
...
Building fields functionality had been duplicated in this code to times, so new buildFields function made code lighter.
5 years ago
Roman Burunkov
3c0983075e
Add tests for errorFunc and deleteFile
5 years ago
Roman Burunkov
29bf61646c
Add deleteFile, moveFile, errorFunc, buildFields
...
Add new functions:
- deleteFile,
- moveFile,
- errorFunc,
- buildFields
5 years ago
Roman Burunkov
c07b81d812
Merge pull request #135 from RomanBurunkov/master
...
add functions to parse file names
5 years ago
Roman Burunkov
469f9c3746
More shorter...100 symbols it's very strict
5 years ago
Roman Burunkov
af1a203c5c
Make description more shorter ;)
5 years ago
Roman Burunkov
494e378de7
Make description shorter
5 years ago
Roman Burunkov
c77703de0d
Prettify
5 years ago
Roman Burunkov
edbcba7295
prettify
5 years ago
Roman Burunkov
cefe127ef8
Add tests for parseFileName func
5 years ago
Roman Burunkov
5963c1e00c
Made parseFileName a bit lighter
...
Made parseFileName a bit lighter to met linter expectations.
5 years ago
Roman Burunkov
59e478567c
Use parseFileName for safeFileNames feature.
5 years ago