Commit graph

198 commits

Author SHA1 Message Date
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
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
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
Cassie Tarakajian
2a9ea85ed8 #339 add region to .env 2017-04-13 14:39:03 -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
Andrew Nicolaou
6af92a4a32 Exposes API endpoint URL to client via env variable (#323) 2017-03-16 00:34:14 -04:00
Cassie Tarakajian
134cc76981 fix #317 2017-03-06 14:13:39 -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
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
f344e01003 fix #289 2017-02-17 14:53:48 -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
509bb6bd8e #285 fix project duplication error where project copies would alter the project original 2017-01-31 15:18:40 -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
Kumar Uttpal
697458a7ef fix #278 error at startup (#279) 2017-01-24 11:09:14 -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
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
cb2d8d0dd5 fix #269 2017-01-17 13:20:42 -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
074f5b35b1 fix #243 2017-01-05 15:27:57 -05:00
Cassie Tarakajian
ed49f4f576 remove console.log 2016-12-13 20:08:10 -05:00
Cassie Tarakajian
5711c3b4da start to add file to delete unused files from S3 2016-12-13 20:07:02 -05:00
Jen Kagan
55b54f09bd Change routes to /:username/sketches/:projectid (#216) 2016-12-01 17:12:34 -05:00
Cassie Tarakajian
8cf313f6f9 fix #204, making sure focus/form is reset properly 2016-11-29 19:18:11 -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
167828b872 fix #185 2016-11-10 18:49:42 -05:00
Cassie Tarakajian
66b83df0f2 fix #180, relates to #185 in that the user is redirected to where they were post signup/login 2016-11-10 16:13:00 -05:00
Yining Shi
e86e9a0ae0 Added a star icon for unsaved file name, added 'Saved: xx time ago' (#177)
* added a star icon for unsaved file name, added saved time ago

* changed text

* added timer component

* clean extra styling in _editor.sass

* customize momentjs fromnow function

* clear 10s interval in componentWillUnmount

* use space-between instead of float
2016-11-09 12:52:14 -05:00
Jen Kagan
93f871e857 Add the word "copy" to sketch name after duplicating (#176)
* starting to work on clone project

* adds the word *copy* to sketches that have been dupicated
2016-11-02 17:35:47 -04:00
Cassie Tarakajian
85b8f5b589 fixes #96, downloads now work on safari and firefox 2016-11-02 14:08:53 -04:00
Yining Shi
83b077450a Showing "Autosave enabled" toast (#173)
* showing Autosave enabled toast

* fixed variable names

* fixed constant name typo
2016-10-27 19:45:09 -04:00
Cassie Tarakajian
315e83c593 fix #152, puts a limit on the local file size 2016-10-25 15:51:44 -04:00
Cassie Tarakajian
61925b67e4 show error messages for invalid files 2016-10-24 21:15:32 -04:00
Cassie Tarakajian
1d7aaa9981 set unsaved changes when file is uploaded 2016-10-24 16:42:15 -04:00
Cassie Tarakajian
8aeb044509 fix bug where plaintext files were being posted to s3 2016-10-24 16:33:16 -04:00
Cassie Tarakajian
8c270c2ced generate blob urls for text and json files 2016-10-22 16:42:43 -04:00
Cassie Tarakajian
32d45ea332 remove all blobutil stuff 2016-10-19 15:33:14 -04:00
Cassie Tarakajian
93de8596f2 fix #154 2016-10-19 12:36:40 -04:00
Cassie Tarakajian
3e7d88698b remove comments and console.logs 2016-10-17 23:23:19 -04:00
kaganjd
76bd1b1630 Add ability to delete projects from sketch list (#125)
* Add ability to delete projects from sketch list

- Fixes #76
- Also gets rid of outdated Sketch module

* Styling for Sketch List trash can

* Merge all the stuff

* Fix trash can line height
2016-10-12 14:24:53 -04:00
Cassie Tarakajian
58d0dba167 remove dead code, fix linting errors, get infinite loop functionality working 2016-10-06 15:45:26 -04:00
Cassie Tarakajian
4d834ed16d add lots of changes to make autorefresh work with infinite loop checking 2016-09-29 00:54:35 -04:00
Cassie Tarakajian
f78fc37d68 add previewIsRefreshing to redux state 2016-09-28 18:17:39 -04:00
Cassie Tarakajian
7fb85c251b auto autorefresh to preferences, save autorefresh server side 2016-09-28 18:09:37 -04:00
Yining Shi
c48c012160 fixed appending errors in draw(), changed error color 2016-09-22 17:17:24 -04:00
catarak
103ebd2014 add theme to preferences, add backbone of themes to scss 2016-09-20 23:57:27 -04:00
Cassie Tarakajian
84ac4459d1 fix merge conflicts 2016-09-20 18:32:26 -04:00
Cassie Tarakajian
f48b872500 add unsavedChanges to redux, handle unsaved changes 2016-09-20 18:27:10 -04:00
Yining Shi
43052cb675 detect infinite loop
detect infinite loop

detect infinite loop
2016-09-17 00:11:33 -04:00
catarak
9e6d4b56bd change isSelected to isSelectedFile, add db reformat 2016-09-14 15:57:52 -04:00
catarak
2d4cb76edf fix other urls that should be https 2016-09-08 22:15:29 -04:00
catarak
b004fd077f change http urls to https 2016-09-08 22:02:42 -04:00
catarak
861a8f8759 remove toasts for autosave 2016-09-07 22:20:42 -04:00
catarak
41e6ce1c78 add toast to show you that autosave is enabled 2016-09-07 19:12:01 -04:00
catarak
3352fe9d0d add toast component, start to add functionality 2016-09-07 19:00:52 -04:00
catarak
f1ead9f124 add keyboard shortcuts modal 2016-09-07 17:47:22 -04:00
catarak
0716d209c4 add show/hide editor options 2016-09-07 16:33:01 -04:00
catarak
95daa80fc1 update browser history to go back when exiting open and about, fixes #85 2016-09-06 22:46:49 -04:00
catarak
14a51b6332 add share modal 2016-09-06 22:37:29 -04:00
catarak
6c4ba328aa fix file name collisions to only be affected in folders 2016-09-03 14:52:51 -04:00
catarak
e94ba201ce test downloads for only non s3 files 2016-09-02 20:40:18 -04:00
catarak
f2fedd8457 add file deletion, client side 2016-09-02 18:11:27 -04:00
catarak
e82270a709 add hide/showing files, carrot doesn't work 2016-09-02 17:41:02 -04:00
catarak
bf61fdd992 nested css styling fixes 2016-09-02 17:41:02 -04:00
catarak
9d3bcf2a15 add new folder modal 2016-09-02 17:41:02 -04:00
catarak
1ae27f0d66 add file icons and file types default to file 2016-09-02 17:41:01 -04:00
catarak
cd0dcc9184 reset selected file after deleting 2016-09-02 17:41:01 -04:00
catarak
3dfed2a11e delete files works, server side 2016-09-02 17:41:01 -04:00
catarak
34fe78d734 create file works server side 2016-09-02 17:41:01 -04:00
catarak
5f694329db delete files, only client side 2016-09-02 17:41:01 -04:00
catarak
74e207553f fix adding files on front end 2016-09-02 17:41:01 -04:00
catarak
d08c7c6b94 fix really really annoying bug 2016-09-02 17:41:01 -04:00
catarak
c8074f1501 do a lot of things that aren't really working 2016-09-02 17:41:01 -04:00
catarak
ac6585e713 add file works on unsaved project 2016-09-02 17:41:01 -04:00
catarak
cbb272ec14 file tree renders, select file works and editor changes content, rename works 2016-09-02 17:41:01 -04:00
catarak
1de8c02cf2 fix a few regexes for preview frame 2016-08-25 12:39:36 -04:00
catarak
ec728eb392 fix uploading when project is saved 2016-08-25 11:25:22 -04:00
catarak
a1dcf77557 upload text files locally 2016-08-25 00:18:28 -04:00
catarak
de62acdaaa make renaming files more robust--now checks to see if extension after renaming is the same 2016-08-22 13:16:28 -04:00
Cassie Tarakajian
1734852f68 Merge pull request #50 from MathuraMG/output
Create text output for canvas
2016-08-19 16:03:22 -04:00
catarak
3ab1b82d8d add fullscreen route and page 2016-08-17 18:13:17 -04:00
catarak
bca59a6233 add /:username/sketches links to username sketches 2016-08-17 15:53:25 -04:00
MathuraMG
8659251bcf merge master 2016-08-15 21:09:47 -04:00
catarak
2f6d5e84e8 switch sketch list to sketch list modal, which you now can close 2016-08-15 17:06:12 -04:00
catarak
17efc42778 switch project name edit to html5 input 2016-08-15 12:42:13 -04:00
MathuraMG
87de5a2188 merge master 2016-08-15 12:14:32 -04:00
MathuraMG
5179b09022 merge with master 2016-08-13 11:37:05 -04:00
MathuraMG
34d8582412 add button tp play text output and sketch 2016-08-12 16:37:38 -04:00
MathuraMG
bcd2a39f9d add preferences to include text output 2016-08-12 15:50:33 -04:00
MathuraMG
018a8b970c switch lineNo to lineNumber 2016-08-12 14:23:34 -04:00
catarak
8b13631191 fix bug where you could save another user's project 2016-08-12 13:31:34 -04:00
catarak
43c49e9617 when clicking new project, don't save new project 2016-08-12 12:45:26 -04:00
MathuraMG
d789c9a8f3 move lint warning to preferences 2016-08-11 14:09:59 -04:00