Skip to content

Conversation

@Kaktus1549
Copy link
Collaborator

Fix code structure

Kaktus1549 and others added 7 commits April 22, 2025 13:50
* 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]>
Copilot AI review requested due to automatic review settings May 6, 2025 11:28
Copy link

Copilot AI left a 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{

@JerrySB03 JerrySB03 merged commit 54fdbf7 into main May 6, 2025
1 check passed
@Kaktus1549 Kaktus1549 deleted the StructureFix branch May 6, 2025 11:31
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.

5 participants