Ka-Note/ka-note
beo3000 3b6ae8c92b feat: auto token acquisition + import helpers for Ka-Note scripts
- get-token.ps1: MSAL.PS-based token acquisition (browser popup once, then cached refresh token)
- download/upload/unlock.ps1: auto-call get-token.ps1 when no -Token/-env provided
- import-helpers.ps1: reusable functions (Upsert-Context, Add-Topic, Add-HistoryEntry) with correct schema
- import-jf-sysadmins.ps1: idempotent import script using helpers

Fixes:
- Token file no longer stored in work/ (deleted on download)
- Upsert-Context resurrects soft-deleted contexts (500 was caused by uploading topics for deleted context)
- History uses topicId + YYYY-MM-DD date (not contextId + timestamp)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 22:08:12 +01:00
..
client ui fix ios 2026-02-21 20:02:50 +01:00
data features 2026-02-20 16:49:41 +01:00
scripts feat: auto token acquisition + import helpers for Ka-Note scripts 2026-02-21 22:08:12 +01:00
server ui fix ios 2026-02-21 20:02:50 +01:00
shared feat: ZIP workspace + image blob sync 2026-02-21 19:35:12 +01:00
.dockerignore fix bypass in production 2026-02-21 15:49:52 +01:00
.env.example dev 2026-02-21 19:25:43 +01:00
.gitignore dev 2026-02-21 19:25:43 +01:00
Dockerfile fix sync und deploy problems 2026-02-21 10:38:25 +01:00
VERSION fix image sync 2026-02-21 19:50:07 +01:00
deploy.ps1 fix sync und deploy problems 2026-02-21 10:38:25 +01:00
docker-compose.yml fix sync und deploy problems 2026-02-21 10:38:25 +01:00
ka-note.db-shm added ms auth 2026-02-20 21:05:49 +01:00
ka-note.db-wal added ms auth 2026-02-20 21:05:49 +01:00
package-lock.json feat: ZIP workspace + image blob sync 2026-02-21 19:35:12 +01:00
package.json fix sync und deploy problems 2026-02-21 10:38:25 +01:00