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
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
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
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
shakti97
ba92e01762
Fix username/email case issue in login/signup
2020-03-09 01:39:01 +05:30
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