Commit Graph

916 Commits

Author SHA1 Message Date
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 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 3a197792b3 chore(workspaces): create id resolver for workspace join request 2025-01-21 17:03:23 +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
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 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
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 7bf3c5df74 chore(workspaces): fix graphql enum 2025-01-14 17:58:51 +01:00
Alessandro Magionami ffec9c4929 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2362-list-workspace-pending-requests 2025-01-14 16:32:12 +01:00
Gergő Jedlicska 9636a56b00 feat(server): server info lookup cache (#3808) 2025-01-14 13:02:09 +01:00
Alessandro Magionami 37ede3b1b2 Alessandro/web 2360 request to join workspace (#3799)
* feat(workspaces): request to join workspace mutation

* feat(workspaces): random email in test

* feat(workspaces): update email

* feat(workspaces): code review changes

* chore(workspaces): fix tests
2025-01-14 12:49:21 +01:00
Alessandro Magionami 85ce151264 feat(workspaces): make query for single workspace 2025-01-14 12:02:57 +01:00
Alessandro Magionami bb73ecbe3c feat(workspaces): list workspace join requests for admin 2025-01-14 12:02:57 +01:00
Alessandro Magionami b236f8f58e chore(workspaces): fix tests 2025-01-14 12:02:09 +01:00
Alessandro Magionami 7105a67124 feat(workspaces): request to join workspace mutation 2025-01-14 10:34:32 +01:00
Alessandro Magionami f4fc12f546 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2359-dismiss-joinable-workspace 2025-01-14 10:34:00 +01:00
Gergő Jedlicska 00b905486c fix(server): inject the right event emitter to project creation (#3810) 2025-01-14 10:33:39 +01:00
Alessandro Magionami c9fe57fa74 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2359-dismiss-joinable-workspace 2025-01-13 19:09:48 +01:00
Gergő Jedlicska db8de114d3 feat(server): new projects are placed in a configurable region (#3801)
* feat(server): log subscription started messages with info

* feat(server): create projects in a default region

* feat(server): allow project default region config

* feat(server): load project region from multi region config
2025-01-13 18:38:44 +01:00
Kristaps Fabians Geikins dab0a23c33 chore(server): event bus refactor - version emitter - batch #2 2025-01-13 11:03:34 +02:00
Kristaps Fabians Geikins a02fb699f4 Merge branch 'main' into fabians/web-2414 2025-01-13 11:02:08 +02:00
Chuck Driesler a784a72365 feat(workspaces): add workspaceRole to LimitedUser type (#3721)
* feat(workspaces): add workspaceRole to LimitedUser type

* fix(users): require workspace access for query
2025-01-09 15:11:18 +01:00
Alessandro Magionami c32026b6d6 feat(workspaces): dismiss workspace mutation 2025-01-09 11:21:46 +01:00
Alessandro Magionami 7ddf740b33 Merge pull request #3707 from specklesystems/alessandro/web-2348-list-all-projects-in-move-projects-modal
feat(core): user projects filterable by workspace
2025-01-09 09:37:28 +01:00
Iain Sproat 8cadddf923 fix(metrics): speckle_server_apollo_calls built with correct register (#3780) 2025-01-08 19:54:58 +01:00
Chuck Driesler c791362eaf feat(users): bulk lookup users by email (#3720)
* feat(users): bulk lookup users by email

* chore(users): add tests for lookups

* chore(users): fe gqlgen

* fix(users): match return value with input
2025-01-07 23:28:55 +00:00
Alessandro Magionami 01cb1b5eaf feat(workspaces): test clarifications 2025-01-07 17:56:08 +01:00
Alessandro Magionami e0f39da36b Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2348-list-all-projects-in-move-projects-modal 2025-01-07 17:36:05 +01:00
Kristaps Fabians Geikins 38766f0562 test migrate 2025-01-07 12:15:22 +02:00
Kristaps Fabians Geikins f403d51330 replaced user event bus 2025-01-07 11:24:07 +02:00
Kristaps Fabians Geikins 7ce306569f got rid of projects emitter + added tests 2025-01-06 17:42:24 +02:00
Kristaps Fabians Geikins 13e75a98f0 got rid of models emitter + added tests 2025-01-06 15:55:50 +02:00
Kristaps Fabians Geikins ab9e8bbb00 feat(server): ProjectVersionsUpdatedMessage.modelId always filled (#3754) 2025-01-06 10:37:54 +02:00
Iain Sproat 457c532b2b feat(server): allow ratelimiting to be explicitly disabled (#3757)
* feat(server): allow ratelimiting to be explicitly disabled
- allows rate limiter to be enabled or disabled explicitly
- example .env file for testing now explicitly disables it
- disables rate limiter in CI tests, except where explicitly testing the rate limiter
2025-01-03 08:24:28 +00:00
Iain Sproat f8072faf01 fix(server/blobstorage): handles errors with missing content-type header (#3758) 2025-01-03 08:03:39 +00:00
Iain Sproat ce9f154e80 fix(server): diff upload and download can handle JSON parsing errors (#3759) 2025-01-03 07:59:33 +00:00
Iain Sproat 35eb2090bc fix(POST /api/file): REST API endpoint returns json content-type (#3463) 2025-01-02 10:15:39 +00:00
Alessandro Magionami b98a081157 feat(gatekeeper): disable tests when workspace module is disabled 2024-12-30 18:03:38 +01:00
Alessandro Magionami efdc53a5f6 feat(gatekeeper): fix tests 2024-12-30 12:42:16 +01:00
Alessandro Magionami 49e56e3ea5 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2348-list-all-projects-in-move-projects-modal 2024-12-23 10:44:51 +01:00
Alessandro Magionami 98c6161eb3 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-2348-list-all-projects-in-move-projects-modal 2024-12-20 19:37:37 +01:00