Commit Graph

6170 Commits

Author SHA1 Message Date
Chuck Driesler 4cbeeef0d0 Automate API Circuit breaker (#3914)
* fix(automate): invokeSafeJsonRequest

* fix(automate): correct fallback values
2025-01-30 15:26:12 +00:00
Alexandru Popovici a3d1e6adec Orbit WASDEQ Controls (#3875)
* Updated the fly controller to use the z up basis

* Fixed very important compiler error

* Removed the annoying delay when first holding down WASD keys before movement started

* Updated LegacyViewer to use the hybrid camera controls

* Added big baker

* Trying to figure out the essence of this

* Partly works

* Pivotal coordinates now work

* Smoothened out the math abit

* Fixed sandbox error

* Enabled the pivot sphere

* feat(viewer-lib): Fixed some issues with orbiting around cursor

* feat(viewer-lib): Updates to WEB-2313, orbiting around mouse cursor
Orbiting around mouse cursor now works correctly with an orthographic projection as well as when toggling between orthographic and perspective.
Disabled WASD navigation for now.
SmoothOrbitControls now has protected members instead of private allowing extension
Documented the important parts of the pivotal navigation code

* feat(viewer-lib): Mouse orbiting now takes clipping planes into consideration

* chore(viewer-lib): Fixed sandbox build error

* fix(viewer-lib): Handled WEB-2449 and WEB-2450
Additionally fixed an issue where changing the orbit pivot would trigger a hard render, adding the unneeded noise of AO re-convergence

* fix(viewer-lib): Fixed the issue with focusing and other camera animations caused by the introduction on the pivotal CS. Pivot sphere now shows only on orbit

* feat(viewer-lib): Updates on mouse orbiting:
- When clicking outside of the model, oribitig will switch to polar and use the last computed origin (which is still going to be based on the last pivot point)
Made the pivot sphere speckle blue
The pivot sphere now only shows when clicking on objects, when clicking outside of the model it will not show

* feat(viewer-lib): Update for WASD aka fly mode:
- Smoother combined navigation by using the immediate controler position and orientation as opposed the the goal ones
- Pivot sphere properly hides when in fly mode
- The bug where the camera would incorrectly jump when toggling between fly and oribit is now gone (or I cannot reproduce it anymore)

* fix(viewer-lib): Fixed sandbox compile error

* feat(viewer-lib): Added the hybrid fly orbit controller to the legacy viewer

* feat(viewer-lib): Added a slower movement speed to WASD navigation when camera is close to geometry

* fix(viewer-lib): Fixed the issue where opening the context menu while holding down a WASD key would make the camera move indefinetely

* Feat(viewer-lib): Update to WASD controls:
- Disabled cursor orbiting
- Added an option to allow for world space up/down with e/q keys. By default it's enabled
- Fixed the pan speed to work similar to WASD speed in two steps depending how close the camera is to geometry

* chore(viewer-lib): Tidied up a bit

* fix(viewer-lib): Fixed an ugly bug where the camera distance calculataion plane would flip, especially when WASD-ing, and mess up the min distance calculation which led the camera near plane to be way off

* chore(viewer-lib): Swapped E to up and Q to down

* Re-nabled cursor orbiting
2025-01-30 16:05:51 +02:00
Mike 1b6569dbac Feat: Depreciate Webflow API call for tutorials (#3911) 2025-01-29 14:48:50 +01:00
Björn Steinhagen 3c7b6e2626 style: changing etabs short to edb (#3910) 2025-01-29 13:45:30 +00:00
andrewwallacespeckle 5bbbcfc9b1 feat(ui-components): New FormSelectMulti component (#3901)
* New SelectMulti with no headless

* Use FormSelectMulti in developer settings

* Fix build

* isMultiItemSelected

* minor

* Tidy up FormSelectBase useage
2025-01-29 10:51:10 +01:00
Alexandru Popovici 0cd9487040 fix(viewer-lib): Fixed RTE shaders on MacOS and iOS. Hope they don't break it again (#3907) 2025-01-29 11:01:26 +02:00
andrewwallacespeckle 7b2bf9490e fix(fe2): Up limit on objectKeys in ViewerSelectionObject (#3905)
* Up limit to 100

* Add comment
2025-01-28 17:50:52 +01:00
andrewwallacespeckle 11993c7896 fix(gendo): Fix GendoList subscription (#3904)
* Remove loading state from panel

* Remove subscribeToMore

* Remove limit from SelectionObject items

* Revert "Remove limit from SelectionObject items"

This reverts commit 4fb6f25e72321c0b2895e2ad3c1ef81f774b8d52.
2025-01-28 17:50:43 +01:00
Iain Sproat 32c310f849 fix(server/objects): solves database connection resource leak when client connections are prematurely closed (#3889) 2025-01-28 15:56:21 +01:00
andrewwallacespeckle fc634ebfe5 Add force onboarding FF (#3897) 2025-01-28 10:04:54 +01:00
Chuck Driesler 35b59ca4f2 chore(workspaces): drop defaultLogoIndex (#3898) 2025-01-28 08:56:13 +01:00
Alessandro Magionami 57751db6d7 fix(workspaces): make adminWorkspaceJoinRequests field nullable for non admin users (#3899) 2025-01-27 17:46:04 +01:00
Gergő Jedlicska 188c333921 fix(workspaces): non region enabled workspace project creation (#3847)
* fix(workspaces): non region enabled workspace project creation

* fix(projects): remove duplicate getProject repo function

This was the cause of the default project region switch bug, we had two
almost identical implementations...
2025-01-27 17:45:55 +01:00
Mike 3b901de000 Fix: Change Mange Members link to link to settings (#3891) 2025-01-27 09:44:12 +01:00
andrewwallacespeckle e05ce471ee Commit for testing (#3892) 2025-01-27 09:36:23 +01:00
Mike 60a05d3626 Feat: Add join requests to sidebar (#3894) 2025-01-27 09:33:24 +01:00
Mike a88e55db1d Fix: Align forgot password screens (#3895) 2025-01-24 22:11:36 +01:00
Alessandro Magionami 276c3a761c fix(emails): add ff for new email verification flow (#3893)
* fix(emails): add ff for new email verification flow

* test(emails): disable test with ff off
2025-01-24 19:39:55 +01:00
Mike 31445f7478 Fix: Active state for setting sidebar (#3890) 2025-01-24 17:17:56 +01:00
Gergő Jedlicska e5afa5c476 gergo/web 2498 server repo move script (#3881)
* feat: WIP move projects

* feat: move projects between servers
2025-01-24 16:40:40 +01:00
Gergő Jedlicska a282220a72 chore(server): fix nullable type for model author (#3883)
* chore(server): fix nullable type for model author

* updated fe2 gql types

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2025-01-24 16:40:25 +01:00
Alessandro Magionami 81e05e208f Merge pull request #3873 from specklesystems/alessandro/web-2488-create-email-verification-mutation
Alessandro/web 2488 create email verification mutation
2025-01-24 15:53:21 +01:00
Alessandro Magionami eb57ffdc62 chore(emails): remove only from test 2025-01-24 15:00:28 +01:00
Alessandro Magionami 918ab8c255 chore(emails): fix tests no ff 2025-01-24 14:50:00 +01:00
Mike df40396352 Fix: Update security page copy (#3887) 2025-01-24 14:37:18 +01:00
Alessandro Magionami 384cd116a4 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2488-create-email-verification-mutation 2025-01-24 14:34:47 +01:00
Chuck Driesler 80a0573894 fix(workspaces): return role as string (#3886) 2025-01-24 14:25:40 +01:00
Mike e798fc4e8a Feat: Request to join workspace (#3871) 2025-01-24 14:05:53 +01:00
Alessandro Magionami 7343ed6ba1 fix(emails): remove unique constraint from email_verifications (#3872)
* fix(emails): remove unique constraint from email_verifications

* chore(emails): remove unique constraint from email verifications

* chore(emails): use custom transaction in migration

* chore(emails): use raw swl to write migration
2025-01-24 12:40:08 +01:00
Chuck Driesler 928cc306ed chore(automate): function input mocks (#3870)
* chore(automate): function input mocks

* chore(automate): use mocks helpers

* chore(automate): appease ts

* fix(automate): use mock cache utils
2025-01-24 10:36:00 +00:00
Kristaps Fabians Geikins b074a4a13a feat(server): greatly optimizing Branch.commits & Query.streams, when limit=0 (#3863)
* fix(server): optimize Branch.commits resolver

* feat(server): optimizing Query.streams a bit too

* fix(server): gql error req duplicate entries logged
2025-01-23 18:54:15 +01:00
Iain Sproat 71b82f2cb2 fix(server/rate limiting): Rate limit by IP or token ID (#3879) 2025-01-23 16:08:23 +00:00
Iain Sproat 61ab449834 fix(monitoring): some metrics should not be collected if not multi-region (#3878) 2025-01-23 15:19:34 +00:00
Alexandru Popovici 2eaaa93adf Intel IrisXe Fix (#3877)
* fix(viewer-lib): Found a working workaround for mangled geometry on intel iris Xe integrated GPUs

* fix(viewer-lib): Added sample stream
2025-01-23 16:08:27 +02:00
Alessandro Magionami 7fbd32dd43 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2488-create-email-verification-mutation 2025-01-23 10:51:30 +01:00
Alessandro Magionami 5be535503d chore(emails): test email verification flow 2025-01-23 10:38:17 +01:00
Alessandro Magionami 712e9a09f1 Merge pull request #3853 from specklesystems/alessandro/web-2487-add-code-column-to-email_verifications-table
chore(emails): add code column to email_verifications table
2025-01-22 16:48:23 +01:00
Alessandro Magionami eb66a3981f Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2487-add-code-column-to-email_verifications-table 2025-01-22 16:33:17 +01:00
Alessandro Magionami 7151d5b404 Merge pull request #3860 from specklesystems/alessandro/web-2495-create-id-resolver-and-add-user-to-workspace
Alessandro/web 2495 create id resolver and add user to workspace
2025-01-22 16:15:51 +01:00
Iain Sproat e6adceda6c chore(Dockerfile): use COPY --link flag (#3869) 2025-01-22 15:03:13 +00:00
Alessandro Magionami b5cec65db6 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2495-create-id-resolver-and-add-user-to-workspace 2025-01-22 15:19:33 +01:00
andrewwallacespeckle e68e3173a8 Add FF_FORCE_EMAIL_VERIFICATION (#3866) 2025-01-22 13:40:57 +00:00
Iain Sproat 9ee823a215 chore(Dockerfile): avoid missing cache when cloning repo (#3867) 2025-01-22 13:32:09 +00:00
Iain Sproat a1352fe8c8 chore(Dockerfile): remove all ADD statements as cache is missed (#3865) 2025-01-22 13:07:39 +00:00
Iain Sproat c49887578c fix(fileimport): bumped python version from ubuntu (#3864) 2025-01-22 11:56:00 +00:00
Alessandro Magionami 17c8ada369 chore(workspaces): use logic function to check workspace is joinable 2025-01-22 12:08:36 +01:00
Alessandro Magionami f654eb99f9 chore(emails): add constraint unique email for email_verifications table 2025-01-22 11:18:25 +01:00
Alessandro Magionami 37cf9f0281 chore(workspaces): fix request to join test 2025-01-22 11:10:23 +01:00
Alessandro Magionami 9973894b7d chore(workspaces): fix resolver 2025-01-22 10:33:39 +01:00
Alessandro Magionami edb3c2e1f3 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2495-create-id-resolver-and-add-user-to-workspace 2025-01-22 10:25:52 +01:00