Commit graph

1425 commits

Author SHA1 Message Date
Joey Lee
6faf52f61e Added script to download and save all generative-design project examples to p5-web-editor (#526)
* replaced () with {} to fix implicit return error

* added first version of fetching generative-design examples

* ignore local testing files

* formatting

* updated examples-gg-latest

* updated examples-gg-latest.js

- data files not served via rawgit - hallelujah!
- added jquery

* updated p5 version

* refactoring and code cleanup

* added comment

* comment out link to svgFiles - unused

* moved commented code

* fixed conflicts

* linted examples-gg-latest
2018-02-08 16:02:35 -05:00
Cassie Tarakajian
3307613aec
adds slugify feature for #522 (#523) 2018-02-07 16:00:09 -05:00
Dhruvdutt Jadhav
e7abb55ee7 Fixes #515 Update React to 16 and other dependencies (#519)
* Update to react, react-dom 16.2.0

* Update react-redux

* Update react-tabs

* Update redux-devtools

* Update redux-devtools-dock-monitor

* Update redux-devtools-log-monitor

* Add prop-types package

* Update gitignore

* Update all files to use prop-types package

* Update react-router

* Update react-inlinesvg
2018-02-07 13:06:07 -05:00
Chris Hallberg
62670e6dda Add allow-modals to iframe, allowing alert and prompt. Discussed in Issue #507. (#518) 2018-02-07 12:47:25 -05:00
Mr.tang
798e748d8f Fixes #513 add cross-env to set environment variables across platform (#514)
* Fixes #513 add cross-env to set environment variables across platform

* fix different line endings across platforms

* manually install loop-protect

* fix some err space

* update loop-protect version

* restore loop-protect
2018-02-06 11:53:15 -05:00
Cassie Tarakajian
86318795ef update p5 versions to latest 2018-02-01 17:17:05 -05:00
Cassie Tarakajian
d2b7f75cfd
fixes #475 (#512) 2018-02-01 17:16:54 -05:00
Cassie Tarakajian
6cd71acb81
update list of mime types and move to common server and client file (#511)
Fixes #476 and fixes #450
2018-02-01 16:45:19 -05:00
Cassie Tarakajian
c50f64c0f3 fix linting errors 2018-01-09 16:21:40 -05:00
Cassie Tarakajian
81f7c53a1b update script to migrate assets to cdn url 2018-01-09 16:12:02 -05:00
Cassie Tarakajian
fb1684ce4b add isAuthenticated middleware, add isAuthenticated middleware to certain routes, make all other routes consistent 2018-01-09 15:57:49 -05:00
Cassie Tarakajian
5738b07515 fix bug where undefined environment variables client side were the string 'undefined' 2018-01-09 12:40:44 -05:00
Francis Li
2f29d6add1 Fixes #500 removes CSRF token setting in cookie and validation on request (#501) 2018-01-08 16:12:55 -05:00
Cassie Tarakajian
b45e53483f try moving url if key does not exist 2018-01-08 15:01:43 -05:00
Cassie Tarakajian
9cf50aa8d5 keep playing with logging 2018-01-08 14:57:49 -05:00
Cassie Tarakajian
faae16d930 add more logging 2018-01-08 14:44:32 -05:00
Cassie Tarakajian
b4833a6fb1 log userid 2018-01-08 14:41:27 -05:00
Cassie Tarakajian
26b37b6ec7 add logging, call file cb if key does not exist 2018-01-08 14:39:33 -05:00
Cassie Tarakajian
3f5420d437 don't crash if file doesn't exist 2018-01-08 14:34:56 -05:00
Cassie Tarakajian
d58d8ea0bd finish moving migration of projects to username folder to chunks 2018-01-08 14:26:51 -05:00
Cassie Tarakajian
899b5c9710 update migration to move assets to under user id 2018-01-08 13:51:35 -05:00
Cassie Tarakajian
a11e37116a fix callback mismatch 2017-12-27 12:29:36 -05:00
Cassie Tarakajian
4d5f18b1de remove console.log 2017-12-27 12:23:04 -05:00
Cassie Tarakajian
6612919f96 remove stray async 2017-12-27 12:22:12 -05:00
Cassie Tarakajian
fbc0dd40da process all files 2017-12-27 12:20:59 -05:00
Cassie Tarakajian
d4f78e0800 another fix 2017-12-27 12:20:04 -05:00
Cassie Tarakajian
665b1440d3 only use async 2017-12-27 12:18:23 -05:00
Cassie Tarakajian
00e49d647e change move bucket name to use async 2017-12-27 12:04:52 -05:00
Cassie Tarakajian
b2ee44a6c2 only save files that need to be saved 2017-12-26 22:23:45 -05:00
Cassie Tarakajian
754518bf77 fix syntax error 2017-12-26 22:21:41 -05:00
Cassie Tarakajian
9127d8f553 trying this again 2017-12-26 22:21:02 -05:00
Cassie Tarakajian
362a9702f4 maybe use await correctly now? 2017-12-26 22:17:53 -05:00
Cassie Tarakajian
434ee8e013 using await for the first time 2017-12-26 22:08:20 -05:00
Cassie Tarakajian
f196c4ebf8 more debugging 2017-12-26 21:57:44 -05:00
Cassie Tarakajian
ce89d6cc78 there is going to be a string of terrible commit messages while i fix this and the world will have to accept this 2017-12-26 21:55:56 -05:00
Cassie Tarakajian
cdd4f1c29b need to limit the number of projects loaded into runtime memory... 2017-12-26 21:54:09 -05:00
Cassie Tarakajian
0ba9f33f09 more debugging for migration 2017-12-26 21:50:45 -05:00
Cassie Tarakajian
ad269d60c6 add printing project name for debugging 2017-12-26 21:49:44 -05:00
Cassie Tarakajian
6abaf99899 for testing, exit after first file 2017-12-26 21:48:37 -05:00
Cassie Tarakajian
1c0da9320f actually save project in db migration 2017-12-26 21:47:11 -05:00
Cassie Tarakajian
9880ec5070 add database migration to move s3 bucket 2017-12-26 21:43:49 -05: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
Francis Li
c820b6258f Fixes #494 removes extra / in webpack url references in index.html (#495) 2017-12-08 15:07:54 -05:00
Francis Li
aadd533061 Fixes #491 adds support for a configurable cache-control max-age setting for serving static assets, with a default of 1d on production and 0 elsewhere (#492) 2017-12-08 15:01:39 -05:00
Francis Li
82ca755362 Fixes #489, only logs request in development (#490) 2017-12-08 14:50:53 -05:00
Francis Li
c4df272b1c Fixes #484 by adding MAILGUN_KEY variable to README instructions on setting up .env file, and by adding a default value to the docker-compose environment. (#487) 2017-12-04 13:39:54 -05:00
Cassie Tarakajian
03eae2f1ef fixes #479 and fixes #449 2017-11-28 14:48:50 -05:00
Cassie Tarakajian
e38474ce40 fix linting errors 2017-11-27 17:32:03 -05:00
Cassie Tarakajian
44f02d1159 add csrf token debugging 2017-11-27 17:26:32 -05:00
Cassie Tarakajian
d03b433cfe add additional logging for CSRF errors, redirect to 404 for invalid embed path 2017-11-27 16:58:53 -05:00