Commit graph

28 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
Cassie Tarakajian
9e61382e87 #182 possible fix to password reset 2016-12-13 13:28:01 -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
b06fb4cb80 change p5.js password reset email 2016-11-02 18:08:28 -04:00
Cassie Tarakajian
e66b916349 change password reset email address 2016-10-19 12:36:58 -04:00
Cassie Tarakajian
70f1c1c8f1 update email copy 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
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
catarak
3b6bfbc552 check for duplicate email and username 2016-09-02 14:51:30 -04:00
catarak
afc86740b3 fix preferences font size text size bug 2016-08-09 18:45:59 -04:00
catarak
9f9425c5e9 update preferences server side 2016-08-09 14:20:54 -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
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
0c54f372c1 store signup in redux 2016-06-20 17:50:45 -04:00
catarak
4908dc1e0b change authentication to cookies 2016-06-20 17:47:47 -04:00
catarak
25951cd45b add sign up server side, still working on client side 2016-06-20 17:47:47 -04:00
catarak
b2a4eacc52 add dotenv, start to add signup 2016-06-20 17:47:47 -04:00
catarak
22964f7a1c add sign up server side, still working on client side 2016-06-20 17:47:46 -04:00
catarak
341158579f add dotenv, start to add signup 2016-06-20 17:47:46 -04:00
catarak
09654ca66b add sign up server side, still working on client side 2016-06-20 17:47:17 -04:00
catarak
c496f20699 add dotenv, start to add signup 2016-06-20 17:47:17 -04:00
catarak
fdd946b961 add sign up server side, still working on client side 2016-06-20 17:47:16 -04:00
catarak
1f75b4d390 add dotenv, start to add signup 2016-06-20 17:46:42 -04:00
catarak
4e1ea2d1fc sign up view renders, not tested if functional 2016-06-20 17:46:23 -04:00
catarak
dfe54dd784 add framework for sessions 2016-06-20 17:44:36 -04:00