Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
373 commits
Select commit Hold shift + click to select a range
e9beacd
fixed authentication scheme issues
medhatelmasry Jun 25, 2024
a9d88a1
GoodBooks light color on main page
medhatelmasry Jun 25, 2024
a5a6c58
No Warn in sahil branch
medhatelmasry Jun 25, 2024
e27e967
minutes of meeting with accountant on June 24, 2024
medhatelmasry Jun 25, 2024
7aaa7db
fixed issue 25
medhatelmasry Jul 5, 2024
422e197
closed issue 19
medhatelmasry Jul 5, 2024
b4d2bbe
added blazor to mvc project
medhatelmasry Jul 5, 2024
491085f
added counter blazor component
medhatelmasry Jul 6, 2024
d675496
[fix] Modified GoodBooks to Good Deed Books.
ydongchoi Jul 6, 2024
cc1b382
Merge pull request #29 from medhatelmasry/16-change-app-name-to-good-…
medhatelmasry Jul 6, 2024
5a3a476
fixed save customer and home page logo
medhatelmasry Jul 6, 2024
e8be1a3
disabled react github actions workflow file
medhatelmasry Jul 6, 2024
a6925d8
[chore] Spaces are left between the code for ease of understanding.
ydongchoi Jul 7, 2024
7fb0388
[fix] changed script src for bootstraps to solve problem about taxs p…
ydongchoi Jul 7, 2024
ae63091
Merge pull request #30 from medhatelmasry/11-financials-taxes
medhatelmasry Jul 7, 2024
de69e06
[fix] Modified Script src of knockout.
ydongchoi Jul 7, 2024
8481cbb
Merge branch '11-financials-taxes' of https://github.com/medhatelmasr…
ydongchoi Jul 7, 2024
7512823
Merge pull request #31 from medhatelmasry/11-financials-taxes
medhatelmasry Jul 8, 2024
4835898
[fix] Modified the anchor tag for the base tag for the purpose of int…
ydongchoi Jul 9, 2024
9870280
Merge branch '11-financials-taxes' of https://github.com/medhatelmasr…
ydongchoi Jul 9, 2024
7bc0cb3
Merge pull request #32 from medhatelmasry/11-financials-taxes
medhatelmasry Jul 9, 2024
143699f
[fix] Changed bootstrap version to use Collapsible Element properly.
ydongchoi Jul 10, 2024
4f7c9a1
[fix] Modified data-toggle Attribute Name to use Bootstrap Version 5.
ydongchoi Jul 10, 2024
ae1bc45
[feature] Created AccountViewModel to use in Chart of Accounts page.
ydongchoi Jul 11, 2024
013074c
[fix] Changed model type from string to AccountViewModel in Financial…
ydongchoi Jul 11, 2024
1068dce
[feature] Added Accounts view that has table & accordion feature.
ydongchoi Jul 11, 2024
0ca8f0b
[fix] Added ChildAccounts of grandChildAccount in Accounts view.
ydongchoi Jul 13, 2024
50d0e5d
Merge pull request #33 from medhatelmasry/17-exand-collapse-chart-of-…
medhatelmasry Jul 13, 2024
d2c0354
[feature] Added Authentication Service to protect api from unauthoriz…
ydongchoi Jul 16, 2024
3d316cb
[fix] Added await keyword in Signin Action Method.
ydongchoi Jul 16, 2024
d5aa091
[chore] Added JwtSettings in appsettings.Development.json to define I…
ydongchoi Jul 16, 2024
34a9792
[feature] Implemented Authentication Service for validating and creat…
ydongchoi Jul 16, 2024
1ea581e
[feature] Added Authentication and Configured JWT in Ioc Container.
ydongchoi Jul 16, 2024
0ce3cf6
[fix] Applied Authentication Service in AccountController.
ydongchoi Jul 16, 2024
754cb0d
[feature] Added Authorize attribute to controller in FinancialsContro…
ydongchoi Jul 16, 2024
00132e5
BlazorGDB and LibraryGDB
medhatelmasry Jul 17, 2024
82450b7
[feature] Added Token Dto for transferring data using api.
ydongchoi Jul 18, 2024
aa4d1c5
[feature] Added RefershToken, Expiry Time Column in ApplicationIdenti…
ydongchoi Jul 18, 2024
731a6e9
[feature] Add EntityFramework Tool to use Add-Migration and Update-Da…
ydongchoi Jul 18, 2024
a529bfe
[feature] Added RefreshToken in Authentication Servic.
ydongchoi Jul 18, 2024
e8e9035
[fix] Modified SignIn Action Method to use tokenDto.
ydongchoi Jul 18, 2024
073a25d
[feature] Implemented api/token/refresh endpoint to refresh token whe…
ydongchoi Jul 19, 2024
d5ea5c1
[refactor] Refactored add Db Context to ConfigureSqlContext Method in…
ydongchoi Jul 21, 2024
3754744
[refactor] Refactored code to ConfigureIdentity Method in Program and…
ydongchoi Jul 21, 2024
a2943e1
[refactor] Refactored code to ConfigureCors in Progam and ServiceExte…
ydongchoi Jul 21, 2024
0a5c248
fixed QuickGrid CSS
medhatelmasry Jul 22, 2024
ebd5b74
[chore] Excluded appsettings.Development.json.
ydongchoi Jul 22, 2024
523dffc
[fix] Modified method getting SECRET Key Value from system environmen…
ydongchoi Jul 22, 2024
f698f0e
Merge pull request #36 from medhatelmasry/34-implement-authentication…
medhatelmasry Jul 23, 2024
59275e4
[fix] Modified code that get values of jwt settings considering azure…
ydongchoi Jul 23, 2024
920c150
added setting for super org name
medhatelmasry Jul 23, 2024
49ff594
[fix] Modified code to use values of appsettings in azure.
ydongchoi Jul 24, 2024
81ac8d0
Merge pull request #38 from medhatelmasry/34-implement-authentication…
medhatelmasry Jul 24, 2024
3e9287b
added Blazor project to solution
medhatelmasry Jul 24, 2024
618c760
Add or update the Azure App Service build and deployment workflow config
medhatelmasry Jul 24, 2024
faefa24
search & replace API url in blazor yml
medhatelmasry Jul 24, 2024
b7aaecf
debug info in blazor yml
medhatelmasry Jul 24, 2024
7ff7b7c
working directory in Blazor YML
medhatelmasry Jul 24, 2024
6e8eb35
moved @rendermode InteractiveServer from App.razot to Routes.razor
medhatelmasry Jul 25, 2024
d623bc6
Blazor SSR
medhatelmasry Jul 26, 2024
64f1381
deleted extra sln files
medhatelmasry Jul 26, 2024
83a1282
different routes for two ChartOfAccounts.razor
medhatelmasry Jul 26, 2024
93756e3
renamed blazor .yml to .gold
medhatelmasry Jul 26, 2024
e2638d9
diabled api & mvc yml
medhatelmasry Jul 26, 2024
9daf292
Add or update the Azure App Service build and deployment workflow config
medhatelmasry Jul 26, 2024
d8d84d3
updated gdbblazor.yml to use the blazor prj
medhatelmasry Jul 26, 2024
765d290
added blazor menu
medhatelmasry Jul 26, 2024
0fe0d5b
fixed error in blazor yml file
medhatelmasry Jul 26, 2024
eda32fe
enabled MVC and MVC workflow files
medhatelmasry Jul 26, 2024
695f47c
workflow .yml.disable to .yml
medhatelmasry Jul 26, 2024
5e078e2
tried 3 types of render mode on login.razor
medhatelmasry Jul 26, 2024
9ced2ab
fixed chart-of-accounts in client blazor project
medhatelmasry Jul 26, 2024
df5742d
Replaced chart of accounts in the MVC app with a blazor component.
medhatelmasry Jul 29, 2024
f15dee1
[fix] Removed active for solving the error that remains tab_1 after c…
ydongchoi Jul 29, 2024
a5e6e23
[feature] Add New Tax Button to Create Tax Info.
ydongchoi Jul 29, 2024
e79c624
tried to fix wasm
medhatelmasry Jul 30, 2024
8429868
[feature] Created AddNewTax Page when tax group and item tax group wa…
ydongchoi Jul 31, 2024
fc3adae
[feature] Created GetView of AddNewTax and Post Action to Api in TaxC…
ydongchoi Jul 31, 2024
5692d6f
[feature] Created TaxForCreation Dto for between mvc app and api server.
ydongchoi Jul 31, 2024
9c19bf4
[feature] Created addnewtax action method to insert new tax to tax re…
ydongchoi Jul 31, 2024
0593180
[feature] Added Button to create TaxGroup and Item Tax Group.
ydongchoi Jul 31, 2024
a29fc78
[feature] Added Modal to create TaxGroup and Item Tax Group.
ydongchoi Jul 31, 2024
850bba9
[feature] Added Edit, Delete Button in Tax Table.
ydongchoi Jul 31, 2024
6b4c199
[feature] Added feature that pass taxId in table row to DeleteTax Act…
ydongchoi Aug 1, 2024
010a6c6
[feature] Created DeleteTax Action Method in TaxController of MVC app.
ydongchoi Aug 1, 2024
f8ba03b
[feature] Created DeleteTax in TaxController of Api.
ydongchoi Aug 1, 2024
ae22e8f
[feature] Created DeleteTax Method in AdministrationService.
ydongchoi Aug 1, 2024
ae664d4
[fix] Changed taxId to id to solve synyax error unmatched.
ydongchoi Aug 1, 2024
c03e798
[fix] removed the code related to popover in script tag.
ydongchoi Aug 2, 2024
66f6bd0
[feature] Implemented updateTax function to transfer tax-related data…
ydongchoi Aug 2, 2024
bf30809
[refactor] Refactor AddNewTax in Controller.
ydongchoi Aug 3, 2024
4e7cc67
[feature] Added AutoMapper for mapping between Dto and Entity.
ydongchoi Aug 3, 2024
eeaf6ea
[fix] changed CreateTax for using AutoMapper.
ydongchoi Aug 4, 2024
2c99408
[fix] modified mapper parameter.
ydongchoi Aug 4, 2024
13677e2
[feature] Added Validation Filter for AddNewTax action method.
ydongchoi Aug 5, 2024
0f702a3
[feature] Added deletetax action method in TaxController.
ydongchoi Aug 5, 2024
d2512cb
[feature] Added deletetax and edittax action method in TaxController.
ydongchoi Aug 5, 2024
48ef003
[chore] Removed MappingProfile class.
ydongchoi Aug 5, 2024
ef0b1f2
[fix] refactored Edit Tax Action method and added validation filter.
ydongchoi Aug 6, 2024
91a65a2
[fix] CreateMap for mapping TaxDto to TaxEntity,
ydongchoi Aug 6, 2024
b15d57b
[chore] Removed Required Data Annotation.
ydongchoi Aug 6, 2024
add2ae1
[feature] Created EditTax Method and fixed CreateTax Method in Admini…
ydongchoi Aug 6, 2024
43f83bf
[fix] Added Include to add multiple entities.
ydongchoi Aug 6, 2024
d363625
[feature] Created Edit Tax Page, Action Method, View Model.
ydongchoi Aug 6, 2024
86c2545
[chore] Modified accountgo.sln.
ydongchoi Aug 6, 2024
62346aa
[feature] Created check logic wheter Tax data already exists or not.
ydongchoi Aug 6, 2024
434efcd
[feature] Added the feature creating TaxGroup, ItemTaxGroup in Accoun…
ydongchoi Aug 7, 2024
5cff546
[feature] Added the feature creating TaxGroup and ItemTaxGroup in Api…
ydongchoi Aug 7, 2024
e4dd23e
[fix] added ; to fix error.
ydongchoi Aug 7, 2024
1d35f8b
[featue] Added ViewModel for Tax System.
ydongchoi Aug 8, 2024
fb74d07
[feature] Added AutoMapper for mapping between Dto and View Model.
ydongchoi Aug 8, 2024
f08fb3e
[feature] Added span tag for value Validation in EditTax Page.
ydongchoi Aug 8, 2024
b0e1447
[feature] Applied Mapper and Map Between Dto and ViewModel.
ydongchoi Aug 8, 2024
83a3ea9
[feature] Added ModelState Validation Logic in AddNewTax action method.
ydongchoi Aug 11, 2024
b204246
[fix] Changed class in span tag for validation.
ydongchoi Aug 11, 2024
081f346
[fix] Changed TaxName, TaxCode MaxLength.
ydongchoi Aug 11, 2024
55fa6bb
[feature] Added DeleteTaxGroup and ItemTaxGroup feature in AccountGoW…
ydongchoi Aug 12, 2024
e1d05be
updated nullable in projects dto & api
medhatelmasry Aug 12, 2024
208261e
fixed nullables
medhatelmasry Aug 12, 2024
09d1094
[fix] Removed the condition that finds the tax that has same rate.
ydongchoi Aug 13, 2024
ffb1ab8
edits on Tax System
medhatelmasry Aug 13, 2024
951c019
[feature] Applied Result Pattern to AddNewTax Service.
ydongchoi Aug 13, 2024
5df00ea
[feature] Applied Result Pattern to Delete Tax/TaxGroup/Item TaxGroup…
ydongchoi Aug 14, 2024
390db60
[feature] Applied Reulst Patternto Edit Tax Feature.
ydongchoi Aug 14, 2024
c7e9b57
[feature] Added Async Features to Tax System.
ydongchoi Aug 15, 2024
8894baf
[fix] Changed to the code of ChartOfAccounts.razor in endpoint_sahil …
ydongchoi Aug 15, 2024
c08cf64
Merge branch 'endpoint_sahil' into 24-adddeleteedit-taxes
ydongchoi Aug 15, 2024
8d1a2be
Merge pull request #41 from medhatelmasry/24-adddeleteedit-taxes
medhatelmasry Aug 15, 2024
0ffdc4b
Display Name = Fully Exempt
medhatelmasry Aug 15, 2024
d50d837
[fix] Changed addRowBtn to nullable.
ydongchoi Aug 17, 2024
975edff
[fix] Changed danger to text-danger in class of tag.
ydongchoi Aug 17, 2024
9d1656b
[fix] Added Sales to Endpoint to get SalesInvoice View.
ydongchoi Aug 18, 2024
aa0df11
[fix] changed href when clicking close button.
ydongchoi Aug 18, 2024
336e9a3
[fix] Changed value in a tag to Edit.
ydongchoi Aug 18, 2024
96d1a05
[fix] Activate Form tag to edit sales invoice.
ydongchoi Aug 18, 2024
a187d72
[fix] Added SalesInvoiceLines id to Dto for edit Sales Invoice.
ydongchoi Aug 19, 2024
ddf5771
[feature] Added style to selected row.
ydongchoi Aug 19, 2024
a0354a4
[fix] Changed Style in SalesInvoices.
ydongchoi Aug 19, 2024
d383926
[fix] Modified AddSalesInvoice API Endpoint.
ydongchoi Aug 21, 2024
b7aea28
[feature] Added Mapper for mapping SalesInvoiceDto to SalesOrder and …
ydongchoi Aug 21, 2024
44b9d04
[feature] Added CreateSalesInvoice Action Method in SalesController.
ydongchoi Aug 21, 2024
09ac418
[feature] Added CreateSalesInvoice Service.
ydongchoi Aug 21, 2024
ef38b07
[feature] Added input tag for storing No, PaymentTermId.
ydongchoi Aug 22, 2024
9c455f7
[feature] Created SalesInvoice Post Action Method for Updating SalesI…
ydongchoi Aug 22, 2024
86c28d7
[feature] Added Logic considering Update of SalesInvoice in AutoMapper.
ydongchoi Aug 22, 2024
b104836
[feature] Added UpdateSalesInvoice Action method.
ydongchoi Aug 22, 2024
7083f93
[feature] Implemented UpdateSalesInvoice method in Service.
ydongchoi Aug 22, 2024
eab05b6
[fix] Added No Property in salesInvoiceDto.
ydongchoi Aug 22, 2024
f1a5191
[feature] Added Delete feature in SalesInvoices.
ydongchoi Aug 23, 2024
1ea0aa7
[feature] Added Delete Feature of SalesInvoice in API.
ydongchoi Aug 23, 2024
137f9aa
[feature] Commented Audit feature to implement that feature later.
ydongchoi Aug 23, 2024
cb220af
[fix] Added Logic If Model State is not valid.
ydongchoi Aug 24, 2024
a3b15e8
[feature] Added SalesInvoice Validation using span tag.
ydongchoi Aug 24, 2024
9e0c002
[fix] removed required to maintain consistency of validation msg.
ydongchoi Aug 24, 2024
23abbaa
[feature] Added null check logic of amount and quantity.
ydongchoi Aug 24, 2024
4936ff2
[feature] Added Validation Check and Error Message.
ydongchoi Aug 24, 2024
22bbe8f
sales invoice total two decimal places
medhatelmasry Aug 26, 2024
0a5ef52
[fix] Added Viewbag.TotalAmount to prevent null values ​​when renderi…
ydongchoi Aug 26, 2024
6b75fff
Merge pull request #42 from medhatelmasry/22-bug-in-accounts-receivab…
medhatelmasry Aug 26, 2024
8a18d20
I noticed there were some small syntax errors in the account go project.
breader1 Nov 8, 2024
ad6f541
Merge pull request #49 from medhatelmasry/breader-generic-fixes
medhatelmasry Nov 8, 2024
9da86d9
Update gdbblazor.yml
medhatelmasry Nov 8, 2024
1f6d6e5
Update gdbblazor.yml
medhatelmasry Nov 8, 2024
0434285
initialized branch for debug/8-income-report
rizgif Nov 21, 2024
6f1280f
updated income method
rizgif Nov 21, 2024
563f886
Github Issue 45 - Seed Data through migrations in the API project - D…
ssidhu271 Nov 21, 2024
7bd9c3f
Merge branch 'endpoint_sahil' into SS001_SeedData_Comp4976
ssidhu271 Nov 21, 2024
77afbf7
init
chosm7489 Nov 21, 2024
60aa12f
Debugged Income Statement report
rizgif Nov 21, 2024
b637442
added blank data option for balance sheet
davinleong Nov 21, 2024
e4e4c75
added null check for balance sheet model
davinleong Nov 21, 2024
9dc463e
fixed issue for query of contra account
davinleong Nov 21, 2024
aabeefa
added CRA
chosm7489 Nov 22, 2024
e1378ed
Merge pull request #55 from medhatelmasry/SS001_SeedData_Comp4976
medhatelmasry Nov 22, 2024
7d8ea46
Rename gdbblazor.yml to gdbblazor.yml.flat
medhatelmasry Nov 22, 2024
ba3f807
Rename gdb_mvc_tar.yml to gdb_mvc_tar.yml.flat
medhatelmasry Nov 22, 2024
0ad6a2e
Rename gdb_api.yml to gdb_api.yml.flat
medhatelmasry Nov 22, 2024
6cddc73
Add or update the Azure App Service build and deployment workflow config
medhatelmasry Nov 23, 2024
733171c
copied yml files to actions folder
medhatelmasry Nov 23, 2024
cb83a7e
Update endpoint_sahil_gdbapi.yml
medhatelmasry Nov 23, 2024
6b00288
Update endpoint_sahil_gdbapi.yml
medhatelmasry Nov 23, 2024
1186c02
Update endpoint_sahil_gdbapi.yml
medhatelmasry Nov 23, 2024
dcda8b5
Update endpoint_sahil_gdbapi.yml
medhatelmasry Nov 23, 2024
d4ed37a
Merge pull request #58 from medhatelmasry/SM03_Mig
parinrava Nov 24, 2024
4f6b200
Merge pull request #57 from medhatelmasry/9-balance-sheet-null
medhatelmasry Nov 28, 2024
402b263
Merge pull request #59 from medhatelmasry/4-Add-CRA
medhatelmasry Nov 28, 2024
270435e
Merge branch 'endpoint_sahil' into debug/8-income-report
medhatelmasry Dec 3, 2024
546b813
Merge pull request #56 from medhatelmasry/debug/8-income-report
medhatelmasry Dec 3, 2024
04e7db6
Add or update the Azure App Service build and deployment workflow config
medhatelmasry Dec 3, 2024
c4da12d
updated mvc yml file
medhatelmasry Dec 3, 2024
e718b4d
Update gdb_mvc_tar.yml.flat
medhatelmasry Dec 3, 2024
4b5f69f
Add IFinancialService interface and FinancialService implementation w…
mika-em Dec 4, 2024
9d2a546
register financial service in Program.cs in Api
mika-em Dec 4, 2024
eeb05eb
restored old MVC YML from Nov 2024
medhatelmasry Dec 4, 2024
0250b6e
fixed BlazorGDB, Program.cs
medhatelmasry Dec 4, 2024
7a7ecea
replaced azure IS with a new set of IDs from a recent YML file pointi…
medhatelmasry Dec 4, 2024
18d1680
changed line 100 in MVC YML to gdbmvc
medhatelmasry Dec 4, 2024
f28ad71
Fixed routing to Receipt Allocation page
arickor Dec 4, 2024
295b9b5
using runner.temp in MVC yml file
medhatelmasry Dec 4, 2024
a08704c
Integrate AccountService into FinancialsController and resolve duplic…
mika-em Dec 4, 2024
7e106c1
Merge branch 'endpoint_sahil' of https://github.com/medhatelmasry/Goo…
mika-em Dec 4, 2024
720397c
bug fix: remove duplicate function in IFinancialService
mika-em Dec 4, 2024
dfbcfc2
bug fix: remove unnecessary AppDbContext registration in Program.cs
mika-em Dec 4, 2024
0b48e7b
added debug info to mvc yml file
medhatelmasry Dec 4, 2024
6cc1efe
Merge branch 'endpoint_sahil' of https://github.com/medhatelmasry/Goo…
medhatelmasry Dec 4, 2024
09c0c29
added debug info to mvc yml
medhatelmasry Dec 4, 2024
2172dc9
more debugging info in deploy step MVC yml
medhatelmasry Dec 5, 2024
8bee5e6
revert back the mvc yml file
medhatelmasry Dec 5, 2024
97513e6
mvc yml AI version
medhatelmasry Dec 5, 2024
e97d2fa
fixed IDs with mvc yml
medhatelmasry Dec 5, 2024
f88f0e5
implement add/edit/delete buttons and modals in chart of accounts UI
mika-em Dec 5, 2024
2da8f2b
changed good-nooks to gdbmvc
medhatelmasry Dec 5, 2024
fbed4a7
Revert "bug fix: remove unnecessary AppDbContext registration in Prog…
mika-em Dec 5, 2024
96dd33c
Revert "bug fix: remove duplicate function in IFinancialService"
mika-em Dec 5, 2024
f167d80
Revert "Integrate AccountService into FinancialsController and resolv…
mika-em Dec 5, 2024
cf55e64
replace id with accountCode in account service
mika-em Dec 5, 2024
f662b0b
more changes to AI version of mvc yml
medhatelmasry Dec 5, 2024
8d68d70
startup dll in mvc yml
medhatelmasry Dec 5, 2024
04ef7ad
Diagnosed Posted flag error
arickor Dec 5, 2024
54632e7
working api and mvc yml files
medhatelmasry Dec 5, 2024
9d953eb
implement add/edit/delete buttons and modals in chart of accounts UI
mika-em Dec 5, 2024
70ce1b0
replace id with accountCode in account service
mika-em Dec 5, 2024
976bf9d
Merge branch 'allow-accounts-to-be-editable' of https://github.com/me…
mika-em Dec 5, 2024
41ec533
included blazor yml
medhatelmasry Dec 5, 2024
cf3d231
add documentation and polish CRUD operations on frontend and backend
mika-em Dec 5, 2024
006b351
exclude blazor yml
medhatelmasry Dec 5, 2024
fa1a19d
polish chart razor page and register account service in api program.cs
mika-em Dec 5, 2024
b40900c
deleted app.db
medhatelmasry Dec 5, 2024
93224c6
deleted good-deed-books.db
medhatelmasry Dec 5, 2024
80e3198
moved endpoiny_sahil to main
medhatelmasry Dec 5, 2024
4081b76
dotnet 9
medhatelmasry Dec 6, 2024
3561e28
Merge pull request #74 from medhatelmasry/dotnet9
medhatelmasry Dec 6, 2024
35727f9
aspire workload in yml files
medhatelmasry Dec 6, 2024
0d61e61
Merge pull request #75 from medhatelmasry/dotnet9
medhatelmasry Dec 6, 2024
5616174
changed 8.0 to 9.0 on dotnet publish line in api yml
medhatelmasry Dec 6, 2024
84a39ae
Merge pull request #76 from medhatelmasry/dotnet9
medhatelmasry Dec 6, 2024
58d2e4d
fixed aspire.net
medhatelmasry Dec 6, 2024
cb1344f
Got Aspire working with SQL Server in an automated fashion with a wor…
medhatelmasry Dec 7, 2024
f381945
Merge pull request #80 from medhatelmasry/automate-SQL-Server-in-Aspi…
medhatelmasry Dec 7, 2024
9b72ab3
Merge pull request #79 from medhatelmasry/51-fix-allocations
medhatelmasry Dec 9, 2024
488415e
enabled exiry of API token as per Juan Chung and Ran Park research
medhatelmasry Dec 10, 2024
7a19af5
css for transaction row select and hover
medhatelmasry Dec 10, 2024
f496829
3_InitialData-0001-Audit.sql
medhatelmasry Dec 10, 2024
2fd2704
Merge pull request #81 from medhatelmasry/allow-accounts-to-be-editable
medhatelmasry Dec 10, 2024
b5aa8a1
updated all packages to latest and upgraded aspite to .net 9.0
medhatelmasry Mar 13, 2025
8b03a53
Merge pull request #85 from medhatelmasry/winter2025
medhatelmasry Mar 13, 2025
0ac64d8
Fix NullReference error when saving quotation
TommyJu Mar 27, 2025
f939c89
Debug invalid model state when saving a quotation
TommyJu Mar 27, 2025
b24aece
Merge pull request #91 from medhatelmasry/86-error-saving-quotation
medhatelmasry Mar 28, 2025
0d58328
Added rate limiting to the API. After requesting 5 times, there will …
bluedelaw Apr 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 0 additions & 38 deletions .devcontainer/devcontainer.json

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/build-deploy-azure.yml

