shoc-backend/Data.SeaHavenIndustries/Models
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
..
Accounts.cs added new controllers 2026-01-21 15:41:19 -06:00
Addresses.cs added new controllers 2026-01-21 15:41:19 -06:00
Assets.cs added new controllers 2026-01-21 15:41:19 -06:00
Category.cs Initial commit 2024-09-28 14:58:36 -04:00
Comments.cs Add dispatch detail modal backend + vendor reply sync 2026-04-17 14:01:03 -04:00
ContactDetails.cs added new controllers 2026-01-21 15:41:19 -06:00
Contacts.cs fix 2026-01-21 16:24:54 -06:00
Dispatch.cs Add dispatcher verification as final dispatch gate 2026-04-17 16:03:34 -04:00
DispatchChecklistItem.cs Add dispatch checklist items with template support 2026-04-17 15:28:52 -04:00
DispatchSignoff.cs Add dispatch sign-offs with signature capture 2026-04-17 15:51:20 -04:00
DispatchWorkOrder.cs Add multi-WO dispatch support with junction table 2026-04-17 15:16:28 -04:00
DropdownOption.cs Add configurable dropdowns, new WO fields, and seed data 2026-04-17 10:40:38 -04:00
Employee.cs added new controllers 2026-01-21 15:41:19 -06:00
FollowUps.cs added new controllers 2026-01-21 15:41:19 -06:00
ForgetPasswordCode.cs Initial commit 2024-09-28 14:58:36 -04:00
Locations.cs Add LocationController with full CRUD and extended model 2026-04-16 17:09:59 -04:00
PMSchedules.cs added new controllers 2026-01-21 15:41:19 -06:00
Quotes.cs Initial commit 2024-09-28 14:58:36 -04:00
TaskListTemplate.cs Add Task List Templates with CRUD controller 2026-04-17 14:57:18 -04:00
TaskListTemplateItem.cs Add Task List Templates with CRUD controller 2026-04-17 14:57:18 -04:00
Template.cs Initial commit 2024-09-28 14:58:36 -04:00
Vendor.cs Add vendor dispatch workflow backend 2026-04-17 11:37:35 -04:00
VendorAccessToken.cs Add vendor portal with token-based authentication 2026-04-20 12:01:53 -04:00
WorkerOrder.cs Add vendor dispatch workflow backend 2026-04-17 11:37:35 -04:00
WorkOrderAttachments.cs Initial commit 2024-09-28 14:58:36 -04:00
WorkOrderAuditLog.cs Add comment types, audit logging, and WorkOrderAuditLog table 2026-04-16 18:09:57 -04:00
WorkOrderCategories.cs Initial commit 2024-09-28 14:58:36 -04:00
WorkOrderContacts.cs Initial commit 2024-09-28 14:58:36 -04:00