Commit Graph

28 Commits

Author SHA1 Message Date
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 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
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 af3cb60ce1 fix linting errors that are fixable with --fix in server side code 2016-11-17 11:15:35 -05:00
Cassie Tarakajian 85b8f5b589 fixes #96, downloads now work on safari and firefox 2016-11-02 14:08:53 -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
catarak 34fe78d734 create file works server side 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 bca59a6233 add /:username/sketches links to username sketches 2016-08-17 15:53:25 -04:00
catarak afc86740b3 fix preferences font size text size bug 2016-08-09 18:45:59 -04:00
catarak 8d8e399aac add cloning of projects 2016-07-15 13:36:33 -04:00
catarak c3486af031 add author name to sketches 2016-07-15 11:54:47 -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 6e12ed6524 fix default file on server, change file to files in lots of places 2016-07-06 17:29:07 -04:00
catarak 6563d9d90b add sketch list, with links 2016-07-05 16:04:14 -04:00
catarak b2369704a2 start sketch list view 2016-07-01 11:30:40 -04:00
catarak aa0637c256 fix bugs with saving/fetching projects 2016-06-29 12:52:16 -04:00
catarak 21a2b25add fix project saving bug 2016-06-28 19:35:56 -04:00
catarak 3d42da18a8 fix a ton of eslint errors 2016-06-23 18:29:55 -04:00
catarak 3aa3a4d03f add nodemon, remove .env from being tracked 2016-06-22 18:48:45 -04:00
catarak 17836fcd88 add more project saving stuff 2016-06-20 18:01:36 -04:00
catarak d8f47d714b save project without logging in 2016-06-20 18:01:36 -04:00
catarak 719042e41b combine project view and ide view 2016-06-20 18:01:36 -04:00
catarak c25d669fe9 move ajax requests to /api 2016-06-20 18:00:40 -04:00
catarak 1045cddaeb figure out how redux-thunk works 2016-06-20 18:00:40 -04:00
catarak e1a79ba7a6 start to add create project 2016-06-20 18:00:40 -04:00