Commit Graph

80 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins 8abc801bae chore(server): core IoC #71 - createAppTokenFactory 2024-10-16 16:59:54 +03:00
Kristaps Fabians Geikins c7c897d08f chore(server): core IoC #54 - deleting getUserById (duplicate) 2024-10-15 10:57:20 +03:00
Kristaps Fabians Geikins 1cb27e6fdd chore(server): core IoC #51 - getUser(s)Factory 2024-10-14 17:24:11 +03:00
Kristaps Fabians Geikins 6cb5022ac4 chore(server): IoC 35 - updateStreamRoleAndNotify 2024-10-09 16:31:20 +03:00
Kristaps Fabians Geikins 5b5dd201e2 chore(server): IoC 29 - getStream(s)Factory 2024-10-09 10:39:00 +03:00
Kristaps Fabians Geikins 972af78fce chore(server): core IoC 13 - getCommit(s)Factory 2024-09-27 14:02:29 +03:00
Kristaps Fabians Geikins 9dbde37438 chore(server): core IoC 12 - remaining branches repo 2024-09-27 13:52:41 +03:00
Kristaps Fabians Geikins b2459e84e9 chore(server): core IoC 5 - getBranchLatestCommitsFactory 2024-09-26 15:48:07 +03:00
Kristaps Fabians Geikins 168a22a9ac chore(server): core IoC 3 - getBranch(es)byIdFactory 2024-09-26 14:43:55 +03:00
Alessandro Magionami d4ec3ebc3f Merge pull request #3116 from specklesystems/fabians/shared-ioc-2
chore(server): shared IoC 2 - authz pipelines
2024-09-25 15:11:01 +02:00
Kristaps Fabians Geikins c1a87bd6ce chore(server): shared IoC 2 - authz pipelines 2024-09-25 15:59:41 +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
Kristaps Fabians Geikins 020674b5b4 chore(server): automate IoC 17 - getAutomationRunsTriggersFactory 2024-09-23 14:00:09 +03:00
Kristaps Fabians Geikins cc6f7fd739 chore(server): automate IoC 16 - Project.automations 2024-09-23 13:56:55 +03:00
Kristaps Fabians Geikins 3863016620 chore(server): automate IoC 15 - Automation.runs 2024-09-23 13:51:46 +03:00
Kristaps Fabians Geikins 7f222cdc0f chore(server): automate IoC 14 - dataloaders 2024-09-20 16:00:05 +03:00
Kristaps Fabians Geikins b29a06b386 chore(server): automate IoC 13 - logStream API 2024-09-20 15:49:13 +03:00
Kristaps Fabians Geikins b47338b50c chore(server): automate IoC 12 - createTestAutomationRunFactory 2024-09-20 15:41:09 +03:00
Kristaps Fabians Geikins 0368f9b792 fixx 2024-09-20 15:31:34 +03:00
Kristaps Fabians Geikins ad41264764 chore(server): automate IoC 11 - manuallyTriggerAutomationFactory 2024-09-20 15:29:23 +03:00
Kristaps Fabians Geikins dac45a618b fixx 2024-09-20 15:26:14 +03:00
Kristaps Fabians Geikins 9fe2033051 chore(server): automate IoC 10 - onModelVersionCreateFactory 2024-09-20 15:19:15 +03:00
Kristaps Fabians Geikins ba198afe7d lint fix 2024-09-20 15:00:25 +03:00
Kristaps Fabians Geikins 20292cc5c1 chore(server): automate IoC 9 - setupRunFinishedTrackingFactory 2024-09-20 14:58:03 +03:00
Kristaps Fabians Geikins aede93d72c rename 2024-09-20 14:57:31 +03:00
Kristaps Fabians Geikins 17d7a49011 chore(server): automate IoC 8 - subscriptions service 2024-09-20 14:08:17 +03:00
Kristaps Fabians Geikins 6121893fe9 chore(server): automate IoC 7 - reportFunctionRunStatusFactory 2024-09-20 13:55:11 +03:00
Kristaps Fabians Geikins aad7128296 chore(server): automate IoC 6 - functionManagement cleanup 2024-09-20 13:42:29 +03:00
Kristaps Fabians Geikins 1ab0db422e chore(server): automate IoC 5.5 - encryption service cleanup 2024-09-20 13:39:08 +03:00
Kristaps Fabians Geikins 566d1f1977 chore(server): automatie IoC 5 - getAutomationsStatusFactory 2024-09-20 13:33:50 +03:00
Kristaps Fabians Geikins 7bc2481c43 chore(server): automatie IoC 4 - createAutomationRevisionFactory 2024-09-20 13:28:54 +03:00
Kristaps Fabians Geikins 307b688ce5 minor adjustment 2024-09-20 13:22:57 +03:00
Kristaps Fabians Geikins 7c365bf56e chore(server): automate IoC 3 - validateAndUpdateAutomationFactory 2024-09-20 13:21:37 +03:00
Kristaps Fabians Geikins 5ed334b554 minor adjustment 2024-09-20 13:21:11 +03:00
Kristaps Fabians Geikins 70f03fe1b3 minor adjustment 2024-09-20 13:19:14 +03:00
Kristaps Fabians Geikins 6791b36289 chore(server): automate IoC 2 - createTestAutomationFactory 2024-09-20 13:18:16 +03:00
Kristaps Fabians Geikins 80265890a0 minor adjustment 2024-09-20 13:17:46 +03:00
Kristaps Fabians Geikins 8a64e24eff chore(server): automate IoC 1 - createAutomationFactory 2024-09-20 12:42:28 +03:00
Gergő Jedlicska 5d0b3508b3 fix(automate): fix on model version create error log (#2713) 2024-08-20 16:32:11 +02:00
Kristaps Fabians Geikins 1e5dadacd3 feat(server): modularized mocks + workspace mocks for Mike (#2534)
* modularized mocks foundation + updated workspaces gql

* base queries done

* mutations done

* cleaner API for mock helpers

* greatly improved mock definition DX
2024-07-29 11:21:59 +03:00
Chuck Driesler 8e3520fb67 chore(automate): track run duration in ms too (#2518)
* chore(automate): track run duration in ms too

* chore(automate): use `elapsed`
2024-07-18 17:23:10 +01:00
Kristaps Fabians Geikins ee5ae8af62 fix(fe2): accept invite before onboarding after sign up (#2491)
* explicitly ordering global middlewares

* various subscription fixes & WIP project invite middleware

* SSR invite accept & toast notifs seem to work

* backend support for mixpanel

* mixpanel be logic -> shared

* minor fix

* finissh

* lint fix

* minor comment adjustments

* better adblock handling
2024-07-11 11:45:11 +03:00
Gergő Jedlicska 7c16abc8eb feat(workspace): 1119 define workspaces dataschema (#2431)
* feat(workspaces): add workspaces module with roles and scopes

* feat(workspaces): add domain, graphql and persistent storage dataschema

* fix(workspaces): correct db injections

* chore(workspaces): add EE license

* chore(license): mentions workspaces separately in license file

* fix(core): roles import in migration

* fix(workspaces): drop workspace_acl on down migration

* fix(workspaces): roles constants

* fix(workspaces): coding standards

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-06-26 17:00:56 +02:00
Kristaps Fabians Geikins d4f90a83e8 chore: cleaning up betaAutomations (#2413) 2024-06-20 15:35:39 +03:00
Kristaps Fabians Geikins 689bb4e941 feat: function update flow re-introduced (#2410) 2024-06-20 12:24:15 +03:00
Kristaps Fabians Geikins eff46485c4 feat(server): generalized automate auth code handshake mechanism (#2360)
* feat(server): generalized automate auth code handshake mechanism

* amend API requests to match with changes in https://github.com/specklesystems/speckle-automate/pull/758

* fix test

* integration fix

* deleting auth code on verification

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-06-17 17:12:17 +03:00
Gergő Jedlicska cac54f8522 feat: optionally add userId to automate backend tracking (#2362)
* feat: optionally add userId to automate backend tracking

* fix: test should reference a version in triggeringId

* fix: use empty object ref for  testing
2024-06-13 14:26:54 +02:00
Kristaps Fabians Geikins 83d8035dc2 chore: upgrade to eslint 9 (#2348)
* root + server

* frontend

* frontend-2

* dui3

* dui3

* tailwind theme

* ui-components

* preview service

* viewer

* viewer-sandbox

* fileimport-service

* webhook service

* objectloader

* shared

* ui-components-nuxt

* WIP full config

* WIP full linter

* eslint projectwide util

* minor fix

* removing redundant ci

* clean up test errors

* fixed prettier formatting

* CI improvements

* TSC lint fix

* 'buildBatch' needs to be async since some batch types (like Text) require it. Removed a disabled liniting rule from ObjLoader

* removed unnecessary void

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
2024-06-12 14:38:02 +03:00
Kristaps Fabians Geikins 2f8272b6ae feat(shared): modularized package & node16 support (#2336)
* feat(shared): modularized package & node16 support

* lockfile update

* various fixes

* moar fixes

* added znv and zod as devdeps of shared

* lockfile update
2024-06-11 14:12:13 +03:00
Gergő Jedlicska 9efe5ef489 fix: do not allow same status override (#2346) 2024-06-07 19:48:45 +02:00