Commit Graph

474 Commits

Author SHA1 Message Date
Cassie Tarakajian 2919db4d6a
Merge branch 'develop' into bug/sketch-name-character-limit 2020-08-05 18:19:33 -04:00
Cassie Tarakajian 3aa26120c2 [#1532] Update project when deleting file 2020-08-05 16:43:32 -04:00
Cassie Tarakajian 76bcf9cb09 [#1529] Send status codes, run validator 2020-08-03 16:42:28 -04:00
josephmwells db9a703def Add character limit to sketch name on the back end #568 2020-08-03 11:40:48 -07:00
Cassie Tarakajian 5e8d4813a6 [#1396] Update p5.js version to 1.1.9 2020-07-30 13:45:13 -04:00
Cassie Tarakajian 6eb51665d9 Merge branch 'develop' into p5js-to-1.0.0 2020-07-30 13:42:33 -04:00
Cassie Tarakajian 5c79c7c2b1
Merge pull request #1504 from oruburos/pr_cache_policy
Server Cache Policy
2020-07-20 14:20:42 -04:00
Cassie Tarakajian 2b3be3accc [#1317] Update and run email consolidation script 2020-07-17 19:09:23 -04:00
oruburos 4d81154151 Server.js
Change in Cache Policy
2020-07-17 22:02:05 +01:00
Cassie Tarakajian cd5c000d6d [#1317] Update email consolidation script
- Update the emailConsolidation script so that it will de-duplicate the
  first duplicated user
- Sends email to user alerting them that the consolidation has taken
  place.
2020-07-16 19:37:37 -04:00
Cassie Tarakajian f19f52683b Merge branch 'develop' into login-signup-issue 2020-07-16 17:11:05 -04:00
Cassie Tarakajian cc6d868988 [#1500] Update sketch media file duplication code
- Sketch duplication code now checks for AWS endpoint via environment
  variable, rather than hard-coded string
- Fixes `aws.controller#getObjectKey`, which was incorrectly generating
  file keys
2020-07-16 17:00:50 -04:00
Cassie Tarakajian b126a69c11 [#1317] Begin writing duplicate email script 2020-07-16 14:25:02 -04:00
Cassie Tarakajian 6259f58233 [#1314][#1489] Add static methods to user model
- Add new static methods to user model
  - `findByEmailAndUsername`
  - renames `findByMailOrName` to `findByEmailOrUsername`
  - `findByUsername`
  - `findByEmail`
- Reverts case insensitive behavior for username
2020-07-15 17:33:11 -04:00
Cassie Tarakajian 15ad07d5ce [#1314][#1489] Use collation instead of RegEx
- Add case insensitive indexes for User.email and User.username
- Update user queries by username or email so that they are case
  insensitive
2020-07-14 18:16:17 -04:00
Cassie Tarakajian fd06f5ff9a Merge branch 'develop' into login-signup-issue 2020-07-13 16:50:18 -04:00
oruburos 348056ecf9 Webpack config in dev and prod include copywebpack for static translations.json
Change in i18n to serve the translations from a different path
2020-07-10 17:08:47 +01:00
oruburos 78f87b6ec1 Webpack config in dev and prod include copywebpack for static translations.json
Change in i18n to serve the translations from a different path
2020-07-10 13:45:35 +01:00
Cassie Tarakajian 5e0d5226e7
Merge pull request #1480 from andrewn/bugfix/deleted-collection-sketch
Allow deleted sketches in collections to be removed (fixes #1465)
2020-07-06 13:09:42 -04:00
Cassie Tarakajian 67e132d4eb Merge branch 'develop' into chore/split-test-runners 2020-07-06 12:38:22 -04:00
ov b05d1b1a02
Prototype with proposed i18n architecture (#1478)
* Branch with i18n functionality
* Translation files with new entries
* includes Loader in index.jsx
* Uses WithTranslation In Nav
* New Namespace
* Shortcuts Modal Complete
* Preferences complete
* About overlay title translated
2020-07-06 11:36:45 +02:00
Cassie Tarakajian 7d6ba6f34f Merge branch 'develop' into feature/mobile-settings-screen 2020-07-01 16:51:53 -04:00
Cassie Tarakajian ff658c75ff
Merge pull request #1467 from ghalestrilo/feature/mobile-sketch-view
Mobile Sketch Preview Screen
2020-07-01 16:41:43 -04:00
Cassie Tarakajian 84b120ef82
Merge pull request #1474 from dhoizner/fix_examples_fetch
update examples.js to strip the proper ref name.
2020-06-29 18:33:42 -04:00
Cassie Tarakajian 0346784920 [#1473] Update `master` to `main` in examples.js
- Update CDN URL links for assets on p5.js website
2020-06-29 18:28:24 -04:00
Cassie Tarakajian dc01823602 [#1234] Add header to clear cache for present view 2020-06-29 18:22:55 -04:00
Andrew Nicolaou 0e1bb3bd44 Allow deleted sketches in collections to be removed (fixes #1465) 2020-06-29 11:39:35 +02:00
Andrew Nicolaou 840e27b3fd Split client and server tests into separate Jest "projects"
- server tests now use the "node" jest environment, removing the
  mongoose warning
- both projects can use their own jest.setup.js file
2020-06-28 15:44:00 +02:00
Dan Hoizner d17feadd61 update examples.js to strip the proper ref name. 2020-06-24 18:43:10 -04:00
ghalestrilo 167bbe88a0 Navigation to Settings Screen 2020-06-23 15:54:09 -03:00
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
Jeremy Douglass ca8c71139f
update p5.js to 1.0.1 in createDefaultFiles.js 2020-05-09 22:17:16 -07: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
Jeremy Douglass ead0017b86 update default version of p5.js to 1.0.1 2020-04-28 14:42:18 -07:00
Andrew Nicolaou edc0e6ffb3 Always allow localhost CORS requests 2020-04-19 13:39:00 +02:00
Cassie Tarakajian e83ac7b587 Merge branch 'master' into login-signup-issue 2020-04-16 17:08:22 -04: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 9671cd0687 Fix linting errors 2020-04-06 19:02:55 -04:00
Cassie Tarakajian ef4a8d7ea1 Use MongoDB Regexes to query case insensitive username/password 2020-04-06 19:01:37 -04:00
Cassie Tarakajian 86e299c936 Handle both lowercase and mixedcase username/password 2020-04-06 15:55:00 -04:00
Cassie Tarakajian ba00f7fd89 Merge master 2020-04-06 15:40:52 -04:00