Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
460 commits
Select commit Hold shift + click to select a range
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
b8fb9fa
fixed the view button on customers to link to the correct page. also …
weckest Mar 28, 2025
b24aece
Merge pull request #91 from medhatelmasry/86-error-saving-quotation
medhatelmasry Mar 28, 2025
5d71d5c
Update jQuery from 1.12.3 to 3.7.1
RompingRhyno Apr 1, 2025
7aeba95
Removed all ExpressiveAnnotations usage and rewrote them as custom an…
RompingRhyno Apr 1, 2025
e2789d7
Connect Chart of Accounts create/edit/delete to API and database
mhcdm Apr 4, 2025
95bcecd
changed the new purchase order to start with the current date
weckest Apr 4, 2025
2d43b50
changed the invoice to start with the current date
weckest Apr 4, 2025
251405e
Updated target framework to net8.0 and xunit to xunit.v3
RompingRhyno Apr 4, 2025
30d785f
fixed issue 70 for fixing sales invoice model to make posted sales in…
joyceh14 Apr 4, 2025
715b4c3
Debug routing to fix Swagger UI
TommyJu Apr 4, 2025
dab191a
Add Advances (10114) account to Chart of Accounts
SOHEE990302 Apr 4, 2025
2d5aab3
Removed package declaration which is no longer required in net8+
RompingRhyno Apr 4, 2025
2ee6956
Enable nullable
RompingRhyno Apr 4, 2025
131aa18
made the purchase orders routing work. also make them editable. after…
weckest Apr 4, 2025
4738f7d
Merge pull request #99 from medhatelmasry/23Sohee
SOHEE990302 Apr 4, 2025
ba93cde
Changed routes that were conflicting. All delete routes were original…
RompingRhyno Apr 4, 2025
fcac9d2
Updated outdated RecordException() to AddException().
RompingRhyno Apr 4, 2025
527feff
Missing program.cs added
RompingRhyno Apr 4, 2025
7df8c08
Conditionally enabled and disabled nullable where needed.
RompingRhyno Apr 4, 2025
4841386
Generated VS sln file
RompingRhyno Apr 4, 2025
2f0ab29
modified href route to go to proper Quotation page route
Jyyunrin Apr 4, 2025
afb4d37
Fix create sales quotation validation and redirection on invalid subm…
TommyJu Apr 4, 2025
99970db
removed href=# from the edit button and changed href for close button…
Jyyunrin Apr 4, 2025
70c2989
Merge pull request #102 from medhatelmasry/84RyanJiang
medhatelmasry Apr 4, 2025
301cb50
Removed date input and added the input for Payment Terms
Jyyunrin Apr 4, 2025
4ea4217
fixed the format of amount in Receipt Allocation
joyceh14 Apr 4, 2025
58f68fb
updated swagger in api project
medhatelmasry Apr 4, 2025
8ecf2fa
Merge pull request #108 from medhatelmasry/101-Errors-in-Routing-on-Q…
medhatelmasry Apr 4, 2025
59a9abc
Merge branch 'Winter2025' into 106-Quotation-Edit-Page-Incorrect-Inpu…
medhatelmasry Apr 4, 2025
efa8661
Merge pull request #109 from medhatelmasry/106-Quotation-Edit-Page-In…
medhatelmasry Apr 4, 2025
7e368f0
Fixed labels for quotation edit page and changed value of total amoun…
Jyyunrin Apr 4, 2025
d3aac42
added Unit Tests for account controller
KoheiD1 Apr 4, 2025
0f55046
Merge branch 'Winter2025' into 95-swagger-ui-broken
medhatelmasry Apr 4, 2025
bf1616d
Merge pull request #97 from medhatelmasry/95-swagger-ui-broken
medhatelmasry Apr 4, 2025
b97fac9
Merge pull request #92 from medhatelmasry/50DaisyYang
medhatelmasry Apr 4, 2025
1b99b1e
Merge pull request #111 from medhatelmasry/105-Quotation-Edit-Page-La…
medhatelmasry Apr 4, 2025
c478926
Merge branch 'Winter2025' into 94koheiDunnet
medhatelmasry Apr 6, 2025
0656bbc
Merge pull request #110 from medhatelmasry/94koheiDunnet
medhatelmasry Apr 6, 2025
2262811
Merge branch 'Winter2025' into 96-Routing-to-a-Quotation-View-is-Not-…
medhatelmasry Apr 6, 2025
c2ef578
Merge pull request #100 from medhatelmasry/96-Routing-to-a-Quotation-…
medhatelmasry Apr 6, 2025
7ed6d00
Merge pull request #103 from medhatelmasry/98-payment-term-not-selected
medhatelmasry Apr 6, 2025
ce47da8
Merge pull request #107 from medhatelmasry/70-fix-sales-invoice-model
medhatelmasry Apr 6, 2025
0d58328
Added rate limiting to the API. After requesting 5 times, there will …
bluedelaw Apr 6, 2025
600c1f8
implement parent account dropdown
mhcdm Apr 7, 2025
792d9f5
added username to savecompany
bluedelaw Apr 7, 2025
0839dca
Fixing Issue #87: Added ErrorController and Error view for displaying…
simonlotzkar Apr 7, 2025
975b56b
updated branch
JCampbell48 Apr 8, 2025
1e1fa5c
Fix Issue #113: Refactor MonthlySales view partial view, removed the …
simonlotzkar Apr 8, 2025
6eebf2e
Fix Issue #117: Fix link in Customers view to correctly point to the …
simonlotzkar Apr 8, 2025
cfa0fa4
Merge pull request #114 from medhatelmasry/87SimonLotzkar
medhatelmasry Apr 8, 2025
bdb503b
Infrastructure from netstandard3.1 to net9.0
medhatelmasry Apr 9, 2025
c0ce4e4
Merge pull request #115 from medhatelmasry/104JosephCampbellV2
medhatelmasry Apr 9, 2025
307e712
setting up head of main document
Apr 9, 2025
de9d5bf
Added basic tag structure.
amritjhatu Apr 9, 2025
2ed19fb
Added css to the page
Apr 9, 2025
1ec009f
Added more css to deal with scrolling and icon spacing.
amritjhatu Apr 9, 2025
ea160f1
Made header into a banner
Apr 9, 2025
d2a920d
Added over structure from the bootstrap layout, but changed the caret…
amritjhatu Apr 9, 2025
b02316a
added rendering to pages for the format
Apr 9, 2025
2fe63d8
Re-added previous footer but have it interact with the new css.
amritjhatu Apr 9, 2025
4d194b8
added the missing pluggins
Apr 9, 2025
d363c6a
Fixed caret scripting and smoothness.
amritjhatu Apr 9, 2025
f086b33
Added missing tags and shifted everything down for spacing.
amritjhatu Apr 9, 2025
32effd7
made the navbar actually appear
Apr 9, 2025
f91205a
Enabled editing code and added error messages to Add Account
EthanNguyen0906 Apr 9, 2025
3bbf7cf
Edited AccountService.cs, Edited FinancialsController.cs and added ad…
EthanNguyen0906 Apr 9, 2025
5ff38c6
Fixed edit buttons to edit account codes
EthanNguyen0906 Apr 9, 2025
96cb62c
Removed unneeded comments.
amritjhatu Apr 9, 2025
5855ddf
Finalized adding accounts
EthanNguyen0906 Apr 9, 2025
ef73844
These pages forcefully enforce the previous layout while no other pag…
amritjhatu Apr 9, 2025
1e267aa
Copied from another repo
EthanNguyen0906 Apr 9, 2025
1bd4061
Merge pull request #116 from medhatelmasry/113SimonLotzkar
medhatelmasry Apr 9, 2025
62a096c
Merge pull request #118 from medhatelmasry/117SimonLotzkar
medhatelmasry Apr 9, 2025
c48a870
Merge pull request #121 from medhatelmasry/50_DaisyYang
medhatelmasry Apr 9, 2025
1d50ac0
Merge pull request #123 from medhatelmasry/redesign-nav
medhatelmasry Apr 9, 2025
cc7a59c
fixed one warning
medhatelmasry Apr 9, 2025
42113e9
Merge branch 'Winter2025' into 89-When_Viewing_a_customer_the_page_is…
medhatelmasry Apr 10, 2025
a2926b1
Merge pull request #128 from medhatelmasry/89-When_Viewing_a_customer…
medhatelmasry Apr 10, 2025
9dda923
Fixed warning
EthanNguyen0906 Apr 11, 2025
48bf327
Merge branch 'Winter2025' into 18EthanNguyen
EthanNguyen0906 Apr 11, 2025
3d89969
Merge pull request #134 from medhatelmasry/18EthanNguyen
medhatelmasry Apr 11, 2025
ff1825d
Merge pull request #130 from medhatelmasry/78-add-rate-limiting-to-th…
medhatelmasry Apr 15, 2025
88299e0
fixed authentication issue. Fixed audit log not loggin. Fixed username
bluedelaw Apr 15, 2025
b40d424
Merge pull request #129 from medhatelmasry/68-retrieve-username-for-s…
medhatelmasry Apr 16, 2025
bbb32bb
Fix authentication system: Add login/logout functionality and fix dat…
Hmute Nov 27, 2025
f9e5dd1
Implement comprehensive authentication and RBAC system
Hmute Nov 27, 2025
d38f3d1
Implement role-based UI visibility and fix user authentication
Hmute Nov 27, 2025
8d66a70
Add null Model handling to prevent NullReferenceException in admin pages
Hmute Nov 27, 2025
ecf0e80
migrations Added
Hmute Dec 4, 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.

1 change: 1 addition & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- @azure Rule - Use Azure Best Practices: When generating code for Azure, running terminal commands for Azure, or performing operations related to Azure, invoke your `get_azure_best_practices` tool if available.
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: .
12 changes: 10 additions & 2 deletions .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 @@ -215,7 +223,7 @@ FakesAssemblies/
/src/Api/Plugins/*
/src/AccountGoWeb/Modules/*
/src/AccountGoWeb/Plugins/*
/src/Api/Data/Migrations

.vscode
exclude
exclude
/src/Api/appsettings.Development.json
Loading