Commit Graph

55 Commits

Author SHA1 Message Date
Gergő Jedlicska 08e941f8af Poor man's SSO (#2641)
* Implemented workspace general page

* Added notifications to user input

* Allowed non-admins to view but not edit

* Added redirect to homeroute

* Fixed validation

* Squashed commit of the following:

commit 7bf14ab8af0f76b4c9d0aa87fc08085af7c34959
Author: Chuck Driesler <chuck@speckle.systems>
Date:   Tue Aug 6 19:40:50 2024 +0200

    mob next [ci-skip] [ci skip] [skip ci]

    lastFile:packages/server/modules/workspacesCore/migrations/20240806160740_workspace_domains.ts

commit 8aa3fb0cb052c10eeeb83bf9874ae0d1c065e480
Author: Alessandro Magionami <alessandro.magionami@gmail.com>
Date:   Tue Aug 6 18:54:15 2024 +0200

    mob next [ci-skip] [ci skip] [skip ci]

    lastFile:packages/server/modules/core/domain/userEmails/operations.ts

commit 66dfd0cf6c15a789c8f96a65a3168323e83a7b9e
Author: Chuck Driesler <chuck@speckle.systems>
Date:   Tue Aug 6 18:30:22 2024 +0200

    mob next [ci-skip] [ci skip] [skip ci]

    lastFile:packages/server/modules/workspacesCore/domain/types.ts

Co-authored-by: Alessandro Magionami <alessandro.magionami@gmail.com>

* Move General to workspaces folder

* feat(workspaces): inputs on security section

* feat(workspaces): add domain to workspace mutation

* chore(workspaces): add blocked domains list

* fix(workspaces): modals with buttons

* feat(workspaceDomains): delete domain

* fix(workspaces): use  mutation

* fix(workspaces): present user verified domains as options

* Moved sidebar menu to a composable

* Added coming soon tag back

* feat(workspaces): create domains resolver for workspace

* chore(workspaces): fix tests

* chore(workspaces): fix types

* chore(workspaces): fix linter

* fix(workspaces): do some delete I think

* chore(workspaces): add domainBasedMembershipProtectionEnabled field to workspace

* chore(workspaces): improve validation for email domain

* fix(workspace): query and do the thing

* chore(workspaces): add graphql schema for domainBasedMembershipProtection

* chore(workspaces): lint and test failures

* fix(workspaces): test issues w new field

* feat(workspaces): add discoverability flag

* chore(workspaces): they made me do it

* feat(workspaces): enable toggling domain protection

* feat(workspaces): add discoverability toggle to workspace settings

* feat(workspace): auto enable discoverability on first domain registration

* feat(workspace): discoverability toggle fixes

* fix(eventBus): fix tests

