makinacorpus/drupal-filechunk

Name: drupal-filechunk

Owner: Makina Corpus

Description: Drupal chunked file upload widget

Created: 2016-01-26 12:50:15.0

Updated: 2016-11-09 10:38:46.0

Pushed: 2017-11-27 12:04:26.0

Homepage: null

Size: 365

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Drupal chunked file upload widget

Adds a managed file widget that uploads files per chunks using pure JavaScript.

Version 1.x carries its own JavaScript widget, which due to a recent regression does not work with Internet Explorer 11 anymore. It will be as of now, unmaintained.

Version 2.x brings a shared widget fully rewritten using TypeScript, targetting es5, transpiled and polyfilled using Babel, which works gracefully with IE11.

Version 2.x drops the untested gracefull downgrade feature, which makes it unusable with Internet Explorer <11 and with browsers which don't support the FileReader API.

JavaScript source code

JavaScript source code is written using TypeScript, you can find it there: https://github.com/makinacorpus/filechunk-front

Side by side with Gulpifier

If you use the gulpifier module, you should add these 2 lignes into your themes `.info` files:

ings[gulpifier_whitelist][css][] = filechunk:filechunk.css
ings[gulpifier_whitelist][js][] = filechunk:filechunk.js

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.