Commit Graph

6464 Commits

Author SHA1 Message Date
Alessandro Magionami dceedf512f chore(gatekeeper): remove last references to year limit for team plan 2025-03-10 10:11:40 +01:00
Alessandro Magionami adfa8f4776 chore(gatekeeper): fix lint 2025-03-07 16:50:09 +01:00
Alessandro Magionami 1eb7331733 chore(gatekeeper): fix test 2025-03-07 16:38:36 +01:00
Alessandro Magionami dd461b2fb4 chore(gatekeeper): remove viewer product and prices 2025-03-07 14:38:44 +01:00
Alessandro Magionami cfa944ed8d chore(gatekeeper): add missing helm values for new plans 2025-03-07 12:10:12 +01:00
Chuck Driesler 9f83d1f74e feat(regions): trigger project move with job (#4010) 2025-03-07 09:18:12 +00:00
Kristaps Fabians Geikins 92dd2e7b85 fix(ci): adjust server test no output timeout 2025-03-07 10:49:38 +02:00
Kristaps Fabians Geikins f7ac90b520 chore: better viewer sourcemaps in datadog (#4132) 2025-03-07 10:01:59 +02:00
Kristaps Fabians Geikins 1d022d470a fix(fe2): error state logger being undefined (#4131)
* fix(fe2): error state logger being undefined

* undo apollo.ts change
2025-03-07 09:18:16 +02:00
Gergő Jedlicska fb0e67f136 fix(preview-service): timeout was already in milis (#4129) 2025-03-06 19:58:48 +01:00
Gergő Jedlicska 990a5fa056 fix(previews): add proper timeout, remove some leftover crap (#4128) 2025-03-06 17:40:26 +01:00
Alessandro Magionami 3d3658e986 Merge pull request #4122 from specklesystems/alessandro/web-2774-upgrade-from-free-to-paid-plan
Alessandro/web 2774 upgrade from free to paid plan
2025-03-06 17:14:24 +01:00
Alessandro Magionami bfc48f21a0 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2774-upgrade-from-free-to-paid-plan 2025-03-06 15:26:34 +01:00
Alessandro Magionami 2e0d2f0dbb chore(gatekeeper): fix another 2025-03-06 15:00:05 +01:00
Gergő Jedlicska 61609de97e gergo/previews (#3765)
* feat(preview-generator): add new preview generator webapp

* wip(preview-service): reworking the preview service backend

* feat(previews): logging

* feat(preview-service): streamline payloads

* fix(preview-service): do not log the full payload

* feat(preview-service): build new preview service

* feat(preview-service): add separate response queue

* feat(previews): integrate preview queues with the server

* feat(previews): use module alias

* chore(previews): remove old preview service code

* feat(previews): log stuff on job statuses

* fix(previews): add missing deps and scripts

* fix(previews): package deps fix

* fix(server): moar typing fixes

* Metrics related to jobs: total count, request failures, response errors & durations

* duration should include unit.
- histogram metric should be summary
- error responses include duration in seconds
- attempt to remove metric before adding it (prevent errors with duplicate metrics)

* fix(server, frontend): some ts fixes

* fixes

* fix(frontend): remove unneeded ts-expect-error

* chore(preview-service): eslint

* TS fix

* feat(previews): more smoal fixes

* fix(preview-service): alias loading

* feat(helm): updates for new preview service queue setup

* feat(preview-service): launch new browser for each job

* feat(preview-service): add timeout, fix liveliness

* fix(helm): add access to new secret in service accounts

* tidy metrics into a separate file

* Remove broken preview service acceptance test

* fix broken import

* Add metrics to test

* feat(preview-service): handle preview service shutdown properly

* fix(previews): merge bork

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2025-03-06 14:26:56 +01:00
Kristaps Fabians Geikins fb6dc448ca feat(server): prevent viewer seat from becoming project contributor/owner + extra fixes (#4117)
* unrelated fixes that i noticed

* tests for fix

* tests & working restrictions

* test fix

* test fixx
2025-03-06 13:26:16 +02:00
andrewwallacespeckle 0ae3cc0bc0 Remove check for FF (#4123) 2025-03-06 10:49:25 +00:00
Alessandro Magionami fd99914c8e chore(gatekeeper): fix another test type 2025-03-06 11:26:41 +01:00
Alessandro Magionami e10ffac30c chore(gatekeeper): fix test type 2025-03-06 10:47:24 +01:00
Alessandro Magionami ca2c43738c Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2774-upgrade-from-free-to-paid-plan 2025-03-06 10:29:49 +01:00
Alessandro Magionami 656614e9bc chore(gatekeeper): fix build 2025-03-06 10:28:27 +01:00
Iain Sproat 5655b3e758 fix(metrics): pass registry in to modules (#4113)
- ensure metrics are added to the correct registry
2025-03-06 08:37:05 +00:00
Alessandro Magionami 66ddb1eb34 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2774-upgrade-from-free-to-paid-plan 2025-03-05 19:29:44 +01:00
Jedd Morgan ff9d9b64fd Bump IFC import service (#4119) 2025-03-05 19:28:49 +02:00
Mike a13145332b Feat: Base for new billing settings (#4115) 2025-03-05 18:16:05 +01:00
Alessandro Magionami bcdb5ed0b0 feat(gatekeeper): new checkout flow 2025-03-05 17:35:28 +01:00
Alessandro Magionami f5a8ab7cbc feat(gatekeeper): add new create checkout session function 2025-03-05 17:33:36 +01:00
Alessandro Magionami 1e3d06c121 feat(gatekeeper): add new plans in graphql 2025-03-05 17:31:06 +01:00
andrewwallacespeckle 709b87b0fa Ensure no middleware for sso (#4118) 2025-03-05 15:45:33 +00:00
andrewwallacespeckle c1ad992eff Redirect users from join page when accepted (#4116) 2025-03-05 13:49:08 +00:00
Kristaps Fabians Geikins 954b1a9f11 feat: plan prices accurately read from Stripe (#4104)
* WIP prices + new caching utils

* cached workspace plan prices

* GQL API done

* integrated in frontend

* fixed missing FF

* CR fixes

* integration tests

* removed non-existant team yearly env var
2025-03-05 12:23:38 +02:00
Iain Sproat 5dbbe7f78a fix(server/types): GetUserActivity actionType is optional (#4093)
- https://github.com/specklesystems/speckle-server/blob/04f84c31f36da3d8eb828c7262a040e4c5ecee2e/packages/server/modules/activitystream/repositories/index.ts#L213
2025-03-04 21:13:43 +00:00
andrewwallacespeckle aa2f62916a Only run discoverable workspaces queries when FF is enabled (#4114) 2025-03-04 16:21:35 +00:00
andrewwallacespeckle b399b933d0 fix(fe): Check isEmailEnabled before forcing email verification (#4112)
* Check new isEmailEnabled in middleware

* Use mainServerInfoDataQuery
2025-03-04 16:03:55 +00:00
Mike ad899a8fd7 Feat: Add isEmailsEnabled to serverInfo (#4109) 2025-03-04 15:54:06 +01:00
andrewwallacespeckle c384996978 refactor(fe): New workspace actions route to avoid slug conflicts (#4107)
* Remove blockedSlugs

* Update workspace action routes to use /actions

* Re-add blockedWords
2025-03-04 14:43:07 +00:00
andrewwallacespeckle 7fbf3285b9 Add truncate (#4111) 2025-03-04 14:42:38 +00:00
andrewwallacespeckle fc8f15e012 Changes from call with Fabs and Mike (#4108) 2025-03-04 13:55:16 +00:00
andrewwallacespeckle d138c18905 Update Filters.vue (#4110) 2025-03-04 13:54:48 +00:00
Iain Sproat 5e4a6c5635 fix(server/prometheus): ensure consistent Prometheus registry is used (#4106)
* fix(server/prometheus): ensure consistent Prometheus registry is used
- there was a conflicting dependency between Metrics initialization and Modules initialization; resolved by separating registry initialization from metrics initialization
- pass in the registry to prevent implicit dependency being broken
- when registering a metric, first attempt to remove any of existing metrics with same name to prevent errors
- to prevent sneaky uses of the implicit registry, replace default import with explicit import so it is clearer when prometheusClient.registry is used

* Add tests for registering metrics
2025-03-04 08:41:53 +00:00
Chuck Driesler 063750cac7 feat(workspaces): track last visited workspace and project (#4086)
* feat(workspaces): track last visited workspace and project

* fix(workspaces): some renaming

* fix(workspaces): appease ts

* fix(tests): repair meta tests
2025-03-03 22:35:01 +00:00
Iain Sproat 47556d68c7 chore(server/scheduled tasks): should log task name and unique task Id (#4094) 2025-03-03 15:12:11 +00:00
Adam Hathcock 6bace97737 Update ifc parser to use new nuget and ability to test (#3830)
Co-authored-by: root <root@Clynelish>
Co-authored-by: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com>
2025-03-03 15:09:06 +00:00
andrewwallacespeckle de7653951f Redirect users with no discoverable workspaces to create (#4105) 2025-03-03 14:51:27 +00:00
andrewwallacespeckle 29c464f4c3 Update validateWorkspaceSlug (#4102) 2025-03-03 14:38:00 +00:00
andrewwallacespeckle 876a0ee217 feat(fe2): Create/Join Workspace as part of signup flow (#3997)
* New middleware. New page structure

* Changes from designs

* New workspace creation flow

* FF Hide SSO

* No middleware with no FF

* When to show join

* Update Join description text based on count

* Use new FF

* Major changes

* Update join text

* New FF in middleware

* Discoverable Banners

* Fix cache warning

* Undo merge conflict

* Revert merge conflicts

* Remove unneeded change

* Rename

* Revert merge issues

* Fix error

* Remove FF

* Check workspaces is enabled

* Use FF to show old onboarding flow

* Remove unused FF

* Fixes from PR

* Remove Region & SSO

* Revert workspace wizard changes

* WorkspaceDiscoverableWorkspacesCard

* Remove old code that was hidden with FF

* Fix

* Changes from call with Mike

* Fix typo

* Fix typo

* Update JoinPage.vue

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2025-03-03 13:05:07 +00:00
Iain Sproat 4d60e5e42b feat(feature flag): add workspacesNewPlanEnabled (#4101) 2025-03-03 12:50:43 +00:00
Chuck Driesler 0a77270da1 fix(automate): fix search param parsing (#4099) 2025-03-03 09:19:59 +00:00
Iain Sproat be556c76d9 chore(devcontainers): Move post create command to a script (#4090)
- it can be linted and has IDE code-completion
- we can add a lot more things to the script without sacrificing readability
2025-03-03 09:19:43 +00:00
Chuck Driesler 9b7c56de9f fix(workspaces): emit role updated on join request approved (#4100) 2025-03-03 09:19:22 +00:00