Commit Graph

59 Commits

Author SHA1 Message Date
Kurt Hutten
aa43a848a1 Format project 2021-08-22 12:26:06 +10:00
Kurt Hutten
1336ffc437 Fix editing project without social image. 2021-08-21 08:44:51 +10:00
Kurt Hutten
93a1c7a242 Invalidate social card on title or description change 2021-08-17 05:05:13 +10:00
Kurt Hutten
150ab45748 minimize social cards sdl 2021-08-17 03:35:15 +10:00
Kurt Hutten
9fa22a0469 got something working thats only a little hacky 2021-08-16 18:45:33 +10:00
Kurt Hutten
32155ba98c Get image upload to cloudinary with the same public id
This means we can put a consistent url in the head for the card image
2021-08-14 15:19:48 +10:00
Kurt Hutten
7bd3cb44f8 Fix typo 2021-08-12 07:07:56 +10:00
Kurt Hutten
0ae5065aaf Add welcome message 2021-08-12 06:14:40 +10:00
Kurt Hutten
3d02143422 Bunch of teaks to IdeViewer
- add grid
- slit normals
- resync openscad camera with three camera
- fix stl download for CQ and openscad
- clean up failed preview image attempt
2021-08-09 18:12:14 +10:00
Kurt Hutten
39cbdc749b get deployments working again 2021-08-01 20:39:26 +10:00
Kurt Hutten
625db5e26b Merge branch 'main' into kurt/411-demo-branch 2021-08-01 09:46:41 +10:00
Kurt Hutten
ad0e9c1d4d format project 2021-08-01 09:44:10 +10:00
Kurt Hutten
caf944716b Move og-image-gen out of functions folder 2021-08-01 09:42:15 +10:00
Kurt Hutten
22f3fb6e3e Remove og image types 2021-08-01 04:45:43 +10:00
Kurt Hutten
6d68b939be try moving things into dev dependencies 2021-07-31 17:26:10 +10:00
Kurt Hutten
5c673a6a01 attempt to got functions to deploy 2021-07-31 17:04:20 +10:00
Kurt Hutten
cbaa79b697 add netlify builder to capture social images
plus also added an invalidator that should invalidate the image each
month
2021-07-31 16:06:22 +10:00
Kurt Hutten
de71b8f67c Demo branch adding JSCAD type, without implementing the render
Related to #411
2021-07-25 20:59:53 +10:00
Kurt Hutten
8e558d2342 massive refactor toDrop cascadeStudio and add CadQuery + OpenSCAD
resolves #400
2021-07-17 17:47:29 +10:00
Kurt Hutten
70e55a039d Implement gzip compression for cad artifacts
The stls from CadQuery and OpenSCAD are not compressed and so we're
throwing away bandwidth and taking a performance hit by not gziping.

Gzip for s3 basically needs to be gziped before upload and than have

'content-type'      :  'text/stl'
'content-encoding'  :  'gzip'
set.

https://stackoverflow.com/questions/8080824/how-to-serve-gzipped-assets-from-amazon-s3

The obvious part that needs to change is putObject in
app/api/src/docker/common/utils.js but there might be a few more
nuances.

resolves #391
2021-07-03 08:25:20 +10:00
Kurt Hutten
084c4afdc3 Update email code to send an email per EditUserCell
using multiple recipients is break of privacy since user will be able
to see each other's emails.
2021-07-01 20:14:46 +10:00
Kurt Hutten
43376b8214 Add build path back for openscad 2021-07-01 07:08:48 +10:00
Kurt Hutten
fc7c74f3e1 Upgrade openscad to 2021.01
resolves #321
2021-07-01 06:59:53 +10:00
Kurt Hutten
8fec470e9f Improve aws/docker docs a little. 2021-06-29 17:34:03 +10:00
Kurt Hutten
7417499d4b Formatting 2021-06-29 17:17:21 +10:00
Kurt Hutten
98d1b0643d Add admin email notifications 2021-06-29 16:21:28 +10:00
Kurt Hutten
0da15443cb Add email integration to be able to broadcast emails to all users.
Resolves #388
2021-06-29 06:37:04 +10:00
Torsten Paul
c0b961ee39 Update variable name for lambda base URL. 2021-06-27 02:19:55 +02:00
Kurt Hutten
1ed1f3a2b6 Add more details to the docker readme 2021-06-27 07:38:19 +10:00
Kurt Hutten
c56cf6f4ce Improve three.js scene lighting
Related to #383
2021-06-27 06:23:28 +10:00
Kurt Hutten
e95d47cfdf Update default cq stl quality 2021-06-27 05:52:37 +10:00
Jeremy Wright
f84d4cacee Updated for cq-cli beta 2 of v2.2, which adds the ability to adjust STL quality 2021-06-25 20:14:10 -04:00
Kurt Hutten
e91a264768 lint project 2021-06-26 06:14:49 +10:00
Kurt Hutten
29999bc2ce Allow admins to edit parts
Needed for moderation
2021-06-25 19:43:34 +10:00
Kurt Hutten
87e43ab7ce Add Cors headers to lamda timeout so they can be detected on the FE 2021-06-25 19:26:33 +10:00
Kurt Hutten
0773915fbc Update cq-cli to latest (beta) 2021-06-25 19:26:12 +10:00
Jeremy Wright
3cebb100c7 Added libglew 2.1 to Dockerfile install line 2021-06-24 17:35:07 -04:00
Kurt Hutten
7a98afa8df Merge pull request #374 from jmwright/main
Updated Dockerfile for newer version of CadQuery and cq-cli
2021-06-25 05:43:04 +10:00
Kurt Hutten
473f8d667c Fix images being deleted when they shouldn't
Resolves #375
2021-06-25 05:34:17 +10:00
Jeremy Wright
8fa779bb32 Updated Dockerfile for newer version of CadQuery and cq-cli 2021-06-24 10:09:19 -04:00
Kurt Hutten
52bf8922c4 Lint project 2021-06-24 20:36:56 +10:00
Kurt Hutten
df5fc0a100 regenerate lock file 2021-06-24 20:25:51 +10:00
Kurt Hutten
ec6919d499 import graphql for reasons 2021-06-19 11:23:42 +10:00
Kurt Hutten
3e0f17ee3c Upgrade redwood 34.1 2021-06-19 11:09:13 +10:00
Kurt Hutten
13f769af5e Add api logs back in 2021-06-19 10:30:12 +10:00
Kurt Hutten
35a1d84951 Explicitly add graphql-tag as api dependency 2021-06-19 08:51:42 +10:00
Kurt Hutten
13b5d9c108 Remove all logs from api 2021-06-19 07:54:21 +10:00
Kurt Hutten
7f588ebedf Try removing logs 2021-06-19 05:56:34 +10:00
Kurt Hutten
142bf2c890 Start adding ide colors, includes adding custom theme to openscad
Resolves #365
2021-06-16 21:49:24 +10:00
Kurt Hutten
2e91c74baf Add initial sentry setup
Related to #343 but will probably need a few more changes
2021-06-05 20:32:56 +10:00