Commit Graph

2323 Commits

Author SHA1 Message Date
Iain Sproat 08ffa1c10b Merge pull request #4761 from specklesystems/iain/duplicate-workspace-join-request
fix(server/workspaces): gracefully handle duplicate workspace join requests
2025-05-19 12:22:24 +01:00
Iain Sproat ae221df0b0 Incorporate PR comment 2025-05-19 11:00:36 +01:00
Daniel Gak Anagrov e67c27914c feat(workspaces): backfill workspace tracking (#4749)
* added a chron job that updates all workspaces properties to mixpanel
2025-05-19 11:54:52 +02:00
Iain Sproat 29c7e538cb make it idempotent, not an error 2025-05-19 10:08:26 +01:00
Alexandru Popovici 12545c6f16 Oriented Section Tool (#4230)
* feat(viewer-lib): WIP on the new OrientedSectionTool

* feat(viewer-lib): Added proper face pulling for the oriented section box

* feat(viewer-lib): Several updates on the oriented sectioning tool
- Implemented section planes calculation and propagation
- Unified obb computation from all gizmos
- Implemented proper setBox function
- Updated the viewer-core to work with OBB instead of AABB for it's clipping volume
- Updated the intersections to work with OBB for their intersting bounds
- Added extension methods to Box3 and OBB

* feat(viewer-lib): Better way of handling gizmo input events overlapping

* fix(viewer-lib): Updated clippingVolume occurences to OBB

* feat(viewer-lib): Section outlines now work with oriented section tool!

* feat(viewer-lib): Integrated new section tool with the frontend and API
- Defined an archtype for SectionTool which all section tools can derive from
- The old section tool is renamed to AxisAlignedSectionTool
- Replaced the old section tool with the oriented one in the frontend

* fix(viewer-lib): Fixed compile errors

* feat(viewer-lib): Some updates:
- Section tool outline, the visible box, is now rendered as before however it's correctly being RTE'd. And we can also make it thinner/thicker now
- Fixed the issue where the scale controls had 'exponential' growth. It's now linear like the translate one

* feat(viewer-lib): Implemented highlghting the box face when clicking on it to extend/retract it

* fix(viewer-lib): A bunch of fixes for the oriented section tool

* feat(viewer-lib): Some updates:
- Documented new OrientedSectionTool code
- Fixed som issues related to section box reseting
- Hid the translation and rotation gizmos that we aren't using
- Tidied up a bit

* feat(viewer-lib): Set the translate and rotate gizmos in local space so the rotation will affect them as wll

* chore(viewer-lib): Purged the old section tool

* chore(viewer-lib): Updated section box data type. Updated LegacyViewer section box data handling. Updated frontend to use new data type. Still not working doe

* fix(viewer-lib): Fixed an issue where comments with section boxes did not enable section outlines at startup

* chore(frontend): Fixed ci compiler error

* fix(viewer-lib): Fixes WEB-1593
2025-05-19 11:30:50 +03:00
Iain Sproat 765adeecd6 fix(server/workspaces): handle duplicate join request 2025-05-16 17:44:17 +01:00
Iain Sproat a20684c2bd missing await 2025-05-16 16:32:00 +01:00
Iain Sproat 43839e9372 fix(server/workspaces): gracefully handle duplicate workspace join requests 2025-05-16 16:12:55 +01:00
Chuck Driesler a8ae414bde chore(workspaces): drop legacy join() (#4752)
* fix(workspaces): drop legacy discoverable workspace join

* fix(workspaces): one more reference
2025-05-15 13:22:42 +01:00
Daniel Gak Anagrov 1bf7075ae6 fix(fileimport): nextGen fileimport improvements (#4746) 2025-05-15 13:17:38 +02:00
andrewwallacespeckle 2f17b3f8b8 fix(server): Remove mailchimp step and journey ids (#4750)
* fix(server): Remove mailchimp step and journey ids

* Fix pre-commit - add end

* feat(server): use both onboardin and newsletter list audiences

* Fix type

* Remove unused triggerMailchimpCustomerJourney function

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2025-05-15 12:24:50 +02:00
Kristaps Fabians Geikins 5ff030224b fix(server): fallback to viewer if no seat found (#4748) 2025-05-15 12:04:56 +03:00
Kristaps Fabians Geikins 7a59ba5ab8 chore(server): remove unused stream isPublic/isDiscoverable fields (#4743) 2025-05-15 09:18:06 +03:00
Daniel Gak Anagrov fdff51fb51 feat(workspaces): mixpanel update more attributes (#4713)
*  mixpanel recieve more workspace attributes
2025-05-15 07:20:50 +02:00
Chuck Driesler 18d8ccaae7 fix(automate): set default input values in function input form (#4728) 2025-05-14 14:09:06 +01:00
Iain Sproat 1d932290d6 Merge pull request #4727 from specklesystems/iain/auth-service-tidy-error-handling
fix(server/auth): handle InviteNotFoundError and simplify handling
2025-05-14 14:02:36 +01:00
Kristaps Fabians Geikins a25df23688 fix(server): seats sometimes not created on role create (#4740)
* core fix

* fix migration

* minor update
2025-05-14 15:45:14 +03:00
Mike c75081a21a Fix: Update PowerBI description (#4741) 2025-05-14 14:30:20 +02:00
Kristaps Fabians Geikins 4db1531064 feat: "workspace" project visibility (#4704)
* WIP new visi

* test fixes

* visibility seems to work

* authz policies & authorizeResolver updated

* various test fixes

* users tests

* frontend changes

* minor adjustments

* shared test fix

* test fixes

* force rerun CI
2025-05-14 15:20:26 +03:00
Daniel Gak Anagrov 82547b1411 feat(fileuploads): nexGenFileUpload populates messages to new job queue (#4702)
* add file import job to nextGen import endpoint

*  moved queue, organized code

* add tests, minor refactoring
2025-05-14 12:32:54 +02:00
Gergő Jedlicska 380e55b7aa fix(server): we should default to a viewer seat in the rare cases of no seat assigned to the user (#4735) 2025-05-14 10:04:09 +03:00
Iain Sproat 91e9e9fcc9 Add tests, fix tests, and revert behaviour 2025-05-13 15:53:03 +01:00
Iain Sproat 6ad0da4eb5 Merge pull request #4733 from specklesystems/iain/web-3361-unexpectedly-stream-that-should-exist-is-not-found
fix(server): throw stream not found error if stream not found
2025-05-13 15:27:58 +01:00
Iain Sproat 0f4bb6603b Merge branch 'main' into iain/auth-service-tidy-error-handling 2025-05-13 15:20:04 +01:00
Iain Sproat a439bb6ec8 Merge pull request #4731 from specklesystems/iain/do-not-run-if-feature-flags-false
tests(server): do not run Workspace SSO tests if not enabled
2025-05-13 14:49:35 +01:00
Iain Sproat f913460aea Merge branch 'main' into iain/auth-service-tidy-error-handling 2025-05-13 14:47:58 +01:00
Iain Sproat ef290baff1 fix(server): throw stream not found error if stream not found 2025-05-13 14:41:32 +01:00
Iain Sproat f8b0ce34b3 tests(server): do not run Workspace SSO tests if not enabled 2025-05-13 14:27:14 +01:00
Iain Sproat 7751fee8a1 fix to match test expectations 2025-05-13 14:16:29 +01:00
Iain Sproat b23f21d8ee fix 2025-05-13 12:25:24 +01:00
Iain Sproat adbb53e206 fix(server/auth): handle InviteNotFoundError and simplify handling 2025-05-13 11:58:21 +01:00
Iain Sproat 86ebd8fbf9 more error handling and logging fixes 2025-05-13 10:51:11 +01:00
Iain Sproat a266fe0010 fix(server): log message includes all referenced properties 2025-05-13 10:24:42 +01:00
Iain Sproat 4c51dbed7d Merge pull request #4720 from specklesystems/iain/fix-error-log-level
fix(server): log errors at appropriate level
2025-05-13 09:08:57 +01:00
Chuck Driesler 6d33de50d1 fix(automate): return null if not a function (#4716) 2025-05-13 09:00:39 +01:00
Chuck Driesler e64e77cd6d fix(automate): filter out deleted automation runs (#4717) 2025-05-13 08:59:10 +01:00
Iain Sproat 5cf56a3a24 remove irrelevant nesting 2025-05-13 08:46:12 +01:00
Iain Sproat 965d6b3fb6 User errors should be info, not error level 2025-05-13 08:42:40 +01:00
Iain Sproat 163928d9b4 fix(server): log errors at appropriate level
- some objects endpoints were logging user-related errors at an incorrect log level
2025-05-13 08:32:11 +01:00
Iain Sproat 545e7c3a5f Merge pull request #4711 from specklesystems/iain/fix-sanitize-user-emails-in-logs
fix(server): mailchimp problems throw a sanitised error
2025-05-13 07:41:59 +01:00
Chuck Driesler 19ea8b2879 fix(authz): expose canInvite gql queries (#4712) 2025-05-12 21:10:47 +01:00
Iain Sproat 380667cea2 fix(server): mailchimp problems throw a sanitised error 2025-05-12 17:21:40 +01:00
Kristaps Fabians Geikins b406d0e32d chore(server): node16 & export maps support for server (#4698)
* chore(server): node16 & export maps support for server

* moar cleanup

* lint fixc
2025-05-12 14:27:34 +03:00
Daniel Gak Anagrov b15d5b836c feat(fileupload): create new endpoint for file upload (#4693)
* fix(server): remove redundant code from bad merge

* wrong router

* WIP: http api for receiving file import results

* Lints

* fix

* WIP: tests

* test fix

* auth middleware has implicit requirement for param named streamId

* complete tests and fixes

* can run the old way alongside the existing, no conflicts

* tidying

* correct error thrown

* feat(fileUploads): new upload endpoint skeleton

* feat(fileUploads): added coverage for new file importer endpoint

* fix(workspaces): added tests, fix bugged on handling after stream

* refactor: removed useless file

* fix: comments, added tests

* feat: added modelId to file upload table

* fix: ensureError log

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2025-05-09 00:16:29 +02:00
Iain Sproat 8a74d9cbe3 feat(file importer): server has REST API to receive results about a file import (#4688)
* fix(server): remove redundant code from bad merge

* wrong router

* WIP: http api for receiving file import results

* Lints

* fix

* WIP: tests

* test fix

* auth middleware has implicit requirement for param named streamId

* complete tests and fixes

* can run the old way alongside the existing, no conflicts

* tidying

* correct error thrown

* incorporate review comments
2025-05-08 19:12:15 +02:00
Gergő Jedlicska 2fdcf1bd1d refactor(shared): unified queue handling (#4691)
* feat(shared): unified queue initialization in shared

* feat(queues): use the new queue creation everywhere

* chore(shared): move to redis module

* chore(shared): fix export maps

* chore(fileimport): add deps properly

* fix(shared): import fix

* fix(everything): moear imports

* fix(server): cjs imports
2025-05-08 16:58:43 +02:00
Chuck Driesler a26a5a90a1 chore(multiregion): job success logs (#4687) 2025-05-08 14:51:35 +01:00
Iain Sproat 6c8b715365 chore(shared): refactor previews in to worker directory
- add file imports to worker directory
2025-05-07 18:35:56 +02:00
Chuck Driesler 6d9f3645c4 fix(multiregion): zero !== undefined (#4683) 2025-05-07 16:47:49 +01:00
Iain Sproat 15d67ba589 Merge pull request #4121 from specklesystems/iain/refactor-blob-storage
refactor(server/file upload): avoid extra http call
2025-05-07 15:11:15 +01:00