Restrict the z-index of the console (and any other preview panes) to the
context of the preview container, thereby preventing any internal
content from overlaying a modal. `z-index:0` is used as a more
browser-compliant form of `isolation:isolate` or `contain:paint` to
create an isolated stacking context.
* fixes#384
Positioning and font-size was off.
* Added consistent styling
* Further Changes.
* removed line height.
* fixes#371
* Made minor semantic and code consistency changes.
* anchor tag removed
* start to create asset list
* begin refactoring overlay component to remove duplicate code
* refactoring of overlays, asset list styles
* changes to add size to asset list
* fixes to asset list
* handle case in which a user hasn't uploaded any assets
* fix bug in which asset list only grabbed first asset
* remove console.log
* update overlay exit styling to use icon mixin
* 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
* Styles CodeMirror Search box
* Switch to fork of search add-on
* Styles search box using custom markup
* Prev/Next search behaviour, highlighting current result
* Hide search modifiers until implemented
* Regexp search
* Style RegExp modifier button active state
* Styles search modifiers
* Wires up Case Sensitive search button
* Allows case insenstive regexp search
* Do not show underlying regexp query string when re-opening dialog
* Adds "Whole word" search
* Adds title and aria-label for tooltip and screenreaders
* Whole Word button shows correct active/inactive state
* Disables replace implementation which doesn't work
* Tidies up query parsing so it's less of a hack
- uses state to convert query text into a regexp
- avoids having to fake regexp using "/.../" syntax
- parsing is now in one place
* Uses shared metaKey function for Cmd/Ctrl key
* Adds find function to keyboard shortcuts modals
* Sets aria-checked to true/false to indicate button state
* Sets role=checkbox on checkbox-like buttons
* 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
* Tries to match user account from list of emails in Github API
Requests the 'user:email' scope from Github which returns the private
emails associated with the user's account.
* Centres GitHub button in layout
* added account page showing username and email
* change username and email
* validate current password and add new password
* reject promise with error for reduxForm submit-validation for current password
* updated user reducer to handle setting sucess and server side async
* warning if there is current password but no new password
* fixes logout button
* import validate function, fixes logout style
* 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
* fix UI Detail: color of 'by' in author/account name #299
* Fix color of Title text
* Wrap <code>getThemifyVariable()</code> in <code>@include themify</code>.
* Add missing curly brace
* removing avenir font, using montserrat instead due to licensing issues
* removing old import statement for typeography scss file
* adding alpha warning
* 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
* removing avenir font, using montserrat instead due to licensing issues
* removing old import statement for typeography scss file
* dropdown formatting closes#210
* 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
* styling of nav and toolbar
* 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
* removing avenir font, using montserrat instead due to licensing issues
* updating headings for sketchlist
* removing old import statement for typeography scss file
* implementing new design for sketchbook closes#207
* removing seconds from sketchlist view
* remove outline from active icon
* 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
* initial changes for high contrast theme
* change more colours
* add more styles
* add new variables
* fix few more colours
* fix typo
* fix indent
* make logo colour a variable
* 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
* fixed upper-right button being blocked by vertical scroll bar
moved the upper-right button in editor a little to the left, so that
once
vertical scroll bar appears, it will not block this button
* minor fix