Commit Graph

38 Commits

Author SHA1 Message Date
Dmitriy Shekhovtsov
b55c85218e fix(typing): added authTokenHeader property to options and file upload class 2016-10-19 14:15:56 +03:00
Jose Berrocal
282295ce20 feat(file-upload): Add the possibility of set the token header (#213)
It will be very useful set which is the Token that is going to be send to the server
2016-10-19 13:45:02 +03:00
GuardianFree
1a4eb3a0fd fix(file-uploader):Changing url when files are selected does not work (#448)
* fix issue #406 Changing url when files are selected does not work

* fix issue #406 Changing url when files are selected does not work

* fix issue #406 Changing url when files are selected does not work

fixes #406
2016-10-19 12:33:59 +03:00
Serhii Solonko
b886f7846b Fix #22: Unable to set form's "name" on file upload 2016-09-20 15:39:30 +02:00
Oleksandr Telnov
cdc76cced0 add ng2-webpack-config 2016-09-15 10:22:43 +03:00
Adrian Fâciu
0e7e397f7d Fixing test execution 2016-09-10 12:14:21 +03:00
Adrian Fâciu
48128becdd Fixing tests and lint errors 2016-09-07 22:24:43 +03:00
Adrian Fâciu
e9d356b1ce Updating to RC6 2016-09-07 00:03:35 +03:00
Tim Donohue
22307d266f feat(multipart): Create disableMultipart option in FileUploader (#224)
* Create disableMultipart option in FileUploader

* Add basic docs
2016-06-21 17:48:12 +03:00
Johannes Hiemer
e068511917 fix(uploader): Add the ability to upload files via PUT instead of POST (#239)
* Add the ability to upload files via PUT instead of POST

* Add the method Propery to FileUploaderOptions

* Added braces and removed whitespaces.
2016-06-06 14:10:13 +03:00
Marvin Scharle
db77e89235 fix(zone.js): error in Safari, Added Typings (#221)
* Changed tsconfig.json to match tsconfig schema

* Change package.json to include all necessary packages for this package

* Added type for EventEmitter

* Fix for zone.js error "More tasks executed then were scheduled" in Safari, explicit call of NgZone not required in zone.js ^0.6.12

* Added type information for methods in FileUploader

* Added type information for methods in FileItem

* Added type information for methods in FileUploader

* Removed codelyzer / eslint according to PR valor-software/ng2-file-upload#221
2016-06-02 16:17:25 +03:00
Dmitriy Shekhovtsov
9461806f21 chore(onFileDrop): emit all dropped files 2016-05-12 15:56:35 +03:00
Dmitriy Shekhovtsov
893618da37 Merge branch 'master' of git://github.com/Ibrahim-Islam/ng2-file-upload into Ibrahim-Islam-master
Conflicts:
	components/file-upload/file-drop.directive.ts
2016-05-12 15:55:25 +03:00
Dmitriy Shekhovtsov
3dd2c0e952 Merge of onBuildForm 2016-05-12 15:50:50 +03:00
Dmitriy Shekhovtsov
ef6091c670 fix(upload): merge fix and get filters fix 2016-05-12 15:15:03 +03:00
Vojtěch Kaláb
d938aa1c39 # This is a combination of 3 commits.
# The first commit's message is:
feat(uploader): huge uploader update
- creted uploader options
- added `file type` support
- added headers to xhr
- rename FileUploaderSettings => FileUploaderOptionsInterface
- added public methods set Options
- created filter from set options
- added demo component

# The 2nd commit message will be skipped:

#	rename FileUploaderSettings => FileUploaderOptionsInterface

# The 3rd commit message will be skipped:

#	added public method setOptions
2016-05-11 19:40:26 +03:00
Dmitriy Shekhovtsov
d080bd1306 Merge branch 'master' of git://github.com/sylvaindumont/ng2-file-upload into sylvaindumont-master 2016-05-11 19:18:39 +03:00
Dmitriy Shekhovtsov
9d8de6cf1f Merge branch 'patch-1' of git://github.com/bensgroi/ng2-file-upload into bensgroi-patch-1
Conflicts:
	components/file-upload/file-uploader.class.ts
2016-05-11 19:16:47 +03:00
Dmitriy Shekhovtsov
6538dfa18b Merge branch 'patch-1' of git://github.com/rickblokdijk/ng2-file-upload into rickblokdijk-patch-1
Conflicts:
	components/file-upload/file-item.class.ts
2016-05-11 19:15:06 +03:00
Dmitriy Shekhovtsov
aee69d8b80 chore(build): ng2 style guide applied,
- build process updated
- systemjs bundler added

BREAKING CHANGES:
- directives and selectors renamed to ng2FileSelect and ng2FileDrop
2016-05-11 18:40:47 +03:00
Carlos Iriarte
13c5c35864 feat(package): upgrade to angular 2.0.0-rc.1 (#176)
* Upgrade to angular 2.0.0-rc.1

* Add a simple .travis.yml

closes #180

* Upgrade to ng2-bootstrap 1.0.16

* Install typings on prepublish

* (chore) Fix rxjs dependency, moved it to dev dep

* (chore) Upgrade to node 6. Keep mandatory deps.
2016-05-07 10:39:03 -06:00
Ibrahim Islam
6db3c7e160 exposes an event for file drop
Emits an event passing in raw `File` dropped
2016-04-02 16:46:09 +06:00
Sylvain Dumont
a9e093ed2b expose autoUpload 2016-02-17 23:57:09 +01:00
Ben Sgroi
a122d6703d Effective default queue limit of 0
If you don't set the queueLimit manually, then it's undefined, so the queueLimitFilter never allows any files by default. I modified the filter to ignore the queueLimit if it's undefined.
2016-02-12 11:14:59 -08:00
HLaiveling
bfba51cd93 Update file-uploader.ts
Filters were not being used when adding a file to the queue.  Updated to pass in arrayOfFilters instead of an empty array.
2016-02-03 11:28:16 -05:00
Rick Blokdijk
8db149ffe5 Update file-item.ts
See: https://github.com/valor-software/ng2-file-upload/issues/29
Fixed by updating progress inside zone.run()
2016-01-23 00:04:40 +01:00
Dmitriy Schekhovtsov
7fdbc6ede6 chore(version): upgrade to angular2 beta-0 2016-01-08 15:35:12 +02:00
buchslava
590a18243b Updated: add tokes desc to readme #8 2015-12-03 14:56:11 +02:00
buchslava
9f70a99c41 Fixed: EventEmitter generic #8 2015-12-02 17:19:56 +02:00
buchslava
80b066c021 Updated: auth token support & small TS fix #8 2015-12-02 17:09:15 +02:00
Matthew de Nobrega
1e908fd8cf Upgraded to Angular2 2.0.0-alpha.46
Added node_modules to .npmignore - node modules shouldn't be installed with npm and cause Typscript duplicate definition errors
Removed reference to _destroy in removeFromQueue (this was removed from the FileItem class but was still being called)
Put in required type for EventEmitter
Moved peer dependencies from dependencies to peer dependencies
2015-11-18 21:36:26 +01:00
Dmitriy Schekhovtsov
61bbb9d3b5 chore(deps): use angular2 0.44 and ensure noImplicitAny:true builds 2015-10-21 13:21:52 +03:00
buchslava
a117a30c93 Updated: readme for demo 2015-10-16 11:06:06 +03:00
buchslava
68306ab6fc Updated: prettify the solution 2015-10-15 19:32:07 +03:00
buchslava
a2f774a0be Updated: angular2 0.42.0 integration 2015-10-15 19:25:47 +03:00
buchslava
d993060c62 Updated: angular2 0.40.0 integration 2015-10-15 13:08:11 +03:00
buchslava
9edba490fc Updated: working version 2015-10-12 13:28:34 +03:00
buchslava
b15fd587ae Updated: starter 2015-10-08 17:29:52 +03:00