Commit Graph

5926 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 25010e330c fix(monitoring): lag should be a positive value (#3719) 2024-12-19 08:46:47 +00:00
andrewwallacespeckle 53237b4630 Update NewReply.vue (#3718) 2024-12-18 15:46:57 +00:00
Iain Sproat a6d7aad912 feat(database monitor): query configured postgres values (#3711)
- provides a threshold for use in monitoring & alerting
2024-12-18 15:28:29 +00:00
Iain Sproat 571338c604 feat(feature flags): consolidate multi region & multi region blob storage (#3709) 2024-12-18 15:28:19 +00:00
Alexandru Popovici 6fc7c06e9c Offline Object Loader (#3717)
* Quick hack to demo how an offline loader would work with as little complication as possible

* Further simplified yielding objects in offline mode

* Commented out the URL thing

* Implemented SpeckleOfflineLoader. JSON parsing is implemented at object-loader level, completely isolated from the rest of the implementation in order to avoid regression

* Isolated ObjectLoader creation in base SpeckleLoader class so any extended classes can overwrite the way the object loader is created and used

* Removed the big json sample file

* Updated version

* Removed unused functions from objectloader

* Restored viewer package version

* Fixed typo

* Renamed and moved the sample offline Speckle JSON

* Replaced the default JSON object sample with a much smaller one since we don't want to increase the sandbox's build size by 10 megs

* Fixed a linting error
2024-12-18 17:21:13 +02:00
Mike d3a10e4bec Feat: Add seats and estimated bill (#3684) 2024-12-18 15:54:40 +01: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
Mike 047f21aef4 Feat: Billing info on change role (#3715) 2024-12-18 14:23:50 +01:00
Mike f50a95fe78 Feat: Change blog to tutorials (#3713) 2024-12-18 14:22:07 +01:00
Mike 29bcb66eb4 Fix: Unable to delete project from workspace settings (#3708) 2024-12-18 12:50:46 +01:00
Mike 866e31a3e0 Feat: Add seat info to invite modal (#3710) 2024-12-18 10:38:32 +01:00
Mike f4f3ccf246 Feat: Add Workspace Wizard step viewed events (#3706) 2024-12-17 13:11:04 +01:00
Mike 09e93562d1 Fix: Various workspace wizard fixes (#3705) 2024-12-17 13:10:30 +01:00
Mike cb134f3b14 Fix: Invite banner mixpanel event (#3704) 2024-12-17 13:10:00 +01:00
Iain Sproat 0115e654b7 feat(database monitor): handles multi-region and connection pooling (#3685) 2024-12-17 09:36:39 +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 89caea32eb chore(knex): adds comments around config choices. No code changes (#3696) 2024-12-16 10:14:14 +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
andrewwallacespeckle 59bcd9989e Close control menus on click outside (#3693) 2024-12-13 13:42:27 +00:00
andrewwallacespeckle eeac2be573 Re-add resize panels (#3692) 2024-12-13 13:36:12 +00:00
Adam Hathcock 764c373ade update ifc importer to have better memory usage (#3691)
Co-authored-by: root <root@Clynelish>
2024-12-13 12:19:07 +00:00
Mike bd24ec76c8 Fix: Update Automate run label colors (#3690) 2024-12-13 11:55:31 +01:00
andrewwallacespeckle a4c33fbd25 Update Controls.vue (#3689) 2024-12-13 10:13:59 +00:00
Benjamin Ottensten 09cc2a21c3 Update view mode names (#3688) 2024-12-13 10:58:50 +01:00
Iain Sproat f1a9a379ef fix(server): use correct types for Timeout (#3687) 2024-12-13 09:54:24 +00:00
Mike b86a579094 Fix: Remove automations from General settings query (#3686) 2024-12-13 09:58:20 +01: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
Mike ad61f1d885 Feat: Change server invite to new design (#3676) 2024-12-12 16:12:32 +01:00
Mike 222f3ddb5b Feat: Add upgraded and failed event (#3683) 2024-12-12 15:44:42 +01:00
Alexandru Popovici 60ff23d73d Toggle-able Basit Mode (#3672)
* Some updates to Basit Mode. Added it to the 6 key

* Renamed BasitMode to ColorsMode
2024-12-12 15:42:10 +02:00
Alexandru Popovici 9e0e6a9c0d SpeckleInstancedMeshes now recrete their shadow depth material whenever the instance configuration changes (#3681) 2024-12-12 14:37:39 +02:00
Mike c6301f8fc2 Fix: Hide seat counts and pricing for academia and unlimited plans (#3682) 2024-12-12 13:10:28 +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
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
Iain Sproat 0a2bebd075 fix(server): check for multi-region when retrieving all registered db clients (#3675) 2024-12-11 14:20:24 +01:00
Mike 10969c8a04 Fix: workspace avatar (#3674) 2024-12-11 13:19:42 +01:00
Mike f5312cceb3 Fix: Fix CommonAlert icon (#3671) 2024-12-11 10:44:13 +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
Mike ee3ac48579 Feat: Change default workspace avatars (#3670) 2024-12-11 10:11:21 +01:00
Mike abdd8e3a50 Fix: Hide disclaimer if FF is enabled (#3668) 2024-12-10 17:06:12 +01:00
Mike 4777093a16 Fix: Improve creation wizard state management (#3666) 2024-12-10 16:11:55 +01:00
Benjamin Ottensten 95733b4523 Chore(workspaces): Add support links to billing settings (#3665) 2024-12-10 15:47:38 +01:00