Commit Graph

960 Commits

Author SHA1 Message Date
Alessandro Magionami cf97ba3d3e Merge pull request #2920 from specklesystems/fabians/emails-ioc-7
chore(server): emails IoC 7 - initializeVerificationOnRegistrationFactory
2024-09-11 09:49:08 +02:00
Alessandro Magionami 2dc2869e76 Merge pull request #2919 from specklesystems/fabians/emails-ioc-6
chore(server): emails IoC 6 - sendVerificationEmailFactory
2024-09-11 09:48:26 +02:00
Alessandro Magionami 0b837d1366 Merge pull request #2935 from specklesystems/alessandro/web-957-delete-webhook
Alessandro/web 957 delete webhook
2024-09-11 09:30:17 +02:00
Alessandro Magionami 50684c71eb Merge pull request #2918 from specklesystems/fabians/emails-ioc-5
chore(server): emails IoC 5 - requestEmailVerificationFactory
2024-09-10 16:04:14 +02:00
Kristaps Fabians Geikins 7be4a08601 Merge branch 'main' into fabians/emails-ioc-4 2024-09-10 16:43:58 +03:00
Kristaps Fabians Geikins bad663fce2 chore(server): emails IoC 2 - deleteVerificationsFactory (#2914)
* chore(server): emails IoC 2 - deleteVerificationsFactory

* repo fix

* chore(server): emails IoC 3 - deleteOldAndInsertNewVerificationFactory

* repo adjustment

---------

Co-authored-by: Alessandro Magionami <alessandro.magionami@gmail.com>
2024-09-10 16:37:40 +03:00
Alessandro Magionami d3388dd003 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-957-delete-webhook 2024-09-10 15:06:30 +02:00
Alessandro Magionami 261389307b chore(webhooks): refactor delete webhook multiregion 2024-09-10 14:55:52 +02:00
Alessandro Magionami a3f9827e83 Merge pull request #2913 from specklesystems/fabians/emails-ioc-1
chore(server): emails IoC #1 - getPendingTokenFactory
2024-09-10 14:28:38 +02:00
Kristaps Fabians Geikins 5b58d6d40b chore(server): emails IoC 7 - initializeVerificationOnRegistrationFactory 2024-09-10 14:35:26 +03:00
Kristaps Fabians Geikins 9f6d2d9d3a chore(server): emails IoC 6 - sendVerificationEmailFactory 2024-09-10 14:26:06 +03:00
Kristaps Fabians Geikins b4674e2cef chore(server): emails IoC 5 - requestEmailVerificationFactory 2024-09-10 14:11:33 +03:00
Kristaps Fabians Geikins f10c30aa3c chore(server): emails IoC 4 - requestNewEmailVerificationFactory 2024-09-10 14:00:13 +03:00
Kristaps Fabians Geikins 26ddbb7f07 repo adjustment 2024-09-10 13:58:46 +03:00
Kristaps Fabians Geikins eafe0fa565 chore(server): emails IoC 3 - deleteOldAndInsertNewVerificationFactory 2024-09-10 13:57:37 +03:00
Kristaps Fabians Geikins a270abbdd5 repo fix 2024-09-10 13:54:41 +03:00
Kristaps Fabians Geikins 8bb4c64669 chore(server): emails IoC 2 - deleteVerificationsFactory 2024-09-10 13:53:24 +03:00
Kristaps Fabians Geikins 4d2baa5baa addressing cr comments 2024-09-10 13:46:57 +03:00
Alessandro Magionami e8cb13ad20 Merge pull request #2912 from specklesystems/fabians/apiexplorer-ts
chore(server): migrate apiexplorer module to ts
2024-09-10 09:55:03 +02:00
Kristaps Fabians Geikins c11e565014 chore(server): emails IoC #1 - getPendingTokenFactory 2024-09-10 09:58:47 +03:00
Kristaps Fabians Geikins 0884f6b2f2 chore(server): migrate apiexplorer module to ts 2024-09-10 09:45:48 +03:00
Kristaps Fabians Geikins a30073c725 chore: refactor stats module to ts 2024-09-10 09:38:16 +03:00
Kristaps Fabians Geikins aab9bdcd66 chore(server): cross-server-sync IoC Part 3 (#2909) 2024-09-09 18:36:54 +03:00
Kristaps Fabians Geikins f53bdd6505 chore(server): cross-server-sync IoC Part 2 (#2907) 2024-09-09 18:12:29 +03:00
Kristaps Fabians Geikins 2243df5ef5 chore(server): cross-server-sync IoC Part 1 (#2906) 2024-09-09 17:46:46 +03:00
Iain Sproat 3c9d9f8e3c chore(server): log graphql websocket connection, disconnection, and subscription events (#2690) 2024-09-06 12:17:46 +01:00
Alessandro Magionami 3fa2bcd4f3 Alessandro/web 1836 billing tab show x10 free guest (#2896)
* feat(workspaces): add label field to cost items

* feat(workspaces): use label field to display cost items
2024-09-06 10:42:31 +02:00
Chuck Driesler 756ac4af29 fix(workspaces): fix leaky search (#2894)
* fix(workspaces): no you may not do that

* fix(workspaces): assert user ids in test
2024-09-05 17:19:18 +01:00
Kristaps Fabians Geikins c92938eff3 chore(server): apollo server v3 -> v4 (#2880)
* main changes seem to be done?

* lint fix

* minor cleanup

* dataloader clear
2024-09-05 12:27:13 +03:00
Mike 8f60384ec0 Fix: Disable blocked domains in the FE (#2876) 2024-09-05 07:53:17 +02:00
Kristaps Fabians Geikins 80ea7a353c fix: disallow workspace guests to be invited as project owners (#2873)
* backend fixed

* frontend preventions
2024-09-04 15:44:43 +02:00
Gergő Jedlicska c3b05abd6f fix(workspaces): assign role on workspace join (#2864) 2024-09-03 18:54:06 +02:00
Chuck Driesler beabb5552b Chuck/guests bug (#2863)
* fix(workspace): why can't guests seeeeee

* fix(workspaces): fix reference in test

* fix(workspaces): idk
2024-09-03 17:44:20 +02:00
Gergő Jedlicska 6a11016dc2 feat(workspaces): do not discount (#2861)
* feat(workspaces): do not discount

* fix(workspaces): typo

* fix(workspaces): tests

* fix(workspaces): minor polish
2024-09-03 17:19:38 +02:00
Chuck Driesler 9ec90cd64f fix(workspaces): guarantee that workspace admins are project owners (#2835)
* fix(workspaces): separate resolver for workspace project role update

* fix(workspaces): frontend protection

* fix(workspaces): new composable, clearer errors

* fix(workspaces): correct logic

* fix(workspaces): gen
2024-09-03 17:18:30 +02:00
Alessandro Magionami 48caacec02 chore(workspaces): fix build (#2853)
* chore(workspaces): fix build

* chore(workspaces): fix delete workspace domains injection

* test(workspaces): fix tests

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-09-02 18:31:41 +02:00
Alessandro Magionami 76ba0792df feat(workspaces): disable domain protection and discoverability on la… (#2850)
* feat(workspaces): disable domain protection and discoverability on last workspace domain delete

* chore(workspaces): minor cleanup
2024-09-02 16:53:30 +02:00
Gergő Jedlicska fd814286ac gergo/web 1779 prevent enabling domain protection if workspace has no (#2848)
* feat(workspaces): do not allow discoverablity if no verified domains

* feat(workspaces): do not allow domainBasedMembershipProtection if no verified domains

* test(workspaces): fix tests

* test(workspaces): fix invites test
2024-09-02 16:40:43 +02:00
Chuck Driesler 39c34b1b78 fix(workspaces): safer billing query for guests (#2844)
* fix(workspaces): safer billing query for guests

* chore(workspaces): comment

* chore(workspaces): lint

* chore(workspaces): ope
2024-09-02 15:23:27 +01:00
Gergő Jedlicska 0b0853bb3c feat(workspaces): do not allow discoverablity if no verified domains (#2847)
* feat(workspaces): do not allow discoverablity if no verified domains

* test(workspaces): fix tests
2024-09-02 15:47:57 +02:00
Gergő Jedlicska a12fda7f96 fix(workspaceInvites): fix error message (#2840) 2024-09-02 12:36:34 +02:00
Kristaps Fabians Geikins 7c6ea464e8 fix: support accepting invites even if a workspace member already (#2826)
* blocking workspace project invites from incorrect resolver

* invite create validation fixes + tests

* fix for email added on decline

* doing init validation on finalization as well

* more tests

* fix(server): allow accepting an email invite even if already a member

* fix(fe2): support accepting invites even if a workspace member already
2024-09-02 09:45:24 +02:00
Kristaps Fabians Geikins 23d5a7b559 fix(server): auto-verify on invited server registration (#2824) 2024-09-02 09:40:53 +02:00
Alessandro Magionami 817da431e0 Merge pull request #2825 from specklesystems/alessandro/web-1765-pricing-changes
chore(workspaces): update workspaces pricing strategy
2024-08-30 17:35:11 +02:00
Mike 2c14fbc8e7 Fix permissions for project members (#2792) 2024-08-30 14:26:02 +01:00
Alessandro Magionami 6b8e25ec19 chore(workspaces): update workspaces pricing strategy 2024-08-30 12:46:04 +02:00
Kristaps Fabians Geikins 80aa0aa20b fix(server): fixed validation in regards to workspaces, when they're secondary resource targets (#2814)
* blocking workspace project invites from incorrect resolver

* invite create validation fixes + tests

* fix for email added on decline

* doing init validation on finalization as well

* more tests
2024-08-30 11:44:26 +02:00
Chuck Driesler 8ec0d364cb Chuck/web 1614 unify workspaceproject role creation (#2795)
* fix(workspaces): transact all simultaneous workspace-project role changes

* fix(workspaces): more correct usage of transactions

* fix(workspaces): add tests for transaction-based role changes

* fix(workspaces): do not leak knex into domain

* fix(workspaces): transaction-ify factory functions

* fix(workspaces): factory-ify some old functions

* fix(workspaces): missed a resolver

* chore(workspaces): get tests in order

* park it

* chore(workspaces): failing tests

* WHAT DO YOU WANT

* fix(workspaces): i lived bitch

* fix(workspaces): remove test that is no longer true

* fix(workspaces): better repo/service boundaries

* right

* fix(workspaces): service in injected

* fix(workspaces): repair references

* refactor(workspaces): role management rework

* chore(workspaces): adjust tests to match new behaviour

* lint lint lint

* fix(workspaces): fix tests

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-08-30 09:56:56 +02:00
Gergő Jedlicska 0d6bb3a967 fix(workspaces): dont leak guests (#2819) 2024-08-29 21:56:05 +02:00
Chuck Driesler bbd5146e5a fix(workspaces): add pagination to workspace team members (#2644)
* fix(workspaces): a suggestion of paginated teams

* fix(workspaces): workspace team pagination (?)

* fix(workspaces): pagination based on acl createdAt

* fix(workspaces): fix some roles-related tests

* fix(workspaces): improve query and tests

* fix(workspaces): collaborators query without incorrect groupBy

* fix(workspaces): add default values to migration

* Fixed queries and fragments

* Merged main

* Remove comment

* chore(workspaces): update WorkspaceCollaboratorCollection mocks

* chore(workspaces): fix role test

* chore(workspaces); ope

* fix(workspaces): move workspace acl timestamps to separate table

* Merge?

* fix(workspaces) drop that table

* fix(workspaces): cursor

* fix(workspaceInvites): undo merge borkage

* fix(workspaces): rework workspace member pagination

* fix(workspaces): fix test

* fix(workspaces): test test

* fix(workspaces): literally garbage

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-08-29 21:17:37 +02:00