Chris Chen
ad276c01f3
docs(1099): document Payee1099s/Form1099Boxes schema and seed Form1099 permissions
...
- DB_SCHEMA.md §8: add Form1099Box catalog table, Payee1099 recipient master
(with TIN at-rest encryption note), and new FK columns on Expenses /
ExpenseSubCategories / ExpenseCategoryGroups; update TOC and Seed Data section
- DbSeeder.cs: grant Modules.Form1099 to finance (R/W/D), pastor (R), and
board_member (R), mirroring the Form990Report + Disbursements pattern;
idempotent (only inserts if row absent, never clobbers admin edits)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-25 17:56:09 -07:00
Chris Chen
1a8002015a
feat(1099): seed Form1099Box catalog and default subcategory mappings
...
Adds Form1099BoxSeed (NEC-1, MISC-1) and Form1099SubMappingSeed
(6 service/rent subcategories), SeedForm1099BoxesAsync method with
null-fill idempotency (never clobbers admin edits), and wires it into
SeedAsync after SeedForm990ExpenseLinesAsync.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-25 17:13:44 -07:00
Chris Chen
89238bba99
fix(1099): pin max-lengths on Payee1099/Form1099Box columns to match codebase
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-25 16:45:02 -07:00
Chris Chen
225e64b992
feat(1099): configure Payee1099, Form1099Box, and mapping FKs in DbContext
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-25 16:40:49 -07:00
Chris Chen
5957d0f45e
feat(expense-snapshot): register snapshot tables + EF migration
2026-06-25 14:58:18 -07:00
Chris Chen
75905e7036
feat(church-profile): add AI provider/model/key columns + migration
2026-06-25 13:07:30 -07:00
Chris Chen
8bdb942a49
update detail.
ci-cd-vm / ci-cd (push) Successful in 4m27s
2026-06-25 09:33:49 -07:00
Chris Chen
609ce6a439
WIP
ci-cd-vm / ci-cd (push) Successful in 1m49s
2026-06-24 21:47:22 -07:00
Chris Chen
46a4298a71
WIP
2026-06-24 21:37:41 -07:00
Chris Chen
1353b5571f
feat(finance): add Form 990 report DTOs and permission module
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-24 19:23:05 -07:00
Chris Chen
4e83f27703
feat(seed): default Administration ministry to Management & General
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-24 19:21:04 -07:00
Chris Chen
d5e1732505
feat(seed): seed Form 990 line catalog and default subcategory mappings
2026-06-24 19:17:51 -07:00
Chris Chen
6e04b64466
feat(seed): add IT/Professional/Finance categories and rename overlapping subcategories
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-24 19:12:57 -07:00
Chris Chen
b6b110254a
feat(expense): add per-expense FunctionalClass override
2026-06-24 19:05:07 -07:00
Chris Chen
d3e6b5aed5
feat(ministry): add DefaultFunctionalClass for Form 990 functional split
2026-06-24 19:00:36 -07:00
Chris Chen
971bf165cc
feat(expense): map category group/subcategory to Form 990 lines
2026-06-24 18:53:13 -07:00
Chris Chen
f1faa0d435
feat(expense): add Form990ExpenseLine catalog entity and functional-class constants
2026-06-24 18:47:42 -07:00
Chris Chen
9dbb1d38d8
WIP
2026-06-24 18:45:22 -07:00
Chris Chen
b0e2e112fc
feat(giving): add sundayAttendanceCount model field and attendance setCounts API
ci-cd-vm / ci-cd (push) Successful in 2m21s
2026-06-24 11:35:34 -07:00
Chris Chen
e53cea7a82
Add init link.
2026-06-24 10:53:13 -07:00
Chris Chen
e88ea7917f
add church profile.
ci-cd-vm / ci-cd (push) Successful in 2m31s
2026-06-24 08:21:31 -07:00
Chris Chen
0e90f19377
Add notification entities, DbContext config, and migration
...
Creates MemberChannelBinding, LineBindingCode, MessagingGroup, and NotificationLog
entities under ROLAC.API.Entities.Notifications; wires DbSets and fluent config into
AppDbContext; generates EF migration AddNotifications creating the four tables.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-23 19:03:35 -07:00
Chris Chen
62592c29ae
Add audit logs.
ci-cd-vm / ci-cd (push) Successful in 4m2s
2026-06-23 12:13:47 -07:00
Chris Chen
870eeec82a
Add role control
2026-06-23 07:19:08 -07:00
Chris Chen
87425b3276
add attendance
2026-06-20 19:43:15 -07:00
Chris Chen
3558c67fd7
WIP
2026-06-20 17:51:33 -07:00
Chris Chen
f55807fa7d
wip
2026-06-20 15:13:23 -07:00
Chris Chen
769597d769
refactor finance.
2026-05-29 23:56:29 -07:00
Chris Chen
cf929557fe
feat(expense): add Expense + MonthlyStatement entities and EF config
2026-05-29 18:11:56 -07:00
Chris Chen
b3eb9d297a
feat(expense): add expense category entities + seed (11 groups / 38 subs)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-29 18:08:12 -07:00
Chris Chen
f6f06d841c
feat(ministry): add Ministry entity, seed (10), and read endpoint
2026-05-29 18:03:28 -07:00
Chris Chen
577ae1aabe
refactor(giving): use AnyAsync in category seed (code-review minor)
2026-05-28 16:21:32 -07:00
Chris Chen
e20964ae0d
feat(giving): seed default giving categories
2026-05-28 16:19:44 -07:00
Chris Chen
999f8a80f9
feat(giving): add GivingCategory, OfferingSession, Giving entities + EF config
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-28 16:16:24 -07:00
Chris Chen
34344cbf83
feat: add Member/FamilyUnit DbSets, audit interceptor registration, EF migration
...
Registers AuditSaveChangesInterceptor in DI and wires it into AppDbContext.
Adds Members and FamilyUnits DbSets with full column/index configuration and
applies the AddMemberAndFamilyUnit migration to the ChurchCRM database.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-27 13:52:58 -07:00
Chris Chen
820ca6981c
feat: add AuditSaveChangesInterceptor and failing interceptor tests
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-27 13:48:03 -07:00
Chris Chen
8b86bd573e
Tasks 7-9: AuthController, appsettings, Program.cs
...
Task 7 – AuthController (POST /api/auth/login|refresh|logout)
- Refresh token in HttpOnly; Secure; SameSite=Strict cookie (rolac_rt)
- Cookie Path scoped to /api/auth; cleared on logout/invalid refresh
Task 8 – appsettings.json (non-secret JWT values + CORS origins)
- appsettings.Development.json carries connection string + JWT secret
(file is gitignored)
Task 9 – Program.cs wiring
- EF Core + Npgsql, ASP.NET Core Identity, JWT Bearer auth
- RoleClaimType=role matches the short JWT claim name written by TokenService
- CORS: AllowCredentials for Angular app
- Swagger UI with Bearer security definition
- Startup: MigrateAsync + DbSeeder.SeedAsync (roles + dev admin)
- DbSeeder: added SeedAsync(IServiceProvider) entry point
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-26 17:40:52 -07:00
Chris Chen
a66a3f7cb0
feat: add AppDbContext (Identity + RefreshTokens) and DbSeeder (13 roles + dev admin)
2026-05-25 19:05:02 -07:00