Commit graph

436 commits

Author SHA1 Message Date
ghalestrilo
5c80702d99 🚧 add MobileSketchView screen to /mobile/preview 2020-06-18 15:39:55 -03:00
ghalestrilo
7dc10ab682 make environment variable-based switch for /mobile route 2020-06-12 16:09:30 -03:00
Cassie Tarakajian
47e798a7e6 Fixes #1409 - adds username to url when fetching sketch from editor API 2020-05-26 17:35:13 -04:00
Cassie Tarakajian
aff3a2df7f
Merge pull request #1398 from andrewn/chore/allow-cors-localhost
Always allow localhost CORS requests
2020-05-26 15:10:02 -04:00
Cassie Tarakajian
0d2d099d22 Change helper file name to p5-keywords.js 2020-05-06 14:41:08 -04:00
Andrew Nicolaou
0b5180d26c Configure CORS localhost origin via CORS_ALLOW_LOCALHOST env var 2020-05-03 13:20:14 +02:00
Mayank Gautam
041a5b37e0 removed unused code from p5-javascript.js and added comment in automatically generated helper file 2020-04-30 16:00:06 +05:30
Mayank Gautam
dc265efa17 updated syntax highlighting script and added it's entry to package.json 2020-04-30 12:31:04 +05:30
Mayank Gautam
720a897dca added script to generate and update syntax highlighting files 2020-04-30 12:17:18 +05:30
Andrew Nicolaou
edc0e6ffb3 Always allow localhost CORS requests 2020-04-19 13:39:00 +02:00
Cassie Tarakajian
ce653ceebb Fixes #850: 503 error when downloading sketch 2020-04-15 17:39:28 -04:00
Cassie Tarakajian
ce1628cd69 Fixes #1268 - fix issue with default protocol of https for local development 2020-04-10 18:30:07 -04:00
David
24e034808c resolve path present assets #1268 2020-04-08 17:13:04 -05:00
Cassie Tarakajian
416824ad56 Code style changes to use === and comparison to undefined 2020-03-30 17:07:10 -04:00
Mayank Gautam
c9b40bbd74 added undefined filePath check in the method resolvePathToFile 2020-03-30 16:58:53 -04:00
Mayank Gautam
8754848699 Added safegaurd against invalid project id in the method getFileContent 2020-03-30 16:58:53 -04:00
Cassie Tarakajian
f1dd9f44ef
Merge pull request #1340 from processing/feature/public-api
Merge Collections to Master
2020-03-30 16:07:53 -04:00
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
9de8257464 Fix server-side linting erros 2020-03-03 18:52:39 -05:00
Cassie Tarakajian
1107f7352a Add changes for asset upload limit, after cherry-picking changes from asset-limit-with-lambda 2020-03-03 16:33:52 -05:00
Cassie Tarakajian
59fe175ede Fix merge conflict for cherry picking 11833e9880257fe8164331689f77f8aa11df6a2a 2020-03-03 14:45:02 -05:00
Cassie Tarakajian
0cde29e56d re #168, get asset deletion route to work, update options dropdown on asset list 2020-03-03 14:43:23 -05:00
Cassie Tarakajian
36d20281db add script to add total size to all user accounts, add totalSize to user model, return totalSize from user api request 2020-03-03 14:00:53 -05:00
Cassie Tarakajian
5654ed1922 Merge branch 'master' into feature/public-api 2020-03-03 12:49:32 -05: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
bc4a9f58d2 Merge in master 2020-01-28 17:31:44 -05:00
Cassie Tarakajian
66053e5c94 Fixes #1192, adds lang=en to all html files 2020-01-28 17:25:31 -05:00
Cassie Tarakajian
e9bccd747b Fixes #1211, fixes HTML in index.html to be valid 2020-01-28 17:03:30 -05:00
Cassie Tarakajian
70036d3e3a fixes #1219 2020-01-28 16:56:44 -05:00
Cassie Tarakajian
942a27da6e update default version of p5.js to 0.10.2 2020-01-28 16:56:44 -05:00
Cassie Tarakajian
20ac7527bc fixes #1219 2019-12-05 15:13:45 -05:00
Cassie Tarakajian
03fde3f0b5 update default version of p5.js to 0.10.2 2019-12-04 14:46:38 -05:00
Cassie Tarakajian
5319bbbeb7 merge master into sketch collections, to include updating theming 2019-11-25 10:46:28 -05:00
Cassie Tarakajian
fbb1e9a05d re #1207, update mongoose options for fetch example scripts 2019-11-14 16:07:42 -05:00
Andrew Nicolaou
13c45490a2 Merge branch 'feature/public-api' into feature/sketch-collections 2019-11-10 22:12:14 +01:00
Cassie Tarakajian
0d061a9dea merge in master 2019-11-07 15:03:01 -05:00
Cassie Tarakajian
a4a01cef4c update server code to work with updated mongoose version 2019-11-07 13:38:02 -05:00
Cassie Tarakajian
846d2bb7db Merge branch 'feature/public-api' into feature/sketch-collections 2019-10-31 15:02:31 -04:00
Cassie Tarakajian
3d2a7beeb9 merge master to feature/public-api branch 2019-10-22 17:35:20 -04:00
Andrew Nicolaou
14a8f48fd5 Fix all linting errors/warnings 2019-10-21 10:35:20 +02:00
Frank Winter
0b36126854 Change DELETE request for projects Fixes #1165 (#1172)
* Change DELETE request for projects

* fixes #1165, by updating requestsOfType to check for null or undefined values

* remove unnecessary whitespace changes
2019-10-02 16:18:54 -04:00
Cassie Tarakajian
02f4cb23b4 fixes #1162, fixes #1118 2019-09-26 16:17:22 -04:00
Andrew Nicolaou
95f6105a8b Assets routes should be parsed after server routes so /add-to-collection URL will work 2019-09-25 12:07:17 -04:00
Andrew Nicolaou
f98919e69b Logged in user can use "Add to collection" menu item 2019-09-25 12:07:17 -04:00
Andrew Nicolaou
8781036ac7 WIP Display collection 2019-09-25 12:06:07 -04:00
Andrew Nicolaou
c57ead4c62 Create Collection 2019-09-25 12:06:07 -04:00
Andrew Nicolaou
6ca6e78a28 Displays existing collection
- List all collections for a given user
- View an individual collection
- Link to a sketch from a collection
2019-09-25 12:06:07 -04:00
Andrew Nicolaou
af955b1602 Adds collections Nav item behind a feature flag 2019-09-25 12:04:37 -04:00
Andrew Nicolaou
c9551a3142 Adds Collections model and Editor API to manage collections
- List any user's collections
- Create new collection
- Modify collection metadata
- Delete collection
- Add/remove any project to/from a collection
2019-09-25 12:01:39 -04:00
Cassie Tarakajian
5900e62904 unify navigation for authentication pages, add authorization to front end, fixes #650 2019-09-19 13:38:27 -04:00