Commit Graph

4652 Commits

Author SHA1 Message Date
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
andrewwallacespeckle a72ef6178d refactor: isAllowedType checks for hidden speckle types (#2481) 2024-07-09 15:32:18 +01:00
Iain Sproat b119f2ee83 feat(metrics): collect metrics at a higher frequency then prometheus scrapes (#2479)
* feat(metrics): collect metrics at a higher frequency then prometheus scrapes
* metrics presented as histograms
* Metric for self monitoring time taken to collect the high frequency metrics
* Initiate high frequency metrics alongside default metrics
* Collect metrics every 100ms
2024-07-09 14:57:06 +01:00
Alessandro Magionami 01a527eabc feat(core): change user update to also create user-email 2024-07-09 13:54:06 +02:00
Alessandro Magionami 377c7d8c8e feat(core): update user creation to also create user-email 2024-07-09 13:50:55 +02:00
Alessandro Magionami c6d076253d chore(user-emails): create update and delete functions in repository 2024-07-09 13:46:02 +02:00
Alessandro Magionami 3288382337 chore(core): create test helpers 2024-07-09 13:45:18 +02:00
Alessandro Magionami fcc9813414 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-09 13:29:47 +02:00
Dimitrie Stefanescu 61c4f7c9aa Merge pull request #2468 from vwnd/vwb/objectsender/decorators
Object Sender: Adds @Detach and @Chunkable decorators
2024-07-09 11:50:41 +01:00
Alessandro Magionami a9e6dc5834 feat(user-emails): create user emails table and type (#2470)
* feat(user-emails): create user emails table and type

* chore(user-emails): add delete cascade

* chore(user-emails): fix tests

* chore(user-emails): add unique constraint for email and userId

* chore(user-emails): use random email in tests

* chore(user-emails): add todo to remove user-email in test

* chore(user-emails): code review changes

* chore(user-emails): use random passwords for tests

* chore(user-emails): fix test and code review changes
2024-07-08 17:27:59 +02:00
Kristaps Fabians Geikins 95184b6883 chore(server): marking all old (non-FE2) GQL schema fields as deprecated (#2435)
* some fe2 copy changes + everything upp to automate deprecated

* blobstorage & comments & branches/commits

* all core assets reviewed

* server invites

* webhooks

* minor copy update

* updating copy
2024-07-08 14:09:55 +02:00
AlexandruPopovici e23d8cdfa0 Fixed the underlying issue. When the camera moves inside the bounds of a TAS batch object and we can no longer get a min dist from that batch object, we just use the fallback emipiric value. Also added an option to display TAS BVH for debuging purposes 2024-07-08 13:44:59 +03:00
Alessandro Magionami ef989d98f5 chore(user-emails): fix test and code review changes 2024-07-08 09:46:17 +02:00
Alessandro Magionami c56afa3dc2 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1151-create-a-new-table-called-useremails 2024-07-08 09:23:28 +02:00
AlexandruPopovici f37dce3539 Trying to debug the TAS bvh 2024-07-05 23:09:45 +03:00
Iain Sproat 55d51bd84f feat(db monitor): adds a new metric speckle_db_tablesize with db table sizes (#2474)
* feat(db queries): adds db query scripts for determining db sizes

* Adds a new metric `speckle_db_tablesize` with db table sizes

* lower case all the file types to provide a combined metric

* group file status count by lower cased file type

* reinstate accidentally deleted metric

* Fix developer script
2024-07-05 15:12:27 +01:00
Alessandro Magionami ccc85ca4fe chore(user-emails): use random passwords for tests 2024-07-05 15:33:05 +02:00
Alessandro Magionami d827d407b0 chore(user-emails): code review changes 2024-07-05 15:24:42 +02:00
AlexandruPopovici a5e77d8d36 Added sRGB->linear vertex color conversion in the geometry converter. Not all connectors may send their vertex colors in sRGB but this is what we agreed we're going to treat vertex color space for now 2024-07-05 13:18:25 +03:00
AlexandruPopovici 37b7d8961d Merge branch 'main' of github.com:specklesystems/speckle-server into main 2024-07-05 13:11:42 +03:00
Alessandro Magionami a137748063 chore(user-emails): add todo to remove user-email in test 2024-07-05 11:47:29 +02:00
Alessandro Magionami 0c5276fd39 chore(user-emails): use random email in tests 2024-07-05 11:26:46 +02:00