Commit Graph

3350 Commits

Author SHA1 Message Date
Alessandro Magionami 614e5064e8 chore(useremails): use batches for backfill migration 2024-07-22 10:34:32 +02:00
AlexandruPopovici 3e93b1ddc0 Merged 2024-07-22 10:38:02 +03:00
Chuck Driesler 66eb539aa0 feat(workspaces): assign project roles for workspace projects (#2499)
* feat(workspaces): drop createdByUserId from the dataschema

* feat(workspaces): repositories WIP

* merge

* protect against removing last admin in workspace

* quick impl and stub tests

* add tests

* services

* unit tests for role services

* feat(workspaces): authorize project creation if workspace specified

* feat(workspaces): emit project created event

* feat(workspaces): assign roles on project create in workspace

* feat(workspaces): update project roles when user added to workspace

* fix(workspaces): perform automatic project role update in service function

* fix(workspaces): also delete roles

* fix(workspaces): broke tests again oops

* fix(workspaces): update `onProjectCreated` listener to use new repo method

* fix(workspaces): use service function in event listener

* fix(workspaces): get workspace projects via existing stream repo functions

* fix(workspaces): roles mapping in domain, use enum

* fix(workspaces): repair type reference in tests

* fix(workspaces): consolidate files, use different existing stream-getter

* fix(workspaces): more specific error

* fix(workspaces): yield per page

* fix(workspaces): some test dry

* fix(workspaces): superdry

* fix(workspaces): classic

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-07-20 00:03:27 +01:00
Chuck Driesler 27179ad4f1 feat(workspaces): stencil gql resolvers (#2508)
* feat(workspaces): stencil gql resolvers

* fix(workspaces): lol lmao

* feat(workspaces): stencil gql api and resolvers

* fix(workspaces): roles and scopes

* fix(workspaces): add scopes
2024-07-19 12:44:53 +01:00
Alessandro Magionami 07f0ed285c Merge pull request #2517 from specklesystems/alessandro/web-1340-add-no-relative-import-rule-to-eslint
chore(core): eslint rule to avoid relative imports
2024-07-19 09:19:36 +02:00
Chuck Driesler 8e3520fb67 chore(automate): track run duration in ms too (#2518)
* chore(automate): track run duration in ms too

* chore(automate): use `elapsed`
2024-07-18 17:23:10 +01:00
Alessandro Magionami bca547df8b chore(useremails): listUsers join user emails table 2024-07-18 17:43:53 +02:00
Alessandro Magionami 447b48a6c2 chore(server): remove relative imports 2024-07-18 16:07:16 +02:00
Alessandro Magionami dda535e811 chore(core): eslint rule to avoid relative imports 2024-07-18 15:16:28 +02:00
Alessandro Magionami 312fc4648c Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1172-change-the-users-repository-to-abstract-the-email-field-in 2024-07-18 15:14:05 +02:00
Alessandro Magionami deb9af299f chore(core): fix relative imports 2024-07-18 15:13:42 +02:00
Alessandro Magionami 4d84bb59c3 fix(useremails): email verification when creating user should be settable 2024-07-18 15:13:05 +02:00
Alessandro Magionami f608d49591 feat(useremails): join user emails in getUsers repo function 2024-07-18 15:12:23 +02:00
Alessandro Magionami 62fd3f4e00 chore(useremails): migration to backfill user emails 2024-07-18 15:11:08 +02:00
Dimitrie Stefanescu cd15c5951a Merge pull request #2478 from specklesystems/alex/WEB-1261
WEB-1261
2024-07-18 10:57:36 +01:00
Alessandro Magionami df7083abf9 Merge pull request #2489 from specklesystems/alessandro/web-1171-change-the-users-repository-to-update-the-verified-field-in
Alessandro/web 1171 change the users repository to update the verified field in
2024-07-18 11:33:10 +02:00
AlexandruPopovici b89ad00a5f URLHelper now uses the auth token for old URLs, if present 2024-07-18 11:42:57 +03:00
AlexandruPopovici c2e8fb2082 Merged 2024-07-18 11:14:31 +03:00
Alexandru Popovici 7c5130d617 Dynamic AO Disabled (#2482)
* Quick hack to disable the visibility of dynamic AO

* Dynamic AO can now be gracefully turned off via options, and any other passes that it required are also turned off so we don't waste GPU time

* ApplySAOPass now has a PASSTHROUGH render mode, where it just outputs the static ao texture sample.

* Added a debug mode to the pipeline when toggling debug passes
2024-07-18 11:02:42 +03:00
AlexandruPopovici 17795259ef Support for lower case 'objects' 2024-07-18 10:39:44 +03:00
AlexandruPopovici 393d08d7af FIxed linting error 2024-07-17 19:31:13 +03:00
AlexandruPopovici 2bd3d5843e More efficient and straightforward DUI3 instancing 2024-07-17 19:19:18 +03:00
AlexandruPopovici 3ccd49aa99 Merge branch 'main' into alex/DUI3 2024-07-17 17:17:05 +03:00
AlexandruPopovici 18ab05b140 First draft of DUI3 instancing 2024-07-17 17:13:55 +03:00
Kristaps Fabians Geikins b5b118f737 fix(fe1): yarn dev command not working (#2512) 2024-07-17 13:50:00 +03:00
Kristaps Fabians Geikins 9e318a58cb fix(viewer): dev command not working (#2511) 2024-07-17 13:28:43 +03:00
Alessandro Magionami 4692ea0d6d Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1171-change-the-users-repository-to-update-the-verified-field-in 2024-07-17 11:47:35 +02:00
Mike b1759350dc Fix: Updated formatting of text throughout the app (#2509) 2024-07-17 10:56:58 +02:00
Alessandro Magionami 55ae532bfa Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1171-change-the-users-repository-to-update-the-verified-field-in 2024-07-16 17:35:08 +02:00
AlexandruPopovici 6d4f5abc57 Merge branch 'main' into alex/sRGB-vertex-colors 2024-07-16 16:47:01 +03:00
Alessandro Magionami 8c7ed4448e chore(core): minor changes to tests 2024-07-16 14:17:40 +02:00
Mike f1d968d50d Fix: Changed general date formatting to be clearer (#2506) 2024-07-16 13:18:44 +02:00
Mike f5efcf0eb7 Fix: Adjust sizes in invite dialog (#2507) 2024-07-15 21:33:53 +02:00
Chuck Driesler 8a8536b358 fix(workspaces): correctly initialize and import workspaces core module (#2486) 2024-07-15 16:13:17 +02:00
Kristaps Fabians Geikins 3313787f16 fix(viewer): viewer node16 support + fixing up package.jsons (#2442)
* fix: viewer node16 support + fixing up package.jsons

* lockfile fix

* Removed unnecessary type augmentations. Deleted unused SpeckleCameraControls

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
2024-07-15 15:16:13 +03:00
Kristaps Fabians Geikins 311b00433a chore(objectsender): configured .npmignore (#2504) 2024-07-15 15:14:13 +03:00
Alessandro Magionami cc74f0f2a8 chore(user-emails): code review changes 2024-07-15 14:13:29 +02:00
Alessandro Magionami 42f97349ea Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1171-change-the-users-repository-to-update-the-verified-field-in 2024-07-12 17:24:55 +02:00
Alessandro Magionami 030101208a chore(user-emails): move user emails to core module 2024-07-12 17:24:40 +02:00
Gergő Jedlicska ee6e5e22b1 gergo/eventBus (#2498)
* feat(eventBus): WIP event bus typescript wizardy

* feat(eventBus): final eventbus setup with all the typescript foo

* fix(workspaces): fix workspace core imports

* test(workspaces): fix expected events name

* test(workspaces): fix tests
2024-07-12 15:35:40 +02:00
AlexandruPopovici 45c356eda9 qGIS test stream 2024-07-11 20:28:42 +03:00
Alessandro Magionami 3353b9bbc1 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1171-change-the-users-repository-to-update-the-verified-field-in 2024-07-11 14:35:38 +02:00
Kristaps Fabians Geikins 4da196ec48 feat(fe2): proper utm collection + idempotent Route Visited tracking (#2497)
* fix(fe2): utm not being tracked like it was in fe1

* fix(fe2): idempotent mp Route Visited calls
2024-07-11 14:52:41 +03:00
Mike b0c8a0e7b1 Fix: Change quote type for security headers 2024-07-11 12:11:27 +02:00
Kristaps Fabians Geikins ed3afa1742 fix(fe2): mixpanel not initializing due to apollo client being inaccessible (#2495) 2024-07-11 12:49:36 +03:00
Kristaps Fabians Geikins 9c93493e8b fix(fe2): preview 360 images occasionally not displayed (by Easoncan) (#2494) 2024-07-11 11:45:29 +03:00
Kristaps Fabians Geikins ee5ae8af62 fix(fe2): accept invite before onboarding after sign up (#2491)
* explicitly ordering global middlewares

* various subscription fixes & WIP project invite middleware

* SSR invite accept & toast notifs seem to work

* backend support for mixpanel

* mixpanel be logic -> shared

* minor fix

* finissh

* lint fix

* minor comment adjustments

* better adblock handling
2024-07-11 11:45:11 +03:00
Chuck Driesler 790d97383c feat(workspaces): project creation emit domain event
* feat(workspaces): drop createdByUserId from the dataschema

* feat(workspaces): repositories WIP

* merge

* protect against removing last admin in workspace

* quick impl and stub tests

* add tests

* services

* unit tests for role services

* feat(workspaces): authorize project creation if workspace specified

* feat(workspaces): emit project created event

* fix(workspaces): protect against adding a project to a workspace if module not enabled

* fix(workspaces): oops broke tests during merge

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-07-10 16:13:41 +01:00
Alessandro Magionami b1e51969da Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1171-change-the-users-repository-to-update-the-verified-field-in 2024-07-10 16:33:24 +02:00
Mike ef50b2c298 Feat: Added Content-Security-Policy for non-embedable routes (#2480) 2024-07-10 16:28:21 +02:00