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
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
de74c0cac8
fixes #516 , sets console lines limit to 500
2018-10-25 18:04:18 -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
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
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
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
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
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
c90dac55b7
update eslint and fix linting errors
2018-05-08 19:16:04 -07:00
Cassie Tarakajian
96646d0d73
update references to p5.js to latest version
2018-05-02 12:44:16 -07: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
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
Cassie Tarakajian
86318795ef
update p5 versions to latest
2018-02-01 17:17:05 -05:00
Cassie Tarakajian
fd284358c2
fix #466
2017-10-30 15:36:09 -04:00
Zach Rispoli
682dd7e2fc
Runtime error line highlight dissappears on lint message update
2017-08-01 15:53:27 -04:00
Cassie Tarakajian
b384fdc6ba
remove console errors and extraneous console logs
2017-07-17 17:34:11 -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
0532990314
update p5 version to latest
2017-06-26 15:11:42 -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
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