shoc-backend/Api.SeaHavenIndustries
Adam Moussa 73be673444 Add vendor portal with token-based authentication
- VendorAccessToken model + unique-index migration; TokenLifetimeDays config
- VendorPortalTokenService: CSPRNG token generation, rotation, revocation
- VendorPortalController: public portal API guarded by X-Vendor-Token header;
  dispatches list/detail, accept, vendor status transitions, cancel request,
  checklist updates, signoffs (vendor + customer), comments with dispatcher
  attribution via AspNetUsers join
- VendorController: portal-token admin endpoints (get / rotate / revoke)
- WorkOrderController: dispatch email now uses vendor portal URL and HTML-encodes
  user fields; AddDispatchComment now stores CommentType='dispatcher' with the
  SHOC user's name so portal can attribute the author
- DispatchPublicController: deprecated per-dispatch GET accept flow returns a
  static 'link no longer active' page (no state mutation)
2026-04-20 12:01:53 -04:00
..
.config Initial commit 2024-09-28 14:58:36 -04:00
Controllers Add vendor portal with token-based authentication 2026-04-20 12:01:53 -04:00
DTOs Add dispatch sign-offs with signature capture 2026-04-17 15:51:20 -04:00
Helper Add vendor portal with token-based authentication 2026-04-20 12:01:53 -04:00
Models initial commit for api changes 2025-02-18 13:13:33 -06:00
Properties Initial commit 2024-09-28 14:58:36 -04:00
wwwroot Add zip-to-zip distance calculation for vendor dispatch 2026-04-17 11:56:06 -04:00
Api.SeaHavenIndustries.csproj Add DynamoDB sync bridge for workorder-ingest pipeline 2026-04-16 17:29:52 -04:00
Api.SeaHavenIndustries.http Initial commit 2024-09-28 14:58:36 -04:00
appsettings.Development.json Add vendor portal with token-based authentication 2026-04-20 12:01:53 -04:00
appsettings.json Configure local development environment 2026-04-16 16:25:03 -04:00
aws-beanstalk-tools-defaults.json initial commit for api changes 2025-02-18 13:13:33 -06:00
db.txt fix 2026-03-30 06:49:40 -05:00
Program.cs Add vendor portal with token-based authentication 2026-04-20 12:01:53 -04:00