Commit graph

146 commits

Author SHA1 Message Date
Elit Altum
06bca997ee
fix(file.controller.js): set headers for file extensions from MIME -I1218 (#1330)
* fix(file.controller.js): set headers for file extensions from MIME - I1218
* Use name to work out content type and provide fallback

Co-authored-by: Andrew Nicolaou <me@andrewnicolaou.co.uk>
2020-03-27 13:00:50 +01:00
Cassie Tarakajian
e776bc0ac0 Upgrade node version to 12.16.1, update Node installatino docs 2020-02-25 17:14:50 -05:00
Cassie Tarakajian
737522dc7c Run npm upgrade to update many outdated packages 2020-01-28 17:47:12 -05:00
Cassie Tarakajian
82c9135d2c Change node engine to 11.15.0, since 12 wasn't working 2020-01-28 17:25:04 -05:00
Cassie Tarakajian
79238bd0b1 Update node and npm engines in package.json to lts 2020-01-28 16:52:39 -05:00
dependabot[bot]
cee9fa7441
Bump mongoose from 4.13.18 to 5.7.5
Bumps [mongoose](https://github.com/Automattic/mongoose) from 4.13.18 to 5.7.5.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
- [Commits](https://github.com/Automattic/mongoose/compare/4.13.18...5.7.5)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-02 00:55:28 +00:00
Cassie Tarakajian
2c76c84fef re #1193: update jshint 2019-10-17 14:33:58 -04:00
Cassie Tarakajian
8054a532d7
Update to webpack 4 (#1145)
* remove some of the react errors, start to fix webpack HMR errors

* start upgrade to webpack 4

* more stuff to update webpack

* update webpack configs to work with webpack 4

* remove linting from truncate script
2019-08-28 16:08:40 -04:00
Cassie Tarakajian
81cc10de97 update axios to latest version 2019-06-18 15:38:21 -04:00
Andrew Nicolaou
d2cad7438e
Test create project server code (prep for #1095)
* upgrades jest to latest version

* tests Project model with mockingoose

* extracts createProject controller to own file

* tests createProject controller with sinon-mongoose
2019-06-12 11:27:28 +02:00
siddhant
b7df80a96c Add sorting to sketches #789 (#910)
* reselect added

* Added Reselect Sorting

* Refactor App

* added svgs

* Refactor

* Fixed Issues

* re: #789, update sorting styling, create sorting actions and reducers, add sort by sketch name

* re #789, change names of svg icons

* re: #789, use orderBy instead of sortBy, fix styling jumps
2019-06-06 17:17:33 -04:00
Cassie Tarakajian
18f646bde9
for #950, update babel to v7 (#1077)
* 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
2019-06-05 12:05:31 -04:00
Andrew Nicolaou
137ea783ea Experiment with "Checks" in Travis output (#1081)
* 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
2019-05-24 12:16:15 -04:00
Joey Lee
a5753b5e4c Script to fetch ml5 examples from Github Repo (#1051)
* 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
2019-05-02 15:12:06 -04:00
Cassie Tarakajian
5abf4c4e06
fixes #1026 (#1028) 2019-04-11 16:25:37 -04:00
Cassie Tarakajian
145d058bf5 Merge branch 'Code_splitting' of git://github.com/siddhant1/p5.js-web-editor into siddhant1-Code_splitting 2019-03-05 16:26:28 -05:00
Cassie Tarakajian
d9670f7bc3
fixes #865 (#869) 2019-03-05 16:25:34 -05:00
siddhant1
ef39b07205 Removed Moment' 2019-03-05 19:36:01 +05:30
siddhant1
b6e2c4c983 Migrated from momentjs to date-fns 2019-03-02 15:05:40 +05:30
Cassie Tarakajian
74ec1ba5bf
fixes #725 by updating jshint (#848) 2019-02-25 16:52:07 -05:00
sepans
89094bf09c Temporarily remove jest from CI 2019-01-25 17:28:59 -05:00
sepans
e13f8a7007 Adds test:ci for travis ci to run lint and jest 2019-01-25 17:26:56 -05:00
Sepand Ansari
189cc586c6 Add jest snapshot testing to Nav.jsx 2019-01-25 17:26:56 -05:00
Sepand Ansari
e1ef323e9b Add jest/enzyme and a simple unit test 2019-01-25 17:21:10 -05:00
Cassie Tarakajian
2a253f50ac update engine versions in package.json 2019-01-24 17:33:42 -05:00
Francis Li
14955e455a Merge branch 'master' into heroku-deployment 2019-01-19 15:11:07 -08:00
Cassie Tarakajian
7bd016bac3
fixes #785, update node, and everything else that comes along with that (#810) 2019-01-16 17:56:18 -05:00
Gaurang Tandon
86e271e6c2
update non-breaking dependencies 2018-12-15 10:22:26 +05:30
Francis Li
1edbb52f4d Rebase/squash 2018-12-09 15:34:15 -08:00
Basile Pesin
4096a1c0ee Corrected the logo problem by adding it to the static files (#708) 2018-10-02 21:03:33 -04:00
Cassie Tarakajian
8495a59e36
Development documentation (#705)
* delete unused files, move webpack configs to their own directory

* start of improved developer documentation, moving everything to developer_docs/ directory

* documentation updates
2018-09-26 16:14:06 -04:00
Cassie Tarakajian
0f0be1f956 fix file uploads by updating mongoose 2018-08-30 21:00:29 -04:00
Cassie Tarakajian
bd476d3d38 add basic auth to server for beta editor setup 2018-08-21 16:09:41 -04:00
Cassie Tarakajian
aa543fad4a merge in master 2018-08-20 12:20:41 -04:00
Cassie Tarakajian
549d622c6f more config for kubernetes, fix example fetching tasks to include node env 2018-08-09 13:58:48 -04:00
Liang Tang
617f00653c Improve current console (#656)
* init v2

* make replay work

* fix a failing scenary of react-frame

* fix some bugs

* delete/comment some files

* remove

* fix some bugs && remove more comments

* remove unnecessary lines

* minor tweak

* fix some bugs

* try to hook iframe using webpack

* update

* changes according to cassie

* minor tweak

* fix lint

* extract sass

* add icons

* update webpack config

* update webpack configuration

* update

* tweak

* fix a small bug
2018-07-30 12:20:57 -04:00
Cassie Tarakajian
25aa5c77f1 remove --progress from webpack build to see if it prints error 2018-06-19 19:46:34 -07:00
Cassie Tarakajian
b172087b98 get local-ssl-proxy working for testing prod locally 2018-06-18 14:32:09 -07:00
Cassie Tarakajian
a14c232935 fix fetch example scripts, add webpack config to build fetch script bundles 2018-06-18 14:32:09 -07:00
Cassie Tarakajian
131e853503 change Dockerfile to fix environment variables and fetching examples 2018-06-18 14:32:09 -07:00
Cassie Tarakajian
41f793b130 remove unused index.html, move example fetch to own folder 2018-06-18 14:30:10 -07:00
Cassie Tarakajian
9958619fc4 fixes #630 and updates codemirror 2018-05-30 15:23:32 -07:00
Cassie Tarakajian
56ab483732 fixes #635 2018-05-15 12:10:24 -07:00
Cassie Tarakajian
7c542beeaf try updating node-sass to see if this fixes the Ci build 2018-05-08 19:43:34 -07:00
Cassie Tarakajian
90c76c1d08 fix linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
c90dac55b7 update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
254bbacba2 update babel packages 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
257ee24b90 add clean, build, build:client, and build:server tasks 2018-05-08 19:16:03 -07:00
Cassie Tarakajian
2d87f09f24 update script to create server bundle 2018-05-08 19:16:03 -07:00
Cassie Tarakajian
6afa760d36 get hot loading working again 2018-05-08 19:16:03 -07:00