Commit graph

89 commits

Author SHA1 Message Date
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
Jen Kagan
55b54f09bd Change routes to /:username/sketches/:projectid (#216) 2016-12-01 17:12:34 -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
f40ecebfba #142 add webpack configuration to decrease loading speed 2016-11-08 18:11:12 -05:00
Cassie Tarakajian
2750b1f0ef #189 i have literally been putting this off for months but i finally figured out now to resolve file paths \ 😄 / 2016-11-08 16:50:21 -05:00
Cassie Tarakajian
081c7d521e #189 load text files from server via filename, does not work for file paths 2016-11-08 14:42:23 -05:00
Cassie Tarakajian
85b8f5b589 fixes #96, downloads now work on safari and firefox 2016-11-02 14:08:53 -04:00
Cassie Tarakajian
2645e13786 change full screen view to embed view 2016-11-02 11:12:07 -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
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
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
207bab20eb add embed route, fix path parsing in PreviewFrame 2016-09-06 16:54:16 -04:00
catarak
3dfed2a11e delete files works, server side 2016-09-02 17:41:01 -04:00
catarak
3b6bfbc552 check for duplicate email and username 2016-09-02 14:51:30 -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
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
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
c677c37597 get dropzone to render 2016-07-19 18:27:27 -04:00
catarak
4d6e4857ba add files, server side, only css and js files 2016-07-13 18:53:56 -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
3d42da18a8 fix a ton of eslint errors 2016-06-23 18:29:55 -04:00
catarak
c25d669fe9 move ajax requests to /api 2016-06-20 18:00:40 -04:00
catarak
e1a79ba7a6 start to add create project 2016-06-20 18:00:40 -04:00
catarak
5e631dcb16 add user authentication when first opening editor 2016-06-20 17:51:03 -04:00
catarak
d672166b87 add login view 2016-06-20 17:50:45 -04:00
catarak
2f474f3aff add login route 2016-06-20 17:47:46 -04:00
catarak
ba1cf0c644 add react router 2016-06-20 17:47:46 -04:00
catarak
ea83c2ba0b add a lot of server side libraries, preemptively, still hooking everything up 2016-06-20 17:47:46 -04:00
catarak
33fcafb483 add framework for sessions 2016-06-20 17:47:46 -04:00
catarak
1136ac3f16 add a lot of server side libraries, preemptively, still hooking everything up 2016-06-20 17:47:16 -04:00
catarak
4c8684877e add framework for sessions 2016-06-20 17:47:16 -04:00
catarak
4e1ea2d1fc sign up view renders, not tested if functional 2016-06-20 17:46:23 -04:00
catarak
16abc8d725 add react router 2016-06-20 17:46:23 -04:00
catarak
47491f63ba add a lot of server side libraries, preemptively, still hooking everything up 2016-06-20 17:44:36 -04:00
catarak
dfe54dd784 add framework for sessions 2016-06-20 17:44:36 -04:00