Commit Graph

4373 Commits

Author SHA1 Message Date
Iain Sproat 0bb80bdc83 feat(helm): startup probe & faster responding readiness probe (#2523)
* feat(helm): startup probe & faster responding readiness probe
* fe2 does not yet support pretty printing
* Add comment for fe2 logPretty being disabled
2024-07-23 14:44:49 +01:00
Mike 65c7dbd247 Feat: Move settings from individual pages into one settings modal (#2502) 2024-07-23 11:37:50 +02: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 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
Iain Sproat 9fad4b2d58 docs(README): update contribution instructions to advise pre-commit install (#2516) 2024-07-18 11:57:59 +01: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
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
Dimitrie Stefanescu bf7eafeceb Merge pull request #2476 from specklesystems/alex/sRGB-vertex-colors
sRGB Vertex Colors
2024-07-16 15:00:05 +01: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 b528202cbc fix: disable broken codecov from blocking our releases (for now) (#2505) 2024-07-15 16:25:34 +03: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
Iain Sproat 1d2bc481c8 feat(logging): metrics endpoint is logged as debug level, not info (#2490) 2024-07-10 13:25:52 +01:00
Alessandro Magionami 82ab5a53ac chore(user-emails): fix tests 2024-07-10 13:02:07 +02:00
Alessandro Magionami 295b6d0621 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 12:12:00 +02:00
Alessandro Magionami bb964cd457 feat(user-emails): mark user email as verified 2024-07-10 12:11:22 +02:00
andrewwallacespeckle d12e80035d fix(fe2): keyboard shortcuts in viewer don't work (#2389)
* feat: use shift for shortcuts. Swap onKeyStroke for useMagicKeys

* refactor: simplify control shortcuts

* Revert changes to input.ts

* refactor: Make more DRY

* Revert "refactor: Make more DRY"

This reverts commit a508fcfb9d2fef0cd2635911bc57410989166a50.

* Revert "Revert changes to input.ts"

This reverts commit c47300d0104d09f9fa0ae9bc9e86e994f0a46206.

* Revert "refactor: simplify control shortcuts"

This reverts commit a867d6e34d06a7a6436ff4bdb6c4a7db94d3ca21.

* Fix broken space

* Refactor Viewer Controls and Keyboard Shortcuts

* Fix keyboard shortcut mapping to handle string keys correctly

* refactor: string enum

* remove filters shortcut
2024-07-10 11:11:20 +01:00
Kristaps Fabians Geikins 0b2ca9a515 feat: add missing FE1 fields to the FE2 GQL schema (#2471)
* WIP version create

* commitCreate migrated

* minor cleanup

* commitReceived migrated

* added Project.object

* Project.comment introduced

* moving away old API usages in FE1

* ProjectMutations.batchDelete

* project pending access requests

* WIP project access req tests

* project access req tests done

* ModelByName test

* version mutation tests

* project.object tests

* batch delete tests

* minor improvements to redirect logging
2024-07-10 11:33:53 +02:00
Alessandro Magionami dab5b7b9de chore(user-emails): use test helpers 2024-07-10 09:52:19 +02:00
Chuck Driesler e703bb7415 WEB-1140 manage user workspace membership services (#2460)
* 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

* fix(workspaces): maybe tests work like this

* fix(workspaces): dry

* fix(workspaces): initialize tests better

* fix(workspaces): so true

* fix(workspaces): right

* fix(workspaces): self nit

* fix(workspaces): better repository structure

* fix(workspaces): repair tests, use `example.org`

* fix(workspaces): add tests for new repo functions, repair other tests

* fix(workspaces): better distinction between service-level guarantees and repo-level guarantees

* fix(workspaces): review comments and stencil tests

* fix(workspaces): add tests

* fix(workspaces): tests work

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-07-09 18:26:59 +02:00