Skip to content

Conversation

@mehrandvd
Copy link
Contributor

No description provided.

hootanht and others added 30 commits December 21, 2023 02:32
The most significant changes include the update of the README.md file with detailed setup instructions, the modification of a link in the Header.razor file, the addition of a UserSecretsId to the CrystallineSociety.Server.Api.csproj file, and the clearing of the SQLServerConnectionString in the appsettings.json file.

1. The README.md file was updated with comprehensive instructions on how to set up the project. This includes information on prerequisites, installing the .NET SDK, choosing a development environment, steps to clone and run the repository, managing secrets with user-secrets, and generating a GitHub access token. This change is crucial as it provides clear guidance for users on how to get the project up and running.

2. The link in the Header.razor file was changed from "/education-program" to "/OrganizationsSettings". This change is important as it ensures users are directed to the correct page when they click on the link.

3. A UserSecretsId was added to the CrystallineSociety.Server.Api.csproj file. This change is significant as it allows for the secure storage of sensitive data during development.

4. The SQLServerConnectionString in the appsettings.json file was cleared. This change is important as it prevents sensitive database connection information from being exposed in the codebase.
Add README to setup project.
The most important changes made to the files are the addition of instructions on how to open and run a project using two different Integrated Development Environments (IDEs): Visual Studio Code and Visual Studio. These changes are aimed at providing clear instructions for users on how to get started with the project using either of the two recommended IDEs.

List of changes:

1. Added instructions on how to open and run a project using Visual Studio Code. This includes steps on downloading the software, opening the project folder, opening a new terminal within the IDE, and running the application using the `dotnet run` command.

2. Added instructions on how to open and run a project using Visual Studio. This includes steps on downloading the software and opening the project by selecting the `.sln` file of the project.

References to the code changes are not provided in the descriptions.
Remove unnecessary steps in README.md
The most significant change is the update to the instructions for verifying the installation of the .NET SDK. The instructions now state that a successful installation will display a version number starting with `7.X.X`, allowing for minor version updates within the `7.X` major version.

List of Changes:
1. Updated the instructions for verifying the .NET SDK installation. The instructions now specify that a successful installation will display a version number starting with `7.X.X`, accommodating minor version updates within the `7.X` major version.

References to the code changes are not provided in the original text.
Update .NET SDK installation instructions
This commit updates the user authentication logic to use the bcrypt hashing algorithm for improved security and password storage. The changes include updating the password hashing function and modifying the user registration and login processes to incorporate the new algorithm.
Add timeline for CS System V0.2
Update and rename get-started.md to setup-dev-environment.md
The most significant changes include the alteration of the namespace for various services and contracts, the addition of new interfaces to the updated namespace, and the implementation of these interfaces by various classes. The version control system for the project directory has also been set to Git.

1. The namespace for various services and contracts has been changed from `CrystallineSociety.Shared.Services.Contracts` and `CrystallineSociety.Server.Api.Services.Contracts` to `CrystallineSociety.Server.Services.Contracts`. This change affects all services and contracts that were previously under the old namespaces.

2. New interfaces `IAppHook`, `IBadgeUtilService`, `IBadgeSystemService`, `IGitHubBadgeService`, `ILearnerService`, `IAuthTokenProvider`, `IProgramDocumentUtilService` have been added to the `CrystallineSociety.Server.Services.Contracts` namespace. These interfaces provide a contract for the services that will implement them.

3. The `AddAppHook<ServerBadgeSystemAppHook>()` service has been commented out in `IServiceCollectionExtensions.cs`. This indicates that the service is currently not in use.

4. The `User` class in `IServiceCollectionExtensions.cs` has been fully qualified to `CrystallineSociety.Server.Models.Identity.User`. This change provides a more specific reference to the `User` class.

5. The `vcs.xml` file has been added with Git as the version control system for the project directory. This change sets up Git as the tool for tracking changes and coordinating work on the project.

6. The `ServerBadgeSystemAppHook` class now implements the `IAppHook` interface. This means that the class now adheres to the contract defined by the `IAppHook` interface.

7. The `BadgeSystemController`, `OrganizationController`, `ProgramDocumentController` classes now use the `CrystallineSociety.Server.Services.Contracts` namespace. This change aligns these classes with the updated namespace for services and contracts.

