Commit Graph

1678 Commits

Author SHA1 Message Date
Iain Sproat 0d2af686f9 chore(server/stats): disable deprecated ServerStats (#3714) 2024-12-19 10:32:47 +00:00
Iain Sproat 571338c604 feat(feature flags): consolidate multi region & multi region blob storage (#3709) 2024-12-18 15:28:19 +00:00
Alessandro Magionami a363f0e81a feat(workspaces): expose graphql field readonly for workspace type (#3659)
* feat(workspaces): add readOnly field to workspace gql type

* feat(workspaces): add readOnly logic for workspace

* refactor(gatekeeper): use exhaustive switch pattern

* chore(billing): fix test

* feat(gatekeeper): fix tests

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-12-18 13:47:27 +00:00
Iain Sproat 1f7620a281 chore(logging): log migration of databases (#3700)
- tidy up Database error handling context data
2024-12-16 13:40:29 +00:00
Iain Sproat c4def81ae2 feat(server options): allow connection timeouts to be configured (#3701)
* feat(server options): allow connection timeouts to be configured

* feat(postgres config): allow connection parameters to be configured
2024-12-16 13:39:40 +00:00
Iain Sproat 6d3ba0de22 chore(server): errors for database append additional context (#3698)
* chore(server): errors for database append additional context

* Refactor
2024-12-16 10:13:20 +00:00
andrewwallacespeckle 87221cac88 feature(fe2): View mode FE integration (#3651)
* Improve shortcuts

* WIP

* View Mode menu

* Styling updates

* split activeControls

* Reusable Menu component

* Menu updates

* Sun menu updates

* Tidyups

* CommonAlert

* Updates

* WIP change to currentViewMode

* Serialization

* defineModel

* Tidy up emits

* Remove v-model

* Force close other panels

* Remove transition

* More robust isTypingComment

* activeControl > activePanel

* View menu shortcuts

* Explode menu definemodel

* Small changes from Benjamin

* Add colors view mode

* Fix server problem in data.ts

* Fix build
2024-12-12 17:19:57 +00:00
Gergő Jedlicska ded5b0a78b fix(workspaces): make sure to return from switch statement (#3680) 2024-12-12 10:42:49 +01:00
Gergő Jedlicska 68938bab94 feat(gatekeeper): show subscription seats (#3679)
* feat(gatekeeper): show subscription seats

* Enabled summary on billing page

* Made interval dynamic

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-12-11 22:19:22 +01:00
Gergő Jedlicska 229a19c981 gergo/workspaceAdmin (#3677)
* feat(workspaces): add unified paginated items service

* feat(workspaces): admin update workspace plan
2024-12-11 18:54:24 +01:00
Gergő Jedlicska 2a72631e8b feat(gatekeeper): expire trail workspace plans (#3669) 2024-12-11 17:22:04 +01:00
Iain Sproat 0a2bebd075 fix(server): check for multi-region when retrieving all registered db clients (#3675) 2024-12-11 14:20:24 +01:00
Iain Sproat 27a0600dcd feat(server): multi-region aware liveness and readiness checks (#3468)
* chore(healthchecks): refactor out of modules
* feat(server): multi-region aware liveness and readiness checks
* Add tests for redis & postgres healthchecks
* do not close Redis client after checking it is healthy, we now use a shared client
2024-12-11 09:29:53 +00:00
Chuck Driesler c1eeb20d5a fix(sso): fallback resolver (#3667) 2024-12-10 15:29:34 +01:00
Kristaps Fabians Geikins 8d0cbad8b6 feat(server): multi region blob support (#3653)
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-12-10 09:05:18 +00:00
Chuck Driesler 02be49f71f fix(automate): redirect github auth flow to workspace if possible (#3632)
* fix(automate): redirect to workspace after auth if possible

* fix(automate): include session in github auth flow

* chore(automate): update props after merge

* fix(automate): pick => fragment

* fix(automate): use fragments correctly
2024-12-06 08:24:23 +00:00
Benjamin Ottensten 2f44ae2a7e Trigger mention dialog after a single character (#3644)
* Limit mentions to a single character

* Adjust test
2024-12-05 15:46:47 +01:00
Iain Sproat 083999da46 chore(server/logging): use message template instead of runtime formatting (#3638)
- reduce the cardinality of messages, to allow filtering by message template
2024-12-05 12:02:48 +00:00
Kristaps Fabians Geikins 4b6e7af19d feat(fe2): scope comment mentions to parent project collaborators (#3635)
* backend done

* get rid of email mention

* project scoped mentions work

* lint fix

* better user sanitization safety

* tests fix
2024-12-05 13:33:05 +02:00
Chuck Driesler ce3941c3fe fix(automate): cascade delete automations with projects (#3627)
* fix(automate): cascade delete automation functions

* fix(automate): show automation count in delete dialog

* fix(automate): limit 0
2024-12-04 16:06:42 +00:00
Mike 8f4593e606 Feat: Workspace creation wizard (#3625) 2024-12-04 14:19:52 +01:00
Gergő Jedlicska 2ba2ef28dc feat(gatekeeper): lower checkout session expiry (#3626) 2024-12-04 11:52:33 +01:00
Iain Sproat cdf9c4858a refactor(env vars): rename AUTOMATE_ENCRTYPTION_KEYS_PATH with ENCRYPTION_KEYS_PATH (#3616) 2024-12-04 10:29:35 +00:00
Gergő Jedlicska 5b5aa7a877 feat(multiRegion): do not recreate the pub subs in production (#3624) 2024-12-04 07:39:09 +01:00
Iain Sproat 384640de1d fix(error): improve error message when subscriptions & publications fail (#3613) 2024-12-03 21:26:43 +00:00
Chuck Driesler b4aa0f7608 fix(sso): disable slug edit if sso enabled (#3621)
* fix(sso): disable slug edit if sso enabled

* fix(sso): guard on backend

* chore(sso): more test fixes
2024-12-03 18:05:04 +00:00
Iain Sproat a0d2831201 fix(server/logging): use structured message template not string formatting (#3619)
- string formatting causes high cardinality of messages in the logging system
2024-12-03 16:37:38 +00:00
Chuck Driesler 101a0b2d54 fix(workspaces): no default discovery (#3622)
* fix(workspaces): do not enable discoverability by default

* chore(workspaces): fix test

* chore(workspaces): more tests fix
2024-12-03 16:01:05 +00:00
Gergő Jedlicska 1dd782e2ae fix(cli): user proper plan name as choice (#3611) 2024-12-03 13:16:03 +01:00
Kristaps Fabians Geikins 16897b86cb feat(fe2): show custom data residency restriction disclaimer (#3605)
* move to workspace disclaimer

* disclaimer added everywhere

* cleanup

* copy update

* Update copy

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
2024-12-03 11:58:14 +01:00
Gergő Jedlicska c68090a041 feat(projects): filter projects, that are not available under sso (#3585)
* feat(projects): filter projects, that are not available under sso

* feat(fe2): add SSO authentication warning banner

* Use specific fragment types

* fix(streams): stream load behavior should match old implementation

* Add user id to ProjectsHiddenProjectWarning_User fragment

* GQL gen

* Copy update

* fix(streams): admin override logic

* chore: gqlcodegen

* Update fragment name

---------

Co-authored-by: andrewwallacespeckle <andrew@speckle.systems>
2024-12-03 11:51:27 +01:00
Gergő Jedlicska 6e3d8a9f06 feat(workspaces): all workspaces start trial now (#3602)
* feat(workspaces): all workspaces start trial now

* fix(workspaces): migration should only run if there are workspaces
2024-12-03 11:20:09 +01:00
Chuck Driesler b41b08d688 fix(sso): oidc state parameter (#3598)
* feat(sso): use state parameter

* chore(sso): fix tests

* fix(sso): entraid moment

* chore(sso): use specific errors
2024-12-02 18:16:28 +00:00
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 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
Mike 2d41213229 Fix: Billing switch (#3596) 2024-12-02 15:40:23 +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
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
Chuck Driesler 4e37a0eae7 chore(automate): drop specklecon templates (#3587) 2024-12-02 10:15:03 +00: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
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
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