-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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(custom-domain): allow to use custom domain #9106
Closed
Closed
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f807021
WIP
AMoreaux 7b746e6
Merge remote-tracking branch 'origin/main' into feat/allow-to-use-cus…
AMoreaux 329ff83
feat(domain-manager): centralize and extend subdomain handling
AMoreaux 3fa8df1
refactor(workspace, domain-manager): replace 'domain' with 'hostname'
AMoreaux 1256151
add migration
AMoreaux f184330
WIP
AMoreaux 8d3d5b4
feat(domain-manager): centralize and extend subdomain handling
AMoreaux 34ad83c
refactor(workspace, domain-manager): replace 'domain' with 'hostname'
AMoreaux f06effe
add migration
AMoreaux 36ea594
Merge remote-tracking branch 'origin/feat/allow-to-use-custom-domain'…
AMoreaux 24653e0
WIP
AMoreaux 6e66db1
WIP
AMoreaux f4b35df
Merge remote-tracking branch 'origin/main' into feat/allow-to-use-cus…
AMoreaux c62e0f8
WIP
AMoreaux c64136b
Merge remote-tracking branch 'origin/main' into feat/allow-to-use-cus…
AMoreaux 4fc89b3
[refactor](auth): Simplify invitation handling and SSO flow
AMoreaux e658f75
WIP
AMoreaux 78652c2
[refactor]: Remove switch workspace functionality
AMoreaux a4482a2
[refactor]: Simplify domain settings components
AMoreaux 21b8ce6
[refactor]: Simplify domain settings components
AMoreaux a94c9f7
Merge remote-tracking branch 'origin/main' into feat/allow-to-use-cus…
AMoreaux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,4 @@ dump.rdb | |
/devenv.nix | ||
/flake.lock | ||
/flake.nix | ||
/qodana.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/twenty-front/src/modules/workspace/graphql/queries/getHostnameDetails.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export const GET_HOSTNAME_DETAILS = gql` | ||
query GetHostnameDetails { | ||
getHostnameDetails { | ||
hostname | ||
ownership_verification { | ||
name | ||
type | ||
value | ||
} | ||
ownership_verification_http { | ||
http_body | ||
http_url | ||
} | ||
status | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check failure
Code scanning / CodeQL
Disabling certificate validation High
Copilot Autofix AI 18 days ago
To fix the problem, we need to ensure that TLS certificate validation is not disabled. This involves removing or modifying the line that sets
process.env.NODE_TLS_REJECT_UNAUTHORIZED
to '0'. If this setting is required for development or testing purposes, it should be conditionally applied based on the environment, ensuring it is never used in production.The best way to fix this without changing existing functionality is to conditionally set
process.env.NODE_TLS_REJECT_UNAUTHORIZED
based on an environment variable that explicitly indicates a development or testing environment. This way, we can maintain security in production while allowing flexibility in non-production environments.