-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
refactor(server): Add ApiUrl + ServerUrl env + allow usage of https #8579
base: main
Are you sure you want to change the base?
Commits on Nov 19, 2024
-
refactor(core): centralize SERVER_URL logic + allow ssl on server
Replaced individual environment-based server URL retrievals with a centralized ServerUrl utility. This change simplifies URL management and ensures a consistent approach across different services. Added validation for SSL configurations when using HTTPS.
Configuration menu - View commit details
-
Copy full SHA for 450d137 - Browse repository at this point
Copy the full SHA 450d137View commit details -
refactor: consolidate ServerUrl and ApiUrl handling
Removed standalone ServerUrl and integrated with combined ServerUrl/ApiUrl module. Refactored codebase to use ApiUrl for public network accessibility and adjusted corresponding imports.
Configuration menu - View commit details
-
Copy full SHA for 398364d - Browse repository at this point
Copy the full SHA 398364dView commit details -
refactor: rename serverAndApiUrl to server-and-api-urls
Renamed utils file for better readability and consistency. Updated all references to the new file name and added unit tests for ServerUrl and ApiUrl functionalities.
Configuration menu - View commit details
-
Copy full SHA for 4fbaaac - Browse repository at this point
Copy the full SHA 4fbaaacView commit details -
fix(server-setup): Adjust test hooks and SSL config paths
Move the reset of ServerUrl and ApiUrl to beforeEach in tests to ensure clean state before each test runs. Update example SSL_KEY_PATH and SSL_CERT_PATH to use relative paths for more portability.
Configuration menu - View commit details
-
Copy full SHA for 8a88f40 - Browse repository at this point
Copy the full SHA 8a88f40View commit details -
test: Adjust WorkspaceInvitationService tests to set ApiUrl
Import the ApiUrl module and set the local URL in the setup function. This ensures the tests have the correct API endpoint configured.
Configuration menu - View commit details
-
Copy full SHA for 886c6f2 - Browse repository at this point
Copy the full SHA 886c6f2View commit details -
[test] Reorder import statements
Reordered import statements in `workspace-invitation.service.spec.ts` for improved code organization. This change ensures that dependencies are imported in a more logical sequence.
Configuration menu - View commit details
-
Copy full SHA for 7ef1c73 - Browse repository at this point
Copy the full SHA 7ef1c73View commit details -
feat(self-hosting): Add API_URL to environment variables
Included API_URL in self-hosting documentation for public endpoint configuration. This helps developers set up the correct URLs for API interactions in their self-hosted environments.
Configuration menu - View commit details
-
Copy full SHA for a933d31 - Browse repository at this point
Copy the full SHA a933d31View commit details
Commits on Nov 20, 2024
-
fix(server): enforce protocol in environment URLs
Removed protocol check logic from main.ts and enforced URL validation to require protocol directly in environment variables definition. This ensures consistent and secure URL formats throughout the application.
Configuration menu - View commit details
-
Copy full SHA for 8b40561 - Browse repository at this point
Copy the full SHA 8b40561View commit details -
feat(ssl-generation): Add SSL generation script
Add a new Bash script for generating self-signed SSL certificates, including a README with instructions. Supports customizable domain, root certificate name, and validity period, and integrates root certificate into macOS keychain.
Configuration menu - View commit details
-
Copy full SHA for 8cf6502 - Browse repository at this point
Copy the full SHA 8cf6502View commit details
Commits on Nov 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 79a8da2 - Browse repository at this point
Copy the full SHA 79a8da2View commit details