Commit Graph

73 Commits

Author SHA1 Message Date
Liang Tang d5856ba923 Remove authorization from specific routes (#642)
* fixes #569

* update listObjectsInS3ForUser

* update client-side routes

* update aws controller

* update

* redirect to /login when unlogged in
2018-05-29 21:37:10 -07:00
Liang Tang 7a48899862 make keyboard nav accessible (#628) 2018-05-11 17:07:29 -07:00
Cassie Tarakajian 5057a901fe fix a few linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian c90dac55b7 update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
Liang Tang 1335985ab8 fixes #610, fixes #604 (#611) 2018-04-02 17:58:21 -07:00
Himanshu 41fd31e6a5 Issue#591 (#592)
* fixes #555

* fixes #591

* Update README.md

* Update examples.js

* Update examples.js
2018-03-08 16:34:21 -05:00
Himanshu 074e654b64 fixes #525 (#549)
* fixes #525

On clicking on the links itself, the menu can be closed.

* fixes #525

Account click added.
2018-02-20 14:32:09 -05:00
Mr.tang 6f5472020c Fixes #517 (#530)
* update download file's name

* fix lint error

* use moment.js

* slugify filename

* fix lint error
2018-02-13 11:28:06 -05:00
Cassie Tarakajian daeed8749d
fixes #528 (#536) 2018-02-09 16:32:06 -05:00
Dhruvdutt Jadhav e7abb55ee7 Fixes #515 Update React to 16 and other dependencies (#519)
* Update to react, react-dom 16.2.0

* Update react-redux

* Update react-tabs

* Update redux-devtools

* Update redux-devtools-dock-monitor

* Update redux-devtools-log-monitor

* Add prop-types package

* Update gitignore

* Update all files to use prop-types package

* Update react-router

* Update react-inlinesvg
2018-02-07 13:06:07 -05:00
Cassie Tarakajian 48cbd79ca8 fixes #443 2017-10-11 12:56:44 -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 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 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 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
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
Andrew Nicolaou 313fc856d1 Fixes linting errors (#362) 2017-06-05 22:33:32 -04:00
Kevin Dodge 6518bf14bf Fix typo in preview version/bug reporting announcement (space needed between 'bugs' and 'here'). (#345) 2017-05-03 11:57:33 -04:00
Andrew Nicolaou ae668f681e HTTPS UI switch (#335)
* 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
2017-05-03 11:46:12 -04:00
Andrew Nicolaou a267837fb7 Persists Redux store to/from sessionStorage (#334)
* Persists Redux store when reloading app for login

* Disable confirmation box when leaving page for login

* Removes extra console.warn

* Sets serveSecure: true for new projects if served over HTTPS

* Clears persisted state on IDEView load

Because when a sketch is created on HTTPS and then the user logs in
the page won't be reloaded

* Appends ?source=<protocol> to URL to track return protocol
2017-04-20 14:05:15 -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
Yining Shi fe6acc90e4 Adding User Settings View (#325)
* 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
2017-03-16 18:25:12 -04:00
Cassie Tarakajian e87390adb9 update eslint to latest version, fix lots of linting errors (#308)
* 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
2017-02-22 14:29:35 -05:00
Cassie Tarakajian 257b44ad23 change links in nav to /{username}/sketches from /sketches 2017-01-24 16:14:07 -05:00
Cassie Tarakajian a9ee70e033 #254 show error when user attempts to save stale version of project, refactor error modals to one component 2017-01-24 15:29:25 -05:00
Cassie Tarakajian cb2d8d0dd5 fix #269 2017-01-17 13:20:42 -05:00
Cassie Tarakajian 885967d8e3 fix #260 2017-01-08 16:42:20 -05:00
Lauren McCarthy c6ecda4f3a adding alpha warning (#249)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* adding alpha warning
2017-01-06 15:13:46 -05:00
Cassie Tarakajian 074f5b35b1 fix #243 2017-01-05 15:27:57 -05:00
Lauren McCarthy 28323ffc09 formatting of dropdown login and editor menus (#239)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* dropdown formatting closes #210
2016-12-20 00:21:04 -05:00
Lauren McCarthy 5de2a6761f Prefs (#238)
* removing avenir font, using montserrat instead due to licensing issues

* removing old import statement for typeography scss file

* formating prefs pane

* updating capitalization
2016-12-19 23:48:36 -05:00
Cassie Tarakajian cb41b3296d minor css fixes to nav 2016-12-19 17:56:39 -05:00
Lauren McCarthy 844c918652 styling of nav and toolbar (#237)
* 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
2016-12-19 17:52:21 -05:00
Yining Shi 29de5fce55 Fetch examples from p5 website repo (#203)
* changed open to examples, created basic fetch-examples.js

* use dotenv babel-register polyfill

* save examples in order

* added assets

* use rawgit.com

* async process.exit

* sound:Convolution Reverb
2016-12-01 18:57:50 -05:00
Cassie Tarakajian 0a459246ac FINALLY fix #52, this will not work with redirecting to https when authenticating but we will cross that bridge when we get there 2016-11-29 15:51:16 -05:00
Cassie Tarakajian 33582a1a2e change nav extension to jsx 2016-11-08 19:04:08 -05:00
Cassie Tarakajian 85b8f5b589 fixes #96, downloads now work on safari and firefox 2016-11-02 14:08:53 -04:00
Cassie Tarakajian 93de8596f2 fix #154 2016-10-19 12:36:40 -04:00
Zhuoxi Song 2856615c4d added link to p5js reference at top nav (#131) 2016-10-07 11:26:49 -04:00
catarak 3cee334a21 remove save from nav when viewing another user's project 2016-09-07 15:21:22 -04:00