Commit graph

804 commits

Author SHA1 Message Date
Akarshit Wal
20bc8633d7 Login and signup page not visible after login (#431)
* Login and signup page not visible after login

* Redirect added on server side
2017-09-29 11:52:20 -07:00
Cassie Tarakajian
dad9284116 fix #439 2017-09-15 16:12:36 -04:00
Cassie Tarakajian
9253d7e1ec fix reversed keyboard shortcuts on nav, fix wording on keyboard shortcut modal 2017-09-15 12:14:01 -04:00
Cassie Tarakajian
8322282269 add turning on and off accessible output to nav 2017-09-15 12:10:54 -04:00
Cassie Tarakajian
a92f4f5b3c refactor stop and stop sketch actions, add start and stop sketch to nav 2017-09-14 17:57:09 -04:00
Cassie Tarakajian
34cf86326b add find next and find previous commands to nav 2017-09-14 16:58:59 -04:00
Cassie Tarakajian
7f206122a2 add keyboard shortcuts to nav items 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
251ab99ac7 move items from editor dropdown to nav 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
1a4193f574 remove logo from toolbar 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
7a399f859a remove unimplemented nav items, fix nav styling 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
5cadf8986c fix logo styling, add link to keybaord shortcuts 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
087f319a8a make nav keyboard accessible 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
7d449e63b9 start to make nav accessible 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
4e822809bb fix logged out nav 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
65b009077b many updates to nav style 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
394772c32c more nav restyling 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
fd26279fed start to restyle nav 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
9eede0f728 fix #429 2017-09-14 14:51:36 -04:00
Cassie Tarakajian
4ea9f96d3f fix #430 2017-09-14 14:32:43 -04:00
Cassie Tarakajian
40fd0f9deb update p5-interceptor 2017-09-06 11:56:32 -04:00
Mathura MG
d29e7ae453 Accessibility (#436)
* add p5 interceptor submodule

* update package

* remoce interceptor

* update interceptor;

* merge scripts

* change postinstall script

* refactor interceptor files

* remove merge conflicts

* change source files

* add registry class

* provide seperate outputs for text and grid

* switch textOutput to boolean

* make both modules usable together

* update interceptor for safari

* fix grid label

* add sound output as well

* change file strucure

* change constants

* change input lables

* switch submodule branch

* change variable name

* change grid to table

* remove role from table elements

* switch submodule branch

* change aria albels

* revert submodule branch to master
2017-09-06 17:55:09 +02:00
Joey Lee
677aa5865b replaced () with {} to fix implicit return error (#434) 2017-09-05 23:54:41 +02:00
Cassie Tarakajian
cfd6bf75b2 update p5 interceptor 2017-08-29 16:22:55 -04:00
Zach Rispoli
1897ccdef2 Change setting so that decomment library preserves spaces (#411)
* Change setting so that decomment preserves spaces

* Fix trailing spaces
2017-08-03 23:27:01 +02:00
Saumya Balodi
fcb89e2c2b Issue211 (#409)
* Update Repository

* Syntaxt Highlighting for dark and light themes
2017-08-03 23:09:25 +02:00
Cassie Tarakajian
f68bf9b08e Merge branch 'zrispo-feature-asset-serving' 2017-08-01 16:41:36 -04:00
Cassie Tarakajian
63b47319d4 fix merge conflict 2017-08-01 16:07:21 -04:00
Cassie Tarakajian
e111d3c020 fix line number for runtime errors 2017-08-01 15:03:48 -04:00
Katyayani Singh
fa98306b9a Update Find styling to new design (#401)
* Update Find styling

* Update placeholder text
2017-07-28 17:38:47 +02:00
Zach Rispoli
b194a24564 Re-enable serving text files as blobs + Remove comments 2017-07-26 14:04:24 -04:00
Cassie Tarakajian
983248ccb7 fixes #402 2017-07-24 11:12:11 -04:00
Zach Rispoli
e987e8f483 Bundle libraries when project is downloaded as zip (New approach) (#376)
* External libraries are bundled with zip when project is downloaded (#44)

* Fix linting errors

* Add a check for valid URLs before trying to bundle a library into project

* Add is-url lib to package.json
2017-07-19 19:56:52 +02:00
Cassie Tarakajian
b384fdc6ba remove console errors and extraneous console logs 2017-07-17 17:34:11 -04:00
Cassie Tarakajian
4684feaff6 fix #394 2017-07-14 15:35:02 -04:00
Cassie Tarakajian
a04e1b0bc4 update version of pretty-bytes to one that works with webpack 2017-07-11 12:08:57 -04:00
Cassie Tarakajian
57402cca8b catch migration error 2017-07-11 11:53:38 -04:00
Cassie Tarakajian
0bac435c72 debug asset migration 2017-07-11 11:51:56 -04:00
Cassie Tarakajian
3b36cd1e9c fix asset migration script 2017-07-11 11:50:23 -04:00
Cassie Tarakajian
e140702784 Create Asset List View and refactor overlay code (#356)
* 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
2017-07-11 17:37:43 +02:00
Cassie Tarakajian
080e9aa823 fix #370 by moving icon placeholder to a mixin 2017-06-26 17:46:47 -04:00
Cassie Tarakajian
1359a72f2d fix #372 2017-06-26 15:39:21 -04:00
Cassie Tarakajian
0532990314 update p5 version to latest 2017-06-26 15:11:42 -04:00
Cassie Tarakajian
607a27a4a1 remove jsonwebtoken as a dependency 2017-06-26 15:07:51 -04:00
Andrew Nicolaou
6cbc376d6e CSRF/XSS protection (#374)
* /api endpoints only allows requests with application/json Content-Type

Otherwise sends 406 Unacceptable

* Uses CSRF token

The CSRF token is sent as the cookie 'XSRF-TOKEN' on all HTML page
requests. This token is  picked up automatically by axios
and sent to the API with all requests as an 'X-XSRF-TOKEN' header.
The middleware runs on all routes and verifies that the token matches
what's stored in the session.
2017-06-26 13:58:58 -04:00
Cassie Tarakajian
4476405021 change all email links to update protocol based on node env 2017-06-26 13:48:24 -04:00
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
Zach Rispoli
7403b2b2d6 Current sketch will stop playing if a new example is opened (issue #357) (#365)
* Current sketch will stop playing if a new example is opened (#357)

* stopSketch dispatches on route change

* Remove extra stopSketcch calls
2017-06-18 17:11:23 -04:00
Cassie Tarakajian
1ae37ebaaa fix lingering linting errors 2017-06-13 16:47:36 -04:00
Zach Rispoli
396fc701c7 Fix issue with serving assets inside folders 2017-06-12 13:49:45 -04:00
Andrew Nicolaou
2e62c6b288 Find (#359)
* 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
2017-06-06 15:20:21 -04:00