This file was deleted.

91 changes: 91 additions & 0 deletions .github/workflows/gdbapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Good Deed Books API to Azure Web App - gdbapi

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.x'

- name: Install dotnet-ef tool
run: |
dotnet tool install --global dotnet-ef
echo "++++ dotnet-ef version"
dotnet ef --version

- name: Install dotnet aspire workload
run: |
dotnet workload install aspire

- name: Build with dotnet
run: |
echo "++++ dotnet build"
dotnet build --configuration Release

- name: Add migrations
run: |
echo "++++ current directory"
pwd
echo "++++ add ApplicationIdentityDbContext migration M1"
dotnet ef migrations add M1 --project ./src/Api/ --startup-project ./src/Api/Api.csproj --msbuildprojectextensionspath .build/obj/Api/ --context ApplicationIdentityDbContext --output-dir Data/Migrations/IdentityDb
echo "++++ add ApiDbContext migration M2"
dotnet ef migrations add M2 --project ./src/Api/ --startup-project ./src/Api/Api.csproj --msbuildprojectextensionspath .build/obj/Api/ --context ApiDbContext --output-dir Data/Migrations/ApiDb
echo "++++ contents of ./src/Api/Data/Migrations/IdentityDb"
ls ./src/Api/Data/Migrations/IdentityDb
echo "++++ contents of ./src/Api/Data/Migrations/ApiDb"
ls ./src/Api/Data/Migrations/ApiDb

