Commit graph

1283 commits

Author SHA1 Message Date
Ben Duncan
3b1cd6782b Fixes #682 by isolating preview pane layers (#683)
Restrict the z-index of the console (and any other preview panes) to the
context of the preview container, thereby preventing any internal
content from overlaying a modal. `z-index:0` is used as a more
browser-compliant form of `isolation:isolate` or `contain:paint` to
create an isolated stacking context.
2018-09-07 17:25:09 -04:00
Cassie Tarakajian
cea61a79f5 Merge branch 'master' into production-docker 2018-09-07 15:48:43 -04:00
Jared Donovan
2f21130e0d Fix needs saving mark 2 - for #576 (#658)
* Comment out show/hide file options action creators.

* Comment out show/hide file options properties

* Comment out show/hide file options action definitions

* Comment out constants for show/hide options action types

* Comment out props for show/hide options and replace with component state.

* Comment out show/hide edit file name reducers.

* Comment out show/hide edit file name actions.

* comment out show/hide edit file name action types.

* Comment out show/edit file name props from IDEView component

* Replace show/hide edit filename props in FileNode component with local state

* Remove commented out code from previous changes for moving redux state back into component state.

* Add binding to this for new functions. And tidy up of code.
2018-09-07 15:48:25 -04:00
Cassie Tarakajian
7cb2847b94 fix error with undefined env S3_URL_BUCKER_BASE 2018-08-30 19:35:03 -04:00
Cassie Tarakajian
5e70d8bb86 Merge branch 'master' into production-docker 2018-08-29 15:06:59 -04:00
Cassie Tarakajian
4a2d6d3035 fixes #668 2018-08-29 15:06:41 -04:00
Cassie Tarakajian
2c09b082df Merge branch 'master' into production-docker 2018-08-29 14:54:24 -04:00
Cassie Tarakajian
1451c3ff70 update p5.js version 2018-08-29 14:54:09 -04:00
Cassie Tarakajian
d44027c58e for simplicity and security, remove redirect to HTTP and keep everything on HTTPS 2018-08-27 14:37:31 -04:00
Cassie Tarakajian
6705e4c3f8 load client-side environment variables at runtime 2018-08-24 17:41:23 -04:00
Cassie Tarakajian
ead709b256 fix linting error 2018-08-20 14:54:12 -04:00
Cassie Tarakajian
aeeeda23a2 fix #671, change forum url 2018-08-20 12:26:21 -04:00
Luis Morales-Navarro
3e97360c82 Update name of table output (#670) 2018-08-10 14:09:55 -04:00
Liang Tang
bee02e01ab bug fixes (#666) 2018-07-31 13:07:19 -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
9958619fc4 fixes #630 and updates codemirror 2018-05-30 15:23:32 -07:00
Liang Tang
d5856ba923 Remove authorization from specific routes (#642)
* fixes #569

* update listObjectsInS3ForUser

* update client-side routes

* update aws controller

* update

* redirect to /login when unlogged in
2018-05-29 21:37:10 -07:00
Liang Tang
29dde4776c fixes #588 (#629) 2018-05-11 17:08:15 -07:00
Liang Tang
7a48899862 make keyboard nav accessible (#628) 2018-05-11 17:07:29 -07:00
Cassie Tarakajian
593621af62 fixex #627 2018-05-09 10:34:36 -07:00
Cassie Tarakajian
9285d2bf95 fix lint warning 2018-05-08 19:16:05 -07:00
Cassie Tarakajian
9efd9c624f fix remaining linting errors 2018-05-08 19:16:05 -07:00
Cassie Tarakajian
617cffc869 fix many linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
90c76c1d08 fix linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
bd303b7710 fix even more linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
5057a901fe fix a few 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
f9d1c601b3 move around static and dist folders to work with server bundle, and make preview generation work with this 2018-05-08 19:16:03 -07:00
Cassie Tarakajian
6afa760d36 get hot loading working again 2018-05-08 19:16:03 -07:00
Cassie Tarakajian
96646d0d73 update references to p5.js to latest version 2018-05-02 12:44:16 -07:00
Cassie Tarakajian
52b6a6bbb4 minor changes to SCSS styles 2018-04-18 14:00:53 -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
Mathura MG
55d8722a02 update p5.accessibility to v0.1.1 (#612) 2018-04-02 17:58:55 -07:00
Liang Tang
1335985ab8 fixes #610, fixes #604 (#611) 2018-04-02 17:58:21 -07:00
Luis Morales-Navarro
a4e426f2ce update p5-accessibility.js v0.1.0 (#607) 2018-03-23 12:26:43 -04:00
Himanshu
087b378e58 fixes #441 (#599) 2018-03-12 11:37:28 -04:00
Himanshu
41fd31e6a5 Issue#591 (#592)
* fixes #555

* fixes #591

* Update README.md

* Update examples.js

* Update examples.js
2018-03-08 16:34:21 -05:00
Mathura MG
c9192857cb change accessibility url (#596) 2018-03-06 13:40:03 -05:00
Mr.tang
43f482ab48 fix some bugs in #561 (#578) 2018-03-02 12:26:20 -05:00
Mr.tang
4e5c58595f [WIP] display the script error caused by external library (#579)
* show the script error

* modify error message

* analyze the error stack
2018-03-02 12:06:36 -05:00
Himanshu
e7505f8205 Issue overlay (#577)
* fixes #384

Positioning and font-size was off.

* Added consistent styling

* Further Changes.

* removed line height.

* fixes #371

* Made minor semantic and code consistency changes.

* anchor tag removed
2018-03-02 11:40:31 -05:00
Mathura MG
3acefe4709 Remove accessibility CSS; Auto focus (#583)
* Change accessibility example links

* 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

* fix package

* Moved CSS to library and removed section from file.js (#2)

* Remove gitmodule (#509)


* remove git modules

* removed submodule and replaced interceptor for library

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

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* 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

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* 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

* moved accessible output css

* removed css, added aria-label, preliminary cdn update

* removed section from iframe

* updated cdn

* add autofocus; remove CSS
2018-03-01 13:28:43 -05:00
Himanshu
ea02d7692d fixes #384 (#563)
* fixes #384

Positioning and font-size was off.

* Added consistent styling

* Further Changes.

* removed line height.
2018-02-27 12:28:17 -05:00
Dhruvdutt Jadhav
3efe3d20f7 chore: fix linting issues (#570) 2018-02-26 15:05:02 -05:00
Mr.tang
287663494a Make saving more user-friendly (#561)
* enhance saving

* remove console

* rename

* duplicate when saving others' projects

* fix a bug
2018-02-23 11:55:14 -05:00
Mr.tang
61560b87f7 Fixes #554 (#559)
* update title

* update titles

* delete unnecessary line
2018-02-23 11:31:41 -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
Himanshu
3b10b2d0f3 fixes #378 (#564)
* fixes #378

* fixes  #378

Horizontal Resizer cursor made default when disabled.
2018-02-22 16:01:39 -05:00
Mr.tang
3a0139340c Fixes #470 #419 #437 (#546)
* add status check

* rename variables and remove unnecessary dependencies

* set unsavedchange when error happens

* set unsavedchange when error happens
2018-02-20 14:44:07 -05:00
Himanshu
074e654b64 fixes #525 (#549)
* fixes #525

On clicking on the links itself, the menu can be closed.

* fixes #525

Account click added.
2018-02-20 14:32:09 -05:00
Mr.tang
0a1c8bb26f enhance cm (#547) 2018-02-16 11:56:44 -05:00
Himanshu
1969c48cce fixes #537 (#544)
Commented out hello p5 video page.
Did not remove the features as it can be used again after revamping the hello p5 page.
2018-02-15 14:43:32 -05:00
Mr.tang
6f5472020c Fixes #517 (#530)
* update download file's name

* fix lint error

* use moment.js

* slugify filename

* fix lint error
2018-02-13 11:28:06 -05:00
Cassie Tarakajian
9f25a9ea6a fix github link to link to new issue, not just repo root 2018-02-09 17:55:33 -05:00
Cassie Tarakajian
daeed8749d
fixes #528 (#536) 2018-02-09 16:32:06 -05:00
Mr.tang
dcdb81aa80 make loop protect work (#535) 2018-02-09 12:46:47 -05:00
Mr.tang
193b15e074 fix console.error crash (#532) 2018-02-08 17:40:21 -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
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
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
bdd8df6301 remove https from toolbar 2017-11-14 17:47:16 -05:00
Cassie Tarakajian
9fcef30053 remove commented out code 2017-11-14 17:03:55 -05:00
Cassie Tarakajian
929404a037 fix lint warning 2017-11-14 17:03:16 -05:00
Cassie Tarakajian
5278328c1e small fix to settings styles 2017-11-14 17:00:17 -05:00
Cassie Tarakajian
c99c867021 almost finished with preferences styling 2017-11-14 16:27:42 -05:00
Cassie Tarakajian
ca80308bc2 continue to fix preferences styles 2017-11-14 15:27:00 -05:00
Cassie Tarakajian
9587d01908 start to add preferences styling 2017-11-13 19:09:08 -05:00
Cassie Tarakajian
9f9b09b99d clean up ideview page 2017-11-13 14:44:23 -05:00
saumya1906
9c655122b2 Adjusted tabs and added serve over https checkbox 2017-11-06 17:41:56 -05:00
saumya1906
9ae27faf55 Issue 266: Changed class name 2017-11-06 17:41:56 -05:00
saumya1906
f14e74de55 Issue 266: Removed prefixing 2017-11-06 17:41:56 -05:00
saumya1906
147128ed40 Issue 266: More Design Changes 2017-11-06 17:41:56 -05:00
saumya1906
67dd614651 Issue 266: Sketch Settings design 2017-11-06 17:41:56 -05:00
saumya1906
6b6ff7ca22 Issue 266: Tabs added 2017-11-06 17:41:55 -05:00
saumya1906
6f068b5503 Issue 266 2017-11-06 17:41:55 -05:00
Cassie Tarakajian
9297496a5e change instance of adding loopProtect to this.jsPreprocess 2017-11-01 16:47:43 -04:00
Cassie Tarakajian
a043dc16fe Merge branch 'syntax-errors' of https://github.com/boazsender/p5.js-web-editor into boazsender-syntax-errors 2017-10-30 17:48:40 -04:00
Cassie Tarakajian
9e11aa3149 remove tooltip delay 2017-10-30 17:38:30 -04:00
Cassie Tarakajian
d121c2c882 fix and finish #391 2017-10-30 17:25:05 -04:00
Cassie Tarakajian
d48d9349a8 start to restyle share modal 2017-10-30 17:25:05 -04:00
Cassie Tarakajian
fd284358c2 fix #466 2017-10-30 15:36:09 -04:00
Andy Lulham
c517423915 Link to p5js.org/learn/ on about page (#465) 2017-10-30 14:53:54 -04:00
Boaz Sender
a69cf8b916 make syntax error checking more reusable per feedback from @catarak 2017-10-26 13:48:01 -04:00
Boaz Sender
8e63b3204d resolves behavior in #428 where syntax errors in auto refresh mode are unrecoverable 2017-10-21 17:22:16 -04:00
Cassie Tarakajian
39df7512c1 update highlighted line styles 2017-10-12 17:13:27 -04:00
Cassie Tarakajian
24030ac7aa Merge branch 'master' into zrispo-feature-runtime-error-highlight 2017-10-12 16:23:31 -04:00
Cassie Tarakajian
68d72771d2 remove extraneous console log 2017-10-12 16:21:17 -04:00
Cassie Tarakajian
1363a7a0c3 add missing linting markers 2017-10-12 16:19:18 -04:00
Cassie Tarakajian
0989ff29eb fix other merge conflict errors 2017-10-12 15:38:02 -04:00
Cassie Tarakajian
53f7217786 fix merge conflicts 2017-10-12 15:00:11 -04:00
Cassie Tarakajian
e83b28bc44 Merge branch 'feature-runtime-error-highlight' of https://github.com/zrispo/p5.js-web-editor into zrispo-feature-runtime-error-highlight 2017-10-12 14:28:20 -04:00
Cassie Tarakajian
2140e2bbca change colors of folding icons for dark and high contrast themes 2017-10-12 14:22:17 -04:00
Cassie Tarakajian
dfcd080cb7 change fold icons and dots 2017-10-11 17:31:23 -04:00
Cassie Tarakajian
1f86eb6711 Merge branch 'master' into zrispo-feature-code-folding 2017-10-11 15:55:55 -04:00
Cassie Tarakajian
48cbd79ca8 fixes #443 2017-10-11 12:56:44 -04:00
Akarshit Wal
20bc8633d7 Login and signup page not visible after login (#431)
* Login and signup page not visible after login

* Redirect added on server side
2017-09-29 11:52:20 -07:00
Cassie Tarakajian
dad9284116 fix #439 2017-09-15 16:12:36 -04:00
Cassie Tarakajian
9253d7e1ec fix reversed keyboard shortcuts on nav, fix wording on keyboard shortcut modal 2017-09-15 12:14:01 -04:00
Cassie Tarakajian
8322282269 add turning on and off accessible output to nav 2017-09-15 12:10:54 -04:00
Cassie Tarakajian
a92f4f5b3c refactor stop and stop sketch actions, add start and stop sketch to nav 2017-09-14 17:57:09 -04:00
Cassie Tarakajian
34cf86326b add find next and find previous commands to nav 2017-09-14 16:58:59 -04:00
Cassie Tarakajian
7f206122a2 add keyboard shortcuts to nav items 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
251ab99ac7 move items from editor dropdown to nav 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
1a4193f574 remove logo from toolbar 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
7a399f859a remove unimplemented nav items, fix nav styling 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
5cadf8986c fix logo styling, add link to keybaord shortcuts 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
087f319a8a make nav keyboard accessible 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
7d449e63b9 start to make nav accessible 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
4e822809bb fix logged out nav 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
65b009077b many updates to nav style 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
394772c32c more nav restyling 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
fd26279fed start to restyle nav 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
9eede0f728 fix #429 2017-09-14 14:51:36 -04:00
Cassie Tarakajian
4ea9f96d3f fix #430 2017-09-14 14:32:43 -04:00
Mathura MG
d29e7ae453 Accessibility (#436)
* add p5 interceptor submodule

* update package

* remoce interceptor

* update interceptor;

* merge scripts

* change postinstall script

* refactor interceptor files

* remove merge conflicts

* change source files

* add registry class

* provide seperate outputs for text and grid

* switch textOutput to boolean

* make both modules usable together

* update interceptor for safari

* fix grid label

* add sound output as well

* change file strucure

* change constants

* change input lables

* switch submodule branch

* change variable name

* change grid to table

* remove role from table elements

* switch submodule branch

* change aria albels

* revert submodule branch to master
2017-09-06 17:55:09 +02:00
Joey Lee
677aa5865b replaced () with {} to fix implicit return error (#434) 2017-09-05 23:54:41 +02:00
Zach Rispoli
1897ccdef2 Change setting so that decomment library preserves spaces (#411)
* Change setting so that decomment preserves spaces

* Fix trailing spaces
2017-08-03 23:27:01 +02:00
Saumya Balodi
fcb89e2c2b Issue211 (#409)
* Update Repository

* Syntaxt Highlighting for dark and light themes
2017-08-03 23:09:25 +02:00
Zach Rispoli
bca73885b2 Fix broken accessibility feature 2017-08-01 15:53:27 -04:00
Zach Rispoli
682dd7e2fc Runtime error line highlight dissappears on lint message update 2017-08-01 15:53:27 -04:00
Zach Rispoli
b5f9879c44 Hacky runtime error highlight working 2017-08-01 15:52:56 -04:00
Zach Rispoli
1bb0efdac8 Line error highlight styling 2017-08-01 15:52:56 -04:00
Cassie Tarakajian
e111d3c020 fix line number for runtime errors 2017-08-01 15:03:48 -04:00
Cassie Tarakajian
069f974989 Merge branch 'master' into feature-runtime-error-highlight 2017-08-01 19:55:45 +02:00
Cassie Tarakajian
273fc08b19 Merge branch 'feature-code-folding' of https://github.com/zrispo/p5.js-web-editor into zrispo-feature-code-folding 2017-08-01 13:48:49 -04:00
Katyayani Singh
fa98306b9a Update Find styling to new design (#401)
* Update Find styling

* Update placeholder text
2017-07-28 17:38:47 +02:00
Zach Rispoli
4d3e998f33 Fix broken accessibility feature 2017-07-26 15:17:05 -04:00
Zach Rispoli
8c832d06fd Runtime error line highlight dissappears on lint message update 2017-07-26 14:46:59 -04:00
Zach Rispoli
14d77cac0b Style for folded region looking better 2017-07-26 14:16:50 -04:00
Cassie Tarakajian
983248ccb7 fixes #402 2017-07-24 11:12:11 -04:00
Zach Rispoli
683b718303 Fix CSS loader + Improve visual for code folding 2017-07-18 15:57:40 -04:00
Cassie Tarakajian
b384fdc6ba remove console errors and extraneous console logs 2017-07-17 17:34:11 -04:00
Zach Rispoli
0faccbbc04 Hacky runtime error highlight working 2017-07-17 17:27:21 -04:00
Zach Rispoli
9647372c9e Remove unnecessary CSS 2017-07-17 16:15:33 -04:00
Zach Rispoli
51831852be Line error highlight styling 2017-07-17 16:13:59 -04:00
Zach Rispoli
87de91016b Code folding (#382) 2017-07-17 16:07:59 -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
080e9aa823 fix #370 by moving icon placeholder to a mixin 2017-06-26 17:46:47 -04:00
Cassie Tarakajian
1359a72f2d fix #372 2017-06-26 15:39:21 -04:00
Cassie Tarakajian
0532990314 update p5 version to latest 2017-06-26 15:11:42 -04:00
Andrew Nicolaou
1dc0c22cb7 Email verification (#369)
* Re-introduce Email Verification code

Revert "Revert "Email verification""
This reverts commit d154d8bff259350523a0f139e844db96c43d2ee1.

* Uses MJML to generate Reset Password email

* Sends Password Reset and Email Confirmation emails using MJML template

* Sends verified status along with user data

* API endpoint for resending email verification confirmation

* Displays verification status on Account page and allows resending

* Send back error string

* Passes email address through to sign/verify helper

* Uses enum-style object to set verified state

* Sends minimal info when user verifies since it can be done without login

* Provides /verify UI and sends confirmation token to API

* Better name for JWT secret token env var

* Adds mail config variables to Readme

* Encrypts email address in JWT

The JWT sent as the token in the Confirm Password URL
can be unencoded by anyone, although it's signature can only
be verified by us. To ensure that no passwords are leaked,
we encrypt the email address before creating the token.

* Removes unused mail templates

* Resets verified flag when email is changed and sends another email

* Moves email confirmation functions next to each other

* Extracts random token generator to helper

* Moves email confirmation actions into Redux

- updates the AccountForm label with a message to check inbox
- show status when verifying email token

* Uses generated token stored in DB for email confirmation

* Sets email confirmation status to verified if logging in from Github

* Sends email using new method on account creation

* Fixes linting errors

* Removes replyTo config
2017-06-26 12:48:28 -04:00
Zach Rispoli
7403b2b2d6 Current sketch will stop playing if a new example is opened (issue #357) (#365)
* Current sketch will stop playing if a new example is opened (#357)

* stopSketch dispatches on route change

* Remove extra stopSketcch calls
2017-06-18 17:11:23 -04:00
Andrew Nicolaou
2e62c6b288 Find (#359)
* Styles CodeMirror Search box

* Switch to fork of search add-on

* Styles search box using custom markup

* Prev/Next search behaviour, highlighting current result

* Hide search modifiers until implemented

* Regexp search

* Style RegExp modifier button active state

* Styles search modifiers

* Wires up Case Sensitive search button

* Allows case insenstive regexp search

* Do not show underlying regexp query string when re-opening dialog

* Adds "Whole word" search

* Adds title and aria-label for tooltip and screenreaders

* Whole Word button shows correct active/inactive state

* Disables replace implementation which doesn't work

* Tidies up query parsing so it's less of a hack

- uses state to convert query text into a regexp
- avoids having to fake regexp using "/.../" syntax
- parsing is now in one place

* Uses shared metaKey function for Cmd/Ctrl key

* Adds find function to keyboard shortcuts modals

* Sets aria-checked to true/false to indicate button state

* Sets role=checkbox on checkbox-like buttons
2017-06-06 15:20:21 -04:00
Zach Rispoli
3f32ccc89c Remove comments before using loopProtect on scripts (fixes #218) (#364) 2017-06-05 22:46:19 -04:00
Zach Rispoli
c596b74b27 Sketch name is used as <title> (issue #108) (#363)
* Sketch name is used as <title> (#108)

* add newline to end of file
2017-06-05 22:37:41 -04:00
Andrew Nicolaou
313fc856d1 Fixes linting errors (#362) 2017-06-05 22:33:32 -04:00
Mathura MG
82207a50d3 Accessibility (#361)
* add p5 interceptor submodule

* update package

* remoce interceptor

* update interceptor;

* merge scripts

* change postinstall script

* refactor interceptor files

* remove merge conflicts

* change source files

* add registry class

* provide seperate outputs for text and grid

* switch textOutput to boolean

* make both modules usable together

* update interceptor for safari

* fix grid label

* add sound output as well

* change file strucure

* change constants

* change input lables

* switch submodule branch

* change variable name

* change grid to table

* remove role from table elements

* switch submodule branch
2017-05-31 15:23:30 -04:00
Cassie Tarakajian
8e1a65daed fixes #344, update sketches to by default use p5 version 0.5.10 2017-05-24 12:20:38 -04:00
Cassie Tarakajian
517045623c fix autosave, which apparently had never worked 2017-05-13 20:47:41 -04:00
Cassie Tarakajian
acd0f60f19 fix minor styling bug on safari 2017-05-10 16:12:24 -04:00
Cassie Tarakajian
341ea63437 forgot to commit a file for fix to #347 2017-05-10 13:23:10 -04:00
Cassie Tarakajian
19d6aa230d fix #347 2017-05-10 13:19:46 -04:00
Kevin Dodge
6518bf14bf Fix typo in preview version/bug reporting announcement (space needed between 'bugs' and 'here'). (#345) 2017-05-03 11:57:33 -04:00
Andrew Nicolaou
ae668f681e HTTPS UI switch (#335)
* Checkbox to toggle project's serveSecure flag

This doesn't yet persist or reload the page.

* Help button that shows modal to explain feature

* Extracts protocol redirection to helper

* Returns promise from saveProject() action to allow chaining

* Setting serveSecure flag on project redirects after saving project

* Set serveSecure on Project model in API and client

* Redirect to correct protocol when project is loaded
2017-05-03 11:46:12 -04:00
Cassie Tarakajian
32d3f7a76c allow file names to change case of file extension 2017-04-27 13:08:20 -04:00
Andrew Nicolaou
a267837fb7 Persists Redux store to/from sessionStorage (#334)
* Persists Redux store when reloading app for login

* Disable confirmation box when leaving page for login

* Removes extra console.warn

* Sets serveSecure: true for new projects if served over HTTPS

* Clears persisted state on IDEView load

Because when a sketch is created on HTTPS and then the user logs in
the page won't be reloaded

* Appends ?source=<protocol> to URL to track return protocol
2017-04-20 14:05:15 -04:00
Cassie Tarakajian
2a9ea85ed8 #339 add region to .env 2017-04-13 14:39:03 -04:00
Cassie Tarakajian
94694c5a72 start to fix editing permissions for the sidebar 2017-04-13 13:41:03 -04:00
Andrew Nicolaou
7be45ce875 Search for existing user account using Github emails (#337)
* Tries to match user account from list of emails in Github API

Requests the 'user:email' scope from Github which returns the private
emails associated with the user's account.

* Centres GitHub button in layout
2017-04-13 12:04:10 -04:00
Cassie Tarakajian
99152f6e37 handle case for #169 where project does not yet have an owner 2017-04-06 16:22:34 -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
Cassie Tarakajian
ed540f4275 don't duplicate file if it isn't hosted on S3 2017-04-05 23:23:38 -04:00
Cassie Tarakajian
fa04054d28 duplicating files works 2017-04-05 23:23:38 -04:00
Cassie Tarakajian
f01a58353b initial commit to cloning files on S3, untested 2017-04-05 23:23:37 -04:00
JunShern
8e82fe96c3 Set Ctrl+Enter shortcuts to null, don't generate newlines (#333) 2017-04-05 21:50:44 -04:00
Cassie Tarakajian
67e4669605 fix nav styling 2017-03-30 13:22:23 -04:00
Andrew Nicolaou
dc801ccf7f Force HTTPS redirection for log in and sign up (#319)
* Higher-order component to force some routes to HTTPS

* Force all user-management routes to HTTPS

* Redirect to sourceProtocol as route unmounts.

By default, no redirection occurs if sourceProtocol is not explicitly
defined.

* Sets serveSecure flag on new projects and usea after forcing protocol

The flag is set to `false` on all projects and as the UI has no way to
change this, it always redirects to HTTP after a signup/login action.

* Move HoC to be with other top-level components

* Server should respond to account page request

* Serves AccountView over HTTPS

* Turns HTTPS redirection off in development by default

Will log to the browser console any redirection that would
have happened. Added a line in the README about how to
enable this for testing in development.
2017-03-30 12:36:26 -04:00
Yining Shi
fe6acc90e4 Adding User Settings View (#325)
* added account page showing username and email

* change username and email

* validate current password and add new  password

* reject promise with error for reduxForm submit-validation for current password

* updated user reducer to handle setting sucess and server side async

* warning if there is current password but no new password

* fixes logout button

* import validate function, fixes logout style
2017-03-16 18:25:12 -04:00
Andrew Nicolaou
6af92a4a32 Exposes API endpoint URL to client via env variable (#323) 2017-03-16 00:34:14 -04:00
Shivanku Kumar
352d81e9f7 resolving alignment issue, #298 (#321) 2017-03-16 00:22:08 -04:00
Cassie Tarakajian
636b267259 adjust sidebar styling for long filenames 2017-03-15 13:31:30 -04:00
Mathura MG
8e688a6103 Fix focus switch to accessible text output (#318)
* Change accessibility example links

* ensure we focus on text output
2017-03-06 15:58:36 -05:00
Kevin Martin Jose
8167366ce0 Style change to toasts (#316)
* Changes to toast styles

* Changes to toast styles

removed an unused variable

* removing another unused variable
2017-03-06 14:29:42 -05:00
Cassie Tarakajian
134cc76981 fix #317 2017-03-06 14:13:39 -05:00
Cassie Tarakajian
abbeb7fc60 fi linting to include .jsx files 2017-03-02 15:18:58 -05:00
Cassie Tarakajian
7e9ce95264 add header to preview frame 2017-03-02 15:01:33 -05:00
Cassie Tarakajian
fe4c2641e3 fix #254, stale project warning works correctly, removed unused actions and state for ide 2017-03-02 14:38:29 -05:00
Mathura MG
5982203b28 Change label from grid to table (#315)
* Change accessibility example links

* change grid label
2017-03-01 17:12:20 -05:00
Cassie Tarakajian
ebaea78b21 update default p5.js to latest version 2017-02-22 14:34:06 -05: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
Saumya Balodi
059308fbfe Fix UI Detail: Icon placement welcome modal (#306)
* Fix UI Detail: Icon placement welcome modal

* Fixed issue297
2017-02-19 13:39:31 -05:00
Katy310
1aa928718b Fix UI Detail: color of 'by' in author/account name #299 (#303)
* fix UI Detail: color of 'by' in author/account name #299

* Fix color of Title text

* Wrap <code>getThemifyVariable()</code> in <code>@include themify</code>.

* Add missing curly brace
2017-02-19 13:33:14 -05:00
Cassie Tarakajian
f60f2310dc #292 stop propagation to row click event when clicking on trashcan 2017-02-17 17:35:29 -05:00
Cassie Tarakajian
f06ac10f9a #292, when clicking on row in sketch list, navigate to sketch 2017-02-17 17:29:36 -05:00
Cassie Tarakajian
38a5d6e100 fix #295 2017-02-17 17:07:53 -05:00
Cassie Tarakajian
93e0ec2a73 fix #284, when autorefresh is enabled, clear the console as well 2017-02-17 16:04:47 -05:00
Cassie Tarakajian
7b602671b9 fix #291 2017-02-17 15:47:54 -05:00
Cassie Tarakajian
f344e01003 fix #289 2017-02-17 14:53:48 -05:00
Cassie Tarakajian
89972bf2ae fix #301, remove sublime text shortcuts that are the same as the shortcuts for run and stop 2017-02-17 13:30:33 -05:00
Mathura MG
e354fc0cea Refactor interceptor code (#240)
* add p5 interceptor submodule

* update package

* remoce interceptor

* update interceptor;

* merge scripts

* change postinstall script

* refactor interceptor files

* remove merge conflicts

* change source files

* add registry class
2017-02-15 16:17:57 -05:00
Cassie Tarakajian
52a28328e4 fix #302 2017-02-14 15:54:29 -05:00
Mathura MG
a30c765ccf switch brown in dark theme (#300) 2017-02-10 12:23:11 -05:00
Cassie Tarakajian
e7d0bb1112 revert project duplication to less broken state 2017-02-01 22:02:32 -05:00
Cassie Tarakajian
36a715fc3a fix #287 2017-02-01 22:00:19 -05:00
Cassie Tarakajian
ad62d20544 fix #284 2017-01-31 16:45:47 -05:00
Cassie Tarakajian
509bb6bd8e #285 fix project duplication error where project copies would alter the project original 2017-01-31 15:18:40 -05:00
Cassie Tarakajian
09a4829bef remove lint error for == and != 2017-01-29 13:29:17 -05:00
Cassie Tarakajian
257b44ad23 change links in nav to /{username}/sketches from /sketches 2017-01-24 16:14:07 -05:00
Cassie Tarakajian
a9ee70e033 #254 show error when user attempts to save stale version of project, refactor error modals to one component 2017-01-24 15:29:25 -05:00
Cassie Tarakajian
c8253dd923 #254 test all of the edge cases for autosaving, such as login and logout, changing the autosave preference 2017-01-24 13:04:51 -05:00
Cassie Tarakajian
93130934f2 initial autosave update fixes 2017-01-24 11:59:34 -05:00
Kumar Uttpal
697458a7ef fix #278 error at startup (#279) 2017-01-24 11:09:14 -05:00
Cassie Tarakajian
437f94649f fix minor linting error 2017-01-18 16:50:11 -05:00
Daniel Shiffman
a8570bdb22 send user to empty sketch after deleting open sketch #175 (#270) 2017-01-18 16:48:16 -05:00
Cassie Tarakajian
c42de5b2ae add validate session action 2017-01-17 15:37:20 -05:00
Cassie Tarakajian
1a22998ff8 warn user of session change when deleting a project or saving a new project 2017-01-17 15:37:19 -05:00
Cassie Tarakajian
65592cbf9e add authentcation error component, return 403 error from server when trying to save a project where the user doesn't match the owner 2017-01-17 15:37:19 -05:00
Cassie Tarakajian
3709587f4c fix #268 2017-01-17 13:28:28 -05:00
Cassie Tarakajian
cb2d8d0dd5 fix #269 2017-01-17 13:20:42 -05:00
Cassie Tarakajian
0a4f56db32 fix signup email regex 2017-01-17 12:42:00 -05:00
Cassie Tarakajian
286a5dd6c6 fixes #5, turns autosave off when a user logs off, hide timer component when user is not owner of sketch 2017-01-13 11:55:13 -05:00
Cassie Tarakajian
8120fdd7db refactor console to its own reducer and actions, add clear button, clean up console component 2017-01-11 14:13:49 -05:00
Cassie Tarakajian
d1c1279061 start to break out console into its own reducer 2017-01-09 18:09:23 -05:00
Cassie Tarakajian
1e670e9f9a fix #244, make console open by default and remove console icon 2017-01-09 16:31:39 -05:00
Cassie Tarakajian
54534f68d3 #255 remove unused SidebarItem component, display file dropdown menu when right clicking on sidebar item or project folder 2017-01-09 16:11:01 -05:00
Akarshit Wal
843418e195 toggling menu (#258)
* toggling menu

* Other components should be treated equally
2017-01-09 12:47:32 -05:00
Cassie Tarakajian
d0445a624d fix #261 2017-01-08 17:00:52 -05:00
Cassie Tarakajian
885967d8e3 fix #260 2017-01-08 16:42:20 -05:00
Akarshit Wal
dee9688ece Use username also to log in (#250)
* Use username also to log in

* Minor changes
2017-01-06 18:14:42 -05:00
Lauren McCarthy
c6ecda4f3a adding alpha warning (#249)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* adding alpha warning
2017-01-06 15:13:46 -05:00
Yining Shi
62b4d4cc6e New Design for About (#246)
* new design for about

* clean code

* reuse play.svg
2017-01-06 13:14:39 -05:00
Cassie Tarakajian
3fc4ee897d remove no sketches warning from sketch list 2017-01-06 13:09:32 -05:00
Enrique Piqueras
5e4b076b93 Fixed #158 and #100 (#198)
* Changed unsaved changes asterisk to an svg circle. #158

* Fixed #100
Unmatched routes are handled by react-router on the client side
and a single wildcard route on server.routes.js renders the index
html.
When the /:username/sketches route is matched and the username is not
valid, the user will be redirected to the index route and a toast
will explain what happened. When the username is 'p5' (default when
logged out) it will show all sketches. Maybe this should be changed
to just public or 'local' sketches?

* Moved unsaved changes SVG to a separate file.

* User not found is now a 404 error.

* Added server rendered 404 page.

* Removed console.log

* 404 Page now renders a random p5 sketch. TODO: make 404 sketches.

* Added 404 header
404 page now fetches a random example sketch

* Moved circle closer to file name

* Render 404 page in SketchList route if !user
2017-01-06 13:08:03 -05:00
Cassie Tarakajian
9886e53a7c fix #245 2017-01-05 16:54:33 -05:00
Cassie Tarakajian
074f5b35b1 fix #243 2017-01-05 15:27:57 -05:00
Cassie Tarakajian
3ba03d709a fixes #241 2017-01-05 14:40:04 -05:00
Lauren McCarthy
28323ffc09 formatting of dropdown login and editor menus (#239)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* dropdown formatting closes #210
2016-12-20 00:21:04 -05:00
Lauren McCarthy
5de2a6761f Prefs (#238)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* formating prefs pane

* updating capitalization
2016-12-19 23:48:36 -05:00
Cassie Tarakajian
cb41b3296d minor css fixes to nav 2016-12-19 17:56:39 -05:00
Lauren McCarthy
844c918652 styling of nav and toolbar (#237)
* removing avenir, replacing with montserrat

* sidebar tweaks

* sidebar positioning

* resolving merge conflict

* working on sidebar

* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* design formatting for sidebar closes #234

* styling of nav and toolbar
2016-12-19 17:52:21 -05:00
Cassie Tarakajian
1186bebd94 minor css fix in sketch list 2016-12-19 17:49:35 -05:00
Cassie Tarakajian
7072518f83 minor CSS fixes on editor/sidebar 2016-12-19 17:19:07 -05:00
Lauren McCarthy
a5d304da2b implement sidebar design #234 (#235)
* removing avenir, replacing with montserrat

* sidebar tweaks

* sidebar positioning

* resolving merge conflict

* working on sidebar

* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* design formatting for sidebar closes #234
2016-12-19 17:07:04 -05:00
Yining Shi
0f17633f79 New design for ResetPassword view and NewPassword view (#232)
* newdesign for resetpassword view and newpassword view

* bought password token back

* added params.reset_password_token

* no themify
2016-12-19 16:49:37 -05:00
Yining Shi
acad9538cc Taking login and sign pages out + new design for login and signup page (#228)
* make login a seperate page

* make signup a another page

* get previousPath

* setPreviousPath between routes

* new desig for login pagen

* new design for signup page

* added login and exit icons

* added signup and exit icons

* refactor form-container.scss

* deleted extra code
2016-12-15 18:43:58 -05:00
Cassie Tarakajian
67dad2b86d fix p5 specific syntax highlighting 2016-12-14 18:07:13 -05:00
Cassie Tarakajian
b70be5a6c1 add outline back to %icon for accessibility 2016-12-14 11:05:10 -05:00
Lauren McCarthy
67c53f5781 implement new design for sketchbook (#227)
* removing avenir font, using montserrat instead due to licensing issues

* updating headings for sketchlist

* removing old import statement for typeography scss file

* implementing new design for sketchbook closes #207

* removing seconds from sketchlist view

* remove outline from active icon
2016-12-14 10:58:43 -05:00
Lauren McCarthy
7216b95c00 removing avenir font, using montserrat instead due to licensing issues (#226)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file
2016-12-14 10:41:50 -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
f3247bd0ef #21 edit jshint options to be more lax for semicolons 2016-12-13 16:59:47 -05:00
Cassie Tarakajian
f9c7a374d1 #20 2016-12-13 16:20:13 -05:00
Cassie Tarakajian
d0770739b1 update p5.js version and switch to non-minified versions 2016-12-13 16:08:23 -05:00
Cassie Tarakajian
896d0cd715 testing of #214, fix bug where errors not in sketch.js wouldn't appear in the console 2016-12-13 15:37:11 -05:00
Akarshit Wal
d338513322 1 line margin at bottom (#223) 2016-12-13 12:31:40 -05:00
Cassie Tarakajian
637a62be01 fix sidebar bugs 2016-12-09 17:05:24 -05:00
Cassie Tarakajian
85bc40013c fix bug where new files aren't editable 2016-12-09 16:27:10 -05:00
Cassie Tarakajian
339b7d75db #214 add data-tag to local script elements, untested 2016-12-09 16:21:43 -05:00
Cassie Tarakajian
df495997f8 fix #215 2016-12-09 14:33:21 -05:00
Cassie Tarakajian
51336baee6 fix small bug from undo update from error to sliently failing 2016-12-07 17:15:10 -05:00
Cassie Tarakajian
604a7ec7e8 fix rendering bugs in firefox 2016-12-07 16:12:06 -05:00
Cassie Tarakajian
bdefab53b6 #211 highlight p5 keywords in code editor 2016-12-07 14:42:05 -05:00
Cassie Tarakajian
49bdd9377f fixes #49 2016-12-06 21:33:12 -05:00
Yining Shi
29de5fce55 Fetch examples from p5 website repo (#203)
* changed open to examples, created basic fetch-examples.js

* use dotenv babel-register polyfill

* save examples in order

* added assets

* use rawgit.com

* async process.exit

* sound:Convolution Reverb
2016-12-01 18:57:50 -05:00
Jen Kagan
55b54f09bd Change routes to /:username/sketches/:projectid (#216) 2016-12-01 17:12:34 -05:00
Cassie Tarakajian
5dd0220610 fix baseURL for preview frame 2016-11-30 12:38:53 -05:00
Cassie Tarakajian
fd26b3f77c add otf and ttf to media file list for preview generation 2016-11-30 11:51:54 -05:00
Cassie Tarakajian
8cf313f6f9 fix #204, making sure focus/form is reset properly 2016-11-29 19:18:11 -05:00
Cassie Tarakajian
0a459246ac FINALLY fix #52, this will not work with redirecting to https when authenticating but we will cross that bridge when we get there 2016-11-29 15:51:16 -05:00
Yining Shi
ce402c413f hide scrollbar beneath the sketch list layer (#209)
* no scroll in overlay

* delete extra images
2016-11-23 16:44:46 -05:00
Cassie Tarakajian
1a9a6f8d84 fix #201 2016-11-23 14:44:39 -05:00
Mathura MG
bd88e86ecc Move the interceptor code to a git module (#200)
* add p5 interceptor submodule

* update package

* remoce interceptor

* update interceptor;

* merge scripts

* change postinstall script
2016-11-23 13:35:12 -05:00
Jen Kagan
449e103fc6 Generate a two-word project name (#184)
* add name generator lib

* update reducers

* make initialState a function

* update initialState function
2016-11-16 16:29:17 -05:00
Cassie Tarakajian
04922522cc cool to share some of this code between client and server
Squashed commit of the following:

commit fb5e82cea930b011792983c7d1cc9f6ecacc7dd4
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Wed Nov 16 12:28:10 2016 -0500

    add server side rendering, untested

commit 5c60fb30c46ea49a8d9a0ecb56f39ec778464a8b
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 18:26:06 2016 -0500

    add redux-form bandage post react update, should probably update to redux-form 6 at some point

commit 057b5871e7137179abc93f7821a9690f0ea52c92
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 16:30:09 2016 -0500

    remove passing jsFiles and cssFiles to PreviewFrame, fix rendering bug

commit 88c56fd36d3a8d88902c79642171988ce37825f2
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 16:21:59 2016 -0500

    code cleanup, untested

commit 82e5dcf8bca461892f1daf06d38f1eaebe72983f
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 15:53:50 2016 -0500

    update react and react router, fix a few bugs in rendering code, add ability to parse inline js and css

commit e02f4b67803ea45328eff4e53659222f3149964c
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Tue Nov 15 14:43:38 2016 -0500

    add almost full code to create preview html correctly, untested

commit 12f61b2a1aed4607fab24d01572b647ca6210262
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Wed Nov 2 17:09:26 2016 -0400

    refactor some of the preview html generation code

commit 111825846703d5c8959cb18795a3aadb7ebe505c
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Wed Nov 2 11:06:36 2016 -0400

    add comments as plan of action

commit 1cc2cf5203674732b4057382f1937de38b687078
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Thu Oct 27 19:34:55 2016 -0400

    add href parsing

commit e67189298cda9b70645f454ecd541a363980f0e4
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Thu Oct 27 10:48:36 2016 -0400

    continue parsing html

commit 1458fb940a15a3dc5d74890211a3073e920b84b8
Author: Cassie Tarakajian <ctarakajian@gmail.com>
Date:   Wed Oct 26 17:40:31 2016 -0400

    start to add html parsing
2016-11-16 13:12:36 -05:00
Mathura MG
ced885d03f Add multiple canvas text outputs (#197)
* added grid

* add table to textoutput

* add all three outputs

* add shortcuts

* fix sound bug for triangle

* fix triangle bug - again
2016-11-12 11:53:02 -05:00
Cassie Tarakajian
ddc4fb32b1 injects S3 CSS/JS files properly into preview, as found in #196 2016-11-11 17:36:19 -05:00
Cassie Tarakajian
167828b872 fix #185 2016-11-10 18:49:42 -05:00
Cassie Tarakajian
66b83df0f2 fix #180, relates to #185 in that the user is redirected to where they were post signup/login 2016-11-10 16:13:00 -05:00
Cassie Tarakajian
c959aec6a9 add commit to hopefully prevent #195 from happening again 2016-11-10 12:26:35 -05:00
Mathura MG
b3ac90a4c6 Change text output content (#194)
* make output less verbose

* fix bug in setup

* remove log; fix area

* fix type casting
2016-11-09 13:16:14 -05:00
Yining Shi
e86e9a0ae0 Added a star icon for unsaved file name, added 'Saved: xx time ago' (#177)
* added a star icon for unsaved file name, added saved time ago

* changed text

* added timer component

* clean extra styling in _editor.sass

* customize momentjs fromnow function

* clear 10s interval in componentWillUnmount

* use space-between instead of float
2016-11-09 12:52:14 -05:00
Cassie Tarakajian
33582a1a2e change nav extension to jsx 2016-11-08 19:04:08 -05:00
Cassie Tarakajian
fc83040c8f remove some dead code/files, change react components to .jsx files because of sublime syntax highlighting, fix linting errors 2016-11-08 18:54:54 -05:00
Cassie Tarakajian
77e2f5bfff fix #186 2016-11-08 13:30:41 -05:00
Cassie Tarakajian
c7483b5d3a fix #190, also fix bug in which fontSize and indentation amount could be NaN 2016-11-08 13:11:07 -05:00
Mathura MG
d082ada1fd Add keyboard shortcut for text based output (#193)
* add shortcuts

* add keyboard shortcut for text based output

* remove duplicate
2016-11-08 12:39:46 -05:00
Cassie Tarakajian
41c1613d10 fix #191 2016-11-04 18:54:14 -04:00
Cassie Tarakajian
dd01aeb599 fix #188 2016-11-04 17:31:04 -04:00
Cassie Tarakajian
33c7c0ec8f fix #187 2016-11-04 17:27:39 -04:00
Cassie Tarakajian
7ededa5c18 #143 revert not printing to console if it is not expanded 2016-11-02 22:41:10 -04:00
Cassie Tarakajian
23fb53bc9b fix bug where you could save another user's sketches with keyboard shortcut 2016-11-02 22:19:05 -04:00
Cassie Tarakajian
d33b6a354f #143 handle undefined console messages 2016-11-02 19:26:13 -04:00
Jen Kagan
93f871e857 Add the word "copy" to sketch name after duplicating (#176)
* starting to work on clone project

* adds the word *copy* to sketches that have been dupicated
2016-11-02 17:35:47 -04:00
Cassie Tarakajian
3a8e67d484 fixes #178 2016-11-02 17:28:06 -04:00
Cassie Tarakajian
588668886d update default version of p5 to 5.4 2016-11-02 15:06:28 -04:00
Cassie Tarakajian
85b8f5b589 fixes #96, downloads now work on safari and firefox 2016-11-02 14:08:53 -04:00
Cassie Tarakajian
a06369ab06 add font uploads 2016-11-02 11:42:59 -04:00
Cassie Tarakajian
1e32e42729 change max file upload size to 5MB 2016-10-28 16:19:56 -04:00
Yining Shi
83b077450a Showing "Autosave enabled" toast (#173)
* showing Autosave enabled toast

* fixed variable names

* fixed constant name typo
2016-10-27 19:45:09 -04:00
Cassie Tarakajian
8ce36cd997 update pencil to modern pictograms 2016-10-26 17:49:42 -04:00
Jen Kagan
476a4a4d20 Add pen icon next to sketch name (#171)
* add pencil icon, start wiring toolbar

* Closes #156
2016-10-26 17:40:10 -04:00
Cassie Tarakajian
b48cf1ebdc parse CSS files for links to S3 2016-10-25 18:38:20 -04:00
Cassie Tarakajian
17fab1782e fixes #162 2016-10-25 17:05:53 -04: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
7cba11f90c add video upload support 2016-10-24 18:25:57 -04:00
Cassie Tarakajian
5c050e078b add uploader support for obj files 2016-10-24 18:01:14 -04:00
Cassie Tarakajian
aae72ea57d add ability to use svgs 2016-10-24 17:40:03 -04:00
Cassie Tarakajian
99df998e11 add csv, don't include s3 js/css/json/txt/csv files as blobs 2016-10-24 17:05:49 -04:00
Cassie Tarakajian
1d7aaa9981 set unsaved changes when file is uploaded 2016-10-24 16:42:15 -04:00
Cassie Tarakajian
8aeb044509 fix bug where plaintext files were being posted to s3 2016-10-24 16:33:16 -04:00
Cassie Tarakajian
8c270c2ced generate blob urls for text and json files 2016-10-22 16:42:43 -04:00
Cassie Tarakajian
d262783ec1 can add and edit json/txt files 2016-10-22 15:23:37 -04:00
Cassie Tarakajian
280d3e69ea fix keyboard shortcuts on safari 2016-10-19 18:35:59 -04:00
Cassie Tarakajian
ef7d121927 show errors if file name is invalid 2016-10-19 17:09:31 -04:00
Cassie Tarakajian
32d45ea332 remove all blobutil stuff 2016-10-19 15:33:14 -04:00
Cassie Tarakajian
0ccfeb6b9c fix debounce on safari 2016-10-19 13:29:02 -04:00
Cassie Tarakajian
a4b6dd194e fix dropdown bug on safari 2016-10-19 13:03:19 -04:00
Cassie Tarakajian
5e36617de4 add link to login on signup view 2016-10-19 12:40:32 -04:00
Cassie Tarakajian
4ff6ac1021 fix lag on password reset form 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
8b35951ba4 invalid password reset token styling 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
e5ff11f65a add basic password reset functionality, no error checking or styling 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
d055aa5af8 more password reset things 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
04f68e37f9 add submit text 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
5aa5032961 create password reset token from FE, start to add flash text 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
ea6d30c430 more password reset stuff 2016-10-19 12:36:57 -04:00
Cassie Tarakajian
1610b0168d start to add mailgun and nodemailer 2016-10-19 12:36:57 -04:00
Cassie Tarakajian
93de8596f2 fix #154 2016-10-19 12:36:40 -04:00
Yining Shi
185d8fdd05 fixes #148 (#153)
* save project after changing sketch name

* not saving the sketch after updating the name if it's not created yet
2016-10-19 11:47:58 -04:00
Cassie Tarakajian
3e7d88698b remove comments and console.logs 2016-10-17 23:23:19 -04:00
Mathura MG
c6e1d1c906 revert lint code (#151) 2016-10-17 22:58:30 -04:00
Mathura MG
1dafe3a8e9 Make p5 logo color variable (#150)
* initial changes for high contrast theme

* change more colours

* add more styles

* add new variables

* fix few more colours

* fix typo

* fix indent

* make logo colour a variable
2016-10-17 22:57:29 -04:00
kaganjd
76bd1b1630 Add ability to delete projects from sketch list (#125)
* Add ability to delete projects from sketch list

- Fixes #76
- Also gets rid of outdated Sketch module

* Styling for Sketch List trash can

* Merge all the stuff

* Fix trash can line height
2016-10-12 14:24:53 -04:00
Mathura MG
85bbe045e5 Add high contrast theme (#141)
* initial changes for high contrast theme

* change more colours

* add more styles

* add new variables

* fix few more colours

* fix typo

* fix indent
2016-10-12 12:08:12 -04:00
Cassie Tarakajian
37bb45cc37 fixes #134 2016-10-08 19:18:38 -04:00
Cassie Tarakajian
40f31b0e5c fixes #135 2016-10-08 18:52:32 -04:00
Yining Shi
96321ca767 Make Login & Sign Up as modal layovers (#122)
* make Login & Sign Up as modal layovers

* delete extra signupForm.js in original path

* deleted extra comments
2016-10-08 18:03:39 -04:00
Zhuoxi Song
64be537db7 fixed upper-right button being blocked by vertical scrollbar (#130)
* fixed upper-right button being blocked by vertical scroll bar

moved the upper-right button in editor a little to the left, so that
once
vertical scroll bar appears, it will not block this button

* minor fix
2016-10-08 18:00:41 -04:00
Zhuoxi Song
602c989af4 improved log styles in console (#136) 2016-10-08 17:59:18 -04:00
Zhuoxi Song
2856615c4d added link to p5js reference at top nav (#131) 2016-10-07 11:26:49 -04:00
Cassie Tarakajian
e511db64fe change console throttling to batch deliver messages 2016-10-06 16:58:14 -04:00
Cassie Tarakajian
fe13349850 make autorefresh time a little longer 2016-10-06 15:48:45 -04:00
Cassie Tarakajian
58d0dba167 remove dead code, fix linting errors, get infinite loop functionality working 2016-10-06 15:45:26 -04:00
Cassie Tarakajian
f9d487ebe8 refactor infinite loop being triggered 2016-10-06 13:01:48 -04:00
Cassie Tarakajian
6cecc6ae63 did a thing 2016-10-05 14:49:43 -04:00
Cassie Tarakajian
a9caa30db3 start to refactor loopprotect 2016-10-05 14:21:32 -04:00
Cassie Tarakajian
2608efbc13 Merge branch 'lmccart-console' 2016-10-05 14:02:56 -04:00
Cassie Tarakajian
dfdbc35b74 fix small css bug 2016-10-05 14:02:46 -04:00
Cassie Tarakajian
322ec88b22 add horizonal scroll for code editor 2016-10-05 12:26:49 -04:00
Cassie Tarakajian
55403e9a20 Merge branch 'console' of https://github.com/lmccart/p5.js-web-editor into lmccart-console 2016-10-04 16:21:42 -04:00
Cassie Tarakajian
dfc55aaa5b temporarily remote autorefresh and loop protect 2016-10-04 15:35:23 -04:00
Lauren McCarthy
ee6c5e94aa only update console when expanded 2016-10-01 16:25:00 -07:00
Lauren McCarthy
4d6cb43330 changing interval to 100ms 2016-10-01 16:04:40 -07:00
Lauren McCarthy
e4e7f176b5 throttling postMessage to 250ms, fixes #80 2016-10-01 16:01:05 -07:00
Cassie Tarakajian
73c3e8e21e fixes #102 2016-09-29 22:02:06 -04:00
Cassie Tarakajian
4d834ed16d add lots of changes to make autorefresh work with infinite loop checking 2016-09-29 00:54:35 -04:00
Cassie Tarakajian
f78fc37d68 add previewIsRefreshing to redux state 2016-09-28 18:17:39 -04:00
Cassie Tarakajian
5f23ea8132 did stuff 2016-09-28 18:11:11 -04:00
Cassie Tarakajian
7fb85c251b auto autorefresh to preferences, save autorefresh server side 2016-09-28 18:09:37 -04:00
Cassie Tarakajian
56fcedc06a add autofresh toggle to toolbar 2016-09-28 18:08:37 -04:00
Cassie Tarakajian
274614cc60 Merge pull request #94 from yining1023/livecoding
detect infinite loop
2016-09-28 16:16:21 -04:00
Jen Kagan
19f0915350 Add shortcuts to shortcut modal
Fixes #16.
2016-09-28 15:19:38 -04:00
MathuraMG
46d58014ff add focus and labels 2016-09-28 12:09:42 -04:00
Yining Shi
55b37866f6 detect infinite loop, disable play button 2016-09-24 00:46:06 -04:00
Yining Shi
c48c012160 fixed appending errors in draw(), changed error color 2016-09-22 17:17:24 -04:00
Cassie Tarakajian
f017dd8a76 clean up scss color variables, fix missing unthmeified variables 2016-09-21 23:39:50 -04:00
Lauren McCarthy
58c0e4f5f7 adding styling 2016-09-21 18:46:23 -07:00
Cassie Tarakajian
1e8165393b minor border fix 2016-09-21 19:14:31 -04:00
Cassie Tarakajian
c9e3461dc5 fix folder styling 2016-09-21 19:08:30 -04:00
Cassie Tarakajian
a3490a37ef fix nav dropdown styling 2016-09-21 19:00:24 -04:00
Cassie Tarakajian
c55e1f5de4 a lot of dark theme fixes 2016-09-21 18:52:44 -04:00
Cassie Tarakajian
feeffb0fae make changes to light theme based on design review 2016-09-21 00:52:47 -04:00
Cassie Tarakajian
3d087df1a2 add light and dark codemirrir themes 2016-09-21 00:00:43 -04:00
catarak
d8ecd1f72a update codemirror theme to include sass variables 2016-09-20 23:59:51 -04:00
catarak
d8757cc921 more unfinished themes stuff 2016-09-20 23:59:50 -04:00
catarak
7e213faa0b start to add codemirror theme 2016-09-20 23:59:50 -04:00
catarak
390923a7ca add most of dark theme 2016-09-20 23:59:50 -04:00
catarak
21846a1ada more theme stuff 2016-09-20 23:59:50 -04:00
catarak
e540031678 adjust console colors 2016-09-20 23:59:50 -04:00
catarak
900f01c2d5 more dark theme stuff 2016-09-20 23:59:50 -04:00
catarak
60ebfde298 more half finished theme stuff 2016-09-20 23:57:27 -04:00
catarak
c9b2d178b2 fix some specificity issues 2016-09-20 23:57:27 -04:00
catarak
19df6d6ee4 start to integrate themes to placeholders 2016-09-20 23:57:27 -04:00
catarak
103ebd2014 add theme to preferences, add backbone of themes to scss 2016-09-20 23:57:27 -04:00
Cassie Tarakajian
318475fc03 fix merge conflicts, actually 2016-09-20 18:34:20 -04:00
Cassie Tarakajian
84ac4459d1 fix merge conflicts 2016-09-20 18:32:26 -04:00
Cassie Tarakajian
f48b872500 add unsavedChanges to redux, handle unsaved changes 2016-09-20 18:27:10 -04:00
Yining Shi
43052cb675 detect infinite loop
detect infinite loop

detect infinite loop
2016-09-17 00:11:33 -04:00
Cassie Tarakajian
bd71041794 Merge pull request #95 from kaganjd/16-keyboard-shortcuts
Add keyboard shortcuts for 'run' and 'stop'
2016-09-15 13:10:22 -04:00
Jen Kagan
d55fb643e6 Add keyboard shortcuts for 'run' and 'stop'
- Fixes #16.
2016-09-15 13:02:11 -04:00
catarak
7436f4960f this time, db reformat, for real 2016-09-14 16:41:36 -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
0e0d3975e1 fix #89, fix closed sidebar on Safari 2016-09-07 22:49:29 -04:00
catarak
861a8f8759 remove toasts for autosave 2016-09-07 22:20:42 -04:00
catarak
380b960328 fix height of sketch list 2016-09-07 21:51:54 -04:00
catarak
12c0581ee0 add command + s for save, detect os for control + s, add to keyboard shortcut list 2016-09-07 21:48:45 -04:00
catarak
41e6ce1c78 add toast to show you that autosave is enabled 2016-09-07 19:12:01 -04:00
catarak
3352fe9d0d add toast component, start to add functionality 2016-09-07 19:00:52 -04:00
catarak
f1ead9f124 add keyboard shortcuts modal 2016-09-07 17:47:22 -04:00
catarak
4799a26652 add code tidy button 2016-09-07 16:41:56 -04:00
catarak
0716d209c4 add show/hide editor options 2016-09-07 16:33:01 -04:00
catarak
3cee334a21 remove save from nav when viewing another user's project 2016-09-07 15:21:22 -04:00
catarak
d1576bb661 add css and html beautify 2016-09-07 15:05:25 -04:00
catarak
506c959f8c map shift+tab to beautifier, only for js 2016-09-07 12:16:26 -04:00
catarak
95daa80fc1 update browser history to go back when exiting open and about, fixes #85 2016-09-06 22:46:49 -04:00
catarak
14a51b6332 add share modal 2016-09-06 22:37:29 -04:00
catarak
207bab20eb add embed route, fix path parsing in PreviewFrame 2016-09-06 16:54:16 -04:00
catarak
7d7641b80b comment out login with github button 2016-09-06 16:53:37 -04:00
catarak
b10d2063ed hide sidebar by default 2016-09-03 20:47:30 -04:00
catarak
336be41b09 add default children to files client side 2016-09-03 20:31:34 -04:00
catarak
01ad5611c6 sidebar styling fixes 2016-09-03 20:29:18 -04:00
catarak
fedef1628d fix console error when loading a project by url 2016-09-03 20:19:07 -04:00
catarak
1ae87ab85c focus on newfilemodal input when opened 2016-09-03 19:42:23 -04:00
catarak
6c4ba328aa fix file name collisions to only be affected in folders 2016-09-03 14:52:51 -04:00
catarak
e94ba201ce test downloads for only non s3 files 2016-09-02 20:40:18 -04:00
catarak
f2fedd8457 add file deletion, client side 2016-09-02 18:11:27 -04:00
catarak
18839fde81 start to add methods for deleting file recursively 2016-09-02 17:41:02 -04:00
catarak
550347e6fc add expanding/contracting styles 2016-09-02 17:41:02 -04:00
catarak
e82270a709 add hide/showing files, carrot doesn't work 2016-09-02 17:41:02 -04:00
catarak
c671d0c9f2 fix selected item style--no longer highlights children 2016-09-02 17:41:02 -04:00
catarak
bf61fdd992 nested css styling fixes 2016-09-02 17:41:02 -04:00
catarak
245ca63a5d add special file options to folders 2016-09-02 17:41:02 -04:00
catarak
fa518f028a fix proptypes for redux forms 2016-09-02 17:41:02 -04:00
catarak
9d3bcf2a15 add new folder modal 2016-09-02 17:41:02 -04:00
catarak
7f5c970b6c fix proptypes that were missing from preview frame 2016-09-02 17:41:02 -04:00
catarak
1ae27f0d66 add file icons and file types default to file 2016-09-02 17:41:01 -04:00
catarak
cd0dcc9184 reset selected file after deleting 2016-09-02 17:41:01 -04:00
catarak
3dfed2a11e delete files works, server side 2016-09-02 17:41:01 -04:00
catarak
34fe78d734 create file works server side 2016-09-02 17:41:01 -04:00
catarak
5f694329db delete files, only client side 2016-09-02 17:41:01 -04:00
catarak
acd5aa8c83 fix new project action 2016-09-02 17:41:01 -04:00
catarak
69b73d016a add comment for hack 2016-09-02 17:41:01 -04:00
catarak
b0ce13e6ba fix project loading bug 2016-09-02 17:41:01 -04:00
catarak
74e207553f fix adding files on front end 2016-09-02 17:41:01 -04:00
catarak
d08c7c6b94 fix really really annoying bug 2016-09-02 17:41:01 -04:00
catarak
c8074f1501 do a lot of things that aren't really working 2016-09-02 17:41:01 -04:00
catarak
ac6585e713 add file works on unsaved project 2016-09-02 17:41:01 -04:00
catarak
cbb272ec14 file tree renders, select file works and editor changes content, rename works 2016-09-02 17:41:01 -04:00
catarak
40b70d6c69 add file node component 2016-09-02 17:41:00 -04:00
catarak
d9d7dfa39f add cancel button to login and signup forms 2016-09-02 17:37:34 -04:00
catarak
1d86d766d9 add login error for invalid username or password 2016-09-02 17:31:07 -04:00
catarak
3b6bfbc552 check for duplicate email and username 2016-09-02 14:51:30 -04:00
catarak
798117164a add client side sign up validation erros 2016-09-02 13:05:42 -04:00
Cassie Tarakajian
f00acd0de0 Merge pull request #83 from MathuraMG/accessibility
add preview; output focus
2016-09-01 18:13:04 -04:00
MathuraMG
8de170135e switch to react refs 2016-09-01 12:51:38 -04:00
MathuraMG
6cba157687 add preview; output focus 2016-08-31 23:07:43 -04:00
catarak
a741e4aaa8 fix passport strategy config, remove github button from signup form 2016-08-31 15:30:37 -04:00
catarak
7a8e77282d add github login and signup 2016-08-31 15:12:18 -04:00
catarak
ab576fe737 add github button styling, add backend for login with github 2016-08-31 12:28:06 -04:00
Cassie Tarakajian
f8ab95d0dc Merge pull request #70 from MathuraMG/accessibility
Accessibility changes to preferences and toolbar
2016-08-30 21:32:40 -04:00
Lauren McCarthy
6e18cb9535 fixing console.log outside setup/draw closes #78 2016-08-30 18:06:55 -04:00
MathuraMG
fbc6f1c97a switch to onChange 2016-08-29 16:36:35 -04:00
MathuraMG
fe803d52d0 remove preference__option--selected 2016-08-29 14:39:23 -04:00
omnikrll
28dba14e5c replace alert sound 2016-08-28 15:55:19 -04:00
Lauren McCarthy
aadbe33685 updating link in nav.js to point to p5/sketches instead of p5js/sketches 2016-08-28 13:05:12 -04:00
Lauren McCarthy
fa77ad2edd fixing merge conflicts 2016-08-28 09:54:35 -04:00
Lauren McCarthy
f936d98f76 fixing linting errors 2016-08-28 09:52:57 -04:00
catarak
4859b66cc6 fix #54 2016-08-27 21:52:00 -04:00
catarak
64b2ea3da4 add and test logout 2016-08-27 20:46:20 -04:00
catarak
515febceb2 fix height of console messages and fix #74 2016-08-27 19:22:41 -04:00
catarak
b79cec93b0 change a to react-router link 2016-08-27 19:14:22 -04:00
Cassie Tarakajian
5fb810b867 Merge pull request #71 from lmccart/openExamples
adding open option to logged out view closes #67
2016-08-27 15:08:38 -04:00
Lauren McCarthy
402e9bc95e fixes line numbers closes #36 2016-08-27 13:54:20 -04:00
Lauren McCarthy
23d5341e7c getting a little closer with console output line number #36 2016-08-26 14:22:58 -04:00
Lauren McCarthy
ef8034eb1b adding open option to logged out view closes #67 2016-08-26 13:32:18 -04:00
MathuraMG
1803067aeb change labels 2016-08-25 17:59:02 -04:00
MathuraMG
b825096640 make preferences radio buttons 2016-08-25 17:46:30 -04:00
omnikrll
399e29f37b remove comment 2016-08-25 13:48:52 -04:00
omnikrll
c245a6a21e Merge branch 'upstream' into editor-accessibility-unique-key-warning 2016-08-25 13:46:24 -04:00
omnikrll
8a61917937 make 'no lint errors' p ino li 2016-08-25 13:45:35 -04:00
Cassie Tarakajian
fc0049e2d7 Merge pull request #66 from MathuraMG/temp
populate current line number differently
2016-08-25 12:45:22 -04:00
catarak
1de8c02cf2 fix a few regexes for preview frame 2016-08-25 12:39:36 -04:00
MathuraMG
db85dcc04b add word line 2016-08-25 12:32:06 -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
omnikrll
9457d2e57c replace for loop with forEach 2016-08-24 17:54:26 -04:00
omnikrll
006c78a362 Merge branch 'master' into editor-accessibility-unique-key-warning 2016-08-24 16:43:12 -04:00
MathuraMG
76492cec6f switch focus to section 2016-08-24 13:30:50 -04:00
MathuraMG
abe9ac4d5a add on focus 2016-08-24 13:10:06 -04:00
omnikrll
5d11dcdc84 add key property to lint message elements 2016-08-23 23:38:58 -04:00
catarak
de62acdaaa make renaming files more robust--now checks to see if extension after renaming is the same 2016-08-22 13:16:28 -04:00
catarak
8713e297dd add about modal to link to github 2016-08-22 12:35:59 -04:00
Cassie Tarakajian
1734852f68 Merge pull request #50 from MathuraMG/output
Create text output for canvas
2016-08-19 16:03:22 -04:00
MathuraMG
76c7c6384d add subtitle 2016-08-19 15:51:41 -04:00
MathuraMG
049b3ce0e5 include JSONs in local 2016-08-19 12:44:44 -04:00
catarak
a265d622dc add avenir next 2016-08-18 14:22:47 -04:00
catarak
f5c63dddad change nav if user is logged in, if project is saved 2016-08-17 19:00:05 -04:00
catarak
da2739d3a9 add link to fullscreen in nav 2016-08-17 18:35:15 -04:00
catarak
3ab1b82d8d add fullscreen route and page 2016-08-17 18:13:17 -04:00
catarak
8f66327b55 add link to user's sketches in toolbar 2016-08-17 16:09:20 -04:00
catarak
bca59a6233 add /:username/sketches links to username sketches 2016-08-17 15:53:25 -04:00
MathuraMG
8659251bcf merge master 2016-08-15 21:09:47 -04:00
MathuraMG
c0407dec65 update interceptor 2016-08-15 20:28:18 -04:00
MathuraMG
9c03efcef2 read data from json file 2016-08-15 18:06:09 -04:00
catarak
e823e383e7 add timestamp to sketch list view 2016-08-15 17:14:55 -04:00
catarak
2f6d5e84e8 switch sketch list to sketch list modal, which you now can close 2016-08-15 17:06:12 -04:00
catarak
89c641c845 fix sketch list view bug which made the nav look ugly 2016-08-15 13:03:52 -04:00
catarak
17efc42778 switch project name edit to html5 input 2016-08-15 12:42:13 -04:00
MathuraMG
87de5a2188 merge master 2016-08-15 12:14:32 -04:00
MathuraMG
a5b4f0d23c add text output component 2016-08-15 12:12:25 -04:00
catarak
03d59b159a add accessibility linting beep to webpack loader and remove base64 string 2016-08-15 11:51:11 -04:00
MathuraMG
d2f706fd74 move onclick for duplicate 2016-08-13 11:39:53 -04:00
MathuraMG
5179b09022 merge with master 2016-08-13 11:37:05 -04:00
MathuraMG
34d8582412 add button tp play text output and sketch 2016-08-12 16:37:38 -04:00
catarak
eb85e49c51 change nav bar names 2016-08-12 15:51:27 -04:00
MathuraMG
bcd2a39f9d add preferences to include text output 2016-08-12 15:50:33 -04:00
MathuraMG
018a8b970c switch lineNo to lineNumber 2016-08-12 14:23:34 -04:00
MathuraMG
be010b8ac0 switch div to sections 2016-08-12 14:19:23 -04:00
catarak
8b13631191 fix bug where you could save another user's project 2016-08-12 13:31:34 -04:00
catarak
43c49e9617 when clicking new project, don't save new project 2016-08-12 12:45:26 -04:00
MathuraMG
e964df2fe2 make pref visible 2016-08-12 10:13:22 -04:00
MathuraMG
8f68b3aa58 add ntc 2016-08-12 00:39:59 -04:00
MathuraMG
c14eae56c8 add files 2016-08-12 00:11:31 -04:00
MathuraMG
8ed08b76ee fix merge error 2016-08-11 21:29:43 -04:00
MathuraMG
cd1a803123 move accessiblity region inside main editor block 2016-08-11 21:26:49 -04:00
MathuraMG
c8dbb8bef7 merge master 2016-08-11 20:59:01 -04:00
MathuraMG
0f9bf4a999 fix aria-live bug in FF 2016-08-11 20:26:14 -04:00
catarak
91e03a6d89 fix preference z index issue that 2016-08-11 17:41:35 -04:00
catarak
74e690ef9d removed commented out code 2016-08-11 16:58:47 -04:00
MathuraMG
4776dcf48f add TODO 2016-08-11 16:56:39 -04:00
catarak
7cca65c566 fix https://github.com/catarak/p5.js-web-editor/issues/31, https://github.com/catarak/p5.js-web-editor/issues/22, and https://github.com/catarak/p5.js-web-editor/issues/37 2016-08-11 16:50:31 -04:00
MathuraMG
ac06cae5c0 add current line desc 2016-08-11 16:02:21 -04:00
catarak
93d6d8777f add resizers 2016-08-11 15:41:13 -04:00
MathuraMG
4806b83d1f style editor-accessibility 2016-08-11 15:38:32 -04:00
MathuraMG
d789c9a8f3 move lint warning to preferences 2016-08-11 14:09:59 -04:00
MathuraMG
fb5d640b45 change file names 2016-08-11 13:29:30 -04:00
MathuraMG
57f39d5a64 add editor accessibility 2016-08-11 13:24:02 -04:00
MathuraMG
ea2ed435ba Merge branch 'master' of https://github.com/catarak/p5.js-web-editor into editor 2016-08-11 11:21:18 -04:00
catarak
5877b82933 fix https://github.com/catarak/p5.js-web-editor/issues/35 2016-08-10 20:02:55 -04:00
MathuraMG
9aaa814fc4 fix issues with safari 2016-08-10 17:24:52 -04:00
MathuraMG
6e74ef03c4 add aria-tags 2016-08-10 16:20:15 -04:00
MathuraMG
5cf1249cc7 merge master 2016-08-10 15:51:56 -04:00
MathuraMG
1a45e4cb91 change file modal structure 2016-08-10 15:49:03 -04:00
MathuraMG
703f9ff820 add basic button functionality to linting 2016-08-10 11:13:17 -04:00
catarak
afc86740b3 fix preferences font size text size bug 2016-08-09 18:45:59 -04:00
catarak
d9ea10c4c6 set preferences when authenticating user 2016-08-09 17:50:45 -04:00
catarak
2f581a6a77 remove unnecessary css styles 2016-08-09 17:31:14 -04:00
catarak
18c2fe9e85 add autosave preference styling 2016-08-09 17:29:17 -04:00
catarak
42b15d06de add autosave to preferences 2016-08-09 16:15:28 -04:00
catarak
9f9425c5e9 update preferences server side 2016-08-09 14:20:54 -04:00
MathuraMG
bb5ba484c7 fix clone link 2016-08-09 13:39:40 -04:00
MathuraMG
250cd0ae9d debounce the beep 2016-08-08 13:49:45 -04:00
MathuraMG
7cb9475b44 add audio tone 2016-08-05 23:08:44 -04:00
MathuraMG
6d7c9873b3 add fn 2016-08-05 16:58:59 -04:00
MathuraMG
ec26e6ddac add printing of lint messages 2016-08-05 12:53:16 -04:00
catarak
c76b1353c3 put preferences to server, need to look at mongoose docs tho because is wrong 2016-08-04 21:43:13 -04:00
catarak
013b97d96d fix scrolling issue for firefox, add teporary fix for safari 2016-08-04 20:51:58 -04:00
catarak
b542f72d33 remove code bloat from preferences, add preferences to user schema 2016-08-03 23:45:49 -04:00
catarak
3d18960575 add autosave after new project is saved for the first time 2016-08-03 21:47:24 -04:00
catarak
d7a6773995 fix bugs in sketch list view 2016-08-03 19:03:01 -04:00
catarak
7cafe490df remove stray debugger statement 2016-08-03 17:46:13 -04:00
catarak
8c4003bb17 add rename validation 2016-08-03 17:45:50 -04:00
catarak
443a9f57d5 add file renaming 2016-08-03 17:45:50 -04:00
catarak
da98dcd47e add file deletion 2016-08-03 17:45:50 -04:00
Cassie Tarakajian
7fb77772f7 Merge pull request #29 from MathuraMG/label
add aria tags and roles
2016-08-01 14:01:29 -04:00
catarak
a2072d9b0c move preference action creators to preferences component 2016-08-01 13:55:49 -04:00
MathuraMG
d69c4c8ad4 remove svg desc 2016-07-31 21:57:55 -04:00
MathuraMG
0bc2956e58 add title to console 2016-07-31 21:41:28 -04:00
MathuraMG
ca9afab246 add aria-labels 2016-07-31 21:38:46 -04:00
MathuraMG
f4d49f49a5 add aria-label tag 2016-07-30 22:46:48 -04:00
catarak
ac9de85928 change iframe height to min height 2016-07-25 21:36:32 -04:00
catarak
8faabe3f56 remove es6 promise polyfill since it's already included in babel polyfill 2016-07-22 17:24:19 -04:00
catarak
0da77e7aa1 fix flexbox bugs for ie11 2016-07-22 17:19:15 -04:00
catarak
4c5fafe251 add promise polyfill 2016-07-22 12:42:38 -04:00
catarak
6f3db24d9f update modal styling, move to placeholder 2016-07-21 15:07:53 -04:00
catarak
5362098844 add commenting/uncommenting, add sublime text bindings 2016-07-21 14:33:23 -04:00
catarak
979fcf2152 add support for audio files 2016-07-21 14:18:38 -04:00
catarak
9201cb247c make console expandable and contractable 2016-07-21 00:33:41 -04:00
catarak
afe7e07188 start console styling 2016-07-21 00:05:47 -04:00
catarak
051e3771ee fix merge conflict with therewasaguy-console 2016-07-20 23:02:45 -04:00
catarak
cb1e682994 create unique name if file already exists 2016-07-20 22:52:09 -04:00
catarak
a5db4ae9f6 can't upload media if not logged in 2016-07-20 22:18:20 -04:00
catarak
3d6cfd832d fix s3 bucket name in file uploader 2016-07-20 20:30:40 -04:00
catarak
7952eee7bd update readme, add s3 bucket to webpack config 2016-07-20 19:48:00 -04:00
catarak
f0872f8173 clear file uploader after upload 2016-07-20 18:37:49 -04:00
catarak
2affe457d2 when exporting to zip, also add images 2016-07-20 15:33:37 -04:00
catarak
cc231cbacd load blob url when uploading file 2016-07-20 00:51:27 -04:00
catarak
91f7cc47a0 close modal after file upload, remove debugger 2016-07-19 22:29:54 -04:00
catarak
ceccef3cc3 change uploader copy, change uploader style 2016-07-19 21:42:33 -04:00
catarak
7e6bbb1fae fix file state changing bug 2016-07-19 21:36:21 -04:00
catarak
57568f6504 wowowowow this blob url thing works 2016-07-19 19:36:50 -04:00
catarak
0491c00bb5 add function to create all blob urls 2016-07-19 18:27:27 -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
therewasaguy
0c7f713887 console BEM style 2016-07-18 19:10:42 -04:00
therewasaguy
6b672d2629 Merge branch 'master' of https://github.com/catarak/p5.js-web-editor into console 2016-07-18 18:56:00 -04:00
therewasaguy
40704b4b00 console: shouldComponentUpdate and componentWilLReceiveProps tweaks 2016-07-17 20:49:57 -04:00
therewasaguy
227b562ad9 console: color-coded error messages 2016-07-17 20:49:38 -04:00
therewasaguy
8b69ab7fdd really clear sketch when sketch is stopped 2016-07-17 20:49:10 -04:00
therewasaguy
e7ea35fa60 add comments 2016-07-17 20:05:20 -04:00
therewasaguy
5561d49a48 merge upstream changes 2016-07-17 19:15:13 -04:00
therewasaguy
7f0b7afac1 add Console component, gets postMessage from previewFrame 2016-07-17 19:06:43 -04:00
MathuraMG
c29bbda4c2 add back navigation role 2016-07-15 17:25:54 -04:00
MathuraMG
038d290577 fix merge conflicts 2016-07-15 17:23:59 -04:00
MathuraMG
079a6ebf29 change style name 2016-07-15 17:00:40 -04:00
MathuraMG
6187a26b10 extend pref tab - old size doesn't eork in FF 2016-07-15 16:54:43 -04:00
MathuraMG
4ddad41053 add labels for buttons 2016-07-15 16:47:12 -04:00
catarak
8d8e399aac add cloning of projects 2016-07-15 13:36:33 -04:00
catarak
78ed7b4b5f add download as zip 2016-07-15 13:11:50 -04:00
catarak
c3486af031 add author name to sketches 2016-07-15 11:54:47 -04:00
MathuraMG
589bc9f630 change html tags 2016-07-14 17:20:44 -04:00
catarak
accf8e2504 add expand/contract sidebar 2016-07-14 12:47:54 -04:00
catarak
d9a11cea4c add debounce to editor input 2016-07-13 21:50:59 -04:00
catarak
c29f5aee68 add syntax highlighting for different file types, and linting for html and css 2016-07-13 19:52:50 -04:00
catarak
4d6e4857ba add files, server side, only css and js files 2016-07-13 18:53:56 -04:00
catarak
70588cd487 add new file popup, not tested with redux 2016-07-13 16:13:28 -04:00
mathuramg
b4c15e70df add more roles + remove menu roles 2016-07-13 15:23:48 -04:00
mathuramg
1332b7abad convert input to integer 2016-07-13 12:59:58 -04:00
mathuramg
0d9c3a29c8 fix merge conflicts 2016-07-13 12:07:05 -04:00
mathuramg
baec9e9e87 add aria-tags and titles 2016-07-13 11:59:47 -04:00
catarak
30992ac2de fix tooltip styling 2016-07-12 19:24:57 -04:00
catarak
cbdf68cbd0 add styling for error/warning, not for tooltip 2016-07-12 19:11:07 -04:00
catarak
bc69995fb1 super ugly, but added jslinting 2016-07-12 17:38:24 -04:00
Cassie Tarakajian
6010e14e30 Merge pull request #10 from MathuraMG/accessibility
Changes to make the links screen reader compatible
2016-07-12 16:07:04 -04:00
catarak
b4ba44a67e fix editor overflow 2016-07-12 15:58:11 -04:00
mathuramg
70f5638a47 move keyCode 2016-07-12 15:11:45 -04:00
therewasaguy
fae5ea086e Merge branch 'development' of https://github.com/catarak/p5.js-web-editor into console 2016-07-12 15:09:45 -04:00
mathuramg
da493e4014 remove dev changes 2016-07-12 14:50:54 -04:00
mathuramg
2ea803349a add summary to table 2016-07-12 14:00:04 -04:00
mathuramg
0a1ef4e048 fix merge conflicts 2016-07-12 12:28:10 -04:00
mathuramg
67fcd323a4 Merge branch 'master' of https://github.com/catarak/p5.js-web-editor into accessibility 2016-07-12 12:26:20 -04:00
mathuramg
624d79075a make links accessible 2016-07-12 12:25:48 -04:00
catarak
d96e7132dc fix minor styling bugs from PR 2016-07-12 12:07:06 -04:00
Cassie Tarakajian
13aeed8092 Merge pull request #9 from MathuraMG/pref
Add indentation to preferences
2016-07-12 11:59:16 -04:00
mathuramg
22ac7214bd make sidebar accessible 2016-07-12 11:22:27 -04:00
catarak
1f286bc948 add sound and dom by default 2016-07-12 11:13:09 -04:00
mathuramg
d72a6be009 add table scope 2016-07-12 10:16:19 -04:00
mathuramg
99f6ab562c fix merge conflicts 2016-07-11 23:40:30 -04:00
mathuramg
c8f54dced9 fix merge conflict 2016-07-11 23:03:54 -04:00
mathuramg
81c5f91ab3 fix border styles 2016-07-11 22:53:27 -04:00
catarak
b89a1103b9 adjust some colors that were incorrect 2016-07-11 22:00:11 -04:00
catarak
9249d496fa add css files to sketch 2016-07-11 21:54:08 -04:00
mathuramg
5ef51a939e fix styling 2016-07-11 19:14:45 -04:00
catarak
61a6f7d4ac readd sandbox 2016-07-11 17:32:13 -04:00
catarak
552036c7ce add srcdoc polyfill again, maybe this time it will work 2016-07-11 17:21:20 -04:00
catarak
7b8561a55c add srcdoc polyfill to static 2016-07-11 17:00:30 -04:00
catarak
960701942a temporarily remove sandbox 2016-07-11 16:12:31 -04:00
catarak
016325be9b add srcdoc polyfill 2016-07-11 15:50:08 -04:00
catarak
dcc39afb45 add comment about adding srddoc polyfill 2016-07-11 15:27:00 -04:00
catarak
7a164d9cdd multiple files rendering 2016-07-11 15:22:29 -04:00
mathuramg
0942378812 remove dev changes 2016-07-11 09:06:43 -04:00
mathuramg
7f5d83a161 change default indentation 2016-07-11 09:00:44 -04:00
mathuramg
42d59d3fb3 change list to buttons - accessibility 2016-07-11 08:44:27 -04:00
mathuramg
8746558fa8 add isTabIndent to componentchange 2016-07-10 23:11:06 -04:00
mathuramg
65bd8c2e63 include space and tab 2016-07-10 22:52:48 -04:00
mathuramg
3bdd02e859 make preference value input tag 2016-07-10 20:13:37 -04:00
catarak
ebfd1fce0d add Sidebar click to change Editor content 2016-07-08 15:58:49 -04:00
catarak
7a84137e9b start to add selected file stuff 2016-07-08 14:57:22 -04:00
therewasaguy
14ede1388b console: hijack iframe console messages 2016-07-08 14:33:06 -04:00
catarak
e06c821923 fix updating file to return all file keys 2016-07-07 13:50:52 -04:00
catarak
88531447ba add ids to files, fix update file action/reducer 2016-07-07 13:04:54 -04:00
catarak
6e12ed6524 fix default file on server, change file to files in lots of places 2016-07-06 17:29:07 -04:00
catarak
e6d94a0db8 start to add multiple file functionality 2016-07-06 15:09:05 -04:00