Commit Graph

81 Commits

Author SHA1 Message Date
Kurt Hutten
434eb0ef86 Release CQ customizer (#559)
* Switched to Miniconda image

* Update cad endpoint url

and some minor tweaks

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
2021-10-15 18:06:31 +11:00
Jeremy Wright
96ee9c4aa4 Add CadQuery customizer (#547)
* Rough changes to make the CadQuery integration work with the customizer

* Tweak runCQ

* Switched to Anaconda

* Cleaned up code

* Update CadHub after anaconda

Related to #547

* Add final tweaks to CQ customizer

* Separated out customizer.json from params.json

* Changes after discussing CadHub integration

* linting runCQ

Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2021-10-15 02:39:03 +11:00
Kurt Hutten
3df903ffc6 Linting 2021-10-13 20:22:49 +11:00
Lucas Barros
6c093e65bf Add project fork to seed file (#552) 2021-10-12 05:54:08 +11:00
Kurt Hutten
c4c195074b Update cad lambda docs 2021-10-07 20:22:51 +11:00
Kurt Hutten
3aa3254e48 Add more verification to sign up 2021-09-30 20:28:13 +10:00
Kurt Hutten
879f24b08b Delete project properly as it's not causing problems with forking logic (#539) 2021-09-29 19:04:35 +10:00
Frank Johnson
7540c908e7 Added link in ProjectProfile and fork count to ProjectCard 2021-09-28 06:18:41 +10:00
Kurt Hutten
dd152709ff Add forking graphQL resolvers 2021-09-28 06:18:41 +10:00
Frank Johnson
2d7fb91f92 added navigation to new project on fork 2021-09-28 06:18:41 +10:00
Kurt Hutten
02463db741 Start project fork feature
Updated schema, project service and UI
Still some polish to go.

Co-authored-by: Frank Noirot <franknoirot@users.noreply.github.com>
2021-09-28 06:18:41 +10:00
Kurt Hutten
c19658b7f8 Enforce name and username with length 2021-09-24 05:26:51 +10:00
Frank Noirot
335dac8677 Show empty KeyValue's if editing (#526)
* Show empty KeyValue's if editing

* Add verification to name and user name, enforce length

Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
2021-09-23 18:51:44 +10:00
Kurt Hutten
f6df9d1988 upgrade rw + lint (#521)
* Various linting fixes

* Fix component name

* Upgrade to redwood 0.36.4
2021-09-20 19:08:03 +10:00
Kurt Hutten
e526fa812e Improve three scene performance and add JSCAD
- smoothed follow mouse animation
- made mobile friendlier down to about 330px ish
- added default social image
- used smaller hero asset
2021-09-12 14:40:10 +10:00
Kurt Hutten
12ab456446 format 2021-09-10 18:45:03 +10:00
Kurt Hutten
2e2e7be633 Fix console error messages 2021-09-09 18:36:11 +10:00
Kurt Hutten
4a3144d360 Remove s3
but also upgrade the cad lamdbas to use built javascript files,
allowing us to use typescript, and patching redwood
2021-09-04 23:52:44 +10:00
Kurt Hutten
01a28f4d53 upgrade redwood to v 0.36 2021-08-31 20:12:18 +10:00
Kurt Hutten
f5113da9c2 Upgrade redwood to v 0.35 2021-08-31 18:35:51 +10:00
Kurt Hutten
87f132a684 Add customizer support for OpenSCAD
This also includes sending metadata and part of the concatenated gzip,
not in the s3 metadata as that has a 2kb limit.

Resolves #320
2021-08-27 06:52:04 +10:00
Kurt Hutten
b4cdd3e1ef Tweak welcome message 2021-08-22 13:53:54 +10:00
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