Commit Graph

4479 Commits

Author SHA1 Message Date
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
Kristaps Fabians Geikins 455b21cba3 fix(server): manual workspace role assignment on project invite create + more bugfixes (#2581)
* prep for new projectinvite create mutation

* fix for serverRole not being taken into account in stream invite

* new workspace invite create mutation
2024-08-06 13:42:10 +03:00
Alessandro Magionami c365c0566e Alessandro/web 1169 create app validation to enforce only one primary email per (#2576)
* feat(useremails): userEmails graphql query

* feat(useremails): create user email mutation

* feat(useremails): set primary and delete user email mutations

* chore(useremails): fix update user email type

* chore(useremails): add validation for unique primary email

* chore(useremails): create typed tests for graphql and emails field resolver in user type

* chore(userEmails): group user email mutations in a specific mutation object

* linting fixes

* more lint fixes

* tests fix

* more test fixes

* chore(userEmails): cleanup

* chore(useremails): rely on knex trx for transaction handling

* chore(useremails): rely on knex trx for transaction handling

* chore(useremails): fix checkemail not present

* chore(useremails): add tests

* chore(useremails): create check function

* chore(useremails): use repository function to find primary email

* chore(useremails): fix prettier

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-08-06 12:34:48 +02:00
Chuck Driesler 97b44bad94 fix(workspaces): backend validation on workspace settings fields (#2584)
* fix(workspaces): backend validation on workspace settings fields

* chore(workspaces): move authz to resolver level
2024-08-06 11:25:19 +01:00
Dimitrie Stefanescu fbfaa281dc Merge pull request #2573 from specklesystems/dimitrie/cnx-115-viewer-handle-gracefully-instances-with-elements-that-failed
feat(viewer): handles missing instance components gracefully
2024-08-06 11:38:57 +02:00
Dimitrie Stefanescu 79fc523d9c chore(viewer): adds logger for the case, as per king alex's request 2024-08-06 10:26:53 +01:00
Mike 3c15fa8809 Feat: Add member settings page (#2574) 2024-08-06 10:03:22 +02:00
Alessandro Magionami 12685af29a Alessandro/web 1388 mutation create new email (#2561)
* feat(useremails): userEmails graphql query

* feat(useremails): create user email mutation

* feat(useremails): set primary and delete user email mutations

* chore(useremails): fix update user email type

* chore(useremails): create typed tests for graphql and emails field resolver in user type

* chore(userEmails): group user email mutations in a specific mutation object

* linting fixes

* more lint fixes

* tests fix

* more test fixes

* chore(userEmails): cleanup

* chore(useremails): rely on knex trx for transaction handling

* chore(useremails): fix checkemail not present

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-08-05 18:39:52 +02:00
Chuck Driesler 65a0666c9c fix(workspaces): expect correct format for workspace image strings (#2568) 2024-08-05 17:27:13 +02:00
Kristaps Fabians Geikins 7383779375 feat(server): registration (w/ and w/o invites) tests (#2567)
* WIP tests

* a couple of tests done

* most server registration tests done

* finalized tests

* lint fix

* added login tests too
2024-08-05 16:21:56 +03:00
Dimitrie Stefanescu ded5e12279 feat(viewer): handles missing instance components gracefully 2024-08-05 13:48:13 +01:00
Chuck Driesler 0212f865fa fix(workspaces): better logic in workspace project pagination test (#2570) 2024-08-03 09:50:04 +02:00
Gergő Jedlicska 4f6bfb24f6 feat(helm): expose workspace module feature flag (#2566) 2024-08-02 13:04:30 +02:00
Chuck Driesler c97ccb48a1 fix(workspaces): support workspace logos as base64 strings (#2556)
* fix(workspaces): support workspace logos as base64 strings

* fix(workspaces): fix those testsss

* fix(workspaces): migration! and more test fixes
2024-08-02 13:04:20 +02:00
Alessandro Magionami f5b262f4ea Merge pull request #2562 from specklesystems/alessandro/web-1533-fix-unique-values-in-seed
chore(seed): fix seed using library to generate unique values
2024-08-02 11:35:49 +02:00
Kristaps Fabians Geikins 2fb1ced647 feat(fe2): show reqId in error pages (#2565)
* feat(fe2): show reqId in error pages

* better text size class
2024-08-02 12:05:11 +03:00
Iain Sproat b8cc6928cd ci(feature flags): test workspaces (#2559)
* ci(feature flags): test workspaces

* It was an overwrite not a merge ;(

* adjustments

* ignoring FF related tests, if FFs are off

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-08-02 10:31:50 +03:00
Iain Sproat 5096ba20d6 Revert "chore(helm chart): reduce readiness period and timeout (#2551)" (#2564)
This reverts commit b983cfab40.
2024-08-01 20:54:50 +01:00
Iain Sproat b983cfab40 chore(helm chart): reduce readiness period and timeout (#2551)
- we wish to rapidly react to unresponsive pods
2024-08-01 19:01:01 +01:00
Iain Sproat 1c048b4111 refactor(server): use env helper to consistently find max connections (#2563) 2024-08-01 17:24:17 +01:00
Alessandro Magionami 221cd55753 chore(seed): fix seed using library to generate unique values 2024-08-01 17:26:27 +02:00
Mike 99cd8a2da5 Feat: Add base for rendering workspaces items in the settings sidebar (#2558) 2024-08-01 17:00:56 +02:00
Chuck Driesler b7c281961c fix(workspaces): match workspaces and workspacesCore resolvers (#2560) 2024-08-01 16:48:08 +03:00
Alessandro Magionami 8b43790bed Merge pull request #2519 from specklesystems/alessandro/web-1172-change-the-users-repository-to-abstract-the-email-field-in
Alessandro/web 1172 change the users repository to abstract the email field in
2024-08-01 15:14:34 +02:00
Alessandro Magionami fcedff2565 chore(useremails): add failsafe option to scan table 2024-08-01 14:30:25 +02:00
Iain Sproat b002df6cd4 feat(server/logs): add request ID to objects retrieval log messages (#2550) 2024-08-01 12:21:05 +01:00
Iain Sproat d32e3c0a71 chore(CI): temporarily disable docker compose deployment test & other fixes for race condition in docker compose deployment test (#2553) 2024-08-01 12:15:35 +01:00
andrewwallacespeckle 1f58c98ec5 refactor(ui-components): Improve chromium compatability (#2557)
* Replace insets

* Replace gap with space

* Small change to Tabs
2024-08-01 11:23:28 +01:00
Chuck Driesler 8a9659f223 feat(workspaces): workspace member role resolvers (#2540)
* feat(workspaces): update/delete workspace role resolvers

* chore(workspaces): gql tests for role changes

* fix(workspaces): test syntax oops

* fix(workspaces): got it twisted

* fix(workspaces): simplify api surface, better return types

* fix(workspaces): correct role type usage, improve tests

* fix(workspaces): authorize in resolver

* fix(workspaces): correct usage of authorizeResolver
2024-08-01 09:36:52 +01:00
Alessandro Magionami 42b56751d3 chore(useremails): add failsafe to scantable 2024-08-01 09:50:50 +02:00
andrewwallacespeckle 662a4a09e9 Fix: Adjust create function modal inputs (#2555) 2024-08-01 07:27:20 +02:00
Chuck Driesler 170a44b9ec chore(workspaces): tests for workspace project creation (#2541)
* chore(workspaces): tests for workspace project creation

* fix(workspaces): build error after type change

* fix(workspaces): assorted hygiene and correctness

* chore(workspaces): add tests for paginated workspace projects query

* fix(workspaces): repair bad test ordering

* fix(workspaces): test hygiene

* fix(workspaces): a bit more correct
2024-07-31 17:40:03 +01:00
Alessandro Magionami 21e56b13ab chore(useremails): remove unsued imports 2024-07-31 11:57:06 +02:00
Alessandro Magionami ebf29014bd Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1172-change-the-users-repository-to-abstract-the-email-field-in 2024-07-31 10:51:02 +02:00
Alessandro Magionami 9ffe6ddc21 chore(useremails): minor cleanup for users repository 2024-07-31 10:50:55 +02:00
Alessandro Magionami e43ba68001 chore(useremails): add logging in backfill migration 2024-07-31 09:51:30 +02:00
Kristaps Fabians Geikins 2e7f1578b1 fix(server): commit query not returning author id as expected by resolvers (#2549) 2024-07-31 10:28:04 +03:00