Commit Graph

43 Commits

Author SHA1 Message Date
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
Cassie Tarakajian e6979ebed2 add step to download examples to development and production setup, #349 2017-05-24 12:08:12 -04:00
Cassie Tarakajian 2a9ea85ed8 #339 add region to .env 2017-04-13 14:39:03 -04:00
Anderson 4f531c14f4 Update README.md (#338) 2017-04-11 19:55:05 -04:00
JunShern bece2292fb Fix broken Markdown formatting (#332) 2017-04-05 21:50:17 -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
Cassie Tarakajian 608ebbf917 add link to local ssl proxy gist in readme 2017-03-23 14:56:45 -04:00
Andrew Nicolaou 6af92a4a32 Exposes API endpoint URL to client via env variable (#323) 2017-03-16 00:34:14 -04:00
Cassie Tarakajian ae7212c6a9 add a test for git hook 2017-03-09 18:03:45 -05:00
Cassie Tarakajian c4f0000c35 update readme 2017-03-09 17:55:52 -05:00
Mathura MG 113c23d1e9 Change accessibility URL (#314)
google drive is not accessible - switching to gist
2017-03-01 15:41:07 -05:00
Mathura MG c4e5c772d1 add accessible guideline to the code editor (#313) 2017-03-01 15:01:00 -05:00
Daniel Shiffman b018aa645c adding info about installing mongoDB 2017-01-17 15:03:37 -05:00
Mathura MG ac9e65bb30 Change accessibility example links (#264) 2017-01-13 10:18:37 -05:00
Cassie Tarakajian 582a04c6eb add submodule change to top of readme 2016-11-23 13:55:42 -05:00
Cassie Tarakajian b7efbff423 add submodule instructions to readme 2016-11-23 13:43:19 -05:00
Cassie Tarakajian d0f7326588 update README with MongoDB backup info 2016-11-16 15:03:10 -05: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
Cassie Tarakajian 745a1de095 update README with updated info about the .env file 2016-10-11 16:35:29 -04:00
Mathura MG d8ad4849e4 add accessibility guide (#116)
* add accessibility guide

* fix grammatical errors
2016-10-08 19:03:01 -04:00
catarak dec3f93c39 add github keys to README 2016-09-02 17:40:44 -04:00
catarak e6bd224694 add ES6 references to readme, add jsx-a11y to .eslintrc 2016-08-27 21:28:00 -04:00
Lauren McCarthy 9215694ee0 minor readme link edit 2016-08-01 18:43:22 +10:00
Lauren McCarthy 967231e73e formatting readme 2016-08-01 18:28:43 +10:00
Lauren McCarthy 111faeae68 formatting readme 2016-08-01 18:27:31 +10:00
Lauren McCarthy 7473403564 formatting readme 2016-08-01 18:26:53 +10:00
Lauren McCarthy c95d3ac671 formatting readme 2016-08-01 18:25:38 +10:00
catarak 4919d13e9a update readme with AWS guide 2016-07-20 19:57:39 -04:00
catarak 7952eee7bd update readme, add s3 bucket to webpack config 2016-07-20 19:48:00 -04:00
Lauren McCarthy 8753c891bb readme 2016-07-12 18:24:58 +10:00
Lauren McCarthy 56ff5d0c06 readme 2016-07-12 18:23:57 +10:00
catarak aa0637c256 fix bugs with saving/fetching projects 2016-06-29 12:52:16 -04:00
catarak 2481cc3f85 small changes to README readability 2016-06-28 18:28:35 -04:00
catarak 5c6b339461 update README 2016-06-28 18:21:05 -04:00
catarak 16dad6934b add jsbin console source to readme 2016-06-20 17:51:03 -04:00
catarak 99c9506081 add react router 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 16abc8d725 add react router 2016-06-20 17:46:23 -04:00
catarak d833ff9f19 update README and add npm start script 2016-05-11 00:02:12 -04:00
catarak bd3a554121 set up styles with scss + webpack 2016-05-10 14:18:36 -04:00
catarak e8fa62aa3d add test preview component, vulnerable to xss 2016-05-09 16:13:37 -04:00
catarak 2f2c1d1e8b render editor 2016-05-03 16:13:04 -04:00
catarak 5e2a57d9eb initial commit 2016-05-03 00:09:16 -04:00