Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
d9b4a1d
Merge pull request #29 from Reverse-Analytics/Refactoring
Mirazyzz Feb 10, 2023
f4cb5be
Revert "Refactoring"
Mirazyzz Feb 10, 2023
92aa58b
Merge pull request #31 from Reverse-Analytics/revert-29-Refactoring
Mirazyzz Feb 10, 2023
ce40673
Merge pull request #33 from Reverse-Analytics/Refactoring
Mirazyzz Feb 10, 2023
61c46cf
Fix naming typos
Mirazyzz Feb 10, 2023
9650df2
Merge branch 'master' into Refactoring-Stable
Mirazyzz Feb 10, 2023
622b3f7
Merge pull request #34 from Reverse-Analytics/Refactoring-Stable
Mirazyzz Feb 10, 2023
5ca3ea7
Revert "Merge branch 'master' into Refactoring-Stable"
Mirazyzz Feb 10, 2023
655f996
Merge pull request #35 from Reverse-Analytics/Refactoring-Stable
Mirazyzz Feb 10, 2023
c649ea1
Update entities
Mirazyzz Jun 29, 2023
70d500d
update entity configurations
Mirazyzz Jun 29, 2023
5c13448
remove old version dependencies
Mirazyzz Jun 29, 2023
77a5775
Update controllers
Mirazyzz Jun 29, 2023
789a605
improve naming
Mirazyzz Jun 29, 2023
01440bd
Update DTOs
Mirazyzz Jun 29, 2023
a4a3842
Add mappings
Mirazyzz Jun 29, 2023
1583209
remove mappings
Mirazyzz Jun 29, 2023
3b14f32
implement repositories
Mirazyzz Jun 30, 2023
8ff0db0
Add additional methods to repositories
Mirazyzz Jun 30, 2023
bbbe87e
Implement services
Mirazyzz Jun 30, 2023
c9e03ee
configure DI
Mirazyzz Jun 30, 2023
2818bf6
create endpoints for new models
Mirazyzz Jun 30, 2023
d3a172f
fix service naming
Mirazyzz Jun 30, 2023
24b9ae4
change precision and scale
Mirazyzz Jun 30, 2023
f3da1ba
Update DbInitializer.cs
Mirazyzz Jun 30, 2023
0eff90e
Update migrations
Mirazyzz Jul 2, 2023
a1bf9d7
Update SupplyConfiguration.cs
Mirazyzz Jul 2, 2023
8390bf4
update debt entities
Mirazyzz Jul 2, 2023
2cd5445
Update migrations
Mirazyzz Jul 2, 2023
d4e7fc1
Refactor DTOs
Mirazyzz Jul 2, 2023
bac6d2e
update services
Mirazyzz Jul 2, 2023
3031036
Update controllers
Mirazyzz Aug 27, 2023
e6d771a
Update DbInitializer.cs
Mirazyzz Aug 27, 2023
1db9be1
Update launchSettings.json
Mirazyzz Aug 27, 2023
617be34
Update customer dtos
Mirazyzz Aug 27, 2023
15435f8
Update debt dtos
Mirazyzz Aug 27, 2023
b19504a
Update supply dtos
Mirazyzz Aug 27, 2023
1a8d12f
Add methods to sale repository
Mirazyzz Aug 27, 2023
85abab3
Update repositories
Mirazyzz Aug 27, 2023
3481c5c
Update services
Mirazyzz Aug 27, 2023
e9d462b
Update mappers
Mirazyzz Aug 27, 2023
e932254
Update ProductCategoryDto.cs
Mirazyzz Aug 27, 2023
0ab43fa
Update databases
Mirazyzz Aug 27, 2023
6bd2306
Update DbInitializer.cs
Mirazyzz Sep 11, 2023
6fe2f7d
Update DTOs
Mirazyzz Sep 11, 2023
7573d98
Update domain models
Mirazyzz Sep 11, 2023
673f8b0
Update repositories
Mirazyzz Sep 11, 2023
f7f6457
Update SaleService.cs
Mirazyzz Sep 11, 2023
c549a68
Update sale configurations
Mirazyzz Sep 11, 2023
5870b33
Update SaleMapping.cs
Mirazyzz Sep 11, 2023
ea8409d
Update migrations
Mirazyzz Sep 11, 2023
6386089
Update sqlite db data
Mirazyzz Sep 11, 2023
7db6a1c
Before deleting sale remove debt
Mirazyzz Sep 14, 2023
147685f
Update entity models
Mirazyzz Sep 25, 2023
d08b00e
Update entity configurations
Mirazyzz Sep 25, 2023
bd02925
Update migrations
Mirazyzz Sep 25, 2023
50df530
Update repositories
Mirazyzz Sep 25, 2023
413e5a3
Update DTOs
Mirazyzz Sep 25, 2023
e7f8be0
Update RefundItemForUpdateDto.cs
Mirazyzz Sep 25, 2023
e88882a
Rename configuration classes
Mirazyzz Sep 25, 2023
5ce1b6e
Setup global configuration for decimal & double types
Mirazyzz Sep 25, 2023
04ae313
Update sale, refund entities
Mirazyzz Sep 25, 2023
71b6530
Update DTOs
Mirazyzz Sep 25, 2023
29c3ed6
Rename refund controller
Mirazyzz Sep 28, 2023
1b16740
update DTOs
Mirazyzz Sep 28, 2023
10c525e
Create RefundExceedsSaleException.cs
Mirazyzz Sep 28, 2023
c4911b1
Update refund repository
Mirazyzz Sep 28, 2023
8186377
update refund services
Mirazyzz Sep 28, 2023
ca0e550
update db values
Mirazyzz Sep 28, 2023
ce41373
Update DTOs
Mirazyzz Oct 1, 2023
6f659d8
Add column which indicates whether refund covered debt
Mirazyzz Oct 1, 2023
86b93c2
Refactor customer service
Mirazyzz Oct 1, 2023
57c5250
Load data by id without tracking
Mirazyzz Oct 1, 2023
e5b99d1
Improve logic for handling debt updates from refund
Mirazyzz Oct 1, 2023
a5a1848
Update database values
Mirazyzz Oct 1, 2023
694ab2e
Add test cases
Mirazyzz Oct 1, 2023
3c3e62c
rename details to items
Mirazyzz Oct 2, 2023
429763a
Refactor the logic for calculating debts
Mirazyzz Oct 2, 2023
f282ed7
Update design for tracking debts
Mirazyzz Oct 6, 2023
1d8abf2
remove unused parts
Mirazyzz Feb 14, 2024
7172453
Create EntityNotFoundException.cs
Mirazyzz Feb 14, 2024
762ba9a
remove services for refactoring
Mirazyzz Feb 14, 2024
d362b07
remove refactored implementations
Mirazyzz Feb 14, 2024
558e067
add initial repository implementation
Mirazyzz Feb 16, 2024
58e9023
add pagination
Mirazyzz Feb 16, 2024
aa6fde8
add category repository implementation
Mirazyzz Feb 16, 2024
9eade08
update database schema, remove services
Mirazyzz Mar 15, 2024
7a48fab
implement supply models
Mirazyzz Mar 15, 2024
cda6a5f
add debt entities
Mirazyzz Mar 16, 2024
830689d
add repository interfaces, add debt migration, remove services
Mirazyzz Mar 16, 2024
908ba3d
leave only initial entity types
Mirazyzz Mar 16, 2024
5ba9a85
add staing env variable, upgrade project versions, remove unused pack…
Mirazyzz Mar 16, 2024
eaa4bc9
add query parameters
Mirazyzz Mar 17, 2024
e63d3e7
add interceptors
Mirazyzz Mar 17, 2024
8d02c0f
remove fakers, add home controller
Mirazyzz Mar 17, 2024
f3ec918
update local database
Mirazyzz Mar 17, 2024
c55d1fc
update repository interfaces
Mirazyzz Mar 17, 2024
5196ba5
Implement repositories
Mirazyzz Mar 17, 2024
af29243
Update CommonRepository.cs
Mirazyzz Mar 17, 2024
a4b2f38
move migrations to separate projects for each type
Mirazyzz Mar 19, 2024
908561f
move migrations to separate folder
Mirazyzz Mar 19, 2024
544ceb5
Add DTOs
Mirazyzz Mar 19, 2024
0a5589e
Merge branch 'refactoring'
Mirazyzz Mar 20, 2024
652c679
remove debt, adjust namespace
Mirazyzz Mar 20, 2024
57cae37
implement services
Mirazyzz Mar 20, 2024
537a146
update sale & supply DTOs
Mirazyzz Mar 20, 2024
622f112
remove services
Mirazyzz Mar 20, 2024
e7084f8
update base repository to have default virtual method
Mirazyzz Mar 20, 2024
f600eef
register service interfaces
Mirazyzz Mar 20, 2024
888c830
add DTO validators
Mirazyzz Mar 21, 2024
5312e07
implement product & category services
Mirazyzz Mar 21, 2024
4f9c476
Update domain models
Mirazyzz Mar 21, 2024
92ba899
remove unused packages
Mirazyzz Mar 21, 2024
c249a05
load data without tracking
Mirazyzz Mar 21, 2024
30c48b3
seed only if empty
Mirazyzz Mar 21, 2024
fb7db4c
Dependency injection configurations
Mirazyzz Mar 21, 2024
f1f7eff
Create ProductCategoryController.cs
Mirazyzz Mar 21, 2024
9276559
load products for categories
Mirazyzz Mar 21, 2024
c6b9db9
update validators
Mirazyzz Mar 21, 2024
ffed625
register fluent validation
Mirazyzz Mar 21, 2024
2ded28a
Update ProductCategoryMappings.cs
Mirazyzz Mar 21, 2024
1b3735d
update category repository
Mirazyzz Mar 21, 2024
4e46949
implement fetching category children
Mirazyzz Mar 21, 2024
10578e4
make category description nullable
Mirazyzz Mar 21, 2024
ca71faa
update dtos
Mirazyzz Mar 22, 2024
7ab3551
remove loop reference from dtos & update validators
Mirazyzz Mar 24, 2024
9365a8d
return data with pagination metadata from service
Mirazyzz Mar 24, 2024
cdee95c
add patch, options & metadata to response headers
Mirazyzz Mar 24, 2024
b6721ec
add links to resources
Mirazyzz Mar 24, 2024
120c16a
make navigation properties virtual
Mirazyzz Mar 26, 2024
6b9fb6b
add unit tests
Mirazyzz Mar 26, 2024
21b5358
add validation, documentation to paginated list
Mirazyzz Mar 27, 2024
c4a43d7
add tests for paginatedList
Mirazyzz Mar 27, 2024
5c202c8
add validation, use named tuples & return enumerable
Mirazyzz Mar 27, 2024
6dd30c2
add base service fixture, implement common service test logic
Mirazyzz Mar 27, 2024
2bd3525
add autofixture library
Mirazyzz Mar 27, 2024
7e6a051
improve unit tests for category service
Mirazyzz Mar 28, 2024
a2264ea
Create dotnet.yml
Mirazyzz Mar 28, 2024
6838c5b
Update dotnet.yml
Mirazyzz Mar 28, 2024
d96083b
Update dotnet.yml
Mirazyzz Mar 28, 2024
382e9a3
add unit tests for query parameters
Mirazyzz Mar 28, 2024
3a2ad29
Merge branch 'master' of https://github.com/Reverse-Analytics/Reverse…
Mirazyzz Mar 31, 2024
1f26ae0
add checks to repositories
Mirazyzz Mar 31, 2024
3237c3c
return null when item is not found by id
Mirazyzz Apr 2, 2024
6c8fa76
use metadata as auto property
Mirazyzz Apr 2, 2024
fcd2d4f
Create base test classes
Mirazyzz Apr 2, 2024
e2e5e51
Update ProductCategoryController.cs
Mirazyzz Apr 2, 2024
fc0a44e
Add unit tests for product category controller
Mirazyzz Apr 2, 2024
e28b1f1
improve architecture tests
Mirazyzz Apr 6, 2024
331dbad
improve architecture tests
Mirazyzz Apr 12, 2024
c01a43b
add global usings unit tests
Mirazyzz Apr 13, 2024
e2000f3
Fix flaky tests
Mirazyzz Apr 13, 2024
33fbb20
reduce redundant tests
Mirazyzz Apr 14, 2024
24a73f2
add more coverage to category controller
Mirazyzz Apr 14, 2024
95825ff
Add api tests
Mirazyzz Apr 15, 2024
422a685
seed database using configuration and options
Mirazyzz May 3, 2024
977395a
use base test class, remove redundant brackets
Mirazyzz May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
working-directory: Reverse-Analytics
- name: Build
run: dotnet build --no-restore
working-directory: Reverse-Analytics
- name: Test
run: dotnet test --no-build --verbosity normal
working-directory: Reverse-Analytics
Loading