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

Support icons #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Support icons #44

wants to merge 1 commit into from

Conversation

psai6274
Copy link

This pull request introduces several enhancements and bug fixes to the CommBank-Server project. The changes aim to improve the application's functionality, performance, and maintainability.

Key Changes:

Package Updates: Updated several package references to their latest versions, including Newtonsoft.Json, BCrypt.Net-Next, Microsoft.Extensions.DependencyInjection, and MongoDB.Driver. This ensures compatibility with the latest features and security patches.
Refactoring in GoalController: Simplified the constructor of GoalController by removing the dependency on IUsersService, streamlining the controller's initialization process. This change reduces the controller's complexity and improves testability.
Enhanced Goal Model: Added an Icon property to the Goal model, allowing for the association of icons with goals. This enhancement supports a more visually appealing and user-friendly interface.
Secrets Configuration: Updated the Secrets.json file with a new MongoDB connection string, ensuring secure and reliable database connectivity.
Service Layer Refactoring: Made minor adjustments to the GoalService and IGoalsService interfaces, improving the service layer's design and maintainability.
Impact:

Performance: The updated packages and refactored code should result in improved application performance.
Security: The use of the latest BCrypt.Net-Next package enhances password hashing security.
Usability: The addition of the Icon property to the Goal model supports a more intuitive user interface.

Copy link

gitguardian bot commented Mar 13, 2024

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
- MongoDB Credentials 785f045 CommBank-Server/Secrets.json View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

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