Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16d6161

Browse files
committed
Adding license file and some readme
1 parent b100e23 commit 16d6161

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2011, Zoltan Toth-Czifra
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of the <organization> nor the
12+
names of its contributors may be used to endorse or promote products
13+
derived from this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Introduction ##
2+
3+
Js-secure-uploader is a framework-independent Javascript library that allows you to upload files to a remote server with client-side integrity checking.
4+
5+
It works with the latest HTML5 technologies (File API, Web workers) therefore its browser support is very limited, currently only works with Chrome.
6+
7+
It is capable to upload really big files to be combined on server side. It is because js-secure-uploader creates small chunks of the files, and calculates hash for each (and the entire file too).
8+
9+
At the moment only SHA1 hash is supported, but in the future other integrity checking methods (CRC32, MD5) are coming.
10+
11+
For usage hint see examples. If you happen to miss the comment in the PHP example: DON'T use it in production.
12+
13+
## Things that are missing ##
14+
15+
...but will come soon.
16+
17+
- Firefox support
18+
Once this bug is fixed in FF, it should work there too: https://bugzilla.mozilla.org/show_bug.cgi?id=664783
19+
I am planning to add support anywazs with async file read in the worker, but it's a bit ugly.
20+
21+
- Optimizations
22+
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
23+
I am currently in the "yet" phase.
24+
25+
- More hash algorithms - you can open issues if you need any. CRC32 and MD5 are planned.
26+
27+
- More tests - if js-test-driver would not be so buggy, I could have written all the tests for all objects. But it is buggy.
28+
29+
- More user interface magic
30+
31+
## License ##
32+
33+
Js-secure-uploader comes for free, open-sourced, with the new (3 clause) BSD license that you can read in the LICENSE file.

0 commit comments

Comments
 (0)