Commit Graph

30 Commits

Author SHA1 Message Date
Ruben van de Ven cf0cd38269 Fix #358 - migrate to S3 policy v4 to support AWS4-HMAC-SHA256 2020-09-04 22:08:38 +02:00
Andrew Nicolaou a225d28f75 Use apiClient instance instead of directly calling Axios
Reduces the amount of duplication and provides a single place where
we can configure base URL, crendentials and other headers
2020-06-08 12:31:30 +02:00
Andrew Nicolaou 65aefcd45b Replace getConfig helper to read value from process.env 2020-06-08 11:46:38 +02:00
shakti97 15b3fa8312 Fix(axios error handling issue) 2020-04-25 20:18:39 +05:30
Cassie Tarakajian 59fe175ede Fix merge conflict for cherry picking 11833e9880257fe8164331689f77f8aa11df6a2a 2020-03-03 14:45:02 -05:00
Stalgia Grigg e79ab18a0c Add content-type to assets uploaded to s3 2019-10-21 12:54:56 -07:00
Cassie Tarakajian 7cb2847b94 fix error with undefined env S3_URL_BUCKER_BASE 2018-08-30 19:35:03 -04:00
Cassie Tarakajian 6705e4c3f8 load client-side environment variables at runtime 2018-08-24 17:41:23 -04:00
Cassie Tarakajian 9958619fc4 fixes #630 and updates codemirror 2018-05-30 15:23:32 -07:00
Cassie Tarakajian c90dac55b7 update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
Francis Li 76a81bb1a0 Fixes #497 by adding support for an optional new env variable, S3_BUCKET_URL_BASE (#499)
* Fixes #497 by adding support for an optional new env variable, S3_BUCKET_URL_BASE

* Add a section to README about optional S3 bucket URL base configuration.
2017-12-13 14:56:24 -05:00
Cassie Tarakajian 2a9ea85ed8 #339 add region to .env 2017-04-13 14:39:03 -04:00
Cassie Tarakajian aaa5e868e2 make inital changes for #169--need to migrate the locations of a user's s3 files to be namespaced under their userid 2017-04-06 14:34:14 -04:00
Andrew Nicolaou 6af92a4a32 Exposes API endpoint URL to client via env variable (#323) 2017-03-16 00:34:14 -04:00
Cassie Tarakajian e87390adb9 update eslint to latest version, fix lots of linting errors (#308)
* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* fix some accessibility linting errors

* fix a lot of linting errors

* fix a billion more linting errors

* hopefully fix all linting errors, still need to test

* fix bugs that fixing linting had caused
2017-02-22 14:29:35 -05:00
Cassie Tarakajian ed49f4f576 remove console.log 2016-12-13 20:08:10 -05:00
Cassie Tarakajian 5711c3b4da start to add file to delete unused files from S3 2016-12-13 20:07:02 -05:00
Cassie Tarakajian 315e83c593 fix #152, puts a limit on the local file size 2016-10-25 15:51:44 -04:00
Cassie Tarakajian 61925b67e4 show error messages for invalid files 2016-10-24 21:15:32 -04:00
Cassie Tarakajian 8aeb044509 fix bug where plaintext files were being posted to s3 2016-10-24 16:33:16 -04:00
catarak 9e6d4b56bd change isSelected to isSelectedFile, add db reformat 2016-09-14 15:57:52 -04:00
catarak 2d4cb76edf fix other urls that should be https 2016-09-08 22:15:29 -04:00
catarak b004fd077f change http urls to https 2016-09-08 22:02:42 -04:00
catarak 1de8c02cf2 fix a few regexes for preview frame 2016-08-25 12:39:36 -04:00
catarak ec728eb392 fix uploading when project is saved 2016-08-25 11:25:22 -04:00
catarak a1dcf77557 upload text files locally 2016-08-25 00:18:28 -04:00
catarak 7952eee7bd update readme, add s3 bucket to webpack config 2016-07-20 19:48:00 -04:00
catarak 625608ebbb when uploading file, add file to project 2016-07-19 18:27:27 -04:00
catarak b3956fb91b file upload to aws works 2016-07-19 18:27:27 -04:00
catarak c677c37597 get dropzone to render 2016-07-19 18:27:27 -04:00