Commit Graph

751 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins 6bfffca0a9 fix: various invite flow fixes & improvements (#2451)
* fix(fe2): show signup CTA for non-registered invitees [web-1144]

* fix: server invite signup error

* WIP project error access block

* feat(fe2): better 'no project access' error screens

* CR fix
2024-06-28 17:26:11 +02:00
Charles Driesler a4c9fbab16 ugh 2024-06-28 14:30:51 +01:00
Charles Driesler fc69e26905 event emitter test 2024-06-28 12:41:49 +01:00
Charles Driesler b0344b1eae workspace repo fct and emitter 2024-06-28 12:31:37 +01:00
Gergő Jedlicska c046979640 test(workspaces): fix tests 2024-06-28 07:50:14 +02:00
Gergő Jedlicska d4ef3e97df feat(workspaces): add blob store as workspace create deps 2024-06-26 21:47:16 +02:00
Gergő Jedlicska ddf5480d71 Merge branch 'main' of github.com:specklesystems/speckle-server into gergo/web-1146-workspace-creation-service 2024-06-26 21:30:42 +02: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
Gergő Jedlicska ff0cd77483 feat(workspaces): wip workspace creation 2024-06-25 17:07:38 +02:00
Gergő Jedlicska b59c24c844 fix(workspaces): roles constants 2024-06-25 15:40:41 +02:00
Gergő Jedlicska 8696a73d44 fix(workspaces): drop workspace_acl on down migration 2024-06-25 15:31:28 +02:00
Gergő Jedlicska 70552f1e5a fix(core): roles import in migration 2024-06-25 15:19:05 +02:00
Dimitrie Stefanescu c4bd9f73df Dim/closures patches (#2428)
* fix(server): advanced query route fix

* fix(server): fixes getObjectsChildrenStream

* fix(server): fixes getObjectChildrenStream in preview service copy pasted code@
2024-06-25 14:31:15 +02:00
Gergő Jedlicska 4d848eff04 Merge branch 'main' of github.com:specklesystems/speckle-server into gergo/web-1119-define-workspaces-dataschema 2024-06-25 13:26:37 +02:00
Gergő Jedlicska c6cd4c311d feat(serverinvites): create domain module in server invites (#2401)
* chore(serverinvites): repository refactor for multiregion

* chore(serverinvites): remove migrated functions from old repository

* chore(serverinvites): refactor serverInviteForToken resolver for multiregion

* chore(serverinvites): invite processing service refactor for multiregion

* chore(serverinvites): subscription refactor for multiregion

* chore(serverinvites): move buildEmailContents to dedicated file

* chore(serverinvites): deleteAllStreamInvites function multiregion refactor

* chore(serverinvites): refactor deleteServerOnlyInvites multiregion repository

* chore(serverinvites): complete repository refactor for multiregion

* feat(serverinvites): create domain module in server invites

* fix(serverinvites): no relative imports

* feat(serverinvites): extract individual types from repository

* feat(serverinvites): move interfaces to operations

* fix(serverinvites): update imports referencing old interfaces file

* fix(serverinvites): type mismatch for insert invite and delete old

* chore(serverinvites): refactor to single repo function

* test(serverinvites): fix tests

* fix(serverinvites): use domain types in all places

* feat(serverinvites): WIP unity

* feat(serverinvites): move to new facory names and types

* feat(serverinvites): fix tests

* fix(serverinvites): use factory name

---------

Co-authored-by: Alessandro Magionami <alessandro.magionami@gmail.com>
2024-06-25 13:24:37 +02:00
Gergő Jedlicska 7714cc87a8 chore(workspaces): add EE license 2024-06-25 13:23:19 +02:00
Gergő Jedlicska 7c30115a11 fix(workspaces): correct db injections 2024-06-22 12:34:59 +02:00
Gergő Jedlicska 549a38dd53 feat(workspaces): add domain, graphql and persistent storage dataschema 2024-06-22 11:32:54 +02:00
Gergő Jedlicska 0b98278d86 feat(workspaces): add workspaces module with roles and scopes 2024-06-21 18:40:46 +02:00
Kristaps Fabians Geikins ff55476cbc chore: removing unnecessary automate fix (#2417) 2024-06-21 14:44:35 +03:00
Kristaps Fabians Geikins 423e02be6f fix(server): startup crash if automate not enable due to missing scope for app (#2415) 2024-06-20 17:52:47 +03:00
Kristaps Fabians Geikins d4f90a83e8 chore: cleaning up betaAutomations (#2413) 2024-06-20 15:35:39 +03:00
Gergő Jedlicska 4ab1afc190 fix(objects): proper log templating (#2398) 2024-06-20 11:41:52 +02:00
Kristaps Fabians Geikins 689bb4e941 feat: function update flow re-introduced (#2410) 2024-06-20 12:24:15 +03:00
Dimitrie Stefanescu 77d49a1d91 Merge branch 'main' into dim/objs-fixes 2024-06-19 15:50:33 +01:00
Dimitrie Stefanescu 6d08aba068 fix(objects): cleanup 2024-06-19 15:40:06 +01:00
Iain Sproat fb242025c2 fix(modules/auth): correct imports (#2405)
* fix(modules/auth): correct imports

* identify type imports
2024-06-19 15:30:19 +01:00
Kristaps Fabians Geikins a9266333b4 fix(fe2): preview images being cached for too long (#2399)
* fix(fe2): preview images being cached for too long

* allowing caching of error previews

* updating cachebust value earlier
2024-06-19 16:26:35 +02:00
Dimitrie Stefanescu d24e95c046 fix(objects): wip fix on getObjectChildren in post closure world 2024-06-19 15:22:54 +01:00
Alessandro Magionami c797609f7c chore(auth): use absolute import 2024-06-19 14:45:15 +02:00
Alessandro Magionami e64eda22a0 fix(auth): use name to populate user name if provided in oidc 2024-06-19 12:24:55 +02:00
Iain Sproat c10ec8708d fix(healthcheck): close redis client after request is complete (#2394) 2024-06-18 16:37:19 +01:00
Iain Sproat 7e6f31ad66 chore(health): add dedicated liveness and readiness endpoints (#1987)
* chore(health): add dedicated liveness and readiness endpoints
- provides more flexibility in defining what constitutes readiness and liveness
* add tests for /liveness and /readiness
* Prevent liveness and readiness endpoints being exposed externally by redirecting their routes
2024-06-18 12:49:03 +01:00
Kristaps Fabians Geikins c7fdc6acc2 chore: updating ws everywhere to resolve SNYK-JS-WS-7266574 (#2385)
* chore: updating ws in various ways

* puppeteer upgrade

* updating codegen deps

* workspaces cmd update

* various extra fixes

* minor preview-service troubleshooting improvements

* dockerfile fixes

* hopefully fixing docker build fe2

* try again

* try large again
2024-06-18 13:26:01 +03:00
Iain Sproat 694d770bf4 fix(email): fatally exit if email is enabled but cannot be initialized (#2204) 2024-06-18 10:36:21 +01:00
Gergő Jedlicska 3be2d72e7d fix(objects): use proper seq log templating (#2384)
* fix(objects): use proper seq log templating

* fix(objects): log message temp variable
2024-06-18 10:17:50 +02:00
Dimitrie Stefanescu a8f4d338f6 Merge branch 'main' into dim/objs-fixes 2024-06-17 16:07:44 +01:00
Dimitrie Stefanescu 28019b21d6 feat(objs): fixes test by commenting it out 2024-06-17 15:50:50 +01:00
Dimitrie Stefanescu 1c13fed24e feat(objs): fast fixes 2024-06-17 15:38:45 +01: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
Dimitrie Stefanescu 8a5dc7f909 feat(objs): defaults max obj size to 10x larger 2024-06-17 13:33:02 +01:00
Dimitrie Stefanescu 85f74a4ea4 feat(objs): adds feature flag for no closure writing 2024-06-17 13:30:46 +01:00
Gergő Jedlicska 24b71644a7 fix(objects): use the correct speckle_type value on objects (#2375) 2024-06-16 16:30:50 +02:00
Gergő Jedlicska c79f0c5501 fix(objects): logger templating (#2374) 2024-06-16 13:42:31 +02: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 b115a7b4c0 fix(fe2): some bugs causing errors/warnings in FE2 build (#2365) 2024-06-13 13:19:43 +03:00
Kristaps Fabians Geikins bd9faa2415 fix(server): more legible auth errors (#2361) 2024-06-13 10:34:01 +03: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
Dimitrie Stefanescu 56981c196b chore(linting): make the prettier gods happy 2024-06-07 23:33:15 +01:00