There's duplication in the user and session endpoints that
all return the same shaped user model data. The new helper should keep
them consistent when new properties need to be exposed.
The tests mock the mogoose User model and the express Response model
which isn't good. We should find a solution that makes use of
the actual model object.
* 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
* 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
* 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'
* 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
* 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
* changed branch ref to master
* rm spaces
* updated url links with https for jquery and set branch to dev-updates for testing
* changed branched ref to master
* removed console.log of response.data to prevent logging user data to console
* fixed linting error
* updated p5 version from 0.7.1 to 0.7.2
* updated rawgit to jsdelivr cdn
* 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
* changed branch ref to master
* rm spaces
* updated url links with https for jquery and set branch to dev-updates for testing
* changed branched ref to master
* removed console.log of response.data to prevent logging user data to console
* fixed linting error
* updated p5 version from 0.7.1 to 0.7.2
* 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
* delete unused files, move webpack configs to their own directory
* start of improved developer documentation, moving everything to developer_docs/ directory
* documentation updates
- 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
* Set trust proxy option on Express app.
* Fix replacement of filePath for full screen and embed sketches.
* Use const rather than let because is never reassigned.