aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/assets/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Don’t include an undefined X-CSRF-Token headerCameron Bothner2018-12-271-1/+4
| | | | | | | If there is not a `csrf-token` meta tag in the document, the blob record XHR was including an `X-CSRF-Token` header set to the string "undefined." Instead of setting it to undefined, it should not be included in the absence of a meta tag.
* ASt direct uploads: account for <button type="submit"> elementsTasos Maschalidis2018-11-241-2/+2
|
* activestorage: yarn buildbogdanvlviv2018-08-191-4/+4
| | | | Context https://github.com/rails/rails/pull/33413#issuecomment-414137587
* Enable multiple submit buttons for Active Storage formsChris Seelus2018-08-181-1/+10
|
* Fix directly uploading zero-byte filesGeorge Claghorn2018-07-271-1/+1
| | | | Closes #33450.
* Unminify activestorage.jsJavan Makhmali2018-04-251-1/+930
|
* fixes a bug in IE11 that broke direct uploadskylekeesling2018-04-061-1/+1
|
* Rebuild activestorage.jsGeorge Claghorn2018-02-281-1/+1
|
* Clear Blob's type before sending itGeorge Claghorn2018-02-261-1/+1
| | | | Prevent older versions of Chrome from appending a Content-Type header containing the Blob type, rendering the request invalid if we intend not to provide a Content-Type. This behavior was observed in Chrome 58.
* Rebuild activestorage.jsJavan Makhmali2018-01-081-1/+1
| | | | To pick up 21417e02e906f6b64f013aafefdc0cb8ea8b5e74
* Active Storage: Fix direct uploads in IE 11Javan Makhmali2017-12-231-1/+1
| | | | | Fixes #31531 Closes #31540
* Fix activestorage direct upload on firefox_N_I_X_O_N_2017-09-121-1/+1
| | | | | | | | Direct upload on firefox is not working because it can’t handle click events on “input[type=submit]”. After a successful upload we can see on console a xml parse error, it happens because AWS S3 success body response is empty, so changing the reponseType suppress this error.
* Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'Rafael Mendonça França2017-07-311-0/+1
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58