Skip to content

News testdev test cicd - #80

Open
theAwmin wants to merge 6 commits into
mainfrom
news-testdev
Open

News testdev test cicd#80
theAwmin wants to merge 6 commits into
mainfrom
news-testdev

Conversation

@theAwmin

Copy link
Copy Markdown
Collaborator

No description provided.

abbasajorlou1371@gmail.com 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant