Commit Graph

1801 Commits

Author SHA1 Message Date
Chuck Driesler 4cbeeef0d0 Automate API Circuit breaker (#3914)
* fix(automate): invokeSafeJsonRequest

* fix(automate): correct fallback values
2025-01-30 15:26:12 +00:00
Iain Sproat 32c310f849 fix(server/objects): solves database connection resource leak when client connections are prematurely closed (#3889) 2025-01-28 15:56:21 +01:00
Chuck Driesler 35b59ca4f2 chore(workspaces): drop defaultLogoIndex (#3898) 2025-01-28 08:56:13 +01:00
Alessandro Magionami 57751db6d7 fix(workspaces): make adminWorkspaceJoinRequests field nullable for non admin users (#3899) 2025-01-27 17:46:04 +01:00
Gergő Jedlicska 188c333921 fix(workspaces): non region enabled workspace project creation (#3847)
* fix(workspaces): non region enabled workspace project creation

* fix(projects): remove duplicate getProject repo function

This was the cause of the default project region switch bug, we had two
almost identical implementations...
2025-01-27 17:45:55 +01:00
Mike 3b901de000 Fix: Change Mange Members link to link to settings (#3891) 2025-01-27 09:44:12 +01:00
Alessandro Magionami 276c3a761c fix(emails): add ff for new email verification flow (#3893)
* fix(emails): add ff for new email verification flow

* test(emails): disable test with ff off
2025-01-24 19:39:55 +01:00
Gergő Jedlicska a282220a72 chore(server): fix nullable type for model author (#3883)
* chore(server): fix nullable type for model author

* updated fe2 gql types

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2025-01-24 16:40:25 +01:00
Alessandro Magionami eb57ffdc62 chore(emails): remove only from test 2025-01-24 15:00:28 +01:00
Alessandro Magionami 918ab8c255 chore(emails): fix tests no ff 2025-01-24 14:50:00 +01:00
Alessandro Magionami 384cd116a4 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2488-create-email-verification-mutation 2025-01-24 14:34:47 +01:00
Chuck Driesler 80a0573894 fix(workspaces): return role as string (#3886) 2025-01-24 14:25:40 +01:00
Mike e798fc4e8a Feat: Request to join workspace (#3871) 2025-01-24 14:05:53 +01:00
Alessandro Magionami 7343ed6ba1 fix(emails): remove unique constraint from email_verifications (#3872)
* fix(emails): remove unique constraint from email_verifications

* chore(emails): remove unique constraint from email verifications

* chore(emails): use custom transaction in migration

* chore(emails): use raw swl to write migration
2025-01-24 12:40:08 +01:00
Chuck Driesler 928cc306ed chore(automate): function input mocks (#3870)
* chore(automate): function input mocks

* chore(automate): use mocks helpers

* chore(automate): appease ts

* fix(automate): use mock cache utils
2025-01-24 10:36:00 +00:00
Kristaps Fabians Geikins b074a4a13a feat(server): greatly optimizing Branch.commits & Query.streams, when limit=0 (#3863)
* fix(server): optimize Branch.commits resolver

* feat(server): optimizing Query.streams a bit too

* fix(server): gql error req duplicate entries logged
2025-01-23 18:54:15 +01:00
Iain Sproat 71b82f2cb2 fix(server/rate limiting): Rate limit by IP or token ID (#3879) 2025-01-23 16:08:23 +00:00
Alessandro Magionami 7fbd32dd43 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2488-create-email-verification-mutation 2025-01-23 10:51:30 +01:00
Alessandro Magionami 5be535503d chore(emails): test email verification flow 2025-01-23 10:38:17 +01:00
Alessandro Magionami eb66a3981f Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2487-add-code-column-to-email_verifications-table 2025-01-22 16:33:17 +01:00
Alessandro Magionami 17c8ada369 chore(workspaces): use logic function to check workspace is joinable 2025-01-22 12:08:36 +01:00
Alessandro Magionami f654eb99f9 chore(emails): add constraint unique email for email_verifications table 2025-01-22 11:18:25 +01:00
Alessandro Magionami 37cf9f0281 chore(workspaces): fix request to join test 2025-01-22 11:10:23 +01:00
Alessandro Magionami 9973894b7d chore(workspaces): fix resolver 2025-01-22 10:33:39 +01:00
Alessandro Magionami abf0ccf835 chore(workspaces): check user email verified and add user to workspace 2025-01-22 09:57:38 +01:00
Alessandro Magionami adaad0d027 chore(workspaces): add user to workspace on approved request 2025-01-21 17:18:26 +01:00
Alessandro Magionami 3a197792b3 chore(workspaces): create id resolver for workspace join request 2025-01-21 17:03:23 +01:00
Alessandro Magionami cea2da2987 chore(emails): new email verification flow 2025-01-21 16:08:18 +01:00
Kristaps Fabians Geikins 347fa4b462 feat(server): improving knex query stack traces (#3855)
* feat(server): improving knex query stack traces

* minor cleanup

* more improvements
2025-01-21 10:59:09 +01:00
Kristaps Fabians Geikins a2bc9ffbcb chore(server): refactor activityStream invocations - batch #1 - user (#3845)
* chore(server): refactor activityStream invocations - batch #1 - user

* minor cleanup

* test fix + swap to TS

* move listeners to new loc
2025-01-21 09:48:02 +01:00
Alessandro Magionami 72a5eb2a1e chore(emails): add code column to email_verifications table 2025-01-20 16:03:28 +01:00
Chuck Driesler 5fa5e22ff9 chore(automate): mocks for new function queries (#3848) 2025-01-20 15:16:36 +01:00
Alessandro Magionami 7d23f5a04c Merge pull request #3836 from specklesystems/alessandro/web-2364-deny-workspace-join-request
Deny workspace join request
2025-01-20 11:02:33 +01:00
Kristaps Fabians Geikins 2e8863eb64 fix(server): dataloader batching being broken (#3838)
* fix(server): dataloader batching being broken

* feat(server): optimized stream collaborator retrieval

* test fix
2025-01-17 12:41:58 +02:00
Gergő Jedlicska 7b295ba408 gergo/web 2428 academia should be free business (#3842)
* feat(server): workspace shoul equal unpaid business

* feat(server): add free workspace plans

* feat(gatekeeper): rename plans to invoiced

* chore(gatekeeper): regen gql

* feat(gatekeeper): calculate workspace plan payment method

* fix(fe2): add missing workspace plans
2025-01-16 18:14:33 +01:00
Alessandro Magionami 9f74693259 chore(workspaces): remove double dot in email text 2025-01-16 16:59:53 +01:00
Alessandro Magionami 8cd060f869 chore(workspaces): use commandFactory in deny workspace join request 2025-01-16 16:55:22 +01:00
Alessandro Magionami 6d0f08b7b5 feat(workspaces): approve join request (#3833)
* feat(workspaces): approve join request

* chore(workspaces): add missing dep to resolver call

* chore(workspaces): use commandFactory
2025-01-16 16:46:59 +01:00
Gergő Jedlicska 35bc6918cb gergo/web 2428 academia should be free business (#3831)
* feat(server): workspace shoul equal unpaid business

* feat(server): add free workspace plans

* feat(gatekeeper): rename plans to invoiced
2025-01-16 10:21:59 +01:00
Alessandro Magionami eb9de1c9c1 Merge pull request #3811 from specklesystems/alessandro/web-2362-list-workspace-pending-requests
feat(workspaces): list workspace join requests for admin
2025-01-15 16:10:21 +01:00
Alessandro Magionami 507c83ef80 chore(workspaces): fix test types 2025-01-15 15:42:21 +01:00
Gergő Jedlicska 678e31d046 feat(server): ping endpoint (#3816) 2025-01-15 13:00:20 +01:00
Kristaps Fabians Geikins cf7f2593cb feat(server): add db metrics to GQL finished log entries (#3826)
* feat(server): add db metrics to GQL finished log entries

* logging for query errored as well
2025-01-15 13:40:00 +02:00
Alessandro Magionami c0c760f202 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2362-list-workspace-pending-requests 2025-01-15 12:11:03 +01:00
Gergő Jedlicska 04c577529b fix(multiRegion): do not look for a multi region config, if there should be none (#3825) 2025-01-15 11:26:36 +01:00
Kristaps Fabians Geikins dfed4ae5c1 feat(server): get request ctx from anywhere + log it w/ db operations (#3823) 2025-01-15 12:08:51 +02:00
Kristaps Fabians Geikins 8df7eb714b chore(server): getting rid of module-scoped eventBuses - batch #5 - automations & runs [final] (#3818)
* chore(server): getting rid of module-scoped eventBuses - batch #4 - comments

* chore(server): getting rid of module-scoped eventBuses - batch #5 - automations

* chore(server): getting rid of module-scoped eventBuses - batch #5 - automation runs
2025-01-15 11:00:33 +02:00
Alessandro Magionami 7bf3c5df74 chore(workspaces): fix graphql enum 2025-01-14 17:58:51 +01:00
Kristaps Fabians Geikins 3351e09418 feat(server): logging stack traces for db errors + allow async stack traces through env var (#3819) 2025-01-14 17:25:30 +01:00
Kristaps Fabians Geikins b41a98d107 chore(server): getting rid of module-scoped eventBuses - batch #4 - comments (#3812) 2025-01-14 17:24:26 +01:00