Commit Graph

48 Commits

Author SHA1 Message Date
andrewwallacespeckle 9444a2b658 Small change from Fabs 2025-06-19 15:50:58 +02:00
andrewwallacespeckle de166c10af fix(fe): fix lastAdminCheck and cache update 2025-06-19 15:44:12 +02:00
andrewwallacespeckle 742865370a Permissions. SSO to new layout 2025-06-05 12:17:43 +02:00
andrewwallacespeckle aec4ad5339 Removed optimistic response 2025-06-04 10:59:56 +02:00
andrewwallacespeckle 8f6f772397 Fix build. Add else toast 2025-06-04 09:57:03 +02:00
andrewwallacespeckle f39d5df750 Fix linting 2025-05-27 12:44:19 +02:00
Kristaps Fabians Geikins 211922b6a6 chore: get rid of all old workspace plan code (#4624)
* first batch of changes

* tests fix

* FE fixed

* renaming constants

* test fixes

* moar test fixes

* another test fix

* reenable app rover check

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2025-04-30 19:18:32 +02:00
andrewwallacespeckle 27e4e1b3fb Temporarily remove projects form memberstable 2025-04-22 14:29:54 +01:00
andrewwallacespeckle e216f0d42b Disable seat type change if expired or cancelled 2025-04-22 13:19:59 +01:00
Mike 3c12f2bc45 Feat: Refactor workspace dashboard to improve performance (WIP) (#4500) 2025-04-21 12:13:31 +02:00
andrewwallacespeckle 62cf4efd7a Admin menu: Hide "Make guest…" move "Revoke admin access…" 2025-04-17 12:12:16 +01:00
andrewwallacespeckle 677e47daff Always show the seat change in a separate section alone in the top 2025-04-17 12:06:16 +01:00
Kristaps Fabians Geikins 0cc19dbdf5 fix(fe2): not being able to remove member from workspace (#4468)
* fix(fe2): not being able to remove member from workspace

* minor comment

* withTransaction refactor
2025-04-17 10:44:55 +03:00
andrewwallacespeckle 775a4a7911 FIx build 2025-04-10 11:45:49 +01:00
andrewwallacespeckle e91a65da48 Fix menu reactivity bug 2025-04-06 13:31:01 +01:00
andrewwallacespeckle 07b6ee01c7 Merge branch 'main' into andrew/update-members-table-remove-from-project 2025-04-06 12:03:07 +01:00
andrewwallacespeckle d937834d3b Change project permissions changes 2025-04-05 16:41:45 +01:00
andrewwallacespeckle b1d0ae37c0 Disabled menu items 2025-04-05 14:55:25 +01:00
andrewwallacespeckle bfe74b3133 Tidy fragments. Add project update dialog 2025-04-03 14:18:10 +02:00
andrewwallacespeckle 8e3ffb1793 Remove duplicate member action tables (#4313) 2025-04-02 15:43:54 +02:00
andrewwallacespeckle 2c07ae9456 Merge 2025-03-28 13:13:07 +00:00
andrewwallacespeckle a9a66bcc88 Stashed 2025-03-28 13:11:22 +00:00
andrewwallacespeckle acdbc011d9 canDowngradeEditor 2025-03-28 13:10:32 +00:00
andrewwallacespeckle 0c7276da46 Add workspaceLastAdminCheckQuery 2025-03-27 15:16:24 +00:00
andrewwallacespeckle 83c8d3afbe add useSettingsMembersActions composable 2025-03-27 11:41:31 +00:00
andrewwallacespeckle 81b46c6ae0 Initial work 2025-03-18 14:40:36 +00:00
Mike d77af226fc Feat: Setting as pages (#3813) 2025-01-20 13:46:32 +01:00
Chuck Driesler 101a0b2d54 fix(workspaces): no default discovery (#3622)
* fix(workspaces): do not enable discoverability by default

* chore(workspaces): fix test

* chore(workspaces): more tests fix
2024-12-03 16:01:05 +00:00
Mike 498fea4292 Feat: disable settings access if active SSO session is required (#3589) 2024-12-02 14:50:33 +01:00
Mike afb0cf353f Feat: Disable SSO if not in plan (#3547) 2024-11-26 12:46:14 +01:00
Kristaps Fabians Geikins 35819f4756 feat(fe2): updated workspace data residency settings (#3543)
* WIPP

* remaining shii
2024-11-22 19:49:59 +01:00
Gergő Jedlicska f210d9b749 gergo/web 2109 project region based db connection selector (#3434)
* feat(projects): add project regions, default to null

* feat(multiregion): add projectRegion Db client lookup logic

* feat(multiregion): add project region repositories and caching

* feat(multiRegion): db initialization and get project db client

* feat(docker-compose): add second db for regions testing

* feat(multiRegion): initialize region with pubs and subs working

* fix(multiRegion): get region client even if it was registered in another pod

* feat(workspaces): create workspace resolver split

* feat: update server region metadata

* feat(projects): rewrite project creation

* feat(multiRegion): getRegionDb

* fix(workspaces): get projects now can retur null

* feat(multiRegion): make local multi region DB-s work

* feat: set d efault workspace region

* CR changes

* tests

* feat(multiRegion): bind region properly

* fe update

* test fixes

* feat(multiRegion): automatically create aiven extras plugin

* ci(postgres): use published postgres with aiven extras

* fix(multiRegion): roll back the aiven extras migration, there is a better way

* tests fix

* fix(billing): we do not need to add a seat, if the workspace is on a plan, but has no sub

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-11-06 17:29:08 +01:00
Kristaps Fabians Geikins 5df716bf1c feat: add & list server regions (#3423)
* WIP create modal

* babababa

* create dialog looks ok

* FE largely there

* workss

* cleanup

* fixed up test plumbing to avoid deadlocks and simplify GQL calls

* test fix

* added all tests

* CI fix
2024-10-31 16:08:50 +01:00
andrewwallacespeckle fcf4fa8314 feat(fe2): Show regions disabled menu item to all workspace users (#3242)
* Show regions disabled menu item to all workspace users

* Don't show Regions to guests
2024-10-11 10:23:55 +01:00
Mike f2ba2dd084 Feat: Add SSO settings (#3186) 2024-10-10 16:07:14 +02:00
Mike 3b453385de Feat: Enable billing page for members (#3094) 2024-09-24 13:36:18 +02:00
andrewwallacespeckle 4c1ab5f5a0 refactor(fe2): Inputs and Settings Dialog Updates (#2941)
* WIP

* Up to General

* Projects Table

* Other menu items

* Tidy up other inputs

* Refactor Developer Settings to be more modular

* Move buttons to menus

* Minor changes

* Fix build

* Updates from testing

* Fixes from testing
2024-09-12 16:15:27 +01:00
andrewwallacespeckle 0e01119b3b feat(fe2): Open settings on click of users or version count (#2879)
* Open settings on click of users or version count

* Update to use SettingMenuKeys
2024-09-05 11:20:31 +01:00
Mike 91960b34f3 Feat: Add billing tab to workspace settings (#2817) 2024-08-29 18:41:57 +02:00
Mike a8c08ac2f8 Fix: Fix permissions for menu items (#2791) 2024-08-28 16:57:42 +02:00
Mike 289a8fbb54 Fix: Align security styling with design (#2777) 2024-08-28 13:26:49 +02:00
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
Mike 1bdf7f78bb Fix: Add permissions checks for settings (#2748) 2024-08-23 19:25:05 +02:00
Mike 4b2c78ccb7 Feat: add edit workspace avatar (#2695) 2024-08-20 09:51:28 +02:00
Kristaps Fabians Geikins 0b417c9ba0 feat(fe2): workspace invite cancel/resend + Invite dialog CTA in workspace home (#2691)
* feat(server): resend invite mutation

* invite resend/cancel from FE

* functional invite cta on workspace page
2024-08-20 10:17:42 +03:00
Mike e8a46f1d0b Feat: Add workspace projects page to settings (#2666) 2024-08-19 14:51:50 +02:00
Gergő Jedlicska c8a06b754e feat(multiEmails): add multi email module with feature flag (#2676) 2024-08-19 10:04:11 +02:00
Mike 838d875b29 Feat: Add general workspace settings page (#2635) 2024-08-13 12:59:10 +02:00