Commit Graph

341 Commits

Author SHA1 Message Date
Chuck Driesler 7be2e39913 chore(tests): dramatically reduce scope/time of multi-region tests (#4282)
* chore(tests): limit multiregion ci to multiregion tests

* fix(multiregion): unsure if this works

* fix(multiregion): ope we got deleted
2025-03-28 00:28:38 +00:00
Kristaps Fabians Geikins f76a2c34d3 chore: add no floating promises lint rule (#4249)
* chore: add no floating promises lint rule

* minor cleanup

* fix test by only running if node 22 or greater

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2025-03-25 13:36:49 +02:00
Chuck Driesler c6e0714bc4 chore(authz): hoist authorizeresolver (#4253)
* chore(authz): hoist deleteStreamAndNotify

* chore(authz): hoist updateStreamAndNotify

* chore(authz): comment
2025-03-24 16:51:19 +00:00
Kristaps Fabians Geikins ebade45d43 feat: remove project discoverability concept from UI (#4125)
* feat: remove project discoverability concept from UI

* test fix
2025-03-07 13:09:03 +02:00
Iain Sproat 76623529a5 tests(server/tests): convert modules/core/tests/graph.spec to typescript (#4096) 2025-03-03 09:18:33 +00:00
Iain Sproat ce08e5e02d refactor(server): logging directory renamed to observability (#4077) 2025-02-28 08:43:54 +00:00
Mike 2ecb98146a Feat: prevent non work emails (#3993) 2025-02-26 10:55:02 +01:00
Kristaps Fabians Geikins 6051917b59 chore(server): refactor activityStream invocations - batch #7 - streams (#4014)
* chore(server): refactor activityStream invocations - batch #7 - streams

* test fix

* more test fixes

* CR comment fix
2025-02-24 12:34:56 +02:00
Iain Sproat 01a49dffee fix(tests): enable rate limiter in a safe way (#4048) 2025-02-23 11:17:17 +00:00
Kristaps Fabians Geikins 1d2a594f0a chore: upgrade TS 5.2 -> 5.7.3 & ESLint to 9.20.1 (#4032)
* chore: upgrade TS 5.2 -> 5.7.3

* vite dts fix

* lint fix

* resolutions fix

* ui comp build fix

* precommit fix?

* latest eslint version

* autoloader fix

* undo unnecessary viewer change

* eslint fixes fe2 + trying disabled type linting

* lint fixes
2025-02-20 14:18:18 +02:00
Iain Sproat abe165e264 fix(server): improve logging of errors thrown by Express body parsing middleware (#3971) 2025-02-18 08:54:47 +00:00
Kristaps Fabians Geikins 4b7740eb17 Merge branch 'main' into fabians/web-2415-6 2025-02-17 15:15:52 +02:00
Kristaps Fabians Geikins f51d632ef7 Merge branch 'main' into fabians/web-2415-4 2025-02-17 14:23:33 +02:00
Kristaps Fabians Geikins 4dcfbb251b chore(server): moving out branch sub reporting to separate listeners 2025-02-17 13:56:02 +02:00
Kristaps Fabians Geikins 4278e20467 chore(server): refactor activityStream invocations - batch #3 - branches 2025-02-17 13:55:43 +02:00
Chuck Driesler 60e74b34e1 feat(regions): move project objects (#3924)
* feat(regions): repo functions for copying project branches and commits

* chore(regions): wire up move to resolver

* chore(regions): successful basic test of project region change

* fix(regions): sabrina carpenter please please please

* fix(regions): repair multiregion test setup

* chore(regions): appease ts

* chore(multiregion): update test multiregion config

* chore(multiregion): fix test docker config and test

* chore(multiregion): use transaction

* chore(multiregion): maybe this will work

* fix(multiregion): drop subs synchronously

* chore(multiregion): desperate test logs

* chore(multiregion): somehow that worked?

* chore(multiregion): add load-bearing log statement

* chore(multiregion): move services

* fix(multiregion): test drop waits

* chore(regions): fix import

* chore(regions): make test a bit more thorough for good measure

* fix(regions): move project objects

* chore(regions): add tests for object move

* fix(regions): speed up inserts

* fix(regions): simplify postgres usage

* chore(regions): 100 => 10
2025-02-17 10:51:12 +00:00
Mike f376cfcc46 Fix: Always force email verification (#3990) 2025-02-15 08:30:57 +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 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
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
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
Kristaps Fabians Geikins 9b46747815 chore(server): refactor activityStream invocations - batch #6 - project invites 2025-01-24 18:35:21 +02:00
Kristaps Fabians Geikins 9775c488a1 chore(server): moving out version sub reporting to separate listeners 2025-01-24 17:52:34 +02:00
Kristaps Fabians Geikins ac88c503e3 chore(server): refactor activityStream invocations - batch #4 - commits 2025-01-24 16:57:15 +02:00
Kristaps Fabians Geikins d9bdc54599 chore(server): moving out branch sub reporting to separate listeners 2025-01-24 16:49:55 +02: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
Kristaps Fabians Geikins 8ff0ae91ca chore(server): refactor activityStream invocations - batch #3 - branches 2025-01-23 12:06:54 +02: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
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
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
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
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
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
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
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