Граф коммитов

4515 Коммитов

Автор SHA1 Сообщение Дата
Alessandro Magionami eb499db721
chore(workspaces): comments and tests optimizations 2024-08-14 15:48:39 +02:00
Alessandro Magionami 5931aadc1e
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1594-calculate-workspace-cost 2024-08-14 15:19:52 +02:00
Iain Sproat 9896d49058
fix(helm chart): server service account should have access to license token secret (#2661) 2024-08-14 15:16:31 +02:00
Alessandro Magionami 3db75cc663
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1594-calculate-workspace-cost 2024-08-14 15:07:32 +02:00
Alexandru Popovici 76b5964d9d
Implemented a separate for object-loader which can be used autonomously (#2647) 2024-08-14 14:01:04 +03:00
Chuck Driesler 09c29619b4
fix(workspaces): guests do not get workspace-wide project access (#2622)
* fix(workspaces): guests do not get workspace-wide project access

* fix(workspaces): update roles-related test

* fix(workspaces): roles only update on member add
2024-08-14 09:54:47 +01:00
Kristaps Fabians Geikins 4e302ef4e5
fix(fe2): viewer comments not docking to bottom properly (#2659) 2024-08-14 11:46:39 +03:00
Alessandro Magionami f7fdfa0055
chore(workspaces): remove cast 2024-08-14 09:25:11 +02:00
Alessandro Magionami a08df040a6
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1594-calculate-workspace-cost 2024-08-14 09:23:20 +02:00
Gergő Jedlicska d645367595
fix(workspaces): allow users to create workspaces (#2655) 2024-08-13 19:00:10 +02:00
Iain Sproat a262d7d126
chore(liveness): fail liveness if db conns saturated for 10min (#2648)
* chore(liveness): fail liveness if db conns saturated for 2min

* Increase to 10min timeout
2024-08-13 18:41:04 +02:00
Alessandro Magionami 529c4ff071
feat(workspaces): add cost resolver to workspaces 2024-08-13 17:43:46 +02:00
Mike 3b11618c03
Fix: Add close event to settings modal on project click (#2651) 2024-08-13 15:27:29 +02:00
Mike 838d875b29
Feat: Add general workspace settings page (#2635) 2024-08-13 12:59:10 +02:00
Iain Sproat 60251e45cb
Revert "fix(server): revert 55cad9662a (#2633)" (#2650)
This reverts commit f2c5677b4a.
2024-08-13 11:48:20 +01:00
Iain Sproat 5c0c98c2f2
fix(helm): only expect license token if workspace feature is enabled (#2649) 2024-08-13 11:17:49 +01:00
Gergő Jedlicska 5818a44e62
Gatekeeper (#2572)
* feat(gatekeeper): initial license validation

* test(gatekeeper): add license token to tests

* chore(gatekeeper): cleanup

* chore(gatekeeper): hide from circleci

* feat(helm): load license token from secrets

* chore(circleci): remove unused env var
2024-08-13 11:04:40 +02:00
Iain Sproat 298d8d6e52
fix(server/authcode): guard against null challenges (#2643)
- the database expects challenge to be not null, so we should guard against this early before consuming database resources
2024-08-13 09:12:06 +01:00
Iain Sproat a0a1363e01
fix(logging): redact detail in database error message (#2642)
- may contain secrets which should not be logged
2024-08-12 17:38:21 +01:00
Alessandro Magionami 595f76f183
fix(useremails): avoid creating same email twice (#2640)
* fix(useremails): avoid creating same email twice

* fix(useremails): avoid any email to be created if already existing
2024-08-12 16:08:59 +02:00
Alessandro Magionami caca536e96
fix(useremails): throw error if trying to set unverified email as primary (#2630) 2024-08-12 15:03:53 +02:00
Mike 5b55d9e97e
Feat: Add feature flag for multiple emails (#2639)
* Feat: Add feature flag for multiple emails

* Fix typo
2024-08-12 15:02:10 +02:00
Kristaps Fabians Geikins 23b60bfcca
fix(fe2): ensuring fatal SSR errors get logged to datadog properly (#2638)
* fix(fe2): ensuring fatal SSR errors get logged to datadog properly

* added status code check to avoid potential spam
2024-08-12 15:36:50 +03:00
Iain Sproat 7b1c46ba9a
chore(server): addn'l observability around db connections (#2628)
* chore(server): addn'l observability around db connections
* improvement to logging and metrics
* Instrument the knex connection pool
2024-08-12 13:17:53 +01:00
Kristaps Fabians Geikins 51ec2f7dcd
fix(objectloader): prevent cache read/write (#2637) 2024-08-12 13:22:03 +03:00
Iain Sproat f2c5677b4a
fix(server): revert 55cad9662a (#2633)
* Revert "refactor(server/upload): convert js to ts (#2618)"

This reverts commit e9f7286f67.

* Revert "feat(logging): pass request logger to core/services/objects (#2599)"

This reverts commit ee3e9af78d.

* Revert "feat(server): configurable maximum objects POST size and improved logging (#2594)"

This reverts commit 55cad9662a.
2024-08-12 10:26:53 +01:00
Kristaps Fabians Geikins fc079b2b71
fix(fe2): fixes for too early viewer state init (#2634) 2024-08-12 12:05:35 +03:00
Kristaps Fabians Geikins 4dae1569cd
feat(fe2): invite + list workspace invites (#2629)
* list invites table

* invites list works

* update last reminded date on resend

* fix FE

* WIP invitedialog + updated debounced utility

* invite create works

* exclude users correctly

* more adjustments

* minor cleanup

* using workspace invite server role

* test fix

* fixed multiple root eslint issues

* minor adjustments
2024-08-12 11:30:01 +03:00
Mike 03db1cca94
Fix: Remove multiple email sidebar link (#2627) 2024-08-09 16:16:36 +02:00
Mike 3ac6741965
Feat: Allow users to manage emails (#2613) 2024-08-09 12:49:07 +02:00
Iain Sproat e9f7286f67
refactor(server/upload): convert js to ts (#2618) 2024-08-09 10:00:46 +01:00
andrewwallacespeckle 5d8ed49d16
fix(fe2): Use NuxtLink in model cards to allow cmd click (#2615)
* Update ProjectDashboardCard.vue

* Revert "Update ProjectDashboardCard.vue"

This reverts commit 41744265d3.

* Hacky way to add NuxtLinks
2024-08-09 09:56:02 +01:00
Iain Sproat ee3e9af78d
feat(logging): pass request logger to core/services/objects (#2599)
* chore(logging): include additional detail on object upload logs

* allow max file size to be configurable

* feat(logging): add logger to core/services/objects

* fix log line

* fix tests

* typo

* fix variable name

* convert values to megabytes

* calculating memory was causing the system to freeze

* calculating memory was causing the system to freeze

* DRY the logging metadata

* all required variables should be passed to calculateLogMetadata

* fix many things with the logging
2024-08-09 10:15:37 +02:00
Iain Sproat 55cad9662a
feat(server): configurable maximum objects POST size and improved logging (#2594) 2024-08-08 16:19:25 +01:00
Kristaps Fabians Geikins fc5c764c06
unblocking main 2024-08-08 12:31:45 +03:00
Kristaps Fabians Geikins b6ef90eb4f
fix(fe2): dont build sourcemaps unnecessarily (#2597) 2024-08-08 11:56:36 +03:00
Chuck Driesler 7bb40134eb
fix(workspaces): add filtering to workspace team query (#2586)
* chore(workspaces): add some tests for new filters

* fix(workspaces): args style
2024-08-08 07:15:55 +02:00
Gergő Jedlicska 72017c3f2f
feat(emailVerification): add email verification mutation for all emails (#2606) 2024-08-08 07:07:26 +02:00
Kristaps Fabians Geikins 0085bab1db
fix(server): fixed various email lookups/updates being case sensitive (#2595)
* fix(server): case insensitivity in userEmails repo

* minor fix

* more test improvements + user repo tests

* more tests

* test fixes
2024-08-07 17:48:01 +03:00
Iain Sproat b03e79ae44
chore(logging): improve logging around passportjs strategies (#2593)
- ensures the request logger, containing request details, is used
2024-08-07 13:34:49 +01:00
Iain Sproat 47bd4cd4bc
feat(health probes): use kubernetes native get instead of exec node fetch (#2445) 2024-08-07 12:22:31 +01:00
Iain Sproat d9f9da77f4
chore(readiness): server pods are not ready if no free db connections (#2552)
- adds high frequency metrics for knex connections
2024-08-07 11:07:34 +01:00
Mike 87d986e8e1
Feat: Add coming soon settings pages (#2590) 2024-08-07 12:06:23 +02:00
Kristaps Fabians Geikins 99edb378ed
feat: auth issue troubleshooting related improvements (#2591)
* fix(server): TS passportService + fixed user input error reporting

* feat(fe2): add server req id to error reference
2024-08-07 12:52:26 +03:00
Kristaps Fabians Geikins 50b5bdbbdd
chore(server): typescriptified auth strategies (#2589)
* rebuilt strategies.js

* local.js -> local.ts

* oidc.js -> oidc.ts

* google.js -> google.ts

* github.js -> github.ts

* azure-ad.js -> azureAd.ts

* minor fixes

* FE2 regen

* improved error reference page

* minor adjustment

* more error page improvements

* migrated helper

* testfix
2024-08-07 11:38:44 +03:00
Chuck Driesler b27640194a
feat(workspaces): support workspace deletion (#2569)
* feat(workspaces): delete workspace repo function

* feat(workspaces): services for the resolver, crack order of operations, migration

* fix(workspaces): add tests for delete

* fix(workspaces): better service boundary

* fix(workspaces): linttttt
2024-08-07 10:36:52 +02:00
Gergő Jedlicska 625fec4294
feat(workspaces): leave workspace (#2585) 2024-08-06 16:55:40 +02:00
Iain Sproat 72bc7357c5
fix(helm): remove whitespace instruction for ghost api key env var (#2588) 2024-08-06 13:10:39 +01:00
Mike ad1f97216f
Feat: Add new dashboard page (#2580) 2024-08-06 13:39:58 +02:00
andrewwallacespeckle cd73a7aad8
Update page title to include model name (#2587) 2024-08-06 12:30:57 +01:00