News testdev test cicd - #80
Open
theAwmin wants to merge 6 commits into
Open
Conversation
added 6 commits
July 26, 2026 07:51
…ncements - Introduced `LocalTokenValidator` for validating Sanctum-style tokens using the local token repository. - Updated gRPC server initialization to include authentication via the new token validator. - Refactored various handler methods to utilize authenticated user IDs instead of request parameters, enhancing security and consistency. - Added authorization checks to ensure users can only access their own data or use valid service tokens. - Created utility functions for user authentication and authorization, improving code reusability and clarity. - Added tests for the new authorization logic to ensure proper functionality and security compliance.
- Added `https://dev-reactjs.metarang.com` and `https://dev-nextjs.metarang.com` to the list of allowed origins in the CORS configuration, enhancing support for development workflows.
- Deleted the buy request-related endpoints from the OpenAPI specification, including accept, add grace period, delete, and reject operations. - Introduced new calendar API endpoints for managing calendar events, including fetching events and interactions. - Updated the OpenAPI tags to reflect the removal of buy requests and the addition of calendar-related tags. - Enhanced the response structure for the challenge timings endpoint to include detailed statistics for user answers.
…ructions - Changed gRPC TLS certificate file paths in docker-compose.yml to point to the new directory structure under ./certs/grpc. - Updated the instructions in generate-grpc-certs.sh to reflect the new mounting path for certificates, ensuring clarity for users on how to configure their environment.
…nagement - Added a new service `grpc-certs-init` in docker-compose.yml to handle the generation and management of gRPC TLS certificates. - Updated the certificate mounting path to use a Docker volume `grpc_certs` for better isolation and management. - Enhanced the `generate-grpc-certs.sh` script to check for existing certificates and copy them from the host if available, or generate new ones if not. - Updated instructions in the script to clarify the environment variable setup for enabling gRPC TLS.
…ificates - Added permission settings for certificate files in the generate-grpc-certs.sh script to ensure proper access levels. - Introduced a function in the docker version of the script to handle permission adjustments consistently. - Ensured ownership is set correctly for the generated certificates when the script is run as root, enhancing security and compliance.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.