Commit Graph

22 Commits

Author SHA1 Message Date
aewing 5834bd1e60 Load env from Secrets path with fallback 2026-06-11 18:56:45 -05:00
aewing 602c275644 Use exact-case TasGrid task collection 2026-03-29 03:32:26 +00:00
aewing d70a8b64c6 Mirror Job-Info-Test PB token validation flow 2026-03-29 03:29:19 +00:00
aewing a045a1fbd8 Add PocketBase token context diagnostics 2026-03-29 03:22:51 +00:00
aewing a34b362683 Broaden Tasgird task lookup fallbacks 2026-03-29 03:19:52 +00:00
aewing 69c8d80ef2 Harden Tasgird user task lookup 2026-03-29 03:16:07 +00:00
aewing e6b727b345 Resolve tasks by Users.name to Tasgird user relation 2026-03-29 03:12:26 +00:00
aewing b3b2a2e2f0 Return real task lookup failures instead of false rules warnings 2026-03-29 03:08:05 +00:00
aewing 006f976f57 Use request-scoped PocketBase auth for task endpoints 2026-03-29 03:05:41 +00:00
aewing 49824ea3c6 Use exact Users.name for current task lookup and auto-load tasks 2026-03-29 03:00:32 +00:00
aewing 6abaf6c778 Use user name for tasks lookup with robust fallbacks 2026-03-29 02:51:14 +00:00
aewing 94d6840ef7 Add modern notes workspace with core legacy note functions 2026-03-28 19:26:35 +00:00
aewing 17904cff3a Promote legacy notes UI to native notes.html route 2026-03-28 19:22:11 +00:00
aewing d6b0e3192a Add isolated legacy notes route and tasks view with resilient task APIs 2026-03-28 19:17:56 +00:00
aewing 8ca2c97e37 Upgrade OneNote sync with section/page targeting and edit mode
- Add GET /api/onenote/section-pages endpoint for listing pages in a section
- Extend /api/onenote/append with syncMode add/edit support
- Support editing an existing note block by noteId on a selected page
- Keep add mode for appending to selected page or creating new page in section
- Add Note + Sync UI controls for sync mode, section/page target, existing noteId,
  and optional new page title
- Wire frontend flow to load sync targets and pages, then sync with selected mode
2026-03-24 18:45:27 +00:00
aewing 513e975530 Fix PocketBase auth and note submission
- Replace popup OAuth with SDK authWithOAuth2 realtime channel (urlCallback)
  so login works in Edge app mode without navigating the main window
- Remove manual redirect/sessionStorage OAuth flow that broke in Edge app mode
- Serve PocketBase config (URL, collection, provider) from server endpoint
  backed by env vars instead of hardcoded localhost
- Fix /api/submit: target Notes collection with correct field mapping
  (body_plain, body_html, title, type, email, Username, userId, job_note,
  Job_Number) instead of Job_Info_Prod with wrong field names
- Remove localhost fallbacks from auth-module backend and frontend
2026-03-24 18:29:51 +00:00
aewing c76739d0d7 Update Prism Notes branding and OneNote sync UI 2026-03-24 17:15:19 +00:00
aewing 54d262b97d Restore three-button capture interface: Share Entire Screen, Snip, Cancel 2026-01-11 05:14:15 +00:00
aewing cee91571cd Refactor containers to template literals for independent updates
- Extract all containers (login, notes list, note detail, note form, conversation form, conversations list) to CONTAINERS object
- Create initializeContainers() function to inject templates on page load
- Replace 300+ lines of inline HTML with single containerHost div
- Add session log documenting Option 1 approach with future intent for Option 2
- Each container now independently updatable without touching markup
- Maintains functionality while improving code organization and maintainability
2026-01-10 15:38:57 +00:00
aewing fc155cac76 Update port to 3030 and configure dotenv for centralized secrets 2025-12-31 04:38:45 +00:00
Golwhit fd54345674 Prism-Notes migration: copy scaffold, update package metadata, add npm-based deps, switch startup to Bun.serve with custom logs, and ignore env/deps via .gitignore 2025-12-29 17:57:48 -06:00
Golwhit a8ba47d38e removed scaffold 2025-12-29 17:40:05 -06:00