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 |
Roman Burunkov
|
509cdeb466
|
Add funcs to parse file names
Add parseFileName, parseFileNameExtension functions.
|
5 years ago |
Roman Burunkov
|
6da1d78969
|
Merge pull request #134 from RomanBurunkov/master
Add debugLog util function
|
5 years ago |
Roman Burunkov
|
aa636ddfd0
|
Add semicolon after debugLog function.
|
5 years ago |
Roman Burunkov
|
93482f431b
|
Add require for debugLog
|
5 years ago |
Roman Burunkov
|
f334308986
|
Add require for debugLog
|
5 years ago |
Roman Burunkov
|
408be8b29e
|
Add debugLog tests
|
5 years ago |
Roman Burunkov
|
f0cdce0bf9
|
Use debug log for logging.
|
5 years ago |
Roman Burunkov
|
b3fce9ebbf
|
Use debug log for logging.
|
5 years ago |
Roman Burunkov
|
74573ab4ae
|
Add debugLog function
|
5 years ago |
Roman Burunkov
|
4b8a3372a6
|
Merge pull request #133 from RomanBurunkov/master
Adds responseOnLimit option
|
5 years ago |
Roman Burunkov
|
1198c2bbd4
|
Fix typos
|
5 years ago |
Roman Burunkov
|
c66bbe541d
|
Added responseOnLimit description.
|
5 years ago |
Roman Burunkov
|
b804a6cc2e
|
Use responseOnLimit
Use responseOnLimit as a response for aborting on limit.
|
5 years ago |
Roman Burunkov
|
47796fec62
|
Added new options: responseOnLimit, limitHandler
Added new options:
responseOnLimit: 'File size limit has been reached',
limitHandler: false,
|
5 years ago |
Roman Burunkov
|
aed2b0004b
|
Merge pull request #4 from richardgirges/master
Sync with main src.
|
5 years ago |