Commit Graph

3350 Commits

Author SHA1 Message Date
AlexandruPopovici 0dd8c58529 Added the possibility to set the default sun light properties at runtime via LightConfiguration. Added a working example into sandbox 2022-08-18 18:17:14 +03:00
Kristaps Fabians Geikins 7aa21e88bd chore: cleaning up suuid usages (#943) 2022-08-18 15:29:05 +03:00
Fabians 91972eb9b7 Merge branch 'main' of github.com:specklesystems/speckle-server into main 2022-08-18 11:08:23 +03:00
Fabians f4693714b9 fix: line heights in basic email template 2022-08-18 11:08:18 +03:00
Dimitrie Stefanescu 9f488993a9 feat(frontend): resource isolation/visibility toggle 2022-08-18 09:57:20 +03:00
AlexandruPopovici d3163bff2f Fixed the issue where you could select objects clipped by thesection planes 2022-08-17 15:32:54 +03:00
AlexandruPopovici 0f5a95e80d Fixed an issue with transparent materials and 0 opacity. Added roughnss and metalness as legit material properties 2022-08-17 15:06:51 +03:00
AlexandruPopovici a892643a4a Merge branch 'dim/viewer-redux' into viewer-redux-integration 2022-08-17 14:43:39 +03:00
Kristaps Fabians Geikins 7c2b92937c fix(frontend): some styling issues (#936)
* fix(frontend): viewer controls blocking mouse input around it

* fixed ugly LatestBlogposts positioning & scrollbar

* fixed branch edit dialog reloading w/o saving on enter
2022-08-17 13:21:47 +03:00
AlexandruPopovici 05e73d9c17 Fixed the issue with selected objects going invisible 2022-08-17 13:11:49 +03:00
Dimitrie Stefanescu eccf0a9186 chore(frontend/viewer): fixes some eslint errors 2022-08-17 09:51:46 +03:00
Dimitrie Stefanescu c64fc2cd4c feat(viewer): filtering manager types (wip) 2022-08-17 09:38:38 +03:00
Dimitrie Stefanescu 1e414e0634 feat(frontend): object isolation + code revamp 2022-08-17 09:38:08 +03:00
Dimitrie Stefanescu 95fe9d4777 feat(frontend): deselection on + others 2022-08-17 08:42:34 +03:00
Dimitrie Stefanescu 04446b78a4 feat(frontend): add new comment location <> viewer 2022-08-17 08:35:12 +03:00
Dimitrie Stefanescu 00a86f9bf3 feat(viewer): new selection implementation 2022-08-17 08:27:32 +03:00
Dimitrie Stefanescu cc16887657 feat(viewer): WIP new selection implementation 2022-08-17 07:51:29 +03:00
Iain Sproat 44bd5919f8 Revert "perf(Docker images): production images are based on distroless (#899)" (#934)
This reverts commit 7fe41b1fb2.
2022-08-16 16:42:59 +01:00
Iain Sproat 7fe41b1fb2 perf(Docker images): production images are based on distroless (#899)
- perf(server, webhook-service): production images are based on distroless

Reduces image file size by >40% for images which can use distroless base image.  As
well as improving boot-up & restart time (via smaller download & load size), Distroless reduces the
attack surface area by removing almost all binaries & packages (e.g. shell, chown) that are not
necessary to run node.

- ensures distroless node images run tini
- removes fonts-dejavu-core and fontconfig from speckle-server
- Remove man and doc files if they exist
- args hoisted to top of Dockerfile and consolidated
- env vars consolidated to prevent additional layers

address https://github.com/specklesystems/speckle-server/issues/883
2022-08-16 16:17:07 +01:00
AlexandruPopovici eb87ef8509 Another husky test 2022-08-16 17:38:29 +03:00
AlexandruPopovici 2b4b898f73 Merge branch 'main' into viewer-redux-integration 2022-08-16 17:37:47 +03:00
AlexandruPopovici 17a018559f Test husky 2022-08-16 17:35:27 +03:00
AlexandruPopovici 8a5611434a Forgot to add the RTL uniforms to the colored material 2022-08-16 17:02:05 +03:00
Gergő Jedlicska 259e8ec829 fix formatting caused by accepting changes on the github UI 2022-08-16 14:59:25 +02:00
AlexandruPopovici 813cd51788 Fixed conflicts, fixed an issue with updating materials for RTL 2022-08-16 15:49:30 +03:00
Gergő Jedlicska 43596e4509 refactor(server authz): refactor authz module to TypeScript (#907)
* refactor(server authz): refactor authz module to TypeScript

* improved roles types

* Update packages/server/modules/shared/errors/base.ts

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>

* refactor(server authz): fix PR comments

Co-authored-by: Fabians <fabis94@live.com>
2022-08-16 14:45:13 +02:00
Fabians 09564e6473 made viewer not reactive 2022-08-16 14:20:33 +03:00
Dimitrie Stefanescu d53fe6b930 WIP: debugging commit for fabians 2022-08-16 13:21:00 +03:00
Dimitrie Stefanescu 39cc8ac382 feat(viewer): viewer intergration 2022-08-16 11:36:34 +03:00
Dimitrie Stefanescu c88488c326 feat(viewer): integration work (very WIP) 2022-08-16 11:36:11 +03:00
Dimitrie Stefanescu ec91f36cfc feat(viewer): integration work (very WIP) 2022-08-16 10:30:54 +03:00
Dimitrie Stefanescu 1badaa9177 feat(viewer): integration work (very WIP) 2022-08-16 09:51:12 +03:00
Iain Sproat da7dafe819 fix(fileimport service): s3 is not required by fileimport service (#924)
Fileimport service retreives blobs via the server storage API, and not directly from s3.  Fileimport
service no longer requires information or credentials about s3.
2022-08-15 15:49:10 +01:00
AlexandruPopovici 8b2559759f Removed log 2022-08-15 17:31:38 +03:00
AlexandruPopovici 023a26c6a0 Fixed conflicts 2022-08-15 17:11:57 +03:00
AlexandruPopovici 52d37a3b83 Merged 2022-08-15 16:13:53 +03:00
AlexandruPopovici d35e321c15 Forgot to muliply with the batch's world transformation in the rte shadow matrix 2022-08-15 16:11:21 +03:00
Peter Grainger 72d27b9a7c Allow save object to S3 in different region (#910)
* Allow save object to S3 in different region

* feat(helm & docker-compose): adds S3_REGION to helm chart & docker-compose

Explicitly adding the environment variable to deployment configuration files provides system operators with documentation of its existence.

Set to empty by default, which will result in the default value being used.

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2022-08-15 14:24:30 +02:00
Iain Sproat 65a00dca2e feat(helm chart): add SecurityContext to pods and containers (#917)
* feat(helm chart): add SecurityContext to pods and containers

Speckle pods should run with minimal privileges and capabilities to function.

Fix https://github.com/specklesystems/speckle-server/issues/857

* Update securityContext for all pods

* frontend runs as nonroot and readonly root filesystem

- set fsgroup for all pods with volumes

* Frontend requires write directory at /etc/nginx/conf.d

* Allow openresty log directory to be writable

* feat(helm local test): add test container into the make script

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-08-15 14:20:19 +02:00
AlexandruPopovici f43f8d7174 #827 Fixed the issue with shadows and distant objects 2022-08-15 15:17:28 +03:00
Dimitrie Stefanescu e15d53a7c4 hack(viewer): allow for loading assets load with data urls (data:img/png...) 2022-08-15 08:56:44 +03:00
Dimitrie Stefanescu a300ac4385 Merge branch 'alex/viewer-redux' into dim/viewer-redux 2022-08-14 10:55:42 +03:00
Dimitrie Stefanescu ff37cf8e1d Merge branch 'alex/viewer-redux' into dim/viewer-redux 2022-08-14 10:52:35 +03:00
AlexandruPopovici 7ebd96fe44 Fixed an issue where filtered objects were incorrectly ignored by the section planes 2022-08-12 17:15:08 +03:00
AlexandruPopovici 28989a622c #Integration: Added OVERLAY filter material type. Changed the SELECT filter material color to speckle blue. Fixed amn issue where some materal colors weren't linear 2022-08-12 17:07:47 +03:00
AlexandruPopovici 66cd68077d #Integration: Implemented getViews and setViews at viewer API level. They still use the old 'way of working' but changing that will be trivial, since views are now part of the world tree liek everything else. Implemented canonical views, implemented screenshot. All of these are controllable from the sandbox for testing 2022-08-12 16:34:04 +03:00
AlexandruPopovici 3e194deb15 #Integration Added view3D parsing to the world tree and render tree 2022-08-12 15:07:37 +03:00
Dimitrie Stefanescu e8891a8d2e feat(viewer): wip FE<>Viewer 2022-08-12 14:32:25 +03:00
AlexandruPopovici 98c02f7f5f Worked on making shadows work properly with RTE. More complicated than originally thougth 2022-08-12 14:32:11 +03:00
Dimitrie Stefanescu e360d8f61d feat(viewer): wip first pass at integrating FE & viewer. 2022-08-12 11:15:48 +03:00