Commit graph

254 commits

Author SHA1 Message Date
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
517045623c fix autosave, which apparently had never worked 2017-05-13 20:47:41 -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
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
94694c5a72 start to fix editing permissions for the sidebar 2017-04-13 13:41:03 -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
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
Cassie Tarakajian
e87390adb9 update eslint to latest version, fix lots of linting errors (#308)
* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

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

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* fix some accessibility linting errors

* fix a lot of linting errors

* fix a billion more linting errors

* hopefully fix all linting errors, still need to test

* fix bugs that fixing linting had caused
2017-02-22 14:29:35 -05:00
Cassie Tarakajian
93e0ec2a73 fix #284, when autorefresh is enabled, clear the console as well 2017-02-17 16:04:47 -05:00
Cassie Tarakajian
ad62d20544 fix #284 2017-01-31 16:45:47 -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
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
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
d0445a624d fix #261 2017-01-08 17:00:52 -05:00
Cassie Tarakajian
885967d8e3 fix #260 2017-01-08 16:42:20 -05:00
Cassie Tarakajian
074f5b35b1 fix #243 2017-01-05 15:27:57 -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
df495997f8 fix #215 2016-12-09 14:33:21 -05:00
Jen Kagan
55b54f09bd Change routes to /:username/sketches/:projectid (#216) 2016-12-01 17:12:34 -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
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
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
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
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
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
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
23fb53bc9b fix bug where you could save another user's sketches with keyboard shortcut 2016-11-02 22:19:05 -04:00
Cassie Tarakajian
17fab1782e fixes #162 2016-10-25 17:05:53 -04:00
Cassie Tarakajian
8c270c2ced generate blob urls for text and json files 2016-10-22 16:42:43 -04:00
Cassie Tarakajian
280d3e69ea fix keyboard shortcuts on safari 2016-10-19 18:35:59 -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
1610b0168d start to add mailgun and nodemailer 2016-10-19 12:36:57 -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
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
Cassie Tarakajian
e511db64fe change console throttling to batch deliver messages 2016-10-06 16:58:14 -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
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
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
c55e1f5de4 a lot of dark theme fixes 2016-09-21 18:52:44 -04:00
Cassie Tarakajian
3d087df1a2 add light and dark codemirrir themes 2016-09-21 00:00:43 -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
103ebd2014 add theme to preferences, add backbone of themes to scss 2016-09-20 23:57:27 -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
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
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
0716d209c4 add show/hide editor options 2016-09-07 16:33:01 -04:00
catarak
14a51b6332 add share modal 2016-09-06 22:37:29 -04:00
catarak
01ad5611c6 sidebar styling fixes 2016-09-03 20:29:18 -04:00
catarak
bf61fdd992 nested css styling fixes 2016-09-02 17:41:02 -04:00
catarak
9d3bcf2a15 add new folder modal 2016-09-02 17:41:02 -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
cbb272ec14 file tree renders, select file works and editor changes content, rename works 2016-09-02 17:41:01 -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
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
049b3ce0e5 include JSONs in local 2016-08-19 12:44:44 -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
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
9c03efcef2 read data from json file 2016-08-15 18:06:09 -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
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
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
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
catarak
43c49e9617 when clicking new project, don't save new project 2016-08-12 12:45:26 -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
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
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
5cf1249cc7 merge master 2016-08-10 15:51:56 -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
42b15d06de add autosave to preferences 2016-08-09 16:15:28 -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
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
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
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
catarak
a2072d9b0c move preference action creators to preferences component 2016-08-01 13:55:49 -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
a5db4ae9f6 can't upload media if not logged in 2016-07-20 22:18:20 -04:00
catarak
f0872f8173 clear file uploader after upload 2016-07-20 18:37:49 -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
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
catarak
accf8e2504 add expand/contract sidebar 2016-07-14 12:47:54 -04:00
catarak
70588cd487 add new file popup, not tested with redux 2016-07-13 16:13:28 -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
catarak
9249d496fa add css files to sketch 2016-07-11 21:54:08 -04:00
catarak
7a164d9cdd multiple files rendering 2016-07-11 15:22:29 -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
catarak
e06c821923 fix updating file to return all file keys 2016-07-07 13:50:52 -04:00
catarak
e6d94a0db8 start to add multiple file functionality 2016-07-06 15:09:05 -04:00
mathuramg
1b56f8ce54 add more preferences 2016-07-06 11:27:39 -04:00
catarak
b9db744b99 add props to ide view 2016-06-27 15:34:58 -04:00