Commit graph

490 commits

Author SHA1 Message Date
Ruben van de Ven
dc20a7238f Set content type of assets based on name 2020-10-25 12:56:07 +01:00
Ruben van de Ven
d437cde6da Default files for webcam and attempt for error log 2020-09-28 11:04:10 +02:00
Ruben van de Ven
8247385779 DP favicon 2020-09-28 10:41:24 +02:00
Ruben van de Ven
af1dfe1a0b DP favicon 2020-09-28 10:21:39 +02:00
Ruben van de Ven
bd8391bcf4 WIP to run without mailgun and social logins 2020-09-07 13:59:15 +02:00
Ruben van de Ven
cf0cd38269 Fix #358 - migrate to S3 policy v4 to support AWS4-HMAC-SHA256 2020-09-04 22:08:38 +02:00
ghalestrilo
e88ee4e595 ♻️ remove /mobile endpoints from server 2020-08-21 18:22:40 -03:00
ghalestrilo
2aa49d5960 🔀 merge from develop 2020-08-17 14:30:02 -03:00
ov
3333dd41fa
Persistence Language Functionality to Store Language in User Preferences (#1536)
* Entry points to introduce persistence in language selection
* setLanguage action changes both the state and the i18next language
* Ensure language change applies to all pages on load

Co-authored-by: Andrew Nicolaou <me@andrewnicolaou.co.uk>
2020-08-17 11:23:58 +02:00
ghalestrilo
8ddd7a76e2 Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-examples 2020-08-07 18:51:37 -03:00
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
ghalestrilo
862fe1a3ba 👌 update server.routes.js 2020-07-31 14:50:38 -03:00
ghalestrilo
d42f10e114 🔀 merge from feature/mobile-header-dropdown-menu 2020-07-31 10:49:19 -03:00
ghalestrilo
40db915282 🐛 fix panels not changing 2020-07-31 09:04:48 -03:00
ghalestrilo
42b002595b 🚧 add link to MyStuff when user is logged in 2020-07-30 16:13:00 -03:00
ghalestrilo
6e668cda68 🚧 improve routing for mobile examples screen 2020-07-30 15:40:43 -03: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
ghalestrilo
de0e32f6a3 🚨 ignore proptype errors 2020-07-24 18:11:10 -03: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