- name: dotnet publish
run: |
echo "++++ contents of dotnet publish ./src/Api/Api.csproj"
dotnet publish ./src/Api/Api.csproj -f net9.0 -c Release -o "${{runner.temp}}/myapp"

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: .net-app
path: ${{runner.temp}}/myapp

deploy:
runs-on: windows-latest
needs: build
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_A17E281C175C4E629A76134AA823BAC5 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_258CF23452C24D9795BD94B25EF50B73 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_9375B274C69740D39F4770D5D433E8B1 }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: 'gdbapi'
slot-name: 'Production'
package: .
96 changes: 96 additions & 0 deletions .github/workflows/gdbmvc_tar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Build and deploy Good Deed Books MVC project to Azure
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.x'
include-prerelease: true

- name: Install dotnet aspire workload
run: |
dotnet workload install aspire

- name: Build with dotnet
run: dotnet build --configuration Release

- name: dotnet publish
run: dotnet publish ./src/AccountGoWeb/AccountGoWeb.csproj -c Release -o ${{runner.temp}}/myapp

- name: Archive production artifacts
run: |
echo "+++++++++++++++++++++++++ where am I? ++++++++++++++++++++++++"
pwd
echo "+++++++++++++++++++++++++ save current directory into a variable dir ++++"
dir=$(pwd)
echo "+++++++++ what is in variable dir ++++++++++++++"
echo $dir
echo "++++++++++++++++++++++++ what's in current directory? ++++++++"
ls -al
echo "+++++ what's in the ${{runner.temp}}/myapp directory? ++++"
ls -al ${{runner.temp}}/myapp
echo "+++++ change directory to ${{runner.temp}}/myapp ++++"
cd ${{runner.temp}}/myapp
echo "+++++++++++++++++++++++++ where am I? ++++++++++++++++++++++++"
pwd
echo "+++++++++++++++++++++++++ compress current directory and save in $dir/my_artifact.tar.gz ++++"
tar -czvf $dir/my_artifact.tar.gz .
echo "+++++++++++++++++++++++++ change back to $dir directory ++++"
cd $dir
echo "++++++++++++++++++++++++ what's in $dir directory? ++++++++"
ls -al

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: .net-app
path: my_artifact.tar.gz

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_8B6389BB3F37413FB2483AC2574C3BCB }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_FD62C59DE5DC42C2A07DB8191A522348 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_7076EF307FDA4C11BC99A0A7A0943794 }}

