Commit Graph

185 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins 5016fad919 feat(server): make Project.version query throw if version not found (#3336) 2024-10-18 15:32:58 +03:00
andrewwallacespeckle 922f6a2b5b fix(fe2): Add Validation for Slugs (#3255)
* Don't close dialog on invalid slug

* Custom error message on textInput

* Query backend to validate slug

* Updated loading spinner

* Update to error in Create Dialog

* Add to edit. Debounce input

* GQL

* Update CreateDialog.vue

* Update Edit Dialog

* Fix typo

* Update reset to avoid error on submit

* Temporary replacement until we swap to WebFlow API

* Update Icon.vue

* Fix build!
2024-10-17 14:41:31 +01:00
andrewwallacespeckle efaa6970cd Remove Banners component, have all invites in same location (#3304) 2024-10-16 17:22:18 +01:00
Iain Sproat ecab655719 chore(fe2): update graphql serverinfo to use new configuration object (#2741)
* 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

* chore(fe2): update graphql serverinfo to use new configuration object

* Update gqlgen and remaining changes
2024-10-15 13:52:43 +01:00
andrewwallacespeckle 0c3ce07146 feat(fe2): Show model and version count in move projects to workspace dialog (#3240)
* Show model/version count in moveprojectsdialog. Update copy

* Add truncate

* Add truncate

* Change copy and text styling

* Add model and version count to fragment

* Fix gql

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
2024-10-11 14:53:03 +01:00
Mike acf38e7c81 Fix: Re-enable count on member settings (#3247) 2024-10-11 14:38:29 +02:00
Mike 1fba35a7de Fix: Various bugfixes (#3245) 2024-10-10 23:54:08 +02:00
andrewwallacespeckle 95b7ec51d1 fix(fe2): Use workspace slug for navigate-on-success and copyWorkspaceLink (#3236)
* Fix navigate on success on workspace creations

* Update Workspace ID to Slugs

* Navigate to workspace home on deletion of workspace project

* Revert "Navigate to workspace home on deletion of workspace project"

This reverts commit fab0d3625a4d2842245e817343e2631d332ea39e.
2024-10-10 16:40:28 +01:00
andrewwallacespeckle bd31605183 feat(fe2): Redirect to workspace home on deletion of workspace project (#3238)
* Fix navigate on success on workspace creations

* Update Workspace ID to Slugs

* Navigate to workspace home on deletion of workspace project

* Revert changes from other branch
2024-10-10 16:40:09 +01:00
Mike df7a5ea2f2 Feat: add count to server members table (#3230) 2024-10-10 17:27:37 +02:00
Mike f2ba2dd084 Feat: Add SSO settings (#3186) 2024-10-10 16:07:14 +02:00
Mike 2005067a6a Feat: Add role descriptions to select inputs (#3217) 2024-10-10 15:26:14 +02:00
Chuck Driesler e7ba48e320 Feat: Remove guests from workspace members table (#3219) 2024-10-10 14:25:45 +02:00
Kristaps Fabians Geikins 7d9bb3c4ea fix: single workspace admin cant accept own invite (#3197) 2024-10-08 12:44:17 +03:00
Mike f9129d4b9c Fix: Use workspace in breadcrumb on versions page (#3184) 2024-10-07 11:55:37 +02:00
andrewwallacespeckle ebef771c3a refactor(fe2): Update queries to use workspaceBySlug (#3177)
* Use workspaceBySlug

* workspace invite support slug

* fix workspace invite email link

* added tests

* Update workspaceInvite query to use new option

* useSlug directly in query

---------

Co-authored-by: Fabis <fabis94@live.com>
2024-10-02 13:01:38 +01:00
Mike 378373a575 Feat: Added modal for moving projects into workspace (#3124) 2024-10-02 13:14:20 +02:00
andrewwallacespeckle 677b8202fa feat(fe2): workspace slug / short id support (#3088)
* Add edit slug dialog

* Design changes to edit button

* Slug url implementation

* Disable slug edit if non admin

* Preloading queries

* Use preloaded workspace id

* Changes pre PR

* Removed unneeded import

* feat(workspaces): migrate slug to match the workspaceId

* WIP Comments

* Add watch. Use Fragment

* Tidy create

* Tidy ups

* Tidy up Edit Dialog

* Remove comment

* Update text - changing slug does not break embeds

* Updates from CR

* Reorder ProjectList

* Feedback from Michal

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-10-01 16:23:54 +01:00
Mike aa2fe181fa Fix: disable project role select for non admin (#3093) 2024-09-24 12:57:21 +02:00
Alessandro Magionami fe424a98b6 Merge pull request #3082 from specklesystems/alessandro/web-943-get-stream-activity
Alessandro/web 943 get stream activity
2024-09-24 10:48:52 +02:00
andrewwallacespeckle b7db51649d feat(fe2): Guest table should show what they have access to (#3047)
* Initial work

* Update role dialog

* useDebouncedTextInput

* Only show dialog if user has projects

* Update Cache on updating role

* Remove unused cache eviction

* Fix reactivity bug

* Handle pluralisation. Empty state when no projects left

* Hide owner from Permission Select
2024-09-23 15:20:38 +01:00
Alessandro Magionami daa742382f Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-943-get-stream-activity 2024-09-23 15:59:55 +02:00
Alessandro Magionami 6920bb1f0c chore(activitystream): refactor getStreamActivity 2024-09-23 15:40:49 +02:00
Mike c5e79eaca9 Feat: Allow selection of default workspace roles (#3034) 2024-09-19 16:45:20 +02:00
Mike 9ff58d9803 Fix: Dont allow workspace members to move projects into workspace (#3044) 2024-09-19 14:04:53 +02:00
Mike 334d058682 Feat: Move projects into workspace (#3042) 2024-09-19 12:38:03 +02:00
Alessandro Magionami fbbcf14ef9 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1767-guest-table-should-show-what-they-have-access-to 2024-09-13 12:53:06 +02:00
Mike 29fd9248a1 Feat: Add temporary in app workspace promo banner (#2981) 2024-09-13 10:41:09 +02:00
Alessandro Magionami c84924b474 Merge branch 'main' of github.com:specklesystems/speckle-server into alessandro/web-1767-guest-table-should-show-what-they-have-access-to 2024-09-13 10:26:25 +02:00
Alessandro Magionami 090e8b8b3b feat(workspaces): add resolver to workspace for projectRoles 2024-09-13 10:25:46 +02:00
Kristaps Fabians Geikins ee41c83df7 feat(server): allow unlimited project thread retrieval (#2976)
* feat(server): allow unlimited project thread retrieval

* Remove limit from frontend

---------

Co-authored-by: andrewwallacespeckle <andrew@speckle.systems>
2024-09-12 16:15:14 +01:00
Mike 6bc8cf45e6 Feat: Allow users to create or select workspace on project creation (#2964) 2024-09-12 15:08:17 +02:00
Mike 7c00a1de80 Feat: Mixpanel workspace groups add properties (#2904) 2024-09-10 14:18:29 +02:00
Alessandro Magionami 3fa2bcd4f3 Alessandro/web 1836 billing tab show x10 free guest (#2896)
* feat(workspaces): add label field to cost items

* feat(workspaces): use label field to display cost items
2024-09-06 10:42:31 +02:00
Mike 0f0046ede2 Fix: change workspaceId to workspace_id (#2886) 2024-09-05 17:48:35 +02:00
Chuck Driesler beabb5552b Chuck/guests bug (#2863)
* fix(workspace): why can't guests seeeeee

* fix(workspaces): fix reference in test

* fix(workspaces): idk
2024-09-03 17:44:20 +02:00
Chuck Driesler 9ec90cd64f fix(workspaces): guarantee that workspace admins are project owners (#2835)
* fix(workspaces): separate resolver for workspace project role update

* fix(workspaces): frontend protection

* fix(workspaces): new composable, clearer errors

* fix(workspaces): correct logic

* fix(workspaces): gen
2024-09-03 17:18:30 +02:00
Kristaps Fabians Geikins 596ccf8ee3 feat(fe2): greatly improved DX for apollo cache modification (#2831)
* proof of concept - types work

* WIP

* wipp

* new modifyObjectFieldf

* updatePathIfExists

* wipp

* working?

* projects dashboard test

* more improvements

* more improvements

* fixx

* bugfix

* minor fixes and cleanup

* moar cleanup

* autoEvictFiltered
2024-09-03 10:59:16 +03:00
andrewwallacespeckle 8787a5c8bc feat(fe2): Frontend should show a pre-filtered list of users for workspace members (#2845)
* Show prefiltered list for members in workspace with project ownership rights

* Fix: Added dropdown for project role

* Fix typo

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-09-02 16:59:30 +02:00
Chuck Driesler 39c34b1b78 fix(workspaces): safer billing query for guests (#2844)
* fix(workspaces): safer billing query for guests

* chore(workspaces): comment

* chore(workspaces): lint

* chore(workspaces): ope
2024-09-02 15:23:27 +01:00
Mike 6e2c5bb4fe Fix: drop domain permissions to member (#2849) 2024-09-02 15:49:15 +02:00
Mike f50de80338 Fix: Check for domain policy on workspace invites (#2846) 2024-09-02 14:12:09 +01:00
Mike f820084f03 Fix: Dont allow non domain policy matching members to be invited to workspace (#2838) 2024-09-02 14:05:16 +02:00
andrewwallacespeckle e52962c60b feat(fe2): Workspace members table. Update Role (#2823)
* WIP Leave Workspace

* Merge in Mikes changes

* Add leave workspace

* update name

* Remove check for workspaceAdmin

* Remove un-needed fragment as prop type

* Use defineModel

* Added description for roles

* Set role as undefined until user selects

* Tidy ups

* Remove unused resets

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-09-02 11:58:34 +01:00
Kristaps Fabians Geikins 7c6ea464e8 fix: support accepting invites even if a workspace member already (#2826)
* blocking workspace project invites from incorrect resolver

* invite create validation fixes + tests

* fix for email added on decline

* doing init validation on finalization as well

* more tests

* fix(server): allow accepting an email invite even if already a member

* fix(fe2): support accepting invites even if a workspace member already
2024-09-02 09:45:24 +02:00
Mike 2c14fbc8e7 Fix permissions for project members (#2792) 2024-08-30 14:26:02 +01:00
Kristaps Fabians Geikins bd188fc189 fix(fe2): post workspace create cache update (#2827) 2024-08-30 14:46:03 +03:00
Kristaps Fabians Geikins 46afd793c7 Revert "fix(fe2): post workspace creation cache update"
This reverts commit 726e09e157.
2024-08-30 14:22:23 +03:00
Kristaps Fabians Geikins 726e09e157 fix(fe2): post workspace creation cache update 2024-08-30 14:21:13 +03:00
Mike e62a68cee7 Feat: Add role label, version count, and update styling of project header (#2820) 2024-08-30 12:44:51 +02:00