8. The `BadgeSystemFactory`, `BadgeSystemService`, `BadgeUtilService`, `GitHubBadgeService`, `OrganizationService`, `ProgramDocumentUtilService`, `ProgramDocumentService`, `ServerLearnerService`, `ServerSideAuthTokenProvider` classes now implement their respective interfaces from the `CrystallineSociety.Server.Services.Contracts` namespace. This means that these classes now adhere to the contracts defined by their respective interfaces.
The most significant changes in the code include the optimization of HTTP requests in several `OnInitAsync` methods, the addition of a new service `ClientLearnerService`, the inclusion of `ClientLearnerService` in the service collection, and the removal of unused `using` directives in several files. Additionally, a new package reference to `AutoMapper.Extensions.Microsoft.DependencyInjection` has been added, and a new folder `Migrations` has been created. A new migration `20240114112449_InitDB.Designer.cs` has been added, which creates several tables in the database. The `AddSwaggerGen` method has been updated to include XML comments from different files. Several service interfaces and their implementations have been removed, and the `SqlServerConnectionString` has been removed from the `appsettings.json` file.

1. The `OnInitAsync` methods in several files have been updated to use `PrerenderStateService.GetValue` instead of directly calling `HttpClient.GetFromJsonAsync` to improve performance by reducing the number of HTTP requests.
2. A new service `ClientLearnerService` has been added in `ClientLearnerService.cs` which implements the `ILearnerService` interface.
3. The `IServiceCollectionExtensions.cs` file has been updated to include the `ClientLearnerService` in the service collection.
4. Unused `using` directives have been removed from `ServerBadgeSystemAppHook.cs`, `BadgeSystemController.cs`, and `IServiceCollectionExtensions.cs` files.
5. The `CrystallineSociety.Server.csproj` file has been updated to include a new package reference to `AutoMapper.Extensions.Microsoft.DependencyInjection` and a new folder `Migrations`.
6. A new migration `20240114112449_InitDB.Designer.cs` has been added, creating several tables in the database.
7. The `AddSwaggerGen` method in `IServiceCollectionExtensions.cs` has been updated to include XML comments from `CrystallineSociety.Server.xml` and `CrystallineSociety.Shared.xml`.
8. Several service interfaces and their implementations have been removed, including `IGitHubBadgeService`, `ILearnerService`, `IProgramDocumentUtilService`, and their corresponding implementations.
9. The `SqlServerConnectionString` has been removed from the `appsettings.json` file.
The most significant changes include the creation of new interfaces for various controllers, the renaming of a parameter in the `BadgeSystemController.cs` file, and the change of namespace in several files. Additionally, the `Header.razor.cs` file has been updated to include a new dependency injection, the `_Imports.razor` file now includes the `Controllers` namespace, and the usage of certain namespaces has been removed or added in the `EntityBase.cs`, `Badge.cs`, and `ProgramDocument.cs` files.

1. New interfaces `IBadgeController`, `IBadgeSystemController`, `IOrganizationController`, and `IProgramDocumentController` have been created in the `Controllers` namespace. These interfaces define the contract for the respective controllers.

2. The `BadgeSystemController.cs` file has been updated to change the parameter name from `url` to `repositoryUrl` in the `GetBadgeBundleFromGitHub` method.

3. Several files have been updated to change the namespace from `CrystallineSociety.Server.Api.Models` to `CrystallineSociety.Server.Models`. These files include `ProgramDocumentController.cs`, `AppDbContext.cs`, `BadgeMapperConfiguration.cs`, `ProgramDocumentMapperConfiguration.cs`, `Badge.cs`, `EntityBase.cs`, `Organization.cs`, `ProgramDocument.cs`, `IProgramDocumentService.cs`, `OrganizationService.cs`, and `ProgramDocumentService.cs`.

4. The `Header.razor.cs` file has been updated to include a new dependency injection for `IOrganizationController` using the `AutoInject` attribute.

5. The `_Imports.razor` file has been updated to include the `Controllers` namespace.

6. The `EntityBase.cs` file has been updated to remove the usage of `Bit.Model.Contracts` and `CrystallineSociety.Shared.Utils`.

7. The `Badge.cs` and `ProgramDocument.cs` files have been updated to include the usage of `CrystallineSociety.Server.Api.Models`.
Zahra Rezaei and others added 29 commits July 24, 2024 15:04
Complete Enhance Visual Style and Fix Bugs in "Badge Explorer" Page - Part 1 #55
Updated BadgeTree.razor:
- Added @using directive for component imports.
- Improved loading spinner and badge list rendering.
- Changed loop indices for better control and alignment.
- Used dynamic IDs/classes for collapsible sections.
- Replaced foreach with for loop for badge iteration.
- Cleaned up redundant and commented-out code.

Updated BadgeTree.razor.cs:
- Removed unused imports and fields.
- Added dictionaries for collapse state management.
- Updated methods to support new collapse logic.
- Improved readability and removed redundant code.
Complete Enhance Visual Style and Fix Bugs on "Badge Explorer" Page - Part 2 #56
Fix Collapse State Management for BadgeTree Component
Complete the Enhance the Visual Style of the "Organization Setting" Page #61
@mehrandvd mehrandvd merged commit 33ccffa into main Jan 29, 2025
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.

6 participants