Andrew Nicolaou
ae668f681e
HTTPS UI switch ( #335 )
...
* Checkbox to toggle project's serveSecure flag
This doesn't yet persist or reload the page.
* Help button that shows modal to explain feature
* Extracts protocol redirection to helper
* Returns promise from saveProject() action to allow chaining
* Setting serveSecure flag on project redirects after saving project
* Set serveSecure on Project model in API and client
* Redirect to correct protocol when project is loaded
2017-05-03 11:46:12 -04:00
Andrew Nicolaou
a267837fb7
Persists Redux store to/from sessionStorage ( #334 )
...
* Persists Redux store when reloading app for login
* Disable confirmation box when leaving page for login
* Removes extra console.warn
* Sets serveSecure: true for new projects if served over HTTPS
* Clears persisted state on IDEView load
Because when a sketch is created on HTTPS and then the user logs in
the page won't be reloaded
* Appends ?source=<protocol> to URL to track return protocol
2017-04-20 14:05:15 -04:00
Andrew Nicolaou
dc801ccf7f
Force HTTPS redirection for log in and sign up ( #319 )
...
* Higher-order component to force some routes to HTTPS
* Force all user-management routes to HTTPS
* Redirect to sourceProtocol as route unmounts.
By default, no redirection occurs if sourceProtocol is not explicitly
defined.
* Sets serveSecure flag on new projects and usea after forcing protocol
The flag is set to `false` on all projects and as the UI has no way to
change this, it always redirects to HTTP after a signup/login action.
* Move HoC to be with other top-level components
* Server should respond to account page request
* Serves AccountView over HTTPS
* Turns HTTPS redirection off in development by default
Will log to the browser console any redirection that would
have happened. Added a line in the README about how to
enable this for testing in development.
2017-03-30 12:36:26 -04:00
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
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
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
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
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
9886e53a7c
fix #245
2017-01-05 16:54:33 -05:00
Cassie Tarakajian
f9c7a374d1
#20
2016-12-13 16:20:13 -05:00
Cassie Tarakajian
d0770739b1
update p5.js version and switch to non-minified versions
2016-12-13 16:08:23 -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
Jen Kagan
449e103fc6
Generate a two-word project name ( #184 )
...
* add name generator lib
* update reducers
* make initialState a function
* update initialState function
2016-11-16 16:29:17 -05:00
Mathura MG
ced885d03f
Add multiple canvas text outputs ( #197 )
...
* added grid
* add table to textoutput
* add all three outputs
* add shortcuts
* fix sound bug for triangle
* fix triangle bug - again
2016-11-12 11:53:02 -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
Cassie Tarakajian
588668886d
update default version of p5 to 5.4
2016-11-02 15:06:28 -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
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
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
e511db64fe
change console throttling to batch deliver messages
2016-10-06 16:58:14 -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
dfc55aaa5b
temporarily remote autorefresh and loop protect
2016-10-04 15:35:23 -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
318475fc03
fix merge conflicts, actually
2016-09-20 18:34:20 -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
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
14a51b6332
add share modal
2016-09-06 22:37:29 -04:00
catarak
b10d2063ed
hide sidebar by default
2016-09-03 20:47:30 -04:00
catarak
336be41b09
add default children to files client side
2016-09-03 20:31:34 -04:00
catarak
f2fedd8457
add file deletion, client side
2016-09-02 18:11:27 -04:00
catarak
18839fde81
start to add methods for deleting file recursively
2016-09-02 17:41:02 -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
5f694329db
delete files, only client side
2016-09-02 17:41:01 -04:00
catarak
acd5aa8c83
fix new project action
2016-09-02 17:41:01 -04:00
catarak
b0ce13e6ba
fix project loading bug
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
40b70d6c69
add file node component
2016-09-02 17:41:00 -04:00
catarak
1de8c02cf2
fix a few regexes for preview frame
2016-08-25 12:39:36 -04:00
catarak
a1dcf77557
upload text files locally
2016-08-25 00:18:28 -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
43c49e9617
when clicking new project, don't save new project
2016-08-12 12:45:26 -04:00
MathuraMG
4806b83d1f
style editor-accessibility
2016-08-11 15:38:32 -04:00
MathuraMG
d789c9a8f3
move lint warning to preferences
2016-08-11 14:09:59 -04:00
MathuraMG
fb5d640b45
change file names
2016-08-11 13:29:30 -04:00
MathuraMG
57f39d5a64
add editor accessibility
2016-08-11 13:24:02 -04:00
MathuraMG
5cf1249cc7
merge master
2016-08-10 15:51:56 -04:00
MathuraMG
703f9ff820
add basic button functionality to linting
2016-08-10 11:13:17 -04:00
catarak
d9ea10c4c6
set preferences when authenticating user
2016-08-09 17:50:45 -04:00
catarak
42b15d06de
add autosave to preferences
2016-08-09 16:15:28 -04:00
catarak
9f9425c5e9
update preferences server side
2016-08-09 14:20:54 -04:00
catarak
b542f72d33
remove code bloat from preferences, add preferences to user schema
2016-08-03 23:45:49 -04:00
catarak
443a9f57d5
add file renaming
2016-08-03 17:45:50 -04:00
catarak
da98dcd47e
add file deletion
2016-08-03 17:45:50 -04:00
catarak
a2072d9b0c
move preference action creators to preferences component
2016-08-01 13:55:49 -04:00
catarak
9201cb247c
make console expandable and contractable
2016-07-21 00:33:41 -04:00
catarak
051e3771ee
fix merge conflict with therewasaguy-console
2016-07-20 23:02:45 -04:00
catarak
2affe457d2
when exporting to zip, also add images
2016-07-20 15:33:37 -04:00
catarak
7e6bbb1fae
fix file state changing bug
2016-07-19 21:36:21 -04:00
catarak
0491c00bb5
add function to create all blob urls
2016-07-19 18:27:27 -04:00
catarak
699735f8c4
Merge branch 'console' of git://github.com/therewasaguy/p5.js-web-editor into therewasaguy-console
2016-07-18 12:13:36 -04:00
therewasaguy
5561d49a48
merge upstream changes
2016-07-17 19:15:13 -04:00
therewasaguy
7f0b7afac1
add Console component, gets postMessage from previewFrame
2016-07-17 19:06:43 -04:00
MathuraMG
038d290577
fix merge conflicts
2016-07-15 17:23:59 -04:00
catarak
c3486af031
add author name to sketches
2016-07-15 11:54:47 -04:00
catarak
accf8e2504
add expand/contract sidebar
2016-07-14 12:47:54 -04:00
catarak
4d6e4857ba
add files, server side, only css and js files
2016-07-13 18:53:56 -04:00
catarak
70588cd487
add new file popup, not tested with redux
2016-07-13 16:13:28 -04:00
mathuramg
1332b7abad
convert input to integer
2016-07-13 12:59:58 -04:00
Cassie Tarakajian
13aeed8092
Merge pull request #9 from MathuraMG/pref
...
Add indentation to preferences
2016-07-12 11:59:16 -04:00
catarak
1f286bc948
add sound and dom by default
2016-07-12 11:13:09 -04:00
mathuramg
c8f54dced9
fix merge conflict
2016-07-11 23:03:54 -04:00
catarak
9249d496fa
add css files to sketch
2016-07-11 21:54:08 -04:00