Commit Graph

575 Commits

Author SHA1 Message Date
Alessandro Magionami 9714ab5764 Merge pull request #3117 from specklesystems/fabians/shared-ioc-3
chore(server): shared IoC 3 - repo cleanup
2024-09-25 15:19:03 +02:00
Alessandro Magionami 8903b9c515 Merge pull request #3115 from specklesystems/fabians/shared-ioc-1
chore(server): shared IoC 1 - index.js
2024-09-25 15:10:09 +02:00
Kristaps Fabians Geikins c757d9d03a chore(server): shared IoC 3 - repo cleanup 2024-09-25 16:06:28 +03:00
Kristaps Fabians Geikins 7a5bf6cc79 bugfix 2024-09-25 15:55:49 +03:00
Iain Sproat 076622bb60 fix(logging): graphql errors are logged at the appropriate level (#3114) 2024-09-25 13:07:07 +01:00
Kristaps Fabians Geikins af92ad0e78 chore(server): shared IoC 1 - index.js 2024-09-25 14:58:25 +03:00
Iain Sproat f93d9093a0 fix(errors): all error should define an appropriate status code (#3112)
* fix(errors): all error should define a status code (default is 500)
- rename NoInviteFoundError to InviteNotFoundError to match xNotFoundError pattern

* remove unused errors
2024-09-25 13:08:13 +02:00
Iain Sproat 0c9aba691e fix(server): properly log thrown errors (#3072) 2024-09-25 11:10:43 +02:00
Kristaps Fabians Geikins f4bfaa20e5 chore(server): comments IoC 17 - remainind dataloaders 2024-09-24 15:23:25 +03:00
Kristaps Fabians Geikins 5ab3428456 chore(server): comments IoC 9 - createCommentThreadAndNotifyFactory 2024-09-24 12:57:08 +03:00
Kristaps Fabians Geikins 9fb1ec82fc chore(server): comments IoC 7 - convertLegacyDataToStateFactory 2024-09-24 12:54:22 +03:00
Kristaps Fabians Geikins 9d0256268f chore(server): comments IoC 6 - index service remaining 2024-09-24 12:53:22 +03:00
Alessandro Magionami 2a06c7cdac fix(workspaces): do not update project every time a new user is added to workspace (#3087) 2024-09-24 11:16:51 +02:00
Alessandro Magionami d12a05dd0c Merge pull request #3074 from specklesystems/fabians/comments-ioc-1
chore(server): comments IoC 1 - createComment
2024-09-24 11:14:48 +02:00
Alessandro Magionami a20143bca4 Merge pull request #3071 from specklesystems/fabians/automate-ioc-17
chore(server): automate IoC 17 - getAutomationRunsTriggersFactory
2024-09-24 11:09:58 +02: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 0412deeda3 chore(server): comments IoC 1 - createComment 2024-09-23 15:03:45 +03:00
Kristaps Fabians Geikins 020674b5b4 chore(server): automate IoC 17 - getAutomationRunsTriggersFactory 2024-09-23 14:00:09 +03:00
Alessandro Magionami 6d4d0c4631 Merge pull request #3068 from specklesystems/fabians/automate-ioc-14
chore(server): automate IoC 14 - dataloaders
2024-09-23 11:28:39 +02:00
Alessandro Magionami ec9e1f76ca Merge pull request #3066 from specklesystems/fabians/automate-ioc-12
chore(server): automate IoC 12 - createTestAutomationRunFactory
2024-09-23 11:27:43 +02:00
Alessandro Magionami d780b62c91 Merge pull request #3063 from specklesystems/fabians/automate-ioc-10
chore(server): automate IoC 10 - onModelVersionCreateFactory
2024-09-23 11:26:55 +02:00
Alessandro Magionami 3a8c2dfdc6 Merge pull request #3054 from specklesystems/fabians/automate-ioc-3
chore(server): automate IoC 3 - validateAndUpdateAutomationFactory
2024-09-23 11:18:01 +02:00
Kristaps Fabians Geikins 7f222cdc0f chore(server): automate IoC 14 - dataloaders 2024-09-20 16:00:05 +03:00
Kristaps Fabians Geikins b47338b50c chore(server): automate IoC 12 - createTestAutomationRunFactory 2024-09-20 15:41:09 +03:00
Kristaps Fabians Geikins 9fe2033051 chore(server): automate IoC 10 - onModelVersionCreateFactory 2024-09-20 15:19:15 +03:00
Kristaps Fabians Geikins 7c365bf56e chore(server): automate IoC 3 - validateAndUpdateAutomationFactory 2024-09-20 13:21:37 +03:00
Kristaps Fabians Geikins 3b47774a9a chore(server): auth typescript cleanup (#3045)
* chore(server): auth IoC 19 - setupStrategiesFactory

* chore(server): auth typescript cleanup
2024-09-20 12:23:12 +03:00
Kristaps Fabians Geikins df7f0be830 chore(server): auth IoC 13 - index repo (#3035)
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory

* minor fix

* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory

* chore(server): auth IoC 5 - createAppFactory

* chore(server): auth IoC 6 - updateAppFactory

* chore(server): auth IoC 7 - deleteAppFactory

* chore(server): auth IoC 8 - revokeExistingAppCredentialsForUserFactory

* chore(server): auth IoC 9 - revokeRefreshTokenFactory

* chore(server): auth IoC 10 - createAuthorizationCodeFactory

* chore(server): auth IoC 11 - createAppTokenFromAccessCodeFactory

* chore(server): auth IoC 12 - refreshAppTokenFactory

* chore(server): auth IoC 13 - index repo

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-09-19 10:57:49 +02:00
Kristaps Fabians Geikins d56fca924b chore(server): auth IoC 5 - createAppFactory (#3025)
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory

* minor fix

* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory

* chore(server): auth IoC 5 - createAppFactory

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-09-19 09:26:27 +02:00
Gergő Jedlicska 00c01db923 feat(workspaces): add workspace slug support (#2982)
* feat(workspaces): add workspace slug support

* chore(workspaces): lint

* feat(workspaces): add slug validation and generation

* fix(workspaces): test lint miss
2024-09-18 13:29:36 +02:00
Chuck Driesler 56d392424d feat(workspaces): move project to workspace (#2992)
* feat(workspaces): move project, like this

* fix(workspaces): use new event

* fix(workspaces): add resolver again after merge

* chore(workspaces): lint

* fix(workspaces): works but is a bit illegal

* fix(workspaces): use service update

* chore(workspaces): add unit tests

* fix(workspaces): use transaction

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-09-18 10:38:27 +02:00
Alessandro Magionami ce55e5474b Merge pull request #3017 from specklesystems/fabians/auth-ioc-2
chore(server): auth IoC 2 - getAllPublicAppsFactory
2024-09-18 09:14:15 +02:00
Chuck Driesler ac6dd70d27 feat(workspaces): default workspace project role (#3013)
* feat(workspaces): enable default project role in workspace

* fix(workspaces): not satisfying

* chore(workspaces): phrasing

* fix(workspaces): use new field in role mapping

* chore(workspaces): use roles

* fix(workspaces): update tests

* fix(workspaces): more parallel role update errors

* chore(workspaces): like this now

* chore(workspaces): revert changes to deps

* fix(workspaces): assert domain type conversion at gql layer

* fix(workspaces): repair tests

* fix(workspaces): fix more tests
2024-09-17 22:17:10 +02:00
Kristaps Fabians Geikins 1922c0563b chore(server): auth IoC 2 - getAllPublicAppsFactory 2024-09-17 14:23:57 +03:00
Alessandro Magionami 9669a94552 chore(workspaces): optimize project roles resolvers 2024-09-16 17:27:43 +02:00
Alessandro Magionami 0d9ff2514a Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1767-guest-table-should-show-what-they-have-access-to 2024-09-16 16:14:54 +02:00
Iain Sproat cd14619790 fix(logging): use getRequestPath to more robustly identify debug logs (#3005) 2024-09-16 14:01:34 +01:00
Kristaps Fabians Geikins f5ebb7de08 fix(server): workspace status check query (#2991) 2024-09-13 14:51:48 +03:00
Kristaps Fabians Geikins 2569f190cb Revert "fix(server): workspace status check query"
This reverts commit 5413269273.
2024-09-13 14:02:56 +03:00
Kristaps Fabians Geikins 5413269273 fix(server): workspace status check query 2024-09-13 14:02:04 +03:00
Alessandro Magionami 06ddf17b6f feat(workspaces): reuse existing dataloader 2024-09-13 12:32:17 +02:00
Alessandro Magionami c84924b474 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1767-guest-table-should-show-what-they-have-access-to 2024-09-13 10:26:25 +02:00
Alessandro Magionami 090e8b8b3b feat(workspaces): add resolver to workspace for projectRoles 2024-09-13 10:25:46 +02:00
Kristaps Fabians Geikins ee41c83df7 feat(server): allow unlimited project thread retrieval (#2976)
* feat(server): allow unlimited project thread retrieval

* Remove limit from frontend

---------

Co-authored-by: andrewwallacespeckle <andrew@speckle.systems>
2024-09-12 16:15:14 +01:00
Alessandro Magionami 6bda45ac61 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-957-get-webhooks 2024-09-11 15:59:07 +02:00
Alessandro Magionami dc899cf862 Merge pull request #2952 from specklesystems/fabians/fileuploads-ioc-4
chore(server): fileuploads IoC 4 - getPendingUploadsBaseQueryFactory
2024-09-11 15:53:26 +02:00
Alessandro Magionami 378b4e3edc chore(webhooks): fix codegen types 2024-09-11 15:49:18 +02:00