-
Notifications
You must be signed in to change notification settings - Fork 1
Structure fix #13
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
Structure fix #13
Conversation
…tabase function specified on board
…xclude Database.db and Migrations/
* chore: work distribution * chore: rm typo
) * Move repository to parent directory * feat: tests on Actions * Update .gitignore to exclude test bin and obj folders * chore: mv workflows to .github/workflows * fix: typo * chore: rm sln for build pass * fix: sln file * fix: build * chore: rename build -> test --------- Co-authored-by: Adam Ragač <[email protected]> Co-authored-by: IhtDzenda <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR focuses on improving the project structure by adding new tests, exposing the Program class, introducing database models and a SQLite context, and updating documentation and CI workflows.
- Added unit tests for encryption/decryption functionality.
- Changed Program accessibility and refined the encryption null-check logic.
- Introduced new database models and a SQLite-based data context.
- Updated README for team roles and added a GitHub Actions workflow step for testing.
Reviewed Changes
Copilot reviewed 11 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/CryptTests.cs | New tests ensuring correct encryption/decryption behavior |
| sutor-aes/Program.cs | Made Program class public and updated argument null-check logic |
| sutor-aes/Models/DBmodels.cs | Added database models for users and inbox messages |
| sutor-aes/Database/SQLite.cs | Introduced a new SQLite context and related CRUD methods for the models |
| README.md | Updated documentation on team responsibilities |
| .github/workflows/dotnet.yml | Added a test step in the CI workflow |
Files not reviewed (4)
- SUTOR.sln: Language not supported
- sutor-aes.csproj: Language not supported
- sutor-aes/sutor-aes.csproj: Language not supported
- tests/tests.csproj: Language not supported
Comments suppressed due to low confidence (1)
sutor-aes/Models/DBmodels.cs:4
- [nitpick] Consider renaming the file from 'DBmodels.cs' to 'DBModels.cs' to align with PascalCase naming conventions for consistency.
public class DBUser{
Fix code structure