dealspace/lib
James 45ee8d0e4b Port diligence request model + CSV/XLSX import from old dealroom
- Add RequestData and WorkstreamData types to lib/types.go
- Add excelize/v2 dependency for XLSX parsing
- Add GET /api/projects/{projectID}/requests endpoint (lists requests grouped by section)
- Add POST /api/projects/{projectID}/requests/import endpoint with:
  - Smart header detection (scans first 12 rows for keyword matches)
  - CSV and XLSX support (detects by extension + magic bytes)
  - Priority mapping (high/critical/urgent→high, low/nice/optional→low)
  - Mode: add or replace existing requests
  - Optional section_filter parameter
  - Optional create_workstreams=true to create workstreams from sections
- Update project.html template:
  - Requests tab calls /api/projects/{id}/requests
  - Results grouped by section with collapsible headers
  - Shows item_number, title, priority badge (colored dot), status badge
  - Import button opens modal with file upload, mode selector, options
2026-02-28 07:13:29 -05:00
..
crypto.go Initial Go foundation 2026-02-28 04:25:57 -05:00
crypto_test.go Add ops: systemd service, deploy scripts, backup, healthcheck, README 2026-02-28 05:38:02 -05:00
dbcore.go chore: auto-commit uncommitted changes 2026-02-28 06:01:21 -05:00
dbcore_test.go Add test suite: crypto, dbcore, rbac, auth middleware, integration 2026-02-28 05:46:47 -05:00
embed.go Initial Go foundation 2026-02-28 04:25:57 -05:00
mailer.go Add ops: systemd service, deploy scripts, backup, healthcheck, README 2026-02-28 05:38:02 -05:00
mailer_test.go Add email system: mailer + 7 transactional templates 2026-02-28 05:46:03 -05:00
notify.go Add email system: mailer + 7 transactional templates 2026-02-28 05:46:03 -05:00
rbac.go Add all missing app templates: projects, project, request, orgs, admin 2026-02-28 06:48:51 -05:00
rbac_test.go Add ops: systemd service, deploy scripts, backup, healthcheck, README 2026-02-28 05:38:02 -05:00
store.go Add test suite: crypto, dbcore, rbac, auth middleware, integration 2026-02-28 05:46:47 -05:00
types.go Port diligence request model + CSV/XLSX import from old dealroom 2026-02-28 07:13:29 -05:00
watermark.go Add ops: systemd service, deploy scripts, backup, healthcheck, README 2026-02-28 05:38:02 -05:00
watermark_test.go Add watermark tests and update website content 2026-02-28 05:40:58 -05:00