Chuck Driesler
553ea7d3e7
chore(automate): mixpanel metrics by function id and type ( #3960 )
...
* chore(automate): mixpanel metrics for function id and type
* chore(automate): catch test env
2025-02-11 17:06:14 +01:00
Gergő Jedlicska
d8974bf84b
fix(test): update new test file to no closures ( #3951 )
2025-02-07 14:23:40 +01:00
Gergő Jedlicska
c4a6da410b
feat(core): drop the closure table pls ( #3900 )
...
* feat(core): drop the closure table pls
* feat(core): remove closures feature flag
* feat(core): remove more closure stuff
* feat(core): only drop closure table if it exists
2025-02-07 14:06:53 +01:00
Iain Sproat
2454af7237
chore(logging): log messages related to a request should include request ID - PART 2 ( #3946 )
...
* chore(logging): mixpanel should use logger with request context
* log with request when onUserCreated event is triggered
2025-02-06 17:51:10 +00:00
Iain Sproat
ebc0f84c96
fix(server): previewUrl assumed project would always be found ( #3947 )
...
- adds guard against null project
2025-02-06 17:50:04 +00:00
Iain Sproat
0ce23be6f3
chore(logging): log messages related to a request should include request ID ( #3945 )
...
- this requires passing the request logger through to the method invoking the logger
2025-02-06 16:04:51 +00:00
Iain Sproat
947f8fd4fa
fix(server/database streams): remove event listener on batch completion ( #3938 )
2025-02-05 15:16:22 +00:00
Iain Sproat
a4521d46a1
fix(logging): user-input issues should not be logged as error level ( #3935 )
...
* fix(logging): reduce user-input issues being logged as error
* error logging middleware should better handle caught errors
2025-02-05 15:08:10 +00:00
Iain Sproat
9bbd6bea01
fix(logging): correct log levels for error types from auth flow ( #3934 )
2025-02-04 17:17:11 +00:00
Iain Sproat
752041dba6
fix(server & preview-service): apply fix #3921 to all db streams ( #3929 )
2025-02-04 11:40:00 +00:00
Iain Sproat
55315feb59
fix(server/diffdownload): fix the bug where client connection close events were not propogated to the database stream connection ( #3921 )
...
* WIP: trying to catch a bug
* great success
* reinstate gzip
* Remove feature flag
* remove stream-chain dependency
* remove superfluous logging lines
* re-align with original where possible
* re-align package.json
* More re-alignment with main branch before the previous 'fix'
* A smaller failing example
2025-02-04 11:09:53 +01:00
Chuck Driesler
272c136a17
WEB-2466 fix(automate): include workspace in function breadcrumb ( #3926 )
...
* fix(automate): repair workspace function breadcrumb
* fix(automate): use route helper correctly
2025-02-04 09:58:45 +00:00
Iain Sproat
c59e6043bb
fix(server/errors): derive errors from BaseError ( #3918 )
2025-01-30 18:15:56 +01:00
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