Commit Graph

4652 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 51dd6ac1da Dim/viewer redux fixes (#1022)
* fix(viewer): closes #990

* fix(frontend): closes #1012

* fix(viewer): fixes #992
2022-09-27 11:16:00 +03:00
AlexandruPopovici 5d02fb2423 Fix for frontend which starts off the viewer with 0 width and heiht. This makes the framebuffers incomplete and errors are thrown. We now render to framebuffers only after we have a valid rendering size 2022-09-27 10:36:59 +03:00
KatKatKateryna 7f95f5cc8f added GIS apps labels 2022-09-26 20:06:36 +02:00
Kristaps Fabians Geikins c7e4c9981c fix(server): streamUpdatePermission wont allow adding new users to streams (#1032)
* fix(server): fixing streamUpdatePermissions allowing to add new users to stream

* fix(server): fixing tests to better test streamUpdatePermission
2022-09-26 16:40:17 +02:00
AlexandruPopovici c2d833026e Implemented selective opqaue objects only rendering in the depth and normal render targets for AO computation. Batcher now allows for various isolation of objects based on whatever category using batch update ranges 2022-09-26 17:20:08 +03:00
Kristaps Fabians Geikins 61a2caaae9 feat: batch commit actions improvements (list view support, batch delete in 'your commits')
* feat(frontend): batch commit action support in list view

* feat(frontend): batch delete in 'your commits' page

* fix(server): authorizeResolver isPublic check always failed

* fix(server): fixing tests
2022-09-26 13:16:44 +03:00
Gergő Jedlicska 025141a8b1 gergo/summaryEmailFixes (#1030)
* fix(server): fix 'speckle:error(s)' mismatching naming

* fix(frontend): add mtl as documented file import format, fix missing computed prop

* fix(fileimports): specklepy operations.send shouldn't use local cache for sending

fixes #1017

* fix(nginx): forward /static route to backend

* fix(frontend): add missing notification type names

* fix(helm): cleanup
2022-09-23 17:22:18 +02:00
Gergő Jedlicska 908bbfb937 Gergo/file imports hotfix (#1025)
* fix(server): fix 'speckle:error(s)' mismatching naming

* fix(frontend): add mtl as documented file import format, fix missing computed prop

* fix(fileimports): specklepy operations.send shouldn't use local cache for sending

fixes #1017

* obj import skip using default cache
2022-09-23 13:20:53 +02:00
Kristaps Fabians Geikins 5c86540b8e fix(frontend): batch commit toolbar doesnt appear in vue prod mode (#1023) 2022-09-22 18:24:29 +03:00
Kristaps Fabians Geikins 84c6ea68a2 fix(server): hopefully fixing some flaky tests (#1021) 2022-09-22 17:16:34 +03:00
Kristaps Fabians Geikins 05f11a26da feat: batch commit delete/move (#1016)
* feat: batch delete/move commits

* fix: ts linter issue
2022-09-22 16:49:18 +03:00
AlexandruPopovici 0bd362e1ef #1014 SAO WIP 2022-09-22 16:43:24 +03:00
Dimitrie Stefanescu 1a0a72f73b Merge pull request #1013 from specklesystems/alex/#995
Alex/#995
2022-09-22 13:13:11 +01:00
Dimitrie Stefanescu 220d8da979 fix(viewer/frontend): fixes #995 (implements new selection event in fe) 2022-09-22 12:59:22 +01:00
Kristaps Fabians Geikins 87107dc5d9 feat(frontend): auto-save stream settings (#1004) 2022-09-22 12:21:17 +03:00
Kristaps Fabians Geikins 3da39a7b11 refactor(server): User.streams only returns discoverable streams for non-owners (#1002) 2022-09-22 12:21:06 +03:00
AlexandruPopovici c7c98a2e24 #1014 Started working on SAO 2022-09-21 18:50:20 +03:00
Iain Sproat 77678ecaa8 feat(helm chart): secrets can be referenced from different kubernetes Secret resources (#1005)
* feat(helm chart): secrets can be referenced from different kubernetes Secret resources

Currently secrets have to be referenced from a single kubernetes Secret resource (default name
'server-vars').  This PR allows each secret to be loaded from a separate kubernetes Secret.  If
values for individual secrets are not provided, it defaults to the previous single kubernetes
resource.  This single kubernetes secret should now be considered deprecated in favour of individual
references.

* Fix error in Redis key

* Fix DNS egress for Redis in CiliumNetworkPolicy

- only give access to optional secrets if the component is enabled

* Values should be empty by default to allow for backwards compatibility
2022-09-21 16:27:05 +02:00
AlexandruPopovici 4cbf06a7f4 Merge branch 'main' into alex/#995 2022-09-21 13:37:50 +03:00
AlexandruPopovici 0b6a8afc27 refactor: restructured Selection Event
Selection Event now provides a list of ordered hits, each hit with it's guid, object and hit point

BREAKING CHANGE: Frontend will need to adjust according to the new SelectionEvent structure

#995
2022-09-21 13:33:24 +03:00
Alexandru Popovici c84ba38cd8 Alex/#996 (#1001)
* fix: fixed #996

Shadows now respect clipping planes

#996

* fix: fixed #987

Fixed #987 and an additonal issue with null clipping planes

#987

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-09-09 15:29:21 +03:00
Gergő Jedlicska d1d5984e30 gergo/summaryEmails (#979)
* refactor(server emails): email transports module refactor to TypeScript

* refactor(docker-compose deps): move local email server to common dev compose file

* chore(server launch.json): add ts-node script running example

* chore(server deps): add nodemailer types package

* refactor(server activitystream): add strongly typed activity definitions

* feat(server activitystream): add activity repository

* feat(server info): add canonical url on the service level

* feat(server): add static file serving route to server core

* feat(server): add dependencies for periodical email digests

* feat(server activity stream): call the initialization step from the activity stream module

* feat(server activity digest): add WIP weekly email digest implementation

* feat(server digest email): smul upgrades and fixes to the email template and its contents

* just for Fabs to test

* chore(root package.json): remove deleted docker-compose references

* feat(frontend profile): add notification preferences panel

* feat(server digest emails): set prod ready cron tab and timespan

* refactor(server email digest): move templates into the email module

* refactor(server activity digests): refactor to use notifications infrastructure

* test(server activities): add tests and some refactor to activities and notification preferences

* refactor(notification preferences): fix minor issues

* test(server notification preferences test): fix describe nesting

* fix(server activities): add missing action types

* fix(server activities): fix errors after merging main

* test(server activity notifications): add test coverage for activity notifications service

* refactor(server activities): fixing tests and some cleanup

* feat(server cli): add summary notification command to cli

* chore(dev env db versions): upgrade local dev env versions

* chore(server deps): upgrade local dev db to pg 14

* fix(docker-compose): bind maildev to localhost

* process-scoped notifications test queues

* test(activity tests): add  sleep to fix flaky CI

* feat(activity digests): add demo date for digest trigger

* feat(activity digest): add UK timezone trigger date

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Fabians <fabis94@live.com>
2022-09-09 12:46:57 +02:00
Iain Sproat 9f9f1c381f Only create configmap for DB certificate if certificate is provided in helm chart (#999)
- otherwise, we should expect the configmap to already be in the namespace
2022-09-09 11:10:46 +01:00
AlexandruPopovici 59be710e9c Small change in queryHits so that hit points are always consistent with hit nodes 2022-09-08 16:55:29 +03:00
AlexandruPopovici 80ac7af6d2 fix: support for picking hit chain
The ViewerEvent now haw two (currently optional) members. hitChain which contains the ordered list
of speckle objects that were hit and hitPoints which holds the hit locations for all hit objects.

#995
2022-09-08 16:26:58 +03:00
AlexandruPopovici b99a4afb18 fix: fixed #987
Fixed #987 and an additonal issue with null clipping planes

#987
2022-09-08 12:53:34 +03:00
AlexandruPopovici d7142b344d fix: fixed #996
Shadows now respect clipping planes

#996
2022-09-07 18:50:10 +03:00
Alexandru Popovici c0b86208c9 Vsm artifacts (#986)
* Fixed the VSM artifacts by increasingthe bias for the sun's shadow. Now, that's the typical route for fixing shadow artifacts, however I did try to see what exactly was cauding the artifacts only on particular GPUs but couldn't find out. Additionally, I added two more controls in the sandbox, one for the shadow bias, and one for the shadow radius which controls the smoothness of the shadows

* Added step values for the new sliders

Co-authored-by: Alex <alexandru.popovici@busymachines.com>
2022-09-07 13:40:00 +03:00
Dimitrie Stefanescu e8660634be Merge pull request #994 from specklesystems/alex/#989
Fix #989
2022-09-07 11:09:26 +01:00
AlexandruPopovici 20d15dd859 Fix #989 2022-09-07 12:55:01 +03:00
Dimitrie Stefanescu 3d8fb5fe47 fix(fe): surprise linting error 2022-09-06 11:43:45 +03:00
Dimitrie Stefanescu ac0619d8ce Merge pull request #977 from specklesystems/viewer-redux-integration
Feature: Viewer Redux Integration
2022-09-06 09:15:25 +01:00
Dimitrie Stefanescu 3fcb820627 Merge branch 'main' into viewer-redux-integration 2022-09-06 09:14:41 +01:00
Kristaps Fabians Geikins f991504932 feat: stream access requests (#976) 2022-09-06 11:10:38 +03:00
Dimitrie Stefanescu 623cfb59ab feat(fe): adds legacy filter support (minimal) and removes old commented code 2022-09-06 10:51:13 +03:00
Dimitrie Stefanescu 2f4798769b fix(fe): various change requests 2022-09-06 10:09:19 +03:00
Dimitrie Stefanescu 8c72675fb9 feat(fe): removes setTimeout from numeric filter setting 2022-09-04 11:52:34 +03:00
Dimitrie Stefanescu c12bbb95ce fix(fe): adds local schema + prunes TODOs 2022-09-03 13:42:10 +03:00
Dimitrie Stefanescu 757908606b fix(fe): implements onKeyStroke rather than global window listeners 2022-09-03 10:17:58 +03:00
Dimitrie Stefanescu 78631a668e fix(fe): swaps getIntializedViewer for useInjectedViewer 2022-09-03 09:55:52 +03:00
Iain Sproat 9f84464837 fix(server prometheus metrics): speckle_server_apollo_calls prometheus metric should be published (#980)
The move from app.js to app.ts had broken speckle_server_apollo_calls prometheus metric.  This PR
reverts the import of apolloPlugin to use the previous inline require.
2022-09-02 11:34:21 +01:00
Dimitrie Stefanescu 1c833836d8 chore(fe): ran yarn gqlgen 2022-09-02 12:27:34 +03:00
Dimitrie Stefanescu db4439ef85 feat(fe): minor cleanup of selection bubbles events 2022-09-02 12:24:02 +03:00
Dimitrie Stefanescu a4c20a64db feat(fe): adds bubbles selection highlights 2022-09-02 12:00:19 +03:00
Dimitrie Stefanescu df0d75d68d feat(fe): displays comment bubbles post model load 2022-09-02 11:59:11 +03:00
Dimitrie Stefanescu 227b847dee feat(filtering): allows for "highlighting" objects using a ghosted material (useful for highlighting hidden objects) 2022-09-02 09:54:42 +03:00
Dimitrie Stefanescu 9a6bedc528 feat(viewer): adds default ghosting params for filtering ops 2022-09-01 20:51:03 +03:00
Iain Sproat 808e8d715c fix(circleci): builds commits on detached branches (#978)
CircleCI failed to build tagged commit as it was checked out in an orphaned state without a branch.
This commit allows tagged commits to be built.
2022-09-01 17:58:33 +02:00
Dimitrie Stefanescu 95ede102eb chore(viewer/frontend): determinstic (not that great) colors for string prop filtering 2022-09-01 13:09:36 +03:00
Dimitrie Stefanescu 39ddff422e chore(server): reverts inadvertent change 2022-09-01 12:21:24 +03:00