* feat(workspaces): user discoverable workspaces (#2620)

* feat(workspaces): it works just trust me

* fix(workspaces): don't worry about it

* fix(workspaces); happy path success

* fix(workspaces): almost there

* fix(workspaces): successful tests!

* fix(workspaces): we have DISCOVERED (#2621)

* Fixed linting issue

* Updated query

* Updated validation rules

* Updated validation rules

* Fix unsaved file with type export

* Addressed PR comments

* Updated cache

* Updated item classes, add fragment back

* Gergo/web 1574 join workspaces via discovery (#2623)

* chore(useremails): add find verified emails by user function

* chore(workspace): table helper for workspace domains

* chore(workspace): get workspace with domains function

* chore(workspace): test get workspace with domains function

* feat(workspace): restrict workspace membership when updating workspace role

* chore(workspaces): fix types

* feat(workspaces): WIP join

* feat(workspaces): join button makes u join

* chore(useremails): fix type for find verified emails function

* feat(workspaces): join

* feat(workspace): prevent inviting user without email matching domain

* chore(workspaces): fix linter

* fix(workspaces): invoke join (gergo wrote this)

* fuck

* fix(workspaces): properly get discoverable workspaces

* fix(workspaces): test

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Chuck Driesler <chuck@speckle.systems>

* fix(workspaces): some query stuff

* fix(workspaces): mutate cache instead of refetch

* fix(workspaces): more adjustments to gql query and fragment structure

* fix(workspaces): queries, style, structure

* fix(workspaces): match discoverability with current styles

* chore(workspaces): lint lint lint

* fix(workspaces): got it twisted

* chore(workspaces): fix test

* fix(workspaces): route to joined workspace on join

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
Co-authored-by: Chuck Driesler <chuck@speckle.systems>
Co-authored-by: Alessandro Magionami <alessandro.magionami@gmail.com>
2024-08-26 13:33:16 +02:00
Iain Sproat acd83653a2 feat(graphql/serverinfo): provide maximum object size in bytes (#2734)
* feat(graphql/serverinfo): provide maximum object size in bytes

* Places config values in a ServerConfiguration object
- updates blobstorage to use ServerConfiguration, while retaining backwards compatibility
2024-08-23 13:06:22 +02:00
Iain Sproat 51db1513a9 chore(gqlgen): update output of gqlgen (#2736) 2024-08-23 09:37:55 +01:00
Mike 838d875b29 Feat: Add general workspace settings page (#2635) 2024-08-13 12:59:10 +02:00
Mike 65c7dbd247 Feat: Move settings from individual pages into one settings modal (#2502) 2024-07-23 11:37:50 +02: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
Kristaps Fabians Geikins ef4bb520cf fix(fe2): ugly function card hydration issue (#2381)
* fix(fe2): ugly function card hydration issue

* comment adjustment

* minor optimization
2024-06-18 08:40:25 +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
Iain Sproat 3db83e50be chore(deps): bump node from 18.18.2 to 18.19.0 (#1921)
* chore(deps): bump node from 18.18.2 to 18.19.0

* Additional dependencies
2023-12-15 11:30:07 +01:00
dependabot[bot] 594a02a17e chore(deps-dev): bump postcss from 8.4.18 to 8.4.31 (#1814)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.18 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.18...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 16:49:38 +01:00
Kristaps Fabians Geikins 6b6c6b3bfa chore: updating various dependencies (#1774)
* chore: updating nuxt & apollo client

* global tsc update
2023-08-25 14:31:08 +03:00
Dimitrie Stefanescu 3d3d0222f0 Merge branch 'dui3' 2023-08-11 10:53:00 +01:00
Dimitrie Stefanescu 98029dbfce feat(dui3): minor layout fix 2023-07-23 20:40:41 +01:00
Dimitrie Stefanescu c6c1c1c024 feat(dui3): adds theme config switching 2023-07-23 20:30:40 +01:00
Dimitrie Stefanescu 3b4b8c3f0d feat(dui3): minor cleanup test page 2023-07-23 18:51:41 +01:00
Dimitrie Stefanescu 9423ec1630 feat(dui3): header menu: implemented accounts 2023-07-23 18:48:36 +01:00
Dimitrie Stefanescu 37228e00aa feat(dui3): wip header menu 2023-07-21 19:14:38 +01:00
Dimitrie Stefanescu 9c2a089dc8 feat(dui3): adds avatar and scaffolds user menu 2023-07-21 19:02:12 +01:00
Dimitrie Stefanescu 03becf6307 Merge branch 'main' into dim/dui3 2023-07-21 15:56:29 +01:00
Dimitrie Stefanescu 0ce889893c experiments(dui3): refactors binding interface declarations (a wee bit) 2023-07-21 15:34:07 +01:00
Dimitrie Stefanescu 52f3e2913f experiments(dui3): minor changes 2023-07-20 18:01:48 +01:00
Dimitrie Stefanescu ec08aef74a experiments(dui3): minor change 2023-07-18 14:25:36 +01:00
oguzhankoral 738b2a001c Rename view_id to binding_name 2023-07-18 15:56:12 +03:00
Dimitrie Stefanescu 7d235dcb5f experiments(dui3): really nothing special in this commit 2023-07-18 10:06:07 +01:00
Dimitrie Stefanescu 65bb09d522 experiments(dui3): adds mocked bindings and upgrades nuxt 2023-07-18 10:04:36 +01:00
Dimitrie Stefanescu 47a87472d5 Merge branch 'dim/dui3' of https://github.com/specklesystems/speckle-server into dim/dui3 2023-07-17 18:30:52 +01:00
Dimitrie Stefanescu 1083769bc0 experiments(dui3): wip 2023-07-17 18:30:49 +01:00
oguzhankoral 0c78fb625d Catch/handle error from sketchup 2023-07-17 17:40:40 +03:00
Dimitrie Stefanescu d176d0c596 experiments(dui3): poor man's test runniner in /test 2023-07-16 09:42:40 +01:00
Dimitrie Stefanescu 9d812e935d experiments(dui3): cleanup 2023-07-15 18:10:50 +01:00
oguzhankoral 8597c32434 Add testBindings functions -validated for sketchup 2023-07-14 15:59:07 +03:00
Dimitrie Stefanescu fd46eaebe6 experiments(dui3): wip ITestBinding + page 2023-07-14 11:39:47 +01:00
Dimitrie Stefanescu 77aad568bc experiments(dui3): added test bindings 2023-07-14 11:28:17 +01:00
Dimitrie Stefanescu 520a65c73c experiments(dui3): cleanup 2023-07-14 11:13:21 +01:00
oguzhankoral bf84060f5e Create SketchupBridge for tryHoistBinding 2023-07-14 12:49:26 +03:00
Dimitrie Stefanescu 09a0e91214 Merge branch 'dim/dui3' of https://github.com/specklesystems/speckle-server into dim/dui3 2023-07-14 08:15:27 +01:00
Dimitrie Stefanescu 047a7644a2 experiments(dui3): cleanup 2023-07-14 08:13:22 +01:00
oguzhankoral 203ca507fb Implement sketchup bridge to tryHoistBindings 2023-07-14 02:52:14 +03:00
Dimitrie Stefanescu 2467b4749f experiments(dui3): introducing generic bridge (cef/webview2) + some cleanup 2023-07-13 15:04:18 +01:00
Dimitrie Stefanescu eb0f4402fb experiments(dui3): WIP - needs minor readjustments with the .net patterns 2023-07-12 19:39:15 +01:00
Dimitrie Stefanescu ca91ff8960 experiments(dui3): adds an event emitter base class 2023-07-11 19:17:22 +01:00
Dimitrie Stefanescu 2cdc5b7d92 experiments(dui3): adds an event emitter base class 2023-07-11 19:16:46 +01:00
Dimitrie Stefanescu 1958446827 experiments(dui3): cleanup + comments 2023-07-11 12:45:16 +01:00
dependabot[bot] d8aae97402 build(deps-dev): bump stylelint from 14.14.0 to 15.10.1 (#1676)
* build(deps-dev): bump stylelint from 14.14.0 to 15.10.1

Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.14.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.14.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix broken yarn.lock resolution

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-07-11 12:36:18 +01:00
Dimitrie Stefanescu 9c2d2e5fdb experiments(dui3): quick fix for skp bridge init logic/order 2023-07-11 10:34:38 +01:00
Dimitrie Stefanescu c452458812 experiments(dui3): extra cleanup and comments around 2023-07-10 20:12:35 +01:00
Dimitrie Stefanescu 5f3b7a16f2 experiments(dui3): super wip work 2023-07-10 17:01:49 +01:00
Dimitrie Stefanescu ca63e2936a experiments(dui3): super wip work 2023-07-09 22:19:55 +01:00
Dimitrie Stefanescu 0923c3f1d2 experiments(dui3): super wip work 2023-07-09 19:00:20 +01:00