* upgrades jest to latest version
* tests Project model with mockingoose
* extracts createProject controller to own file
* tests createProject controller with sinon-mongoose
* 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
* 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
* 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
* 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
* initial commit for setting up automated ml5 example fetching
* rm logs from .env replaced with placeholder
* added functions for retrieving all assets from examples sketches
* added recursive walk through to get all directories and files
* added functions t format files for making project
* added full working test
* added comments and formated code
* added comments
* set username at to of code
* added process.exit() on complete
* added linting and fixed errors
* rm await in return
* added es lint disable for reduce()
* rm package-lock.json
* reset package-lock.json to master
* "updated .env.example with dummy logins"
* updated .env.example for consistency
* added p5 user checking
* fixed linting issues
* add webpack config to build ml5 example fetching bundle
* delete unused files, move webpack configs to their own directory
* start of improved developer documentation, moving everything to developer_docs/ directory
* documentation updates
* 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
* Fixes#513 add cross-env to set environment variables across platform
* fix different line endings across platforms
* manually install loop-protect
* fix some err space
* update loop-protect version
* restore loop-protect
* External libraries are bundled with zip when project is downloaded (#44)
* Fix linting errors
* Add a check for valid URLs before trying to bundle a library into project
* Add is-url lib to package.json
* 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
* /api endpoints only allows requests with application/json Content-Type
Otherwise sends 406 Unacceptable
* Uses CSRF token
The CSRF token is sent as the cookie 'XSRF-TOKEN' on all HTML page
requests. This token is picked up automatically by axios
and sent to the API with all requests as an 'X-XSRF-TOKEN' header.
The middleware runs on all routes and verifies that the token matches
what's stored in the session.
* 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
* 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
* 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
* Making the email separate for future enhancements
* email-verification added
* Github users are verified
* update package
* Bug fixes and improvements
* jade to pug
* Bug fix
* changed route
* changed open to examples, created basic fetch-examples.js
* use dotenv babel-register polyfill
* save examples in order
* added assets
* use rawgit.com
* async process.exit
* sound:Convolution Reverb