- name: Extract artifacts
run: |
tar -xzvf my_artifact.tar.gz -C .

- name: Set startup command
run: |
az webapp config set --resource-group goodbooks-RG --name gdbmvc --startup-file "dotnet /home/site/wwwroot/GoodBooks.dll"

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: 'gdbmvc'
slot-name: 'Production'
package: .
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# custom 2024/04/29
.idea

# User-specific files
*.suo
*.user
Expand All @@ -18,6 +21,7 @@ build/
bld/
[Bb]in/
[Oo]bj/
node_modules/

# Roslyn cache directories
*.ide/
Expand Down Expand Up @@ -186,6 +190,10 @@ FakesAssemblies/

# Lib folder generated by gulpfile.js
**/src/[Ww]eb[Aa]ngular/wwwroot/[Ll]ib/*


**/src/[Rr]eact[Ff]ront[Ee]nd/wwwroot/*

**/src/[Ww]eb[Aa]pp/wwwroot/app/scripts/*
**/src/[Ww]eb[Aa]pp/wwwroot/app/compiledscripts/*
**/src/[Ww]eb[Aa]pp/wwwroot/app/typescripts/compiledscripts/*
Expand Down Expand Up @@ -218,4 +226,5 @@ FakesAssemblies/
/src/Api/Data/Migrations

.vscode
exclude
exclude
/src/Api/appsettings.Development.json
71 changes: 58 additions & 13 deletions accountgo.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
# Visual Studio Version 17
VisualStudioVersion = 17.8.34322.80
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Presentation", "Presentation", "{0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}"
EndProject
Expand All @@ -19,19 +19,33 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AccountGoWeb", "src\Account
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dto", "src\Dto\Dto.csproj", "{1E610F55-2D74-4856-818B-0D0B47601B75}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E1B45442-3F2D-491A-9D8A-0DDA50309A1A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure", "src\Infrastructure\Infrastructure.csproj", "{EBFAFB5B-494F-48D5-A70D-AF1490B9260A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{0EAC5155-A5EA-49C1-8E0C-19DD36D2C21C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Module.Tests", "test\Module.Tests\Module.Tests.csproj", "{54631590-2A41-45F4-B057-92C840ED08C1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{E0861852-0F5B-4810-8586-A59038BC4034}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleNetStandard20", "test\SampleModules\SampleNetStandard20\SampleNetStandard20.csproj", "{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleModule", "src\Modules\SampleModule\SampleModule.csproj", "{B296277A-C822-444E-8CFA-4CC4C1C1F737}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{EF0BD6F1-00D6-41E5-91AB-8B606D35D448}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleNetStandard20", "test\SampleModules\SampleNetStandard20\SampleNetStandard20.csproj", "{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{EFF13E33-1D79-4221-87D7-4FCC8EA88943}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleModule", "src\Modules\SampleModule\SampleModule.csproj", "{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorGDB", "src\BlazorGDB\BlazorGDB\BlazorGDB.csproj", "{AB5F238F-AB78-4A85-8D8D-17E211015FD3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorGDB.Client", "src\BlazorGDB\BlazorGDB.Client\BlazorGDB.Client.csproj", "{12BE663C-C0DD-4343-93DF-6B2D853B6B79}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LibraryGDB", "src\LibraryGDB\LibraryGDB.csproj", "{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Aspire", "Aspire", "{64880D93-BAB4-FF83-898C-B934B68C31A9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "src.ServiceDefaults", "src\src.ServiceDefaults\src.ServiceDefaults.csproj", "{949C95E9-4261-416E-8D2A-F05E3D4640CA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "src.AppHost", "src\src.AppHost\src.AppHost.csproj", "{ADDBCE30-FE7F-4198-8A37-772EF6BF3676}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MigrationService", "src\MigrationService\MigrationService.csproj", "{DF084D96-707B-47C2-9493-85FA84631ACE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -67,14 +81,38 @@ Global
{54631590-2A41-45F4-B057-92C840ED08C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{54631590-2A41-45F4-B057-92C840ED08C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{54631590-2A41-45F4-B057-92C840ED08C1}.Release|Any CPU.Build.0 = Release|Any CPU
{B296277A-C822-444E-8CFA-4CC4C1C1F737}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B296277A-C822-444E-8CFA-4CC4C1C1F737}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B296277A-C822-444E-8CFA-4CC4C1C1F737}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B296277A-C822-444E-8CFA-4CC4C1C1F737}.Release|Any CPU.Build.0 = Release|Any CPU
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}.Release|Any CPU.Build.0 = Release|Any CPU
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}.Release|Any CPU.Build.0 = Release|Any CPU
{AB5F238F-AB78-4A85-8D8D-17E211015FD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AB5F238F-AB78-4A85-8D8D-17E211015FD3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AB5F238F-AB78-4A85-8D8D-17E211015FD3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AB5F238F-AB78-4A85-8D8D-17E211015FD3}.Release|Any CPU.Build.0 = Release|Any CPU
{12BE663C-C0DD-4343-93DF-6B2D853B6B79}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{12BE663C-C0DD-4343-93DF-6B2D853B6B79}.Debug|Any CPU.Build.0 = Debug|Any CPU
{12BE663C-C0DD-4343-93DF-6B2D853B6B79}.Release|Any CPU.ActiveCfg = Release|Any CPU
{12BE663C-C0DD-4343-93DF-6B2D853B6B79}.Release|Any CPU.Build.0 = Release|Any CPU
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}.Release|Any CPU.Build.0 = Release|Any CPU
{949C95E9-4261-416E-8D2A-F05E3D4640CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{949C95E9-4261-416E-8D2A-F05E3D4640CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{949C95E9-4261-416E-8D2A-F05E3D4640CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{949C95E9-4261-416E-8D2A-F05E3D4640CA}.Release|Any CPU.Build.0 = Release|Any CPU
{ADDBCE30-FE7F-4198-8A37-772EF6BF3676}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ADDBCE30-FE7F-4198-8A37-772EF6BF3676}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ADDBCE30-FE7F-4198-8A37-772EF6BF3676}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ADDBCE30-FE7F-4198-8A37-772EF6BF3676}.Release|Any CPU.Build.0 = Release|Any CPU
{DF084D96-707B-47C2-9493-85FA84631ACE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DF084D96-707B-47C2-9493-85FA84631ACE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DF084D96-707B-47C2-9493-85FA84631ACE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DF084D96-707B-47C2-9493-85FA84631ACE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -84,11 +122,18 @@ Global
{C02DECC9-2A82-42C0-8F26-D0AE6559AC5E} = {B4CE3CD4-74AA-4A22-B514-BC9B380AAFD7}
{09096FEC-DA29-4914-B046-CD280220C52A} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{9CA13D2D-D6E2-4201-946C-81D1E6093404} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{1E610F55-2D74-4856-818B-0D0B47601B75} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{1E610F55-2D74-4856-818B-0D0B47601B75} = {EF0BD6F1-00D6-41E5-91AB-8B606D35D448}
{EBFAFB5B-494F-48D5-A70D-AF1490B9260A} = {B5D35D0C-387C-44FA-9A70-6FE24DAE5728}
{54631590-2A41-45F4-B057-92C840ED08C1} = {0EAC5155-A5EA-49C1-8E0C-19DD36D2C21C}
{B296277A-C822-444E-8CFA-4CC4C1C1F737} = {E0861852-0F5B-4810-8586-A59038BC4034}
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB} = {0EAC5155-A5EA-49C1-8E0C-19DD36D2C21C}
{EFF13E33-1D79-4221-87D7-4FCC8EA88943} = {EF0BD6F1-00D6-41E5-91AB-8B606D35D448}
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4} = {EFF13E33-1D79-4221-87D7-4FCC8EA88943}
{AB5F238F-AB78-4A85-8D8D-17E211015FD3} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{12BE663C-C0DD-4343-93DF-6B2D853B6B79} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA} = {B5D35D0C-387C-44FA-9A70-6FE24DAE5728}
{949C95E9-4261-416E-8D2A-F05E3D4640CA} = {64880D93-BAB4-FF83-898C-B934B68C31A9}
{ADDBCE30-FE7F-4198-8A37-772EF6BF3676} = {64880D93-BAB4-FF83-898C-B934B68C31A9}
{DF084D96-707B-47C2-9493-85FA84631ACE} = {B4CE3CD4-74AA-4A22-B514-BC9B380AAFD7}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AD284F35-E81F-4678-B737-A5DC8CB883CB}
Expand Down
Loading