Skip to content

Dev/without redis#2

Closed
obi1anzor075 wants to merge 42 commits intomainfrom
dev/withoutRedis
Closed

Dev/without redis#2
obi1anzor075 wants to merge 42 commits intomainfrom
dev/withoutRedis

Conversation

@obi1anzor075
Copy link
Copy Markdown
Owner

added back redis
updated design all site
added logic courses
updated all logic
operation with databases delegated to repositories, whish working only with services and then working with controllers.

Inseliq and others added 30 commits September 12, 2025 13:50
Added Catalog and ProductDetails pages with supporting DTOs, models, and controller logic. Introduced Course, Template, Diploma, and UserCourse models, removed ProductType enum, and seeded initial catalog and product data. Updated navigation to dynamically list catalogs, improved authorization in AccountController, and fixed minor service/repository issues.
Migrated product and catalog structure to use new Catalog and Product entities, updated related migrations, and refactored UserCourse to include an Id property. Adjusted Course and Diploma models to allow nullable Level and Issuer fields. Updated views to fix email confirmation logic and ensure null safety.
Changed conditional checks for email confirmation in Profile.cshtml and _SignNavHTML.cshtml to use correct logic and async/await patterns. This improves accuracy and consistency in displaying UI elements based on user's email confirmation status.
Moved user and role management logic from AccountService to a new IUserRepository and UserRepository implementation. Added RoleTranslator utility for Russian role translation and updated ProfileController and views to display translated roles. Registered UserRepository in DI container and refactored service and controller code to use repository methods for user operations.
Introduces ErrorController and ErrorDto for improved error handling and custom error pages. Adds ASP.NET rate limiting middleware and configures global rate limits. Renames CatalogController to CatalogsController and updates all references. Updates error view to use ErrorDto. Removes unused CSS animation from main page.
Introduces structured logging and try-catch error handling to AccountController, CatalogController, ProfileController, and related services and repositories. Adds ILogger dependencies, improves feedback for user actions, and enhances model classes with XML documentation. Also adds new fields to AppUser and PersonalProfileDto for email tracking, and updates interfaces and repository/service implementations for user existence checks.
Added user course management with new DTO, repository, and service for handling user courses. Refactored interfaces into Services and Repositories namespaces, updated dependency injection, and enhanced controllers to support adding courses to users and displaying user courses in profiles. Also improved code documentation and updated views to support new course features.
Introduces a new Catalogs action in CatalogsController to display a list of catalog names. Adds the corresponding Catalogs.cshtml view and updates navbar links to point to the new Catalogs action.
@obi1anzor075 obi1anzor075 added the enhancement New feature or request label Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants