Commit Graph

5815 Commits

Author SHA1 Message Date
Chuck Driesler 67b785a09a chore(automate): include workspace in automate mixpanel events (#3601)
* chore(automate): include workspace in automate mixpanel events

* chore(automate): repair gql

* chore(automate): fix type
2024-12-02 18:15:34 +00:00
Iain Sproat bde5431022 feat(logging): improve error handling around db migrations (#3599) 2024-12-02 17:23:47 +00:00
Chuck Driesler 1447af269c fix(workspaces): randomize first default logo (#3600) 2024-12-02 17:56:51 +01:00
Chuck Driesler 3319dd731c fix(sso): repair error handling during validation flow (#3551)
* fix(sso): better redirect urls I think

* fix(sso): handle both flows

* fix(sso): some more error handling tweaks

* chore(sso): fix test oops

* Handle validation messages

---------

Co-authored-by: andrewwallacespeckle <andrew@speckle.systems>
2024-12-02 16:36:03 +01:00
andrewwallacespeckle dc681dfaae Dont autocomplete client secret (#3597) 2024-12-02 16:31:30 +01:00
Mike 481ef4eb36 Feat: Change BillingAlert to CommonAlert (#3593) 2024-12-02 15:47:55 +01:00
Mike 2d41213229 Fix: Billing switch (#3596) 2024-12-02 15:40:23 +01:00
Mike 498fea4292 Feat: disable settings access if active SSO session is required (#3589) 2024-12-02 14:50:33 +01:00
Alessandro Magionami 22cdd33325 Merge pull request #3592 from specklesystems/alessandro/web-2233-onboarding-project-create-fails
Alessandro/web 2233 onboarding project create fails
2024-12-02 14:49:21 +01:00
Mike 827288c36f Feat: Remove inline workspace creation (#3591)
* Feat: Remove inline workspace creation

* Update text

* Move to function

* Remove typecasting

* Remove typecasting

* Remove unneeded condtional

* asyns

* try catch promise

* try catch promise
2024-12-02 14:28:37 +02:00
Mike bf441aeb40 Fix: remove old fragment (#3594) 2024-12-02 13:58:05 +02:00
Kristaps Fabians Geikins 51579b76ef fix(server): various fixes related to subs + further improved utils + way quicker tests (#3573)
* fixed test util throwing + added new tests

* more tests

* more tests

* various model tests

* version tests

* removed shitty old tests

* lint fix

* workspaceProjectsUpdated test

* workspace updated on invite

* workspace subs support team changes

* tests fix

* test fix hopefully?
2024-12-02 13:30:24 +02:00
Alessandro Magionami f227a9b91d fix(activitystream): move activity creation after transaction commimt 2024-12-02 12:14:57 +01:00
Alessandro Magionami 450ad95afc fix(multiregion): add join for stream_commits 2024-12-02 12:14:24 +01:00
Mike 75d2372719 Fix: Update price plan to new design (#3590) 2024-12-02 11:36:36 +01:00
Chuck Driesler 4e37a0eae7 chore(automate): drop specklecon templates (#3587) 2024-12-02 10:15:03 +00:00
Mike b202b89032 Fix: Update alerts (#3588) 2024-12-02 10:18:47 +01:00
Iain Sproat 54085d1dd5 fix(logging): taskScheduler should use pino parameters (#3586)
- log messages were being interpolated at runtime and not using structured logging
2024-11-29 16:46:14 +00:00
Chuck Driesler e312110933 Automate Public Beta (#3472)
* feat(automate): query active user functions

* fix(automate): show automations to non-stream-owners

* feat(automate): associate function with workspace

* fix(automate): split functions page between user and example functions

* fix(automate): ugh

* fix(functions): use correct query type in different places

* fix(automate): workspace functions page

* feat(automate): query specific categories of functions

* fix(automate): checkpoint

* fix(workspaces): successful queries w local env

* fix(automate): createFunctionWithoutVersion

* fix(automate): successful associate function with workspace

* fix(automate): query and return workspaces on functions

* fix(automate): show current function workspace

* fix(automate): query functions in automation create dialog

* fix(automate): audit non-owner automation access

* refactor(automate): logs api can get the projectId from the path

* fix(automate): multiregion gql resolvers

* fix(automate): multiregion event listeners

* fix(automate): drop automationCount

* fix(automate): multiregion run status

* fix(automate): correctness

* fix(automate): successful usage of multiregion results

* fix(automate): actually finish event listeners

* chore(automate): fix tests fix tests

* fix(automate): fix tests but make it multiregion flavor

* fix(automate): logs endpoint

* fix(automate): inject projectid correctly

* fix(automate): drop user-source functions

* fix(automate): owners edit, others can view

* fix(automate): simplify queries, auto workspace association

* chore(automate): appease

* chore(automate): fix function types

* fix(automate): get to workspace functions from empty state

* chore(automate): death to all slugs

* fix(automate): no create automation from function

* fix(automate): hide workspace change, tweak role access

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-11-29 17:33:14 +01:00
Mike 0f13b8d2ca Fix: Updated button text conditional (#3584) 2024-11-29 17:23:28 +01:00
andrewwallacespeckle 23d644eb2a fix(fe2): Swap cache for workspaceProjectsUpdated subscription (#3575)
* Remove cache updates. Use new subscription

* Re-add admin projectList cache update

* useLock. Updated naming

* useWorkspaceProjectsUpdatedTracking in Projects
2024-11-29 14:23:18 +00:00
Mike 9429e47f3d Feat: Disable WS delete on active plans (#3583) 2024-11-29 14:55:12 +01:00
Iain Sproat 0024b2f8f7 fix(server/multi-region/sql): use parameter binding to prevent secret leak (#3581)
- SQL statements are logged, but parameters are not
- this parameterises the subscription creation SQL statements to prevent secret leak
2024-11-29 12:08:11 +00:00
Kristaps Fabians Geikins 126ce4ff7f fix(ui-components): Base.vue unnecessary label padding (#3582) 2024-11-29 10:44:22 +02:00
Adam Hathcock 1ac972f02a feat(file imports): adds an experimental IFC parser (#3525)
* first pass of CLI ifc converter

* some updates

* closer

* yarn works

* can execute ifc?

* change exe

* remove extra venv needs

* invocation works

* fixed dockerfile and url

* refactor(fileimport): temp results path should not be hardcoded in parsers

* update importer to output stuff

* fix up argments

* remove dead code

* adjust dockerfile to have tini and workdir better

* fix node to a specific version

* Add shell statement and pin yarn version

* add ifc converter c# to ignore

* merge fix

* move ifc c#

* fix the api usage

* update the importer to new SDK

* Adds a feature flag `FF_FILEIMPORT_IFC_DOTNET_ENABLED` for enabling .Net IFC parser

* move directories

* put back ifc js

* use FF and reversions

* needs token too

* fix docker?

* one last copy fix

* adjust prettier ignore

* change to enable

* fix helm chart nesting

* Amend healthcheck node binary path

* Add FF_FILEIMPORT_IFC_DOTNET_ENABLED to feature flag parser

* Allow app to write to /.config directory

* fix: volume name has to be lower case

* update ifc importing

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: root <root@Clynelish>
2024-11-29 06:34:08 +01:00
Chuck Driesler 9ad3fb8d0e fix(sso): continue with sso from any verified email (#3577)
* fix(sso): continue with sso from any verified email

* chore(sso): fix/add tests
2024-11-29 06:33:00 +01:00
Gergő Jedlicska ec27e394d9 feat(workspaces): add workspace creation state (#3578) 2024-11-28 20:50:53 +01:00
Mike b2cebea7eb Fix: Various billing fixes (#3569) 2024-11-28 20:24:05 +01:00
Chuck Driesler 562902d58b fix(sso): distinguish between missing and invalid sso user profile (#3576) 2024-11-28 17:54:43 +00:00
Gergő Jedlicska ec02e63707 feat(gatekeeper): upgrade workspace plan (#3572) 2024-11-28 11:15:32 +01:00
andrewwallacespeckle 8fc111cb0a fix(fe2): Small sso bugfuxes (#3571)
* Small bugfuxes

* Await loading
2024-11-28 09:45:37 +00:00
Chuck Driesler 4a0f69e184 fix(sso): delete via id (#3570) 2024-11-27 16:15:19 +00:00
Chuck Driesler fd5f316af0 fix(automate): automate module multi region (#3531)
* refactor(automate): logs api can get the projectId from the path

* fix(automate): multiregion gql resolvers

* fix(automate): multiregion event listeners

* fix(automate): drop automationCount

* fix(automate): multiregion run status

* fix(automate): correctness

* fix(automate): actually finish event listeners

* chore(automate): fix tests fix tests

* fix(automate): fix tests but make it multiregion flavor

* fix(automate): logs endpoint

* chore(automate): globalDb to db

* fix(automate): inject projectid correctly

* fix(automate): debug log fetch failure

* chore(automate): fix tests for new message

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-11-27 15:26:09 +00:00
Kristaps Fabians Geikins a90bc3a1ed fix(fe2): workspace region settings broken if non-admin + Workspace.subscription errors (#3567)
* regions fix

* skip logging subscription error

* added default region set mp track

* removed no longer necessary test
2024-11-27 16:42:58 +02:00
andrewwallacespeckle b4ecb30789 fix(fe2): Update delete sso provider composable (#3568)
* Update delete composable. Check role in Wrapper

* Use CommonCard

* Tooltip for non-admin users
2024-11-27 14:33:26 +00:00
andrewwallacespeckle 7a652fd780 feat(fe2): Update isSsoAuthenticated composable (#3566)
* Update isSsoAuthenticated composable

* remove session id

* Update graphql.ts
2024-11-27 14:19:25 +00:00
Kristaps Fabians Geikins 1800dbbdbd feat(server): improved subscription testing DX + tests for common subs + new subs (#3554)
* userProjectsUpdated.added test

* multi region support

* userStreamAdded

* commit subs tested

* fix for proj workspace assignment

* undo commitHelper main changes

* disable all ffs mode

* createTestWorkspace support when workspaces arent enabled

* project create fix

* workspace projects updated subscription

* WIP new workspace sub

* updated workspaceCreated

* updated workspaceUpdated

* BE for workspace updated sub

* workspace updated sub

* ts err fix
2024-11-27 15:41:04 +02:00
andrewwallacespeckle 9c29ca07e3 Add SSO indicator to Wrapper (#3565) 2024-11-27 11:46:02 +00:00
Gergő Jedlicska a043624974 fix(gatekeeper): parse cancellation date properly (#3564) 2024-11-27 10:04:08 +01:00
Gergő Jedlicska f381dc3d9d gergo/workspaceDefaultPlan (#3561)
* feat(gatekeeper): create workspaces with trial plan by default

* feat(gatekeeper): default to starter trial plan

* fix(eventBus): fix tests
2024-11-27 09:51:32 +01:00
Iain Sproat c841bb45f2 fix(helm chart): add Gendo feature flag to frontend-2 (#3563) 2024-11-26 20:49:10 +00:00
Alexandru Popovici 0fd5e2b9ef WEB-1611: Zoom to Cursor Fix (#3562)
* Added FilterMaterial and related types to export list

* Handled WEB-1389

* Camera orbit controls now takes the offset position and size when computing zoom to cursor coordinates. Fixes WEB-1611
2024-11-26 20:56:49 +02:00
Alexandru Popovici 003ac46e58 WEB-1683: Selection Extension Fixes (#3559)
* Added FilterMaterial and related types to export list

* Handled WEB-1389

* Handled the issue
2024-11-26 20:56:36 +02:00
Alexandru Popovici e739ee1b27 WEB-2171: Non-Speckle Materials Fix (#3558)
* Added FilterMaterial and related types to export list

* Handled WEB-1389

* Non speckle materials no longer throw an error
2024-11-26 20:56:19 +02:00
Alexandru Popovici 68bbedcd92 WEB-1389 (#3555)
* Added FilterMaterial and related types to export list

* Handled WEB-1389
2024-11-26 20:55:53 +02:00
Iain Sproat 5f1e0a0b36 fix(helm chart): allow service account access to gendo secret (#3560) 2024-11-26 18:07:11 +01:00
Gergő Jedlicska 80cf6b3904 fix(gatekeeper): fix the checkout session cancellation logic (#3553)
* fix(gatekeeper): fix the checkout session cancellation logic

* Updated FE

* Remove debug

* Add error toast

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-11-26 16:30:55 +01:00
Iain Sproat 506ecf33fd fix(helm chart): capitalization of gendoAI (#3557) 2024-11-26 15:27:49 +00:00
Iain Sproat d8b828f565 fix(feature flag): align spelling of feature flags (#3556)
- workspace is plural in other feature flags
2024-11-26 14:56:50 +00:00
Mike afb0cf353f Feat: Disable SSO if not in plan (#3547) 2024-11-26 12:46:14 +01:00