Commit Graph

1399 Commits

Author SHA1 Message Date
Cassie Tarakajian 067e065c1b update nav on collection view 2019-09-25 13:20:49 -04:00
Cassie Tarakajian e2f8fe7e81 fix merge conflicts 2019-09-25 12:14:52 -04:00
Andrew Nicolaou 0f3ce8e3a2 Collection metadata area layout improvements 2019-09-25 12:10:47 -04:00
Andrew Nicolaou f5356007d3 Enable collection and sketch to be created from dashboard page 2019-09-25 12:10:47 -04:00
Andrew Nicolaou 27804acd6a Add sketch to collection from collection view 2019-09-25 12:09:31 -04:00
Andrew Nicolaou 7f78fda073 Fix sketch list padding in collection view 2019-09-25 12:07:18 -04:00
Andrew Nicolaou 7a1fa663af Edit sketch name/description 2019-09-25 12:07:18 -04:00
Andrew Nicolaou 60ec67804b Remove logging 2019-09-25 12:07:18 -04:00
Andrew Nicolaou 2a0a5601ee Display icon-based add/remove button in Collection List 2019-09-25 12:07:18 -04:00
Andrew Nicolaou 0086601af1 Sets Collection List modal in addMode to fixed width 2019-09-25 12:07:18 -04:00
Andrew Nicolaou 679304d0ab Do not empty table when fetching new data 2019-09-25 12:07:18 -04:00
Andrew Nicolaou a385b470b2 Padding for table cells to align with header 2019-09-25 12:07:18 -04:00
Andrew Nicolaou c288481476 Shorten date displayed in Collection List items for better layout 2019-09-25 12:07:18 -04:00
Andrew Nicolaou 20a5ac5ec3 Show toast message when creating collection or adding/removing sketches 2019-09-25 12:07:17 -04:00
Andrew Nicolaou f98919e69b Logged in user can use "Add to collection" menu item 2019-09-25 12:07:17 -04:00
Andrew Nicolaou 959ff3ef20 Splits CollectionList into smaller files 2019-09-25 12:06:07 -04:00
Andrew Nicolaou 8781036ac7 WIP Display collection 2019-09-25 12:06:07 -04:00
Andrew Nicolaou 521e117d95 EditableInput component 2019-09-25 12:06:07 -04:00
Andrew Nicolaou c57ead4c62 Create Collection 2019-09-25 12:06:07 -04:00
Andrew Nicolaou 6ca6e78a28 Displays existing collection
- List all collections for a given user
- View an individual collection
- Link to a sketch from a collection
2019-09-25 12:06:07 -04:00
Andrew Nicolaou af955b1602 Adds collections Nav item behind a feature flag 2019-09-25 12:04:37 -04:00
Cassie Tarakajian 5c54983c24 add searchbar to sketches dashboard view, adjust sketch list and asset list styling to have sticky header 2019-09-24 17:52:45 -04:00
Cassie Tarakajian 5900e62904 unify navigation for authentication pages, add authorization to front end, fixes #650 2019-09-19 13:38:27 -04:00
Andrew Nicolaou 52e98723f5 Collection metadata area layout improvements 2019-09-18 09:10:10 +02:00
Andrew Nicolaou a93ac48587 Enable collection and sketch to be created from dashboard page 2019-09-17 21:32:54 +02:00
Andrew Nicolaou b980ec7854 Add sketch to collection from collection view 2019-09-17 20:48:37 +02:00
Andrew Nicolaou 709aa8eccb Fix sketch list padding in collection view 2019-09-16 23:13:20 +02:00
Andrew Nicolaou 8b058d8e56 Edit sketch name/description 2019-09-16 23:05:24 +02:00
Andrew Nicolaou d2ec6864fb Remove logging 2019-09-16 21:57:32 +02:00
Andrew Nicolaou 5011c1f002 Display icon-based add/remove button in Collection List 2019-09-16 21:50:44 +02:00
Cassie Tarakajian 7f2529a973 merge master 2019-09-11 19:05:15 -04:00
Cassie Tarakajian f09e743e92
Merge pull request #1143 from andrewn/feature/standalone-sketches
Standalone sketches and asset page (fixes #1142)
2019-09-11 16:52:39 -04:00
Cassie Tarakajian 3a65afb6da change link to editor back to 'back to editor' 2019-09-11 16:46:56 -04:00
Andrew Nicolaou 5575c6344a Sets Collection List modal in addMode to fixed width 2019-09-11 21:13:51 +02:00
Andrew Nicolaou a0384f166a Do not empty table when fetching new data 2019-09-11 21:13:34 +02:00
Andrew Nicolaou 41636642c9 Style Dashboard tabs to match visual style of other tabs in app 2019-09-11 20:11:46 +02:00
Andrew Nicolaou 125051ccb1 Use Nav with user menu in "dashboard" layout 2019-09-11 20:11:46 +02:00
Andrew Nicolaou cf3c13266d Padding for table cells to align with header 2019-09-11 20:06:24 +02:00
Andrew Nicolaou fef4bd8d71 Shorten date displayed in Collection List items for better layout 2019-09-11 20:06:08 +02:00
Andrew Nicolaou 611730c289 Refactor Nav 2019-09-11 19:06:30 +02:00
Cassie Tarakajian 8d0e59efc2
Merge pull request #1151 from davidbmx/master
Add matches search into code mirror fixes #936
2019-09-10 16:45:54 -04:00
davidbmx 6030b355ff Remove num results when don't match find 2019-09-10 12:38:12 -05:00
davidbmx 22f958e50a Add matches search into code mirror 2019-09-10 12:00:27 -05:00
Andrew Nicolaou c575559272 Show toast message when creating collection or adding/removing sketches 2019-09-09 18:53:54 +02:00
Andrew Nicolaou 55e6b3162d Logged in user can use "Add to collection" menu item 2019-09-09 18:53:21 +02:00
Andrew Nicolaou 3dbaa900a4 Splits CollectionList into smaller files 2019-09-09 18:52:14 +02:00
Andrew Nicolaou b258d7c5ca Fix routing bug displaying Sketch list tab 2019-09-08 19:25:45 +02:00
Andrew Nicolaou 2df3670dc4 WIP Display collection 2019-09-08 19:24:02 +02:00
Andrew Nicolaou 1c97152533 EditableInput component 2019-09-08 18:57:57 +02:00
Andrew Nicolaou dcf65c6f46 Create Collection 2019-09-08 18:06:16 +02:00
Andrew Nicolaou d02a413bf3 Displays existing collection
- List all collections for a given user
- View an individual collection
- Link to a sketch from a collection
2019-09-08 17:24:46 +02:00
Andrew Nicolaou 8ac95c0084 SketchList and AssetList set page title 2019-09-08 17:10:48 +02:00
Andrew Nicolaou 9c36f2b2e2 Adds collections Nav item behind a feature flag 2019-09-08 16:45:59 +02:00
Andrew Nicolaou 0ae7a9eebb Display Access Token tab depending on UI_ACCESS_TOKEN_ENABLED feature flag (#1149) 2019-09-08 16:45:59 +02:00
Andrew Nicolaou 7ea4ae5637 Fix linting errors and warnings 2019-09-08 16:43:16 +02:00
Cassie Tarakajian a155e7638d
re #1153: fix bug in which login form was in invalid state if user had entered username or password incorrectly on the first try (#1155) 2019-09-06 13:30:06 -04:00
Rick Brown c75e11b631 Add toast to notify when creating new file. Fixes #1140 (#1147)
* Add toast to notify when creating new file

* Add toast for opposite conditional #1147

* Replaced New file created with New sketch created

* re #1140, change copy to 'opened new sketch' to make it clear that the new sketch isn't saved
2019-09-05 14:56:18 -04:00
David 876f0b30fc Add matches search into code mirror 2019-09-02 08:02:49 -05:00
Andrew Nicolaou 162d5276f1 Display Access Token tab depending on UI_ACCESS_TOKEN_ENABLED feature flag (#1149) 2019-08-30 16:15:13 -04:00
Rick Brown 5695830361 add ability to toggle line numbers to accessibility settings. Fixes #1138 (#1146)
* Added SET_LINE_NUMBERS constant

* Added setLineNumbers()

* Added lineNumber prop

* Added functionality to Preferences

* Passing props

* handle case SET_LINE_NUMBERS

* add lineNumber default value to the schema
2019-08-30 12:36:34 -04:00
Cassie Tarakajian 8054a532d7
Update to webpack 4 (#1145)
* remove some of the react errors, start to fix webpack HMR errors

* start upgrade to webpack 4

* more stuff to update webpack

* update webpack configs to work with webpack 4

* remove linting from truncate script
2019-08-28 16:08:40 -04:00
Jon Paul Gualdarrama 68c1e48c99 Fix Issue #588. Only highlight runtime errors at the appropriate line… (#1136)
* Fix Issue #588. Only highlight runtime errors at the appropriate line for file in which the error occurred.

* Modifications to handle js in html <script> tag Part 1

* Correctly highlight errors in JavaScript in a <script> tag
2019-08-27 13:02:07 -04:00
Andrew Nicolaou b1bfb91f80 Serve assets from /:username/assets, redirecting old path 2019-08-24 13:38:01 +02:00
Andrew Nicolaou a0a13ab7fc Flexible table width 2019-08-24 13:38:01 +02:00
Andrew Nicolaou 0193ee8297 Standalone sketch list and asset page 2019-08-24 13:37:55 +02:00
Andrew Nicolaou 1b461d33cf Do not set prevPath if navigation passes through skipSavingPath flag 2019-08-24 13:31:15 +02:00
Apoorv Taneja aa318e0d2d fixed (#1141) 2019-08-22 16:47:22 -04:00
raclim 3d779734c3 Searchbar (#1132)
* search bar function

* Fixes #231, adds searchbar to sketchlist

* Fixes #231, update requested changes to searchbar

* Fixes #231, reset search term after modal closed
2019-08-21 14:08:08 -04:00
BMK 973bf7e98d 1133 - hides scrollbar when not needed (#1134)
* 1133 - hides scrollbar when not needed

* 1133 adds overflow-y:auto to asset-table-container
2019-08-21 11:28:38 -04:00
Apoorv Taneja 07a225c161 Fixed input field (#1130)
* fixed

* fixed

* fixed
2019-08-13 12:27:31 -04:00
Cassie Tarakajian 25151e76ee re: #524, slugify example titles so that they can have a permanent link 2019-08-09 13:07:56 -04:00
Cassie Tarakajian 8dada77ce5
fixes #1121, updates p5.js default to 0.9.0 (#1125) 2019-07-29 12:58:00 -04:00
Cassie Tarakajian d64498ef1f
RE #168, Feature/asset totalsize limit (#1123)
* re #168, add totalsize to response from API, add loader to asset list, add totalsize to asset list ui

* re #168, add totalsize to response from API, add loader to asset list, add totalsize to asset list ui

* update asset list copy to remove limit, since that's not implemented yet
2019-07-24 12:55:58 -04:00
Apoorv Taneja 4c1ebdf83d Email Validation added (#1120)
* changes

* changes

* changes

* changes

* changes
2019-07-23 14:16:05 -04:00
Cassie Tarakajian 443232380c fix errors from rebase, again 2019-07-22 17:52:19 -04:00
Shan Rauf 116675f866 Fix hover effect on Log in and Sign up nav items (#1085)
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
2019-07-22 17:34:26 -04:00
siddhant a851eda254 Add sorting to sketches #789 (#910)
* reselect added

* Added Reselect Sorting

* Refactor App

* added svgs

* Refactor

* Fixed Issues

* re: #789, update sorting styling, create sorting actions and reducers, add sort by sketch name

* re #789, change names of svg icons

* re: #789, use orderBy instead of sortBy, fix styling jumps
2019-07-22 17:34:26 -04:00
Vertmo a10e0f0327 You can now generate keys from the advanced settings interface 2019-07-22 17:33:26 -04:00
Laksh Singla bfef3e93dc Update sketch list styling (#819)
* parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400

parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400

parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400

Created initial html structure and styling for new SketchList design

Final styling of ActionDialogueBox commplete

Dropdown menu disappearing while clicking anywhere on the table

Fixed linting issues and renamed variables

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color

Added Delete and Share functionality to Dialog box

Added Duplicate functionality to Dialog box

Added download functionality to Dialog box

SketchList does not open a sketch if dialogue box is opened

SketchList Rename initial UI completed

Enter key handled for rename project option

[WIP] Updating rename functionality

Download option now working for all the sketches

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

fix broken files from rebasing

Created initial html structure and styling for new SketchList design

Final styling of ActionDialogueBox commplete

Added Delete and Share functionality to Dialog box

Added Duplicate functionality to Dialog box

[WIP] Updating rename functionality

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Final styling of ActionDialogueBox commplete

Fixed linting issues and renamed variables

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

Added Delete and Share functionality to Dialog box

[WIP] Updating rename functionality

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

fix broken files from rebasing

Final styling of ActionDialogueBox commplete

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

[WIP] Updating rename functionality

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

* fix bugs in merge commit

* move sketch list dialogue to ul/li

* update sketch option dropdown to use dropdown placeholder, remove unused css

* major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing

* fix broken links on asset list

* remove unused image, fix options for different users in sketch list
2019-07-22 17:32:55 -04:00
Cassie Tarakajian ab7ecfc012 fix lingering errors from rebase 2019-07-22 17:22:36 -04:00
Shan Rauf 4e0ee89380 Fix hover effect on Log in and Sign up nav items (#1085)
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
2019-07-22 16:16:17 -04:00
siddhant d7837a62be Add sorting to sketches #789 (#910)
* reselect added

* Added Reselect Sorting

* Refactor App

* added svgs

* Refactor

* Fixed Issues

* re: #789, update sorting styling, create sorting actions and reducers, add sort by sketch name

* re #789, change names of svg icons

* re: #789, use orderBy instead of sortBy, fix styling jumps
2019-07-22 16:16:17 -04:00
Andrew Nicolaou f937e72131 Makes form CSS theme-aware 2019-07-22 16:16:17 -04:00
Andrew Nicolaou e77cbf4fa3 Changes API_KEY_REMOVED action constant to match API_KEY_CREATED 2019-07-22 16:14:51 -04:00
Vertmo 64caab0702 You can now generate keys from the advanced settings interface 2019-07-22 16:13:59 -04:00
Cassie Tarakajian d4914983a4 prevent users from adding extension to folder name 2019-07-22 16:09:11 -04:00
Rachel Lim 1dd723cb9f for 989, updated folder cannot be renamed to empty string 2019-07-22 16:09:11 -04:00
Rachel Lim b94ca8a52d for #989, files cannot be renamed to empty string 2019-07-22 16:09:11 -04:00
Laksh Singla c3856480b8 Update sketch list styling (#819)
* parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400

parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400

parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400

Created initial html structure and styling for new SketchList design

Final styling of ActionDialogueBox commplete

Dropdown menu disappearing while clicking anywhere on the table

Fixed linting issues and renamed variables

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color

Added Delete and Share functionality to Dialog box

Added Duplicate functionality to Dialog box

Added download functionality to Dialog box

SketchList does not open a sketch if dialogue box is opened

SketchList Rename initial UI completed

Enter key handled for rename project option

[WIP] Updating rename functionality

Download option now working for all the sketches

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

fix broken files from rebasing

Created initial html structure and styling for new SketchList design

Final styling of ActionDialogueBox commplete

Added Delete and Share functionality to Dialog box

Added Duplicate functionality to Dialog box

[WIP] Updating rename functionality

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Final styling of ActionDialogueBox commplete

Fixed linting issues and renamed variables

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

Added Delete and Share functionality to Dialog box

[WIP] Updating rename functionality

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

fix broken files from rebasing

Final styling of ActionDialogueBox commplete

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

[WIP] Updating rename functionality

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

* fix bugs in merge commit

* move sketch list dialogue to ul/li

* update sketch option dropdown to use dropdown placeholder, remove unused css

* major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing

* fix broken links on asset list

* remove unused image, fix options for different users in sketch list
2019-07-22 16:09:11 -04:00
Cassie Tarakajian 0206148b65 fixes #924 (#1107) 2019-07-22 16:09:11 -04:00
Cassie Tarakajian 3c190874da re #389, update styling in sidebar and editor for icon consistency (#1104)
* re #389, update styling in sidebar and editor for icon consistency

* re #389, remove link to unused icon
2019-07-22 16:09:11 -04:00
Cassie Tarakajian 38e5022661 fixes #945 (#1102) 2019-07-22 16:07:37 -04:00
Cassie Tarakajian edcd225b9d fixes #943 (#1101) 2019-07-22 16:07:37 -04:00
Apoorv Taneja f13e806398 Added hover effect on sidebar elements (#887)
* fixes

* changes

* fixes #886, adjusts sidebar styling to match navigation dropdown, move nav dropdown and sidebar dropdowns into common placeholder
2019-07-22 16:07:37 -04:00
Cassie Tarakajian cc456200a2 prevent users from adding extension to folder name 2019-07-17 12:33:23 -04:00
Rachel Lim 1e5a2b7c51 for 989, updated folder cannot be renamed to empty string 2019-07-17 12:33:23 -04:00
Rachel Lim 4861c03e36 for #989, files cannot be renamed to empty string 2019-07-17 12:33:23 -04:00
Laksh Singla 735adcfa05 Update sketch list styling (#819)
* parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400

parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400

parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400

Created initial html structure and styling for new SketchList design

Final styling of ActionDialogueBox commplete

Dropdown menu disappearing while clicking anywhere on the table

Fixed linting issues and renamed variables

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color

Added Delete and Share functionality to Dialog box

Added Duplicate functionality to Dialog box

Added download functionality to Dialog box

SketchList does not open a sketch if dialogue box is opened

SketchList Rename initial UI completed

Enter key handled for rename project option

[WIP] Updating rename functionality

Download option now working for all the sketches

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

fix broken files from rebasing

Created initial html structure and styling for new SketchList design

Final styling of ActionDialogueBox commplete

Added Delete and Share functionality to Dialog box

Added Duplicate functionality to Dialog box

[WIP] Updating rename functionality

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Final styling of ActionDialogueBox commplete

Fixed linting issues and renamed variables

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

Added Delete and Share functionality to Dialog box

[WIP] Updating rename functionality

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

fix broken files from rebasing

Final styling of ActionDialogueBox commplete

Minor tweaks in the SketchList dropdown dialogue UI

Themifyed the dropdown

[WIP] Updating rename functionality

Duplicate functionality extended for non opened sketches too

Modified overlay behaviour to close only the last overlay

Share modal can now display different projects

Dropdown closes when Share and Delete are closing for a more natural UX

* fix bugs in merge commit

* move sketch list dialogue to ul/li

* update sketch option dropdown to use dropdown placeholder, remove unused css

* major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing

* fix broken links on asset list

* remove unused image, fix options for different users in sketch list
2019-06-19 16:21:25 -04:00
Cassie Tarakajian 4bd081b307
fixes #924 (#1107) 2019-06-18 16:54:16 -04:00
Cassie Tarakajian b3c3efcec9
re #389, update styling in sidebar and editor for icon consistency (#1104)
* re #389, update styling in sidebar and editor for icon consistency

* re #389, remove link to unused icon
2019-06-14 13:30:13 -04:00
Cassie Tarakajian 0b24938dce
fixes #945 (#1102) 2019-06-12 17:11:35 -04:00
Cassie Tarakajian 68f3d145d0
fixes #943 (#1101) 2019-06-12 16:12:19 -04:00
Apoorv Taneja d778a07541 Added hover effect on sidebar elements (#887)
* fixes

* changes

* fixes #886, adjusts sidebar styling to match navigation dropdown, move nav dropdown and sidebar dropdowns into common placeholder
2019-06-12 15:58:02 -04:00
Shan Rauf 1ef07ed7a6 Fix hover effect on Log in and Sign up nav items (#1085)
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
2019-06-11 17:47:14 -04:00
Andrew Nicolaou 528f57ad0c Removes the createProject IDE action as it's not used (#1097) 2019-06-11 17:47:14 -04:00
siddhant 8caeb0d439 Add sorting to sketches #789 (#910)
* reselect added

* Added Reselect Sorting

* Refactor App

* added svgs

* Refactor

* Fixed Issues

* re: #789, update sorting styling, create sorting actions and reducers, add sort by sketch name

* re #789, change names of svg icons

* re: #789, use orderBy instead of sortBy, fix styling jumps
2019-06-11 17:47:14 -04:00
Cassie Tarakajian 6f1b6fd51c for #950, update babel to v7 (#1077)
* for #950, upgrade babel to v7

* fix linting errors

* for #950, remove @babel/core from devDependencies (so it's only in dependencies) and change babel-loader config to use .babelrc

* for #950, changes to .babelrc to make  work

* for #950, include core-js modules in webpack config for IE support with babel/plugin-syntax-dynamic-import

* for #950, update babel and associated packages to LTS
2019-06-11 17:47:14 -04:00
Shan Rauf eb82968a9f Fix hover effect on Log in and Sign up nav items (#1085)
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
2019-06-11 17:46:37 -04:00
Andrew Nicolaou 60a3197621 Removes the createProject IDE action as it's not used (#1097) 2019-06-11 17:29:42 -04:00
Andrew Nicolaou 4679d6a0bd Show "Back to the editor" in nav on Account view page 2019-06-11 16:24:26 -04:00
Andrew Nicolaou eb4846c3c2 Fix layout on user pages 2019-06-11 16:24:26 -04:00
Andrew Nicolaou 1f95718f58 Page background matches selected theme for user pages 2019-06-11 16:24:26 -04:00
Andrew Nicolaou b16cb26a4b Makes Account view a modal 2019-06-11 16:24:26 -04:00
Andrew Nicolaou 7b0d128082 Uses colours from design style guide 2019-06-11 16:24:26 -04:00
Andrew Nicolaou a6d7ea409a Unifies button styles for forms and app 2019-06-11 16:24:26 -04:00
Andrew Nicolaou ac1afd53ef Increases modal width to match design 2019-06-11 16:24:26 -04:00
Andrew Nicolaou 2854aa9235 Extracts tabs into reusable CSS 2019-06-11 16:24:26 -04:00
Andrew Nicolaou 067adb0052 Makes form CSS theme-aware 2019-06-11 16:24:26 -04:00
Andrew Nicolaou 5e74be46fd Adds theme-aware CSS for "user" pages 2019-06-11 16:24:26 -04:00
Andrew Nicolaou e210d8ce06 Adds themed table-row-stripe colour to be used globally 2019-06-11 16:24:26 -04:00
siddhant b7df80a96c Add sorting to sketches #789 (#910)
* reselect added

* Added Reselect Sorting

* Refactor App

* added svgs

* Refactor

* Fixed Issues

* re: #789, update sorting styling, create sorting actions and reducers, add sort by sketch name

* re #789, change names of svg icons

* re: #789, use orderBy instead of sortBy, fix styling jumps
2019-06-06 17:17:33 -04:00
Cassie Tarakajian 18f646bde9
for #950, update babel to v7 (#1077)
* for #950, upgrade babel to v7

* fix linting errors

* for #950, remove @babel/core from devDependencies (so it's only in dependencies) and change babel-loader config to use .babelrc

* for #950, changes to .babelrc to make  work

* for #950, include core-js modules in webpack config for IE support with babel/plugin-syntax-dynamic-import

* for #950, update babel and associated packages to LTS
2019-06-05 12:05:31 -04:00
Cassie Tarakajian b41b3538b9 fixes #417, add default p5.js inclusion to non-minified version, and update default p5.js version to latest (#1084) 2019-05-29 17:29:53 -04:00
Andrew Nicolaou 693542eef5 Forces light theme on Account page
This is until this page's components are made theme-aware
2019-05-29 12:51:50 -04:00
Andrew Nicolaou fe513fdb54 Adds spacing around social login button 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 34fea139f2 Fixes Account back behaviour 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 3cedf37647 Changes API_KEY_REMOVED action constant to match API_KEY_CREATED 2019-05-29 12:51:50 -04:00
Andrew Nicolaou c508765310 Fixes linting errors 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 89dd41d81f lastUserAt should be null if the key has never been used 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 3e760ca0b8 Styles Account and APIKeys components 2019-05-29 12:51:50 -04:00
Andrew Nicolaou a03eed1603 Copy button copies token to clipboard 2019-05-29 12:51:50 -04:00
Andrew Nicolaou ed87d4cd26 Aligns AccountView to top of page 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 504eacaf64 Displays all API keys in a table, including new token information 2019-05-29 12:51:50 -04:00
Andrew Nicolaou de5e1a9e8f Removes AdvancedSettingsView as functionality now in AccountView 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 90f34d7a5a Updates client UI to request token generation from server 2019-05-29 12:51:50 -04:00
Andrew Nicolaou 89babdc8c0 Update test snapshots 2019-05-29 12:51:50 -04:00
Vertmo 3b55ff81d2 Hashing keys before storing them 2019-05-29 12:51:50 -04:00
Vertmo 78695d3983 Improved interface for copying key after creation 2019-05-29 12:51:50 -04:00
Vertmo 4d4f636623 You can now generate keys from the advanced settings interface 2019-05-29 12:51:50 -04:00
Vertmo 3d2a862d9d Added design of the API key page 2019-05-29 12:51:50 -04:00
Cassie Tarakajian 507b0b28b1
fixes #417, add default p5.js inclusion to non-minified version, and update default p5.js version to latest (#1084) 2019-05-24 12:40:20 -04:00
Andrew Nicolaou 137ea783ea Experiment with "Checks" in Travis output (#1081)
* Run tests on CI

* Create a lint error on purpose

* Splits build into test and deploy stages

lint and test jobs will run in parallel and if both are successful
(and branch is master), deploy will run.

* Revert "Create a lint error on purpose"

This reverts commit 306c91c4278631fa1c1dcd40f0b23f7f9e5f000d.

* Updating snapshot

* Run deploy only on master branch (not PRs)

* Use global deploy config item to avoid building on PRs
2019-05-24 12:16:15 -04:00
Cassie Tarakajian 18239eb2e0
fixes #1065, checks if cmController.getContent is defined (#1071) 2019-05-10 18:26:48 -04:00
Cassie Tarakajian d4cdd1b790
fixes #1061, sets selected file if it gets unset (#1066) 2019-05-06 14:50:28 -04:00
Ziyao Wei 10403a7f59 Fix race condition that's causing preview/console and code to be out of sync (#990) (#1031)
* Fix race condition that's causing preview/console and code to be out of sync (#990)

* Refactor

* Fix undefined prop error
2019-05-02 15:30:56 -04:00
siddhant 538a41c617 Added Loader to indicate loading of sketches (#880)
* Added Loader to indicate loading of sketches

* Fixed styles

* Changed styles

* remove prefixes

* Issues Fixed:

* added Loader

* Refactor

* Issues Fixed

* clean up loader functions
2019-05-01 16:32:39 -04:00
Cassie Tarakajian 9d22c3c146
fixes #1057, fullscreen wasn't rendering because clearConsole was not defined (#1058) 2019-05-01 15:31:55 -04:00
Abhishek Kumar 76e4363705 Dialog fixes (#1043)
* Dialog fixes

* Dialog Alignmet Fixed
2019-05-01 14:17:55 -04:00
Ankur Ingale 07b55d7ee4 Fixed Issue #896 (#1049) 2019-04-30 17:44:41 -04:00
Nimish Agrawal 705dd5c796 Focus on find input (#1044) 2019-04-30 17:24:41 -04:00
Cassie Tarakajian 8b296a51aa
Fixes #1052, in which you can't save a sketch after uploading a file (#1053)
Fixes #1052, in which a user can't save a sketch after uploading a file
2019-04-24 13:32:23 -04:00
Cassie Tarakajian c3de0512cc fixes #1005, squashed commits from @plxity and @catarak 2019-04-17 17:05:55 -04:00
Cassie Tarakajian a4e2ce178d
fixes #1040 (#1042) 2019-04-17 16:51:58 -04:00
Apoorv Taneja ac188eb6d9 fixed (#958) 2019-04-17 15:30:50 -04:00
Cassie Tarakajian 7d1901649f
Project synching, for #790 (#1039)
* add isSaving to project reducer, move actions to functions, start work to get comprehensive frontend/backend syncing working

* handle making changes while saving project, handle saving from another window

* add change to handle saving new sketch, and adding new changes while saving
2019-04-17 14:08:33 -04:00
Ankur Ingale 94eb6f1ac9 Fixed Issue #978 (#1015)
* Fixed Issue #978

* Added more keywords
2019-04-12 12:59:06 -04:00
Cassie Tarakajian 5abf4c4e06
fixes #1026 (#1028) 2019-04-11 16:25:37 -04:00
Cassie Tarakajian 61d6e13c78
fixes #1018 (#1019) 2019-04-05 17:14:00 -04:00
Cassie Tarakajian cdb4e0687e remove accessible options from nav for #768 2019-04-03 14:29:58 -04:00
Cassie Tarakajian 6d998d5f73
Merge branch 'master' into master 2019-04-03 11:38:39 -04:00
siddhant 7ef34e8f59 Since uploader was not present in the imports , the styles were not showin up (#946)
* fixed styles not showing up

* Added theme support

* Fixed Styles

* Fixed styles

* Refactor
2019-04-02 15:10:49 -04:00
progfay 276f115d3f set default theme value (light) (#1001) 2019-03-28 16:53:22 -04:00
Apoorv Taneja 391a92a1fd Logo color changes with theme. Fix #916 (#997)
* color changes with theme

* color changes with theme

* color changes with theme

* color changes with theme
2019-03-28 14:21:43 -04:00
Marton Soos 3bf3fe1452 Fix multiple file options showing up (#987) (#988)
* Fix multiple file options showing up (#987)

This change ensures that the file options composite widget is
hidden if and only if none of its components is in focus. This
is achieved by having a variable keep track of the state of
the composite widget (in focus / not in focus).

* Fix #987

Modified fix for #987 according to the requested changes.
Moved isFocused to the components state and created a method
for hadling the function calls executed in onBlur.

* Fix #987 - final touches

Renamed method blurComponent to onBlurComponent. Moved duplicated
code from onFocus callback to a new method called onFocusComponent.
2019-03-27 15:52:57 -04:00
siddhant 9433d188fc Added autoOpen items on hover (#900)
* AutoOpen Header

* removed nav heading

* Fixed #908

* Fixed Styles

* Fixed styles

* Refactor editor

* Issues Fixed

* keyup -> keyown
2019-03-27 12:50:55 -04:00
Cassie Tarakajian c1ba5cb072 revert overlay max-height 2019-03-26 15:51:55 -04:00
Cassie Tarakajian 2d77ddb650
Merge branch 'master' into feature/remove-indentation-options 2019-03-26 15:38:58 -04:00
Laksh Singla 24302b56de Added softwrap preference for users. (#970)
* Client and server side code added for Linewrap option

* Linked linewrap prop with the Editor.jsx property

* linewrap defaults to true

* Renamed 'LineWrap' to 'WordWrap'
2019-03-26 15:37:44 -04:00
Pranav Tharoor 92c4c9a30f Fixes issue with drop-down arrow not being clickable (#982) 2019-03-26 13:38:19 -04:00
nik72619c ec00f32a5b added requested changes 2019-03-26 21:30:43 +05:30
cdr 49e786a82d Use more straightforward tab keymap function 2019-03-26 02:12:42 -04:00
cdr 20be8eb5bd Fix tab indentation setting 2019-03-23 20:53:07 -04:00
cdr d1ce054abf Remove indentation config from actions, reducers, and constants 2019-03-21 21:08:59 -04:00
cdr ddb93e6c8d Remove indentation PropTypes from IDEView.jsx 2019-03-21 21:02:22 -04:00
cdr 096f8a1f65 Hardcode 2-space configuration in Editor.jsx 2019-03-21 20:52:56 -04:00
cdr 679ef12b54 Remove indentation options from Preferences.jsx 2019-03-21 20:26:52 -04:00
Ankur Ingale 80765e03c7 Fixed Issue #659 (#964)
* Fixed Issue #659

* Undo changes in package.json and package-lock.json

* Resolved error
2019-03-21 17:08:46 -04:00
Gaurang Tandon 2c876cda45 fixes #906 (#931) 2019-03-20 17:53:03 -04:00
siddhant 98d7933dee Added length cap to sketch name (#944) 2019-03-20 16:32:01 -04:00
Gaurang Tandon 1b468aa4ec fixes #795 (#935)
* fixes #795

* fix lint
2019-03-20 14:28:15 -04:00
Abhishek Kumar e2a6b4595b CSS Fixes (#920) 2019-03-20 12:52:00 -04:00
Abhishek Kumar 0eea37e72a Fixing Spelling Mistake (#913)
* Fixing typos

* Fixed Spellings
2019-03-20 12:43:38 -04:00
nik72619c 0095e96c62 Merge branch 'master' of https://github.com/processing/p5.js-web-editor 2019-03-17 23:44:27 +05:30
Nikhil Sharma 52291c69f2
fixed non-optimal function declarations 2019-03-17 14:49:45 +05:30
Apoorv Taneja 3d248a0573 fixed password length (#901) 2019-03-15 17:35:48 -04:00
Nimish Agrawal f8ee62a1b5 Removes scrollbar when not needed (#892) 2019-03-15 13:00:29 -04:00
Cassie Tarakajian 1d2cb87c33 for #874, also fixes bug in which file options could be revealed by right clicking even if user isn't owner of sketch 2019-03-14 16:10:50 -04:00
nimish a018929489 Remove file menu on blur 2019-03-13 18:10:47 +05:30
Nimish Agrawal 87c012b9f6 Autofocus on Add File menu (#882) 2019-03-12 16:17:27 -04:00
Cassie Tarakajian d9670f7bc3
fixes #865 (#869) 2019-03-05 16:25:34 -05:00
Cassie Tarakajian d17364a2ce pull vendor css from node_modules, remove duplicate vendor css from client/styles/vendor 2019-03-04 15:38:14 -05:00
siddhant1 b6e2c4c983 Migrated from momentjs to date-fns 2019-03-02 15:05:40 +05:30
Oliver Wright e37926de74 Refactor Toolbar Props - See #824 (#849) 2019-03-01 16:21:00 -05:00
Cassie Tarakajian 74ec1ba5bf
fixes #725 by updating jshint (#848) 2019-02-25 16:52:07 -05:00
Cassie Tarakajian 2cc0d578fb
for #790, when saving a sketch, pull from codemirror window (#847)
* for #790, when saving a sketch, pull from codemirror window

* fix lint errors
2019-02-25 16:45:20 -05:00
Oliver Wright 61f20d1d4c Refactor Nav Props - See #824 (#846) 2019-02-25 15:11:07 -05:00
Oliver Wright 5fdcd08add Use File id in Redux Actions - Fixes #842 (#844)
Prevents file name collisions that are possible with the folder
system.
2019-02-25 12:57:10 -05:00
Cassie Tarakajian f1b6aab749 fixes #826 2019-02-20 16:03:18 -05:00
Oliver Wright d0832ea4b7 Prevent crash when console.error is used - Fixes #833 (#834) 2019-02-20 15:57:37 -05:00
Oliver Wright e8639a6ed0
Update snapshot 2019-02-10 01:00:24 +00:00
Oliver Wright 1df469bdeb
Update test 2019-02-10 01:00:20 +00:00
Sepand Ansari 189cc586c6 Add jest snapshot testing to Nav.jsx 2019-01-25 17:26:56 -05:00
Sepand Ansari e1ef323e9b Add jest/enzyme and a simple unit test 2019-01-25 17:21:10 -05:00
Laksh Singla 772a7c9370 Updated `client/utils/javascript.js` to reflect changes in the CodeMirror's repository (#805)
* Updated client/utils/p5-javascript.js to reflect the latest one in CodeMirror's repository

* Template string bug fixed (#773)
2019-01-25 15:43:01 -05:00
Francis Li 31abeb9455 Serve up an empty 404 page if no examples user (#766)
* Rebase/squash

* Fix 404 page showing when refreshing Examples list

* Fix linter error

* Revert special-case handling of the p5 user for examples

* Add additional env var for enabling/disabling examples
2019-01-25 14:12:39 -05:00
Cassie Tarakajian 7bd016bac3
fixes #785, update node, and everything else that comes along with that (#810) 2019-01-16 17:56:18 -05:00
Cassie Tarakajian 437ffba378
fixes #802 (#809) 2019-01-16 12:35:34 -05:00
Peter Blazejewicz fe950192e7 Fix ESLint errors (#793)
This fixes failing `npm run lint`:

- fixes `max-len` issue in code by reformat of the expression
- exempt ES6 template literals from `max-len` rule using ESLint
  configuration change

Thanks!
2019-01-08 17:38:02 -05:00
Cassie Tarakajian 244af16b64
For #675, needs more testing to know if it fixes it! (#784)
* for #675

* fix linting errors
2018-12-13 17:06:34 -05:00
Cassie Tarakajian eebe9d9252
fixes #777 (#782) 2018-12-12 14:43:28 -05:00
Francis Li 9fe34504e9 Disable login/save (#778) 2018-12-11 16:21:37 -05:00
Cassie Tarakajian b68e3a79fd for #687 2018-11-26 18:08:24 -05:00
Cassie Tarakajian 5c83d14b63 fix for #769 2018-11-26 17:45:01 -05:00
Cassie Tarakajian ef98190e25 for #769 2018-11-20 18:00:54 -05:00
Cassie Tarakajian d5f2380c31 for #761, fix lint error 2018-11-15 17:28:43 -05:00
Cassie Tarakajian b70d62164c for #761, add source back to console messages 2018-11-15 17:19:50 -05:00
Cassie Tarakajian 00ea3bc281 Revert "Revert "for #761, fix linting errors""
This reverts commit ef7231fe03.
2018-11-15 16:41:10 -05:00
Cassie Tarakajian 28d7947910 Revert "Revert "fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly""
This reverts commit f1bc7293ce.
2018-11-15 16:40:37 -05:00
Cassie Tarakajian f1bc7293ce Revert "fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly"
This reverts commit 661a367b72.
2018-11-15 15:55:02 -05:00
Cassie Tarakajian ef7231fe03 Revert "for #761, fix linting errors"
This reverts commit 8952d760d0.
2018-11-15 15:54:31 -05:00
Cassie Tarakajian 8952d760d0 for #761, fix linting errors 2018-11-15 14:43:36 -05:00
Laksh Singla 9105249c23 Add New File and New Folder buttons in Navbar (feature: #758) (#763)
* Add New File and New Folder buttons in Navbar (feature: #758)

* Moved the Add File and Add Folder butons from File to Sketch (feature: #758)
2018-11-15 14:37:44 -05:00
Cassie Tarakajian 661a367b72 fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly 2018-11-15 14:26:31 -05:00
Cassie Tarakajian 0a8c7c5773 fixes #751 2018-11-07 15:07:06 -05:00
Bhawesh Bhansali 61dd0bb4d0 [WIP] Set min & max limits on font-size (#716)
* Set min & max limits on font-size

Disable the font-size setting button when extremum is reached.

References https://github.com/processing/p5.js-web-editor/issues/689

* handle case for user input to input field, also add min and max for indentation amount
2018-11-02 15:55:06 -04:00
Joey Lee 25bf5ad636 Removed Console.log in client/.../ Project.js to prevent logging user data to console fixes #749 (#750)
* replaced () with {} to fix implicit return error

* added first version of fetching generative-design examples

* ignore local testing files

* formatting

* updated examples-gg-latest

* updated examples-gg-latest.js

- data files not served via rawgit - hallelujah!
- added jquery

* updated p5 version

* refactoring and code cleanup

* added comment

* comment out link to svgFiles - unused

* moved commented code

* fixed conflicts

* linted examples-gg-latest

* removed console.log of response.data to prevent logging user data to console

* fixed linting error
2018-11-01 14:59:28 -04:00
anaplian 319e68ddb6 Fix async validation in signup form (fixes #742) (#746) 2018-10-29 19:33:37 -04:00
Cassie Tarakajian de74c0cac8 fixes #516, sets console lines limit to 500 2018-10-25 18:04:18 -04:00
Cassie Tarakajian 5196a37807 fix linting error caused by 8b2133e 2018-10-23 16:14:27 -04:00
Cassie Tarakajian 8b2133ea99 fixes #740 2018-10-23 16:07:32 -04:00
Cassie Tarakajian 8baec106aa revert for #684 2018-10-22 17:48:02 -04:00
Nitesh Sawant 121bf94007 fixes #726 (#728)
* fixes #726

* Disabled Sumit butto nif form is not touched & used tri function instead of replace
2018-10-22 15:41:35 -04:00
Basile Pesin 55dfd7e328 Fixed my scrollbar mistake (#736)
* Fixed my scrollbar mistake

* Really fixed it by introducing a slightly different class for the fullview frame

* Using classnames module
2018-10-22 14:59:08 -04:00
Cassie Tarakajian f417ff4c90 for #684 2018-10-22 12:45:16 -04:00
Basile Pesin 996a1b988a Fixes #692 (#713)
* Got the basis covered, now I need to style all this

* Corrected and upgraded Share window

* Changed the routes again, and set correct design

* Made some of the requested changes

* Removed PreviewFrame errors

* Redesigned Preview Header

* Corrected style of the FullView

* Corrected most of the css mistakes

* Corrected logo size
2018-10-18 14:10:37 -04:00
Cassie Tarakajian 474c843e8a Merge branch 'bugfix/680-preview-dimensions' of https://github.com/bendman/p5.js-web-editor into bendman-bugfix/680-preview-dimensions 2018-10-17 15:27:57 -04:00
Cassie Tarakajian dcf9f270c4 fix bug in foldgutter styling 2018-10-15 17:45:31 -04:00
Cassie Tarakajian d15e5d0da5 fixes #715 in an extremely hacky way 🤷‍♀️, fixes another error in which when changing the font size, linting highlighting was misaligned 2018-10-10 17:40:47 -04:00
Meru Patel 19bffe58cf Fixes #712 (#718)
* added matchbrackets

* Added css for matching brackets
2018-10-08 13:14:59 -04:00
cdncat e83654f6ad Fixes #717 (#720)
* remove npm run lint warnings, fixes #717

* Update link for Code of Conduct in CONTRIBUTING.md
2018-10-05 15:35:31 -04:00
Bhawesh Bhansali cf5cb1f6e9 components/Editor.jsx: Allow indentation on entering new line (#710)
indentUnit updated on settings->indentation amount change

Fixes https://github.com/processing/p5.js-web-editor/issues/700
2018-10-04 13:36:42 -04:00
Cassie Tarakajian 04191fbaab fixes #551 2018-10-03 16:48:44 -04:00
Basile Pesin 4096a1c0ee Corrected the logo problem by adding it to the static files (#708) 2018-10-02 21:03:33 -04:00
Cassie Tarakajian 3ecb6fb80f
Merge pull request #690 from Janglee123/master
[WIP]Fixes #677
2018-10-02 20:49:02 -04:00
Meru Patel 9f6ce5fa8d alignment fix 2018-09-23 12:26:39 +05:30
Cassie Tarakajian a1d2acbe9b Merge branch 'master' into production-docker 2018-09-17 14:53:58 -04:00
Cassie Tarakajian 51116bf0d0 fixes #696, update default p5.js to latest version 2018-09-17 14:53:46 -04:00
Meru Patel a9de9690b2 css change 2018-09-17 20:44:00 +05:30
Meru Patel de9749b892 lint fixes 2018-09-16 14:27:05 +05:30
Meru Patel a8261350c9 perfectly aligned 2018-09-16 14:24:48 +05:30
Meru Patel 5a8d814228 css update 2018-09-16 14:15:40 +05:30
Meru Patel c3a4d1263e css update 2018-09-16 12:03:45 +05:30
Meru Patel b8f858ae70 misaligned height and logged number size fix 2018-09-15 23:39:48 +05:30
Meru Patel 14d01ae01c misaligned height and logged number size fix 2018-09-15 23:33:42 +05:30
Meru Patel 7777e25990 minor changes 2018-09-14 22:14:41 +05:30
Meru Patel 80d77a6860 scalable svg icons 2018-09-14 13:41:38 +05:30
Meru Patel d3be437dce size related changes 2018-09-13 23:44:58 +05:30
Meru Patel b8f43dec78 variable added 2018-09-13 21:20:07 +05:30
Meru Patel 28e7425fb8 small error fix 2018-09-13 07:42:50 +05:30
Meru Patel 2f48413b08 explanation removed 2018-09-13 07:37:43 +05:30
Meru Patel f2c32e89a6 variable name change 2018-09-13 07:30:19 +05:30
Meru Patel c676fae7bf lint error fix 2018-09-12 10:54:05 +05:30
Meru Patel 7a44cceb65
Fixes #677 2018-09-12 10:35:15 +05:30
Meru Patel 2475467dd0 Fixes #677 2018-09-12 10:30:29 +05:30
bendman ffa4ac145a Fixes #680 by adjusting canvas and iframe layout
- Set the preview canvas to `display:block` to remove vertical spacing
caused by the default value, which was making a full-height canvas cause
vertical scrolling, and the vertical scrollbar caused horizontal
scrolling
- Wrap the preview content in a container with `position:relative` and
no other visible content, so that the full-height iframe excludes the
height of the preview frame header, preventing it from going beyond the
height of the page
2018-09-08 11:50:39 -07:00
Cassie Tarakajian d2c8140442 Merge branch 'master' into production-docker 2018-09-07 17:25:29 -04:00
Ben Duncan 3b1cd6782b Fixes #682 by isolating preview pane layers (#683)
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.
2018-09-07 17:25:09 -04:00
Cassie Tarakajian cea61a79f5 Merge branch 'master' into production-docker 2018-09-07 15:48:43 -04:00
Jared Donovan 2f21130e0d Fix needs saving mark 2 - for #576 (#658)
* Comment out show/hide file options action creators.

* Comment out show/hide file options properties

* Comment out show/hide file options action definitions

* Comment out constants for show/hide options action types

* Comment out props for show/hide options and replace with component state.

* Comment out show/hide edit file name reducers.

* Comment out show/hide edit file name actions.

* comment out show/hide edit file name action types.

* Comment out show/edit file name props from IDEView component

* Replace show/hide edit filename props in FileNode component with local state

* Remove commented out code from previous changes for moving redux state back into component state.

* Add binding to this for new functions. And tidy up of code.
2018-09-07 15:48:25 -04:00
Cassie Tarakajian 7cb2847b94 fix error with undefined env S3_URL_BUCKER_BASE 2018-08-30 19:35:03 -04:00
Cassie Tarakajian 5e70d8bb86 Merge branch 'master' into production-docker 2018-08-29 15:06:59 -04:00
Cassie Tarakajian 4a2d6d3035 fixes #668 2018-08-29 15:06:41 -04:00
Cassie Tarakajian 2c09b082df Merge branch 'master' into production-docker 2018-08-29 14:54:24 -04:00
Cassie Tarakajian 1451c3ff70 update p5.js version 2018-08-29 14:54:09 -04:00
Cassie Tarakajian d44027c58e for simplicity and security, remove redirect to HTTP and keep everything on HTTPS 2018-08-27 14:37:31 -04:00
Cassie Tarakajian 6705e4c3f8 load client-side environment variables at runtime 2018-08-24 17:41:23 -04:00
Cassie Tarakajian ead709b256 fix linting error 2018-08-20 14:54:12 -04:00
Cassie Tarakajian aeeeda23a2 fix #671, change forum url 2018-08-20 12:26:21 -04:00
Luis Morales-Navarro 3e97360c82 Update name of table output (#670) 2018-08-10 14:09:55 -04:00
Liang Tang bee02e01ab bug fixes (#666) 2018-07-31 13:07:19 -04:00
Liang Tang 617f00653c Improve current console (#656)
* init v2

* make replay work

* fix a failing scenary of react-frame

* fix some bugs

* delete/comment some files

* remove

* fix some bugs && remove more comments

* remove unnecessary lines

* minor tweak

* fix some bugs

* try to hook iframe using webpack

* update

* changes according to cassie

* minor tweak

* fix lint

* extract sass

* add icons

* update webpack config

* update webpack configuration

* update

* tweak

* fix a small bug
2018-07-30 12:20:57 -04:00
Cassie Tarakajian 9958619fc4 fixes #630 and updates codemirror 2018-05-30 15:23:32 -07:00
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 29dde4776c fixes #588 (#629) 2018-05-11 17:08:15 -07:00
Liang Tang 7a48899862 make keyboard nav accessible (#628) 2018-05-11 17:07:29 -07:00
Cassie Tarakajian 593621af62 fixex #627 2018-05-09 10:34:36 -07:00
Cassie Tarakajian 9285d2bf95 fix lint warning 2018-05-08 19:16:05 -07:00
Cassie Tarakajian 9efd9c624f fix remaining linting errors 2018-05-08 19:16:05 -07:00
Cassie Tarakajian 617cffc869 fix many linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian 90c76c1d08 fix linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian bd303b7710 fix even more linting errors 2018-05-08 19:16:04 -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
Cassie Tarakajian f9d1c601b3 move around static and dist folders to work with server bundle, and make preview generation work with this 2018-05-08 19:16:03 -07:00
Cassie Tarakajian 6afa760d36 get hot loading working again 2018-05-08 19:16:03 -07:00
Cassie Tarakajian 96646d0d73 update references to p5.js to latest version 2018-05-02 12:44:16 -07:00
Cassie Tarakajian 52b6a6bbb4 minor changes to SCSS styles 2018-04-18 14:00:53 -07:00
Madhurjya Pegu 307091ad3c Solving #553 Addition of google oauth 2.0 for easy login (#608)
* google oauth added

* google credentials 

updated .env description for google oauth

* changes done wrt review
2018-04-18 13:38:02 -07:00
Mathura MG 55d8722a02 update p5.accessibility to v0.1.1 (#612) 2018-04-02 17:58:55 -07:00
Liang Tang 1335985ab8 fixes #610, fixes #604 (#611) 2018-04-02 17:58:21 -07:00
Luis Morales-Navarro a4e426f2ce update p5-accessibility.js v0.1.0 (#607) 2018-03-23 12:26:43 -04:00
Himanshu 087b378e58 fixes #441 (#599) 2018-03-12 11:37:28 -04: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
Mathura MG c9192857cb change accessibility url (#596) 2018-03-06 13:40:03 -05:00
Mr.tang 43f482ab48 fix some bugs in #561 (#578) 2018-03-02 12:26:20 -05:00
Mr.tang 4e5c58595f [WIP] display the script error caused by external library (#579)
* show the script error

* modify error message

* analyze the error stack
2018-03-02 12:06:36 -05:00
Himanshu e7505f8205 Issue overlay (#577)
* 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
2018-03-02 11:40:31 -05:00
Mathura MG 3acefe4709 Remove accessibility CSS; Auto focus (#583)
* Change accessibility example links

* added library to iframe

* changed preview to add accessible elements to iframe

* add library only when accesible output is seleceted

* focus on iframe when plaing

* css

* deleted accessibleOutput.jsx and edited IDEView to integrate accessibility library

* deleted comments

* fix package

* Moved CSS to library and removed section from file.js (#2)

* Remove gitmodule (#509)


* remove git modules

* removed submodule and replaced interceptor for library

* removed submodule and replaced interceptor for library (#510)

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* Fixes #508 (#539)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* Fixes #508  (#545)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* moved accessible output css

* removed css, added aria-label, preliminary cdn update

* removed section from iframe

* updated cdn

* add autofocus; remove CSS
2018-03-01 13:28:43 -05:00
Himanshu ea02d7692d fixes #384 (#563)
* fixes #384

Positioning and font-size was off.

* Added consistent styling

* Further Changes.

* removed line height.
2018-02-27 12:28:17 -05:00
Dhruvdutt Jadhav 3efe3d20f7 chore: fix linting issues (#570) 2018-02-26 15:05:02 -05:00
Mr.tang 287663494a Make saving more user-friendly (#561)
* enhance saving

* remove console

* rename

* duplicate when saving others' projects

* fix a bug
2018-02-23 11:55:14 -05:00
Mr.tang 61560b87f7 Fixes #554 (#559)
* update title

* update titles

* delete unnecessary line
2018-02-23 11:31:41 -05:00
Luis Morales-Navarro 24b0be629f Accessibility - Transition from interceptor to accessibility library (#508)
* added library to iframe

* changed preview to add accessible elements to iframe

* add library only when accesible output is seleceted

* focus on iframe when plaing

* css

* deleted accessibleOutput.jsx and edited IDEView to integrate accessibility library

* deleted comments

* Remove gitmodule (#509)


* remove git modules

* removed submodule and replaced interceptor for library (#510)

* Fixes #508 (#539)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* Fixes #508  (#545)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* Fixes #508 (#548)

* removed submodule and replaced interceptor for library

* deleted comments

* deleted jquery

* deleted interceptor folder

* delete interceptor

* added jquery

* removed jquery and updated accessible library cdn

* remove empty divs from files.js

* fix merge error

* remove empty divs from files.js

* moved accessible output css
2018-02-22 16:47:25 -05:00
Himanshu 3b10b2d0f3 fixes #378 (#564)
* fixes #378

* fixes  #378

Horizontal Resizer cursor made default when disabled.
2018-02-22 16:01:39 -05:00
Mr.tang 3a0139340c Fixes #470 #419 #437 (#546)
* add status check

* rename variables and remove unnecessary dependencies

* set unsavedchange when error happens

* set unsavedchange when error happens
2018-02-20 14:44:07 -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 0a1c8bb26f enhance cm (#547) 2018-02-16 11:56:44 -05:00
Himanshu 1969c48cce fixes #537 (#544)
Commented out hello p5 video page.
Did not remove the features as it can be used again after revamping the hello p5 page.
2018-02-15 14:43:32 -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 9f25a9ea6a fix github link to link to new issue, not just repo root 2018-02-09 17:55:33 -05:00
Cassie Tarakajian daeed8749d
fixes #528 (#536) 2018-02-09 16:32:06 -05:00
Mr.tang dcdb81aa80 make loop protect work (#535) 2018-02-09 12:46:47 -05:00
Mr.tang 193b15e074 fix console.error crash (#532) 2018-02-08 17:40:21 -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
Chris Hallberg 62670e6dda Add allow-modals to iframe, allowing alert and prompt. Discussed in Issue #507. (#518) 2018-02-07 12:47:25 -05:00
Cassie Tarakajian 86318795ef update p5 versions to latest 2018-02-01 17:17:05 -05:00
Cassie Tarakajian d2b7f75cfd
fixes #475 (#512) 2018-02-01 17:16:54 -05:00
Cassie Tarakajian 6cd71acb81
update list of mime types and move to common server and client file (#511)
Fixes #476 and fixes #450
2018-02-01 16:45:19 -05:00
Francis Li 76a81bb1a0 Fixes #497 by adding support for an optional new env variable, S3_BUCKET_URL_BASE (#499)
* Fixes #497 by adding support for an optional new env variable, S3_BUCKET_URL_BASE

* Add a section to README about optional S3 bucket URL base configuration.
2017-12-13 14:56:24 -05:00
Cassie Tarakajian bdd8df6301 remove https from toolbar 2017-11-14 17:47:16 -05:00
Cassie Tarakajian 9fcef30053 remove commented out code 2017-11-14 17:03:55 -05:00
Cassie Tarakajian 929404a037 fix lint warning 2017-11-14 17:03:16 -05:00
Cassie Tarakajian 5278328c1e small fix to settings styles 2017-11-14 17:00:17 -05:00
Cassie Tarakajian c99c867021 almost finished with preferences styling 2017-11-14 16:27:42 -05:00
Cassie Tarakajian ca80308bc2 continue to fix preferences styles 2017-11-14 15:27:00 -05:00
Cassie Tarakajian 9587d01908 start to add preferences styling 2017-11-13 19:09:08 -05:00
Cassie Tarakajian 9f9b09b99d clean up ideview page 2017-11-13 14:44:23 -05:00
saumya1906 9c655122b2 Adjusted tabs and added serve over https checkbox 2017-11-06 17:41:56 -05:00
saumya1906 9ae27faf55 Issue 266: Changed class name 2017-11-06 17:41:56 -05:00
saumya1906 f14e74de55 Issue 266: Removed prefixing 2017-11-06 17:41:56 -05:00
saumya1906 147128ed40 Issue 266: More Design Changes 2017-11-06 17:41:56 -05:00
saumya1906 67dd614651 Issue 266: Sketch Settings design 2017-11-06 17:41:56 -05:00
saumya1906 6b6ff7ca22 Issue 266: Tabs added 2017-11-06 17:41:55 -05:00
saumya1906 6f068b5503 Issue 266 2017-11-06 17:41:55 -05:00
Cassie Tarakajian 9297496a5e change instance of adding loopProtect to this.jsPreprocess 2017-11-01 16:47:43 -04:00
Cassie Tarakajian a043dc16fe Merge branch 'syntax-errors' of https://github.com/boazsender/p5.js-web-editor into boazsender-syntax-errors 2017-10-30 17:48:40 -04:00
Cassie Tarakajian 9e11aa3149 remove tooltip delay 2017-10-30 17:38:30 -04:00
Cassie Tarakajian d121c2c882 fix and finish #391 2017-10-30 17:25:05 -04:00
Cassie Tarakajian d48d9349a8 start to restyle share modal 2017-10-30 17:25:05 -04:00
Cassie Tarakajian fd284358c2 fix #466 2017-10-30 15:36:09 -04:00
Andy Lulham c517423915 Link to p5js.org/learn/ on about page (#465) 2017-10-30 14:53:54 -04:00
Boaz Sender a69cf8b916 make syntax error checking more reusable per feedback from @catarak 2017-10-26 13:48:01 -04:00
Boaz Sender 8e63b3204d resolves behavior in #428 where syntax errors in auto refresh mode are unrecoverable 2017-10-21 17:22:16 -04:00
Cassie Tarakajian 39df7512c1 update highlighted line styles 2017-10-12 17:13:27 -04:00
Cassie Tarakajian 24030ac7aa Merge branch 'master' into zrispo-feature-runtime-error-highlight 2017-10-12 16:23:31 -04:00
Cassie Tarakajian 68d72771d2 remove extraneous console log 2017-10-12 16:21:17 -04:00
Cassie Tarakajian 1363a7a0c3 add missing linting markers 2017-10-12 16:19:18 -04:00
Cassie Tarakajian 0989ff29eb fix other merge conflict errors 2017-10-12 15:38:02 -04:00
Cassie Tarakajian 53f7217786 fix merge conflicts 2017-10-12 15:00:11 -04:00
Cassie Tarakajian e83b28bc44 Merge branch 'feature-runtime-error-highlight' of https://github.com/zrispo/p5.js-web-editor into zrispo-feature-runtime-error-highlight 2017-10-12 14:28:20 -04:00
Cassie Tarakajian 2140e2bbca change colors of folding icons for dark and high contrast themes 2017-10-12 14:22:17 -04:00
Cassie Tarakajian dfcd080cb7 change fold icons and dots 2017-10-11 17:31:23 -04:00
Cassie Tarakajian 1f86eb6711 Merge branch 'master' into zrispo-feature-code-folding 2017-10-11 15:55:55 -04:00
Cassie Tarakajian 48cbd79ca8 fixes #443 2017-10-11 12:56:44 -04:00
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
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
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
Zach Rispoli bca73885b2 Fix broken accessibility feature 2017-08-01 15:53:27 -04:00
Zach Rispoli 682dd7e2fc Runtime error line highlight dissappears on lint message update 2017-08-01 15:53:27 -04:00
Zach Rispoli b5f9879c44 Hacky runtime error highlight working 2017-08-01 15:52:56 -04:00
Zach Rispoli 1bb0efdac8 Line error highlight styling 2017-08-01 15:52:56 -04:00
Cassie Tarakajian e111d3c020 fix line number for runtime errors 2017-08-01 15:03:48 -04:00
Cassie Tarakajian 069f974989 Merge branch 'master' into feature-runtime-error-highlight 2017-08-01 19:55:45 +02:00
Cassie Tarakajian 273fc08b19 Merge branch 'feature-code-folding' of https://github.com/zrispo/p5.js-web-editor into zrispo-feature-code-folding 2017-08-01 13:48:49 -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 4d3e998f33 Fix broken accessibility feature 2017-07-26 15:17:05 -04:00
Zach Rispoli 8c832d06fd Runtime error line highlight dissappears on lint message update 2017-07-26 14:46:59 -04:00
Zach Rispoli 14d77cac0b Style for folded region looking better 2017-07-26 14:16:50 -04:00
Cassie Tarakajian 983248ccb7 fixes #402 2017-07-24 11:12:11 -04:00
Zach Rispoli 683b718303 Fix CSS loader + Improve visual for code folding 2017-07-18 15:57:40 -04:00
Cassie Tarakajian b384fdc6ba remove console errors and extraneous console logs 2017-07-17 17:34:11 -04:00
Zach Rispoli 0faccbbc04 Hacky runtime error highlight working 2017-07-17 17:27:21 -04:00
Zach Rispoli 9647372c9e Remove unnecessary CSS 2017-07-17 16:15:33 -04:00
Zach Rispoli 51831852be Line error highlight styling 2017-07-17 16:13:59 -04:00
Zach Rispoli 87de91016b Code folding (#382) 2017-07-17 16:07:59 -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
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
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
Zach Rispoli 3f32ccc89c Remove comments before using loopProtect on scripts (fixes #218) (#364) 2017-06-05 22:46:19 -04:00
Zach Rispoli c596b74b27 Sketch name is used as <title> (issue #108) (#363)
* Sketch name is used as <title> (#108)

* add newline to end of file
2017-06-05 22:37:41 -04:00
Andrew Nicolaou 313fc856d1 Fixes linting errors (#362) 2017-06-05 22:33:32 -04:00
Mathura MG 82207a50d3 Accessibility (#361)
* 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
2017-05-31 15:23:30 -04:00
Cassie Tarakajian 8e1a65daed fixes #344, update sketches to by default use p5 version 0.5.10 2017-05-24 12:20:38 -04:00
Cassie Tarakajian 517045623c fix autosave, which apparently had never worked 2017-05-13 20:47:41 -04:00
Cassie Tarakajian acd0f60f19 fix minor styling bug on safari 2017-05-10 16:12:24 -04:00
Cassie Tarakajian 341ea63437 forgot to commit a file for fix to #347 2017-05-10 13:23:10 -04:00
Cassie Tarakajian 19d6aa230d fix #347 2017-05-10 13:19:46 -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
Cassie Tarakajian 32d3f7a76c allow file names to change case of file extension 2017-04-27 13:08:20 -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
Cassie Tarakajian 2a9ea85ed8 #339 add region to .env 2017-04-13 14:39:03 -04:00
Cassie Tarakajian 94694c5a72 start to fix editing permissions for the sidebar 2017-04-13 13:41:03 -04:00
Andrew Nicolaou 7be45ce875 Search for existing user account using Github emails (#337)
* 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
2017-04-13 12:04:10 -04:00
Cassie Tarakajian 99152f6e37 handle case for #169 where project does not yet have an owner 2017-04-06 16:22:34 -04:00
Cassie Tarakajian aaa5e868e2 make inital changes for #169--need to migrate the locations of a user's s3 files to be namespaced under their userid 2017-04-06 14:34:14 -04:00
Cassie Tarakajian ed540f4275 don't duplicate file if it isn't hosted on S3 2017-04-05 23:23:38 -04:00
Cassie Tarakajian fa04054d28 duplicating files works 2017-04-05 23:23:38 -04:00
Cassie Tarakajian f01a58353b initial commit to cloning files on S3, untested 2017-04-05 23:23:37 -04:00
JunShern 8e82fe96c3 Set Ctrl+Enter shortcuts to null, don't generate newlines (#333) 2017-04-05 21:50:44 -04:00
Cassie Tarakajian 67e4669605 fix nav styling 2017-03-30 13:22:23 -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
Andrew Nicolaou 6af92a4a32 Exposes API endpoint URL to client via env variable (#323) 2017-03-16 00:34:14 -04:00
Shivanku Kumar 352d81e9f7 resolving alignment issue, #298 (#321) 2017-03-16 00:22:08 -04:00
Cassie Tarakajian 636b267259 adjust sidebar styling for long filenames 2017-03-15 13:31:30 -04:00
Mathura MG 8e688a6103 Fix focus switch to accessible text output (#318)
* Change accessibility example links

* ensure we focus on text output
2017-03-06 15:58:36 -05:00
Kevin Martin Jose 8167366ce0 Style change to toasts (#316)
* Changes to toast styles

* Changes to toast styles

removed an unused variable

* removing another unused variable
2017-03-06 14:29:42 -05:00
Cassie Tarakajian 134cc76981 fix #317 2017-03-06 14:13:39 -05:00
Cassie Tarakajian abbeb7fc60 fi linting to include .jsx files 2017-03-02 15:18:58 -05:00
Cassie Tarakajian 7e9ce95264 add header to preview frame 2017-03-02 15:01:33 -05:00
Cassie Tarakajian fe4c2641e3 fix #254, stale project warning works correctly, removed unused actions and state for ide 2017-03-02 14:38:29 -05:00
Mathura MG 5982203b28 Change label from grid to table (#315)
* Change accessibility example links

* change grid label
2017-03-01 17:12:20 -05:00
Cassie Tarakajian ebaea78b21 update default p5.js to latest version 2017-02-22 14:34:06 -05: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
Saumya Balodi 059308fbfe Fix UI Detail: Icon placement welcome modal (#306)
* Fix UI Detail: Icon placement welcome modal

* Fixed issue297
2017-02-19 13:39:31 -05:00
Katy310 1aa928718b Fix UI Detail: color of 'by' in author/account name #299 (#303)
* 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
2017-02-19 13:33:14 -05:00
Cassie Tarakajian f60f2310dc #292 stop propagation to row click event when clicking on trashcan 2017-02-17 17:35:29 -05:00
Cassie Tarakajian f06ac10f9a #292, when clicking on row in sketch list, navigate to sketch 2017-02-17 17:29:36 -05:00
Cassie Tarakajian 38a5d6e100 fix #295 2017-02-17 17:07:53 -05:00
Cassie Tarakajian 93e0ec2a73 fix #284, when autorefresh is enabled, clear the console as well 2017-02-17 16:04:47 -05:00
Cassie Tarakajian 7b602671b9 fix #291 2017-02-17 15:47:54 -05:00
Cassie Tarakajian f344e01003 fix #289 2017-02-17 14:53:48 -05:00
Cassie Tarakajian 89972bf2ae fix #301, remove sublime text shortcuts that are the same as the shortcuts for run and stop 2017-02-17 13:30:33 -05:00
Mathura MG e354fc0cea Refactor interceptor code (#240)
* 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
2017-02-15 16:17:57 -05:00
Cassie Tarakajian 52a28328e4 fix #302 2017-02-14 15:54:29 -05:00
Mathura MG a30c765ccf switch brown in dark theme (#300) 2017-02-10 12:23:11 -05:00
Cassie Tarakajian e7d0bb1112 revert project duplication to less broken state 2017-02-01 22:02:32 -05:00
Cassie Tarakajian 36a715fc3a fix #287 2017-02-01 22:00:19 -05:00
Cassie Tarakajian ad62d20544 fix #284 2017-01-31 16:45:47 -05:00
Cassie Tarakajian 509bb6bd8e #285 fix project duplication error where project copies would alter the project original 2017-01-31 15:18:40 -05:00
Cassie Tarakajian 09a4829bef remove lint error for == and != 2017-01-29 13:29:17 -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 c8253dd923 #254 test all of the edge cases for autosaving, such as login and logout, changing the autosave preference 2017-01-24 13:04:51 -05:00
Cassie Tarakajian 93130934f2 initial autosave update fixes 2017-01-24 11:59:34 -05:00
Kumar Uttpal 697458a7ef fix #278 error at startup (#279) 2017-01-24 11:09:14 -05:00
Cassie Tarakajian 437f94649f fix minor linting error 2017-01-18 16:50:11 -05:00
Daniel Shiffman a8570bdb22 send user to empty sketch after deleting open sketch #175 (#270) 2017-01-18 16:48:16 -05:00
Cassie Tarakajian c42de5b2ae add validate session action 2017-01-17 15:37:20 -05:00
Cassie Tarakajian 1a22998ff8 warn user of session change when deleting a project or saving a new project 2017-01-17 15:37:19 -05:00
Cassie Tarakajian 65592cbf9e add authentcation error component, return 403 error from server when trying to save a project where the user doesn't match the owner 2017-01-17 15:37:19 -05:00
Cassie Tarakajian 3709587f4c fix #268 2017-01-17 13:28:28 -05:00
Cassie Tarakajian cb2d8d0dd5 fix #269 2017-01-17 13:20:42 -05:00
Cassie Tarakajian 0a4f56db32 fix signup email regex 2017-01-17 12:42:00 -05:00
Cassie Tarakajian 286a5dd6c6 fixes #5, turns autosave off when a user logs off, hide timer component when user is not owner of sketch 2017-01-13 11:55:13 -05:00
Cassie Tarakajian 8120fdd7db refactor console to its own reducer and actions, add clear button, clean up console component 2017-01-11 14:13:49 -05:00
Cassie Tarakajian d1c1279061 start to break out console into its own reducer 2017-01-09 18:09:23 -05:00
Cassie Tarakajian 1e670e9f9a fix #244, make console open by default and remove console icon 2017-01-09 16:31:39 -05:00
Cassie Tarakajian 54534f68d3 #255 remove unused SidebarItem component, display file dropdown menu when right clicking on sidebar item or project folder 2017-01-09 16:11:01 -05:00
Akarshit Wal 843418e195 toggling menu (#258)
* toggling menu

* Other components should be treated equally
2017-01-09 12:47:32 -05:00
Cassie Tarakajian d0445a624d fix #261 2017-01-08 17:00:52 -05:00
Cassie Tarakajian 885967d8e3 fix #260 2017-01-08 16:42:20 -05:00
Akarshit Wal dee9688ece Use username also to log in (#250)
* Use username also to log in

* Minor changes
2017-01-06 18:14:42 -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
Yining Shi 62b4d4cc6e New Design for About (#246)
* new design for about

* clean code

* reuse play.svg
2017-01-06 13:14:39 -05:00
Cassie Tarakajian 3fc4ee897d remove no sketches warning from sketch list 2017-01-06 13:09:32 -05:00
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 9886e53a7c fix #245 2017-01-05 16:54:33 -05:00
Cassie Tarakajian 074f5b35b1 fix #243 2017-01-05 15:27:57 -05:00
Cassie Tarakajian 3ba03d709a fixes #241 2017-01-05 14:40:04 -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
Cassie Tarakajian 1186bebd94 minor css fix in sketch list 2016-12-19 17:49:35 -05:00