Commit Graph

2311 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins 7a59ba5ab8 chore(server): remove unused stream isPublic/isDiscoverable fields (#4743) 2025-05-15 09:18:06 +03:00
Daniel Gak Anagrov fdff51fb51 feat(workspaces): mixpanel update more attributes (#4713)
*  mixpanel recieve more workspace attributes
2025-05-15 07:20:50 +02:00
Chuck Driesler 18d8ccaae7 fix(automate): set default input values in function input form (#4728) 2025-05-14 14:09:06 +01:00
Iain Sproat 1d932290d6 Merge pull request #4727 from specklesystems/iain/auth-service-tidy-error-handling
fix(server/auth): handle InviteNotFoundError and simplify handling
2025-05-14 14:02:36 +01:00
Kristaps Fabians Geikins a25df23688 fix(server): seats sometimes not created on role create (#4740)
* core fix

* fix migration

* minor update
2025-05-14 15:45:14 +03:00
Mike c75081a21a Fix: Update PowerBI description (#4741) 2025-05-14 14:30:20 +02:00
Kristaps Fabians Geikins 4db1531064 feat: "workspace" project visibility (#4704)
* WIP new visi

* test fixes

* visibility seems to work

* authz policies & authorizeResolver updated

* various test fixes

* users tests

* frontend changes

* minor adjustments

* shared test fix

* test fixes

* force rerun CI
2025-05-14 15:20:26 +03:00
Daniel Gak Anagrov 82547b1411 feat(fileuploads): nexGenFileUpload populates messages to new job queue (#4702)
* add file import job to nextGen import endpoint

*  moved queue, organized code

* add tests, minor refactoring
2025-05-14 12:32:54 +02:00
Gergő Jedlicska 380e55b7aa fix(server): we should default to a viewer seat in the rare cases of no seat assigned to the user (#4735) 2025-05-14 10:04:09 +03:00
Iain Sproat 91e9e9fcc9 Add tests, fix tests, and revert behaviour 2025-05-13 15:53:03 +01:00
Iain Sproat 6ad0da4eb5 Merge pull request #4733 from specklesystems/iain/web-3361-unexpectedly-stream-that-should-exist-is-not-found
fix(server): throw stream not found error if stream not found
2025-05-13 15:27:58 +01:00
Iain Sproat 0f4bb6603b Merge branch 'main' into iain/auth-service-tidy-error-handling 2025-05-13 15:20:04 +01:00
Iain Sproat a439bb6ec8 Merge pull request #4731 from specklesystems/iain/do-not-run-if-feature-flags-false
tests(server): do not run Workspace SSO tests if not enabled
2025-05-13 14:49:35 +01:00
Iain Sproat f913460aea Merge branch 'main' into iain/auth-service-tidy-error-handling 2025-05-13 14:47:58 +01:00
Iain Sproat ef290baff1 fix(server): throw stream not found error if stream not found 2025-05-13 14:41:32 +01:00
Iain Sproat f8b0ce34b3 tests(server): do not run Workspace SSO tests if not enabled 2025-05-13 14:27:14 +01:00
Iain Sproat 7751fee8a1 fix to match test expectations 2025-05-13 14:16:29 +01:00
Iain Sproat b23f21d8ee fix 2025-05-13 12:25:24 +01:00
Iain Sproat adbb53e206 fix(server/auth): handle InviteNotFoundError and simplify handling 2025-05-13 11:58:21 +01:00
Iain Sproat 86ebd8fbf9 more error handling and logging fixes 2025-05-13 10:51:11 +01:00
Iain Sproat a266fe0010 fix(server): log message includes all referenced properties 2025-05-13 10:24:42 +01:00
Iain Sproat 4c51dbed7d Merge pull request #4720 from specklesystems/iain/fix-error-log-level
fix(server): log errors at appropriate level
2025-05-13 09:08:57 +01:00
Chuck Driesler 6d33de50d1 fix(automate): return null if not a function (#4716) 2025-05-13 09:00:39 +01:00
Chuck Driesler e64e77cd6d fix(automate): filter out deleted automation runs (#4717) 2025-05-13 08:59:10 +01:00
Iain Sproat 5cf56a3a24 remove irrelevant nesting 2025-05-13 08:46:12 +01:00
Iain Sproat 965d6b3fb6 User errors should be info, not error level 2025-05-13 08:42:40 +01:00
Iain Sproat 163928d9b4 fix(server): log errors at appropriate level
- some objects endpoints were logging user-related errors at an incorrect log level
2025-05-13 08:32:11 +01:00
Iain Sproat 545e7c3a5f Merge pull request #4711 from specklesystems/iain/fix-sanitize-user-emails-in-logs
fix(server): mailchimp problems throw a sanitised error
2025-05-13 07:41:59 +01:00
Chuck Driesler 19ea8b2879 fix(authz): expose canInvite gql queries (#4712) 2025-05-12 21:10:47 +01:00
Iain Sproat 380667cea2 fix(server): mailchimp problems throw a sanitised error 2025-05-12 17:21:40 +01:00
Kristaps Fabians Geikins b406d0e32d chore(server): node16 & export maps support for server (#4698)
* chore(server): node16 & export maps support for server

* moar cleanup

* lint fixc
2025-05-12 14:27:34 +03:00
Daniel Gak Anagrov b15d5b836c feat(fileupload): create new endpoint for file upload (#4693)
* fix(server): remove redundant code from bad merge

* wrong router

* WIP: http api for receiving file import results

* Lints

* fix

* WIP: tests

* test fix

* auth middleware has implicit requirement for param named streamId

* complete tests and fixes

* can run the old way alongside the existing, no conflicts

* tidying

* correct error thrown

* feat(fileUploads): new upload endpoint skeleton

* feat(fileUploads): added coverage for new file importer endpoint

* fix(workspaces): added tests, fix bugged on handling after stream

* refactor: removed useless file

* fix: comments, added tests

* feat: added modelId to file upload table

* fix: ensureError log

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2025-05-09 00:16:29 +02:00
Iain Sproat 8a74d9cbe3 feat(file importer): server has REST API to receive results about a file import (#4688)
* fix(server): remove redundant code from bad merge

* wrong router

* WIP: http api for receiving file import results

* Lints

* fix

* WIP: tests

* test fix

* auth middleware has implicit requirement for param named streamId

* complete tests and fixes

* can run the old way alongside the existing, no conflicts

* tidying

* correct error thrown

* incorporate review comments
2025-05-08 19:12:15 +02:00
Gergő Jedlicska 2fdcf1bd1d refactor(shared): unified queue handling (#4691)
* feat(shared): unified queue initialization in shared

* feat(queues): use the new queue creation everywhere

* chore(shared): move to redis module

* chore(shared): fix export maps

* chore(fileimport): add deps properly

* fix(shared): import fix

* fix(everything): moear imports

* fix(server): cjs imports
2025-05-08 16:58:43 +02:00
Chuck Driesler a26a5a90a1 chore(multiregion): job success logs (#4687) 2025-05-08 14:51:35 +01:00
Iain Sproat 6c8b715365 chore(shared): refactor previews in to worker directory
- add file imports to worker directory
2025-05-07 18:35:56 +02:00
Chuck Driesler 6d9f3645c4 fix(multiregion): zero !== undefined (#4683) 2025-05-07 16:47:49 +01:00
Iain Sproat 15d67ba589 Merge pull request #4121 from specklesystems/iain/refactor-blob-storage
refactor(server/file upload): avoid extra http call
2025-05-07 15:11:15 +01:00
Chuck Driesler 318420aa95 fix(multiregion): repair counting for project region moves (#4682) 2025-05-07 15:00:03 +01:00
Kristaps Fabians Geikins 9bb31d4a34 fix(server): hide implicit workspace invites for existing workspace members (#4681) 2025-05-07 16:03:48 +03:00
Kristaps Fabians Geikins d995a9837e Revert "Revert "feat(server): workspace project invites as implicit workspace invites"" (#4672)
* Revert "Revert "feat(server): workspace project invites as implicit workspace…"

This reverts commit 220015ece6.

* fix invites leak
2025-05-07 14:08:40 +03:00
Chuck Driesler ddd990508d fix(multiregion): more logs for move region failure (#4676) 2025-05-06 18:11:45 +01:00
Chuck Driesler 1557e82fc3 fix(automate): omit runs from deleted automations (#4674) 2025-05-06 17:18:05 +01:00
Chuck Driesler b6ec9dca5b fix(authz): canPublish and canLoad policies (#4673) 2025-05-06 14:27:20 +01:00
Kristaps Fabians Geikins 220015ece6 Revert "feat(server): workspace project invites as implicit workspace invites…" (#4671)
This reverts commit 22bd90d304.
2025-05-06 16:21:12 +03:00
Kristaps Fabians Geikins 22bd90d304 feat(server): workspace project invites as implicit workspace invites (#4634) 2025-05-06 14:20:29 +03:00
Chuck Driesler 848f04d861 feat(automate): create test automations without functions (#4657)
* feat(automate): test automations without functions (almost)

* fix(automate): drop function select from test automation creation

* fix(automate): partial test automation panel

* feat(automate): environment configuration in test automation

* fix(automate): closer fit rows

* fix(automate): create test automation runs without functions
2025-05-06 10:48:21 +01:00
Chuck Driesler 44a20b3af1 fix(automate): throw better if automation not found in gql (#4669) 2025-05-06 10:41:51 +01:00
Chuck Driesler 1cdc27fb65 chore(multiregion): a bit more logging (#4659) 2025-05-06 08:56:48 +01:00
Chuck Driesler b553c48358 fix(automate): do not return invalid type for revisions (#4658) 2025-05-02 18:28:36 +01:00