Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(subdomain): use subdomain by workspace #8378

Closed

Commits on Nov 8, 2024

  1. feat(front): allow usage of subdomain in dev env

    # Conflicts:
    #	packages/twenty-website/src/content/developers/self-hosting/upgrade-guide.mdx
    
    # Conflicts:
    #	packages/twenty-front/vite.config.ts
    AMoreaux committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    3b9ea30 View commit details
    Browse the repository at this point in the history
  2. feat(*): allow to use subdomain

    # Conflicts:
    #	packages/twenty-front/src/generated/graphql.tsx
    AMoreaux committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    d614adc View commit details
    Browse the repository at this point in the history
  3. feat(settings): allow to choose auth methods

    # Conflicts:
    #	packages/twenty-front/src/modules/settings/security/components/SettingsSecurityOptionsList.tsx
    AMoreaux committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    f4bff01 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b3d6dd0 View commit details
    Browse the repository at this point in the history
  5. feat(front): fix eslint

    AMoreaux committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    0df3615 View commit details
    Browse the repository at this point in the history
  6. feat(server): fix eslint

    AMoreaux committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    a29527b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d964f14 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    d80e940 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6585655 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8050c5a View commit details
    Browse the repository at this point in the history
  4. feat(subdomain): add env var IS_MULTIWORKSPACE_ENABLED + add link on …

    …switch workspace button
    AMoreaux committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    7175b6d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2e7a73c View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. feat(sso|subdomain): Refactor SSO service URL handling and improve SA…

    …ML parsing
    
    Simplified the retrieval of server URLs by introducing `ServerUrl` utility. Updated callback and issuer URL building in SSO service to use this utility. Enhanced SAML metadata parsing to handle potential null scenarios, and fixed type issues in several frontend components.
    AMoreaux committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    cc06d79 View commit details
    Browse the repository at this point in the history
  2. feat(auth): Introduce SSO Identity Provider Selection

    Replace SignInUpForm with SignInUpWorkspaceScopeForm to handle SSO identity provider selection. Update workspace service and GraphQL queries to support detailed SSO identity provider information.
    AMoreaux committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    24da8ba View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. refactor(auth): reorganize sign-in/up components

    Separated sign-in/up password and email input fields into their own components for better modularity and readability. Also unified various states and utility functions under a multi-workspace enablement flag.
    AMoreaux committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    0f9eb2b View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main' into feat/use-subdomain-…

    …by-workspace
    
    # Conflicts:
    #	packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpForm.tsx
    #	packages/twenty-front/src/pages/auth/SSOWorkspaceSelection.tsx
    AMoreaux committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    9d505f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. feat(auth): Consolidate HorizontalSeparator imports

    Consolidate all HorizontalSeparator imports to 'twenty-ui' instead of local paths. This change simplifies module dependencies and ensures consistency across the sign-in and sign-up components.
    AMoreaux committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    f63f488 View commit details
    Browse the repository at this point in the history
  2. refactor: Remove findAvailableWorkspacesByEmail query

    Refactor codebase to streamline user workspace handling by removing the findAvailableWorkspacesByEmail query. Updated related resolvers and components to integrate workspace retrieval logic directly within checkUserExists. Simplified GraphQL and client-side state management by consolidating workspace data flow.
    AMoreaux committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    04c0901 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. chore: remove unused hook and enhance token handling

    Removed the useFindAvailableWorkspacesByEmail hook as it was no longer in use. Improved the workspace token handling by adding support for workspace-specific tokens and streamlined subdomain generation for workspaces based on user email or display name.
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    2817e20 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main' into feat/use-subdomain-…

    …by-workspace
    
    # Conflicts:
    #	packages/twenty-front/src/modules/settings/components/SettingsOptionCardContent.tsx
    #	packages/twenty-front/src/modules/settings/security/components/SettingsSecurityOptionsList.tsx
    #	packages/twenty-front/src/pages/settings/security/SettingsSecurity.tsx
    #	packages/twenty-front/vite.config.ts
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    1487f47 View commit details
    Browse the repository at this point in the history
  3. refactor(auth): remove workspace ID from login token generation

    Simplify the login token generation process by eliminating the workspace ID parameter. Adjust relevant services and controllers to accommodate this change, reducing parameter dependency and enhancing code clarity.
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    9f3ac47 View commit details
    Browse the repository at this point in the history
  4. refactor: update security item display in navigation drawer

    Renamed StyledDeveloperSection to StyledContainer for reuse. Adjusted the security item rendering to conditionally include the advanced mode icon when enabled. Added comments regarding design considerations for this change.
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    29fec52 View commit details
    Browse the repository at this point in the history
  5. refactor(auth): remove workspace selection feature

    Remove the workspace selection component and its associated state management logic. Updated the authentication flow to redirect to the first available workspace directly.
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    ca721f7 View commit details
    Browse the repository at this point in the history
  6. feat(workspace): add support for multiworkspace subdomains

    Updated various controllers and services to include WorkspaceService for multiworkspace subdomain conditional logic. Adjusted URL construction logic to handle single and multiworkspace modes seamlessly, ensuring proper redirects and configurations based on the environment settings.
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    8ade0e3 View commit details
    Browse the repository at this point in the history
  7. Merge remote-tracking branch 'upstream/main' into feat/use-subdomain-…

    …by-workspace
    
    # Conflicts:
    #	packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSection.tsx
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    5dfbf8e View commit details
    Browse the repository at this point in the history
  8. fix(auth, workspace): correct workspace length check and subdomain ha…

    …ndling
    
    Add a TODO comment for workspace logger issue where message becomes undefined. Adjust target workspace subdomain initialization based on multi-workspace environment setting.
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    0dea459 View commit details
    Browse the repository at this point in the history
  9. feat(settings): conditionally render domain section

    Add conditional rendering to the domain section based on the multi-workspace feature state. This ensures the section is only displayed if the multi-workspace feature is enabled.
    AMoreaux committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    90ec8f8 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Configuration menu
    Copy the full SHA
    d1047ec View commit details
    Browse the repository at this point in the history