Commit Graph

1968 Commits

Author SHA1 Message Date
Alessandro Magionami cc5b69b4e4 Merge pull request #3699 from specklesystems/alessandro/web-2309-return-error-on-version-creation-for-projects-in-readonly
Alessandro/web 2309 return error on version creation for projects in readonly
2024-12-23 10:43:22 +01:00
Alessandro Magionami e67b53b1d4 Merge pull request #3695 from specklesystems/alessandro/web-2310-return-error-on-object-creation-for-projects-in-readonly
Alessandro/web 2310 return error on object creation for projects in readonly
2024-12-20 16:39:14 +01:00
Alessandro Magionami 47eb26f88e chote(core): fix tests 2024-12-20 10:12:05 +01:00
Alessandro Magionami ff04755a5c feat(gatekeeper): readOnly validation for version and commit creation 2024-12-20 09:56:47 +01:00
Alessandro Magionami ca46ae6263 chote(core): fix tests 2024-12-20 09:54:42 +01:00
Mike 67f395eeff Feat: Upgrade Mixpanel browser and enable session replay (#3725) 2024-12-20 09:30:23 +01:00
Alessandro Magionami 3b82b62943 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2310-return-error-on-object-creation-for-projects-in-readonly 2024-12-20 09:21:19 +01:00
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 663ee0b5a9 fix(server): app initialization starts metrics after multiregion (#3697) 2024-12-16 10:40:27 +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
Iain Sproat 3b67a51f21 fix(server): correct type in notifications helper (#3694) 2024-12-16 10:12:57 +00:00
Alessandro Magionami 11beefeada feat(gatekeeper): readOnly validation logic 2024-12-16 10:17:16 +01:00
Alessandro Magionami a8decee3a4 chore(core): setup hooks system for core module 2024-12-16 10:17:16 +01:00
Alessandro Magionami 4be7eb8cb0 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2304-expose-graphql-field-readonly-for-workspace-type 2024-12-16 10:16:38 +01:00
Iain Sproat f1a9a379ef fix(server): use correct types for Timeout (#3687) 2024-12-13 09:54:24 +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
Alessandro Magionami 15bc6738ba chore(billing): fix test 2024-12-12 15:29:27 +01:00
Iain Sproat 8197bb74a3 feat(multi-region): metrics for knex for all regional databases (#3580)
* feat(multi-region): metrics for knex for all regional databases

* improve typing in knex monitoring

* error logging around migrations

* await async calls for db connections
- add 'region' label

* add missing 'await' statements

* more missing 'await'

* guard against re-adding listeners

* It was possible for update to be called before initialize
- this change collapses both into initialize, and adds checks to ensure initialization is done before being updated for new regions

* separate back into non-exported const and rename

* align with main

* Amend order at which metrics is enabled
2024-12-12 11:03:25 +01:00
Gergő Jedlicska ded5b0a78b fix(workspaces): make sure to return from switch statement (#3680) 2024-12-12 10:42:49 +01:00
Alessandro Magionami fd2d6381f8 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2304-expose-graphql-field-readonly-for-workspace-type 2024-12-12 09:41:03 +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 f5c29791ba fix(logging): remove duplicate log (#3678)
- the error is logged at the top level, so we do not need to log deeper
- instead, wrap the error with the additional information and throw
2024-12-11 17:21:40 +01:00
Gergő Jedlicska fb7a7684e7 refactor(gatekeeper): use exhaustive switch pattern 2024-12-11 16:07:49 +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
Alessandro Magionami 0a735e853b Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2304-expose-graphql-field-readonly-for-workspace-type 2024-12-09 14:49:13 +01:00
Alessandro Magionami b08f25dffa feat(workspaces): add readOnly logic for workspace 2024-12-09 14:31:59 +01:00
Alessandro Magionami e94c9e7881 feat(workspaces): add readOnly field to workspace gql type 2024-12-09 14:17:46 +01:00
Gergő Jedlicska 62863a8523 feat(server): allow using frontend proxy in fe2 mode too (#3658) 2024-12-09 13:54:50 +01: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 9b1b1dfb71 feat(server/feature flags): adds multi-region blob storage ff (#3643) 2024-12-05 15:13:34 +02:00
Iain Sproat 97344e085c fix(local dev): use non-conflicting ports (#3641) 2024-12-05 12:17:36 +00:00
Iain Sproat b2087e7516 feat(local dev): multi-region blob storage (#3639) 2024-12-05 12:09:13 +00: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