Chuck Driesler
e6e65a2f7d
feat(sso): list sso associations by user email ( #3420 )
...
* feat(workspaces): add workspace sso feature flag
* feat(workspaceSso): wip validate sso
* feat(workspaces): validate and add sso provider to the workspace with user sso sessions
* feat(workspaces): validate and add sso provider to the workspace with user sso sessions
* WIP
* fix(sso): restructure to handle all branches at end of flow
* fix(sso): add and validate emails used for sso
* fix(sso): park progress
* chore(workspaces): review sso login/valdate
* fix(sso): adjust validate url
* chore(sso): auth header puzzle
* fix(sso): happy-path config
* chore(gql): gqlgen
* fix(sso): almost almost
* fix(sso): auth endpoint
* a lil more terse
* fix(sso): light at the end of the tunnel
* fix(sso): improve catch block error messages
* fix(sso): session lifespan => validUntil
* fix(sso): I think we've got it
* feat(sso): limited workspace values for public sso login
* fix(sso): use factory functions
* fix(sso): til decrypt is single-use
* fix(sso): correct usage of access codes
* fix(sso): use finalize middleware in all routes
* chore(sso): cheeky tweak
* fix(sso): move some types around
* fix(sso): stencil final shape I'm sleepy
* fix(sso): more factories more factories
* fix(sso): on to final boss of factories
* fix(sso): needs a haircut but she works
* fix(sso): init rest w function, not side-effects
* fix(sso): /authn => /sso
* chore(sso): errors
* chore(sso): test test test
* chore(sso): test all the corners
* feat(sso): list workspace sso memberships
* chore(sso): tests, expose in rest
* fix(sso): expose search via gql
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
Co-authored-by: Mike Tasset <mike.tasset@gmail.com >
2024-11-01 11:27:12 +01:00
Kristaps Fabians Geikins
5df716bf1c
feat: add & list server regions ( #3423 )
...
* WIP create modal
* babababa
* create dialog looks ok
* FE largely there
* workss
* cleanup
* fixed up test plumbing to avoid deadlocks and simplify GQL calls
* test fix
* added all tests
* CI fix
2024-10-31 16:08:50 +01:00
Kristaps Fabians Geikins
55d0d10103
Merge pull request #3406 from specklesystems/fabians/multi-region-base
...
feat(server): multi region module base w/ a test (mocked) mutation
2024-10-30 10:25:04 +00:00
Kristaps Fabians Geikins
31f56001f8
Merge pull request #3400 from specklesystems/fabians/quick-js-to-ts-5
...
chore(server): quick js to ts #5 - remaining stragglers
2024-10-30 08:19:31 +00:00
Kristaps Fabians Geikins
610808fc15
feat(server): multi region module base w/ a test (mocked) mutation
2024-10-29 14:07:35 +02:00
Gergő Jedlicska
3184855aa7
gergo/checkoutGqlResolver ( #3405 )
...
* feat(gatekeeper): add all plan statuses
* chore(gatekeeper): gqlgen
2024-10-28 18:10:31 +01:00
Alessandro Magionami
11c13796c2
Merge pull request #3393 from specklesystems/fabians/gendo-ioc-5
...
chore(server): gendo IoC #5 - getVersionRenderRequestFactory
2024-10-28 15:17:56 +01:00
Kristaps Fabians Geikins
284e9968dc
knex still busted! ffs
2024-10-28 11:33:35 +02:00
Gergő Jedlicska
af3857a209
gergo/web 2038 billing graphql api ( #3379 )
...
* feat(gatekeeper): add gatekeeper module feature flag
* feat(gatekeeper): add workspace pricing table domain
* feat(gatekeeper): add checkout session creation
* feat(gatekeeper): verify stripe signature
* wip(gatekeeper): checkout callbacks
* feat(gatekeeper): add unlimited and academia plan types
* refactor(envHelper): getStringFromEnv helper
* chore(gatekeeper): add future todos
* feat(gatekeeper): add productId to the subscription domain
* feat(gatekeeper): add in memory repositories
* feat(gatekeeper): add more errors
* feat(gatekeeper): complete checkout session service
* feat(gatekeeper): add stripe client implementation
* feat(gatekeeper): add checkout session completion webhook callback path
* feat(gendo): fix not needing env vars if gendo module is not enabled
* feat(gatekeeper): require a license for billing
* chore(gatekeeper): cleanup before testing
* feat(gatekeeper): subscriptionData parsing model
* ci: add billing integration and gatekeeper modules to test config
* test(gatekeeper): add checkout service tests
* feat(gatekeeper): make completeCheckout callback idempotent properly
* feat(gatekeeper): move to knex based repositories
* test(gatekeeper): billing repository tests
* feat(gatekeeper): add yearly billing cycle toggle
* feat(ci): add stripe integration context to test job
* feat(billingPage): conditionally render the checkout CTAs
* fix(gatekeeper): remove flaky test condition
* feat(helm): add billing integration feature flag
* WIP billing gql api
* feat(gatekeeper): cancel checkout session api
* feat(gatekeeper): handle existing checkout sessions, when trying to create a new one
* feat(gatekeeper): add workspace plans gql api
* feat(gatekeeper): handle cancelation and subscription updates
* fix(gatekeeper): scope initialization
* fix(gatekeeper): eliminate stripe client import sideeffect
* fix(gatekeeper): eliminate stripe client import sideeffect 2
* fix(mainConstants): fitler gatekeeper scopes with feature flag
2024-10-25 10:46:09 +02:00
Kristaps Fabians Geikins
4a29e5f650
chore(server): gendo IoC #5 - getVersionRenderRequestFactory
2024-10-24 17:01:09 +03:00
Kristaps Fabians Geikins
6d53308fd8
chore(server): gendo IoC #1 - prep/cleanup before getting started
2024-10-24 15:39:41 +03:00
Chuck Driesler
dc9519f141
fix(workspaces): emit slug with discoverable workspaces ( #3361 )
...
* fix(workspaces): emit slug with discoverable workspaces
* chore(workspaces): gql lint
2024-10-23 09:50:08 +01:00
Iain Sproat
0ec4a87c7c
fix(file import): server port was broken when localhost was canonical url ( #3360 )
...
* fix(file import): server port was broken when localhost was canonical url
- use getServerOrigin() instead of directly calling process.env.CANONICAL_URL
- where server is calling itself, use 127.0.0.1 instead of CANONICAL_URL.
- where server is calling itself (i.e. 127.0.0.1, use the server's listening port and not default for protocol http/80, https/443
- tidy some areas where process.env was called directly; should use envHelper.
* fix tests
2024-10-22 21:12:18 +02:00
Alessandro Magionami
ccbc536aa9
Merge pull request #3335 from specklesystems/fabians/core-ioc-91
...
chore(server): core IoC #91 - createObjectsFactory
2024-10-21 10:42:11 +02:00
Alessandro Magionami
42fa2d0460
Merge pull request #3328 from specklesystems/fabians/core-ioc-88
...
chore(server): core IoC #88 - createObjectFactory
2024-10-21 10:08:32 +02:00
Gergő Jedlicska
8cba7eb6f7
gergo/web 1968 add features list ( #3332 )
...
* feat(gatekeeper): add gatekeeper module feature flag
* feat(gatekeeper): add workspace pricing table domain
* feat(gatekeeper): add checkout session creation
* feat(gatekeeper): verify stripe signature
* wip(gatekeeper): checkout callbacks
* feat(gatekeeper): add unlimited and academia plan types
* refactor(envHelper): getStringFromEnv helper
* chore(gatekeeper): add future todos
* feat(gatekeeper): add productId to the subscription domain
* feat(gatekeeper): add in memory repositories
* feat(gatekeeper): add more errors
* feat(gatekeeper): complete checkout session service
* feat(gatekeeper): add stripe client implementation
* feat(gatekeeper): add checkout session completion webhook callback path
* feat(gendo): fix not needing env vars if gendo module is not enabled
* feat(gatekeeper): require a license for billing
* chore(gatekeeper): cleanup before testing
* feat(gatekeeper): subscriptionData parsing model
* ci: add billing integration and gatekeeper modules to test config
* test(gatekeeper): add checkout service tests
* feat(gatekeeper): make completeCheckout callback idempotent properly
* feat(gatekeeper): move to knex based repositories
* test(gatekeeper): billing repository tests
* feat(gatekeeper): add yearly billing cycle toggle
* feat(ci): add stripe integration context to test job
* feat(billingPage): conditionally render the checkout CTAs
* fix(gatekeeper): remove flaky test condition
* feat(helm): add billing integration feature flag
2024-10-20 15:40:31 +02:00
Kristaps Fabians Geikins
ae1b2b2631
cleanup
2024-10-18 16:14:01 +03:00
Kristaps Fabians Geikins
f33dcb0849
chore(server): core IoC #88 - createObjectFactory
2024-10-18 16:13:15 +03:00
Kristaps Fabians Geikins
5016fad919
feat(server): make Project.version query throw if version not found ( #3336 )
2024-10-18 15:32:58 +03:00
Kristaps Fabians Geikins
f27f289dc6
chore(server): core IoC #78 - getServerInfoFactory
2024-10-17 12:37:43 +03:00
Kristaps Fabians Geikins
da88f5925c
chore(server): core IoC #72 - createPersonalAccessTokenFactory
2024-10-16 17:13:03 +03:00
Kristaps Fabians Geikins
2ba9d86908
chore(server): core IoC #70 - createTokenFactory
2024-10-16 16:46:21 +03:00
Kristaps Fabians Geikins
573970fc6c
chore(server): core IoC #55 - createUserFactory
2024-10-15 12:55:33 +03:00
Kristaps Fabians Geikins
1cb27e6fdd
chore(server): core IoC #51 - getUser(s)Factory
2024-10-14 17:24:11 +03:00
Kristaps Fabians Geikins
30331c6f8e
chore(server): core IoC #48 - markCommitStreamUpdatedFactory
2024-10-14 16:01:53 +03:00
Alessandro Magionami
d489975037
Activitystream IoC 4 addCommitCreatedActivity ( #3239 )
...
* chore(activitystream): addStreamUpdatedActivity refactor multi region
* chore(activitystream): addStreamAccessRequestedActivity refactor multiregion
* chore(activitystream): addStreamAccessRequestDeclinedActivity refactor multiregion
* chore(activitystream): onUserCreated refactor multiregion
* chore(activitystream): addCommitCreatedActivity refactor multiregion
* chore(activitystream): fix types
2024-10-11 15:49:38 +02:00
Chuck Driesler
e7ba48e320
Feat: Remove guests from workspace members table ( #3219 )
2024-10-10 14:25:45 +02:00
Kristaps Fabians Geikins
6cb5022ac4
chore(server): IoC 35 - updateStreamRoleAndNotify
2024-10-09 16:31:20 +03:00
Kristaps Fabians Geikins
aa4f319277
chore(server): IoC 32 - createStreamFactory ( #3204 )
2024-10-09 11:10:20 +03:00
Kristaps Fabians Geikins
5b5dd201e2
chore(server): IoC 29 - getStream(s)Factory
2024-10-09 10:39:00 +03:00
Kristaps Fabians Geikins
7d9bb3c4ea
fix: single workspace admin cant accept own invite ( #3197 )
2024-10-08 12:44:17 +03:00
Kristaps Fabians Geikins
84130ccfa1
chore(server): core IoC 27 - getObjectFactory
2024-10-07 18:55:33 +03:00
Alessandro Magionami
892e1b82f7
Merge pull request #3168 from specklesystems/fabians/core-ioc-17
...
chore(server): core IoC 17 - createCommitByBranchIdFactory
2024-10-07 11:04:59 +02:00
andrewwallacespeckle
ebef771c3a
refactor(fe2): Update queries to use workspaceBySlug ( #3177 )
...
* Use workspaceBySlug
* workspace invite support slug
* fix workspace invite email link
* added tests
* Update workspaceInvite query to use new option
* useSlug directly in query
---------
Co-authored-by: Fabis <fabis94@live.com >
2024-10-02 13:01:38 +01:00
Fabis
857210be10
chore(server): core IoC 17 - createCommitByBranchIdFactory
2024-10-01 14:45:12 +01:00
Kristaps Fabians Geikins
9dbde37438
chore(server): core IoC 12 - remaining branches repo
2024-09-27 13:52:41 +03:00
Kristaps Fabians Geikins
f92b6b37d4
chore(server): core IoC 9 - createBranchAndNotifyFactory
2024-09-26 16:36:41 +03:00
Kristaps Fabians Geikins
168a22a9ac
chore(server): core IoC 3 - getBranch(es)byIdFactory
2024-09-26 14:43:55 +03:00
Kristaps Fabians Geikins
feab6c06a6
tests fix
2024-09-24 12:52:50 +03:00
Alessandro Magionami
fe424a98b6
Merge pull request #3082 from specklesystems/alessandro/web-943-get-stream-activity
...
Alessandro/web 943 get stream activity
2024-09-24 10:48:52 +02:00
Alessandro Magionami
daa742382f
Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-943-get-stream-activity
2024-09-23 15:59:55 +02:00
Gergő Jedlicska
4b944bb259
feat(workspaces): get workspace by slug gql api ( #3080 )
2024-09-23 15:56:00 +02:00
Alessandro Magionami
6920bb1f0c
chore(activitystream): refactor getStreamActivity
2024-09-23 15:40:49 +02:00
Kristaps Fabians Geikins
1ab0db422e
chore(server): automate IoC 5.5 - encryption service cleanup
2024-09-20 13:39:08 +03:00
Kristaps Fabians Geikins
7bc2481c43
chore(server): automatie IoC 4 - createAutomationRevisionFactory
2024-09-20 13:28:54 +03:00
Kristaps Fabians Geikins
14cb64e456
fixx
2024-09-20 13:23:51 +03:00
Kristaps Fabians Geikins
6791b36289
chore(server): automate IoC 2 - createTestAutomationFactory
2024-09-20 13:18:16 +03:00
Kristaps Fabians Geikins
80265890a0
minor adjustment
2024-09-20 13:17:46 +03:00
Kristaps Fabians Geikins
8a64e24eff
chore(server): automate IoC 1 - createAutomationFactory
2024-09-20 12:42:28 +03:00
Gergő Jedlicska
14a01318ec
chore(tests): remove faker deprecation ( #3041 )
2024-09-19 09:34:27 +02:00