Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fullstackhero/dotnet-starter-kit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.1-rc
Choose a base ref
...
head repository: fullstackhero/dotnet-starter-kit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: refs/heads/main
Choose a head ref

Commits on Aug 21, 2024

  1. Copy the full SHA
    ed6585b View commit details
  2. Copy the full SHA
    cc0c57d View commit details
  3. Update Server.http

    iammukeshm authored Aug 21, 2024
    Copy the full SHA
    ba0623b View commit details
  4. feature : terraform modules support (#1006)

    * update cloudwatch
    
    * update drafter
    
    * feature : terraform support
    iammukeshm authored Aug 21, 2024
    Copy the full SHA
    dad087c View commit details
  5. update tf compute

    iammukeshm committed Aug 21, 2024
    Copy the full SHA
    39a673a View commit details

Commits on Aug 22, 2024

  1. fixes #1002

    iammukeshm committed Aug 22, 2024
    Copy the full SHA
    2c082f2 View commit details
  2. update gitignore

    iammukeshm committed Aug 22, 2024
    Copy the full SHA
    262bb84 View commit details

Commits on Aug 23, 2024

  1. update nginx

    iammukeshm committed Aug 23, 2024
    Copy the full SHA
    fc36b7d View commit details
  2. cleanup

    iammukeshm committed Aug 23, 2024
    Copy the full SHA
    16c84d7 View commit details
  3. add splash screen

    iammukeshm committed Aug 23, 2024
    Copy the full SHA
    45eb1d1 View commit details
  4. update default data

    iammukeshm committed Aug 23, 2024
    Copy the full SHA
    ca7ed4b View commit details
  5. release 2.0.1-rc

    iammukeshm committed Aug 23, 2024
    Copy the full SHA
    bb3c721 View commit details
  6. update yaml

    iammukeshm committed Aug 23, 2024
    Copy the full SHA
    345c5f9 View commit details
  7. Copy the full SHA
    47952d0 View commit details

Commits on Aug 26, 2024

  1. Copy the full SHA
    6117980 View commit details
  2. Copy the full SHA
    e1da5a3 View commit details
  3. Copy the full SHA
    c682b68 View commit details

Commits on Aug 27, 2024

  1. should fix #1015

    iammukeshm committed Aug 27, 2024
    Copy the full SHA
    bc260cf View commit details

Commits on Aug 28, 2024

  1. feature : Implement Audit Trail (#1017)

    * feature : Add Auditing Backend for #1016
    
    * add api endpoint to get user audit
    
    * blazor changes for #1016
    
    * add audit trail to navmenu
    
    * fix image url
    iammukeshm authored Aug 28, 2024
    Copy the full SHA
    8eb77ea View commit details

Commits on Aug 29, 2024

  1. chore: Remove unused OpenTelemetry imports and fix formatting in Stat…

    …icLogger.cs and Extensions.cs (#1021)
    Meloyg authored Aug 29, 2024
    Copy the full SHA
    8d332e4 View commit details
  2. fixes #1023

    iammukeshm committed Aug 29, 2024
    Copy the full SHA
    c4413ae View commit details
  3. Copy the full SHA
    a763731 View commit details

Commits on Sep 2, 2024

  1. update gitignore

    iammukeshm committed Sep 2, 2024
    Copy the full SHA
    39a02af View commit details

Commits on Oct 2, 2024

  1. fixes #1037

    iammukeshm committed Oct 2, 2024
    Copy the full SHA
    049d6ed View commit details

Commits on Oct 11, 2024

  1. fixes #4583

    iammukeshm committed Oct 11, 2024
    Copy the full SHA
    58af19c View commit details
  2. update sdk

    iammukeshm committed Oct 11, 2024
    Copy the full SHA
    7978909 View commit details
  3. update sdk

    iammukeshm committed Oct 11, 2024
    Copy the full SHA
    ed2749c View commit details
  4. update sdk version

    iammukeshm committed Oct 11, 2024
    Copy the full SHA
    9a3b8d8 View commit details

Commits on Oct 19, 2024

  1. Refactor and consolidate Shared project structure. (#1045)

    * Refactor and consolidate Shared project structure
    
    The project structure has been modified to remove the "Shared" project from the "api\modules" directory and add a new "Shared" project in the "Shared" directory. The solution configuration has been updated accordingly. References to the old "Shared" project have been replaced with references to the new "Shared" project.
    
    The `TenantConstants` and `IdentityConstants` classes have been moved to the `FSH.Starter.Shared.Authorization` namespace. The `IdentityDbInitializer` and `TokenService` classes have been updated to use the new constants. The `ClaimsPrincipalExtensions` class has been removed.
    
    Various endpoint and service classes have been updated to use the new `FSH.Starter.Shared.Authorization` namespace. The `Core.csproj` and `Infrastructure.csproj` files have been updated to reference the new "Shared" project.
    
    The `FSH.Framework.Core.Tenant` and `FSH.Framework.Infrastructure.Tenant` namespaces and their associated classes have been removed, and the `FSH.Starter.Shared.Authorization` namespace has been added. Unused namespaces have been removed from multiple files.
    
    The `Shared.csproj` file was updated to target .NET 8.0 and enable implicit usings and nullable reference types. New static classes for constants related to image formats, claims, actions, permissions, resources, roles, identity, and tenants have been added.
    
    * Refactor: Rename FshAction and FshResource classes
    
    Renamed `FshAction` to `FshActions` and `FshResource` to `FshResources` across multiple files for consistency:
    - Updated class names in `FshActions.cs` and `FshResources.cs`.
    - Modified references in `FshPermissions.cs`, `EntityTableContext.cs`, and various `.razor.cs` files.
    - Ensured all permission checks and resource assignments use the new class names.
    AliRafay authored Oct 19, 2024
    Copy the full SHA
    57605d9 View commit details

Commits on Oct 22, 2024

  1. update ci

    iammukeshm committed Oct 22, 2024
    Copy the full SHA
    1500c59 View commit details
  2. Copy the full SHA
    d080e99 View commit details

Commits on Oct 31, 2024

  1. Copy the full SHA
    23a76cd View commit details

Commits on Nov 22, 2024

  1. feature : catalog brand (#1057)

    * Add Brand domain model with events and exception handling
    
    Introduced the `Brand` class in the `FSH.Starter.WebApi.Catalog.Domain` namespace, inheriting from `AuditableEntity` and implementing `IAggregateRoot`. Added properties for `Name` and `Description`, and methods for creating and updating brand instances. Queued domain events `BrandCreated` and `BrandUpdated` during these operations.
    
    Added `BrandCreated` and `BrandUpdated` classes in the `FSH.Starter.WebApi.Catalog.Domain.Events` namespace, both inheriting from `DomainEvent` and including a property for the `Brand` instance.
    
    Added `BrandNotFoundException` class in the `FSH.Starter.WebApi.Catalog.Domain.Exceptions` namespace, inheriting from `NotFoundException` to handle cases where a brand with a specified ID is not found.
    
    * Add brand management commands and handlers
    
    Added commands and handlers for brand management:
    - CreateBrandCommand, CreateBrandCommandValidator, CreateBrandHandler, and CreateBrandResponse for creating brands.
    - DeleteBrandCommand and DeleteBrandHandler for deleting brands.
    - BrandCreatedEventHandler for handling brand creation events.
    - BrandResponse and GetBrandHandler for retrieving brand details.
    - GetBrandRequest for brand retrieval requests.
    - SearchBrandSpecs, SearchBrandsCommand, and SearchBrandsHandler for searching brands with pagination.
    - UpdateBrandCommand, UpdateBrandCommandValidator, UpdateBrandHandler, and UpdateBrandResponse for updating brand details.
    
    * Add brand-related endpoints in API version 1
    
    Introduce new endpoints for brand operations in the
    FSH.Starter.WebApi.Catalog.Infrastructure.Endpoints.v1 namespace.
    Endpoints include CreateBrand, DeleteBrand, GetBrand,
    SearchBrands, and UpdateBrand, each secured with specific
    permissions and mapped to appropriate routes. Handlers use
    MediatR for request handling and response production.
    
    * Add BrandConfiguration for EF Core in Catalog project
    
    Introduce BrandConfiguration class to configure the Brand entity
    for Entity Framework Core. This includes enabling multi-tenancy,
    setting the primary key, and specifying maximum lengths for the
    Name (100 characters) and Description (1000 characters) properties.
    
    * Add permissions for managing Brands in FshPermissions
    
    The changes introduce new permissions related to the "Brands" resource in the `FshPermissions` class. Specifically, the following permissions are added:
    - View Brands (with `IsBasic` set to true)
    - Search Brands (with `IsBasic` set to true)
    - Create Brands
    - Update Brands
    - Delete Brands
    - Export Brands
    
    The "View Brands" and "Search Brands" permissions are marked as basic, indicating they might be available to users with basic access rights.
    
    * Refactor product handling to include brand details
    
    - Modified GetProductHandler to use specification pattern
    - Added GetProductSpecs for flexible product querying
    - Updated ProductResponse to include BrandResponse
    - Enhanced SearchProductSpecs to include brand details
    - Updated Product class to establish brand relationship
    - Modified Create and Update methods to accept brandId
    
    * Add brand management endpoints and services
    
    Introduce new endpoints in CatalogModule for brand creation, retrieval, listing, updating, and deletion. Register scoped services for Brand in RegisterCatalogServices method. Add DbSet<Brand> property in CatalogDbContext for managing Brand entities.
    
    * Add BrandId property to product commands and handlers
    
    - Updated CreateProductCommand and UpdateProductCommand to include BrandId with a default value of null.
    - Modified CreateProductHandler and UpdateProductHandler to pass BrandId when creating or updating a product.
    - Added BrandId filter condition in SearchProductSpecs.
    - Updated CatalogDbInitializer to include BrandId when seeding the database.
    
    * Add Brands table and update Catalog schema
    
    Removed old migration and added new migration to create Brands table alongside Products table. Updated Designer and DbContext snapshot to reflect new schema. Updated project file to include new Catalog folder.
    
    * Add cancellation tokens, brand methods, and update runtime
    
    Enhanced ApiClient with cancellation tokens and new brand methods.
    Updated serialization to use JsonSerializerSettings. Upgraded
    NJsonSchema and NSwag to 14.1.0.0. Changed runtime in nswag.json
    from WinX64 to Net80.
    
    * Add Brands management feature with navigation and CRUD
    
    Introduced a new "Brands" section in the application:
    - Added a navigation link for "Brands" in `NavMenu.razor`.
    - Implemented permission checks for viewing Brands in `NavMenu.razor.cs`.
    - Created `Brands.razor` page with route `/catalog/brands`.
    - Set up `EntityTable` component for managing brands.
    - Added `Brands` class and dependency injection in `Brands.razor.cs`.
    - Defined `BrandViewModel` for CRUD operations in `Brands.razor.cs`.
    
    * Add brand selection to Products component
    
    Added a `MudSelect` component in `Products.razor` for brand selection, bound to `context.BrandId` and populated with a list of brands. Introduced a private `_brands` field in `Products.razor.cs` to store the list of brands. Modified `OnInitialized` to `OnInitializedAsync` and added `LoadBrandsAsync` to fetch brands from the server. Updated `EntityServerTableContext` initialization to include the brand name field.
    
    * Add brand filter dropdown to advanced search
    
    Added a dropdown (`MudSelect`) for selecting a brand in the advanced
    search section of the `Products.razor` file, allowing users to filter
    products by brand with an "All Brands" option. Updated the search
    function in `Products.razor.cs` to include the selected brand ID
    (`SearchBrandId`). Changed the type of `SearchBrandId` from `Guid` to
    `Guid?` to support the nullable brand ID for the "All Brands" option.
    
    * Remove Catalog folder reference from PostgreSQL.csproj
    
    The `ItemGroup` containing the `<Folder Include="Catalog\" />` line was removed from the `PostgreSQL.csproj` file. This change eliminates the folder reference to `Catalog` from the project file.
    jacekmichalski authored Nov 22, 2024
    Copy the full SHA
    cd770dc View commit details
  2. Update claims in TokenService and add mobile phone claim (#1058)

    Replaced JwtRegisteredClaimNames with ClaimTypes for NameIdentifier, Email, and Name in the GetClaims method. Added a new claim for ClaimTypes.MobilePhone to include the user's phone number.
    jacekmichalski authored Nov 22, 2024
    Copy the full SHA
    e7b5514 View commit details
  3. feat : Add soft deletion support and global query filters (#1051)

    Updated `AuditableEntity` and `ISoftDeletable` to include `Deleted` and `DeletedBy` properties for soft deletion tracking. Modified `FshDbContext` to apply a global query filter for `ISoftDeletable` entities, ensuring deleted entities are excluded from queries. Enhanced `AuditInterceptor` to handle soft deletions, including setting `Deleted` and `DeletedBy` properties and updating entity states. Added `AppendGlobalQueryFilter` extension method to facilitate the application of global query filters to entities implementing specific interfaces.
    
    Co-authored-by: Mukesh Murugan <31455818+iammukeshm@users.noreply.github.com>
    AliRafay and iammukeshm authored Nov 22, 2024
    Copy the full SHA
    df50461 View commit details
  4. feat : upgrade to .NET 9 (#1061)

    * update nuget and deps to 9.0
    
    * update infra
    
    * update to .net 9
    
    * update docs
    
    * fix issue
    iammukeshm authored Nov 22, 2024
    Copy the full SHA
    ad36be4 View commit details
  5. ci : update ci

    iammukeshm committed Nov 22, 2024
    Copy the full SHA
    2d93718 View commit details
  6. ci : version add

    iammukeshm committed Nov 22, 2024
    Copy the full SHA
    bcebba6 View commit details

Commits on Nov 23, 2024

  1. ci : update ci

    iammukeshm committed Nov 23, 2024
    Copy the full SHA
    4a1579c View commit details
  2. update image version

    iammukeshm committed Nov 23, 2024
    Copy the full SHA
    505f77f View commit details
  3. update CI names

    iammukeshm committed Nov 23, 2024
    Copy the full SHA
    5902fad View commit details
  4. fix migrations

    iammukeshm committed Nov 23, 2024
    Copy the full SHA
    d28a00c View commit details
  5. bump version

    iammukeshm committed Nov 23, 2024
    Copy the full SHA
    8e762f0 View commit details

Commits on Feb 21, 2025

  1. Copy the full SHA
    d641876 View commit details
  2. Update CatalogDbContext.cs (#1083)

    Added base.OnModelCreating(modelBuilder); so that base functionality works i.e soft delete
    codewithayaz authored Feb 21, 2025
    Copy the full SHA
    95f7672 View commit details
  3. cleaner schema names

    iammukeshm committed Feb 21, 2025
    Copy the full SHA
    c5567fc View commit details
  4. update domain

    iammukeshm committed Feb 21, 2025
    Copy the full SHA
    ad78a56 View commit details
  5. update deps

    iammukeshm committed Feb 21, 2025
    Copy the full SHA
    b92a82f View commit details
  6. add postgresql to aspire

    iammukeshm committed Feb 21, 2025
    Copy the full SHA
    1b91582 View commit details

Commits on Feb 22, 2025

  1. add email confirmation feature

    fixes #1056
    iammukeshm committed Feb 22, 2025
    Copy the full SHA
    563a9e2 View commit details
Loading