Commit graph

128 commits

Author SHA1 Message Date
siddhant1
b6e2c4c983 Migrated from momentjs to date-fns 2019-03-02 15:05:40 +05:30
Cassie Tarakajian
74ec1ba5bf
fixes #725 by updating jshint (#848) 2019-02-25 16:52:07 -05:00
sepans
89094bf09c Temporarily remove jest from CI 2019-01-25 17:28:59 -05:00
sepans
e13f8a7007 Adds test:ci for travis ci to run lint and jest 2019-01-25 17:26:56 -05:00
Sepand Ansari
189cc586c6 Add jest snapshot testing to Nav.jsx 2019-01-25 17:26:56 -05:00
Sepand Ansari
e1ef323e9b Add jest/enzyme and a simple unit test 2019-01-25 17:21:10 -05:00
Cassie Tarakajian
2a253f50ac update engine versions in package.json 2019-01-24 17:33:42 -05:00
Francis Li
14955e455a Merge branch 'master' into heroku-deployment 2019-01-19 15:11:07 -08:00
Cassie Tarakajian
7bd016bac3
fixes #785, update node, and everything else that comes along with that (#810) 2019-01-16 17:56:18 -05:00
Gaurang Tandon
86e271e6c2
update non-breaking dependencies 2018-12-15 10:22:26 +05:30
Francis Li
1edbb52f4d Rebase/squash 2018-12-09 15:34:15 -08:00
Basile Pesin
4096a1c0ee Corrected the logo problem by adding it to the static files (#708) 2018-10-02 21:03:33 -04:00
Cassie Tarakajian
8495a59e36
Development documentation (#705)
* delete unused files, move webpack configs to their own directory

* start of improved developer documentation, moving everything to developer_docs/ directory

* documentation updates
2018-09-26 16:14:06 -04:00
Cassie Tarakajian
0f0be1f956 fix file uploads by updating mongoose 2018-08-30 21:00:29 -04:00
Cassie Tarakajian
bd476d3d38 add basic auth to server for beta editor setup 2018-08-21 16:09:41 -04:00
Cassie Tarakajian
aa543fad4a merge in master 2018-08-20 12:20:41 -04:00
Cassie Tarakajian
549d622c6f more config for kubernetes, fix example fetching tasks to include node env 2018-08-09 13:58:48 -04:00
Liang Tang
617f00653c Improve current console (#656)
* init v2

* make replay work

* fix a failing scenary of react-frame

* fix some bugs

* delete/comment some files

* remove

* fix some bugs && remove more comments

* remove unnecessary lines

* minor tweak

* fix some bugs

* try to hook iframe using webpack

* update

* changes according to cassie

* minor tweak

* fix lint

* extract sass

* add icons

* update webpack config

* update webpack configuration

* update

* tweak

* fix a small bug
2018-07-30 12:20:57 -04:00
Cassie Tarakajian
25aa5c77f1 remove --progress from webpack build to see if it prints error 2018-06-19 19:46:34 -07:00
Cassie Tarakajian
b172087b98 get local-ssl-proxy working for testing prod locally 2018-06-18 14:32:09 -07:00
Cassie Tarakajian
a14c232935 fix fetch example scripts, add webpack config to build fetch script bundles 2018-06-18 14:32:09 -07:00
Cassie Tarakajian
131e853503 change Dockerfile to fix environment variables and fetching examples 2018-06-18 14:32:09 -07:00
Cassie Tarakajian
41f793b130 remove unused index.html, move example fetch to own folder 2018-06-18 14:30:10 -07:00
Cassie Tarakajian
9958619fc4 fixes #630 and updates codemirror 2018-05-30 15:23:32 -07:00
Cassie Tarakajian
56ab483732 fixes #635 2018-05-15 12:10:24 -07:00
Cassie Tarakajian
7c542beeaf try updating node-sass to see if this fixes the Ci build 2018-05-08 19:43:34 -07:00
Cassie Tarakajian
90c76c1d08 fix linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
c90dac55b7 update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
254bbacba2 update babel packages 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
257ee24b90 add clean, build, build:client, and build:server tasks 2018-05-08 19:16:03 -07:00
Cassie Tarakajian
2d87f09f24 update script to create server bundle 2018-05-08 19:16:03 -07:00
Cassie Tarakajian
6afa760d36 get hot loading working again 2018-05-08 19:16:03 -07:00
Liang Tang
9423cb01f2 polish package.json (#624) 2018-05-08 13:36:06 -07:00
Madhurjya Pegu
307091ad3c Solving #553 Addition of google oauth 2.0 for easy login (#608)
* google oauth added

* google credentials 

updated .env description for google oauth

* changes done wrt review
2018-04-18 13:38:02 -07:00
Dhruvdutt Jadhav
05e567259c chore: update loop-protect module dependency syntax (#575) 2018-02-27 12:12:06 -05:00
Luis Morales-Navarro
24b0be629f Accessibility - Transition from interceptor to accessibility library (#508)
* added library to iframe

* changed preview to add accessible elements to iframe

* add library only when accesible output is seleceted

* focus on iframe when plaing

* css

* deleted accessibleOutput.jsx and edited IDEView to integrate accessibility library

* deleted comments

* Remove gitmodule (#509)


* remove git modules

* removed submodule and replaced interceptor for library (#510)

* Fixes #508 (#539)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* Fixes #508  (#545)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* Fixes #508 (#548)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* moved accessible output css
2018-02-22 16:47:25 -05:00
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
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
saumya1906
ad802ebeec Issue 266: Added react-tabs to package.json 2017-11-06 17:41:56 -05:00
Cassie Tarakajian
20f789033f update version of babel-core to latest 2017-11-06 17:22:40 -05:00
Cassie Tarakajian
22cd8920a1 update docker setup to use node 8.9.0, update npm packages to make docker work 2017-11-06 16:19:43 -05:00
Cassie Tarakajian
d48d9349a8 start to restyle share modal 2017-10-30 17:25:05 -04:00
Cassie Tarakajian
593cf3abfa add travis ci integration 2017-10-15 20:36:19 -07:00
Zach Rispoli
e987e8f483 Bundle libraries when project is downloaded as zip (New approach) (#376)
* External libraries are bundled with zip when project is downloaded (#44)

* Fix linting errors

* Add a check for valid URLs before trying to bundle a library into project

* Add is-url lib to package.json
2017-07-19 19:56:52 +02:00
Cassie Tarakajian
a04e1b0bc4 update version of pretty-bytes to one that works with webpack 2017-07-11 12:08:57 -04:00
Cassie Tarakajian
e140702784 Create Asset List View and refactor overlay code (#356)
* start to create asset list

* begin refactoring overlay component to remove duplicate code

* refactoring of overlays, asset list styles

* changes to add size to asset list

* fixes to asset list

* handle case in which a user hasn't uploaded any assets

* fix bug in which asset list only grabbed first asset

* remove console.log

* update overlay exit styling to use icon mixin
2017-07-11 17:37:43 +02:00
Cassie Tarakajian
607a27a4a1 remove jsonwebtoken as a dependency 2017-06-26 15:07:51 -04:00
Andrew Nicolaou
6cbc376d6e CSRF/XSS protection (#374)
* /api endpoints only allows requests with application/json Content-Type

Otherwise sends 406 Unacceptable

* Uses CSRF token

The CSRF token is sent as the cookie 'XSRF-TOKEN' on all HTML page
requests. This token is  picked up automatically by axios
and sent to the API with all requests as an 'X-XSRF-TOKEN' header.
The middleware runs on all routes and verifies that the token matches
what's stored in the session.
2017-06-26 13:58:58 -04:00