Commit Graph

81 Commits

Author SHA1 Message Date
beo3000 cb0f38b7f8 upd commandbar 2026-02-25 17:09:35 +01:00
beo3000 2cb4c24e40 upd commandbar 2026-02-25 17:08:54 +01:00
beo3000 22d811716d ui opt 2026-02-25 16:53:11 +01:00
beo3000 22e14def5f feat: sidebar toggle (Ctrl+B, /sidebar command, toggle button)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 08:34:11 +01:00
beo3000 8bffebfd36 feat: pages is_favorite, commandbar improvements, wiki ui
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 08:26:42 +01:00
beo3000 d1286cd717 ui fixes 2026-02-25 08:10:54 +01:00
beo3000 a62ada936d sync fix - fallback MSAL 2026-02-25 07:36:28 +01:00
beo3000 a88b2ea93e upd kano-bar 2026-02-24 21:47:54 +01:00
beo3000 fae8385e99 added Kano-Bar 2026-02-24 21:04:59 +01:00
beo3000 a7f60960f6 ui updates 2026-02-24 20:18:09 +01:00
beo3000 f046373184 fix .dockerignore 2026-02-24 19:09:46 +01:00
beo3000 e5a37bd7ed opt side panel 2026-02-24 19:06:18 +01:00
beo3000 53b20cf492 ui optimierungen 2026-02-24 18:10:53 +01:00
beo3000 b24915783d fix build 2026-02-24 15:37:24 +01:00
beo3000 ea13843960 db fix und check 2026-02-24 13:15:38 +01:00
beo3000 0685b76b2e fix sync problem 2026-02-24 07:37:45 +01:00
beo3000 aaaa42cbd6 journal edit 2026-02-23 18:01:04 +01:00
beo3000 be29a138fc js fix 2026-02-23 17:37:44 +01:00
beo3000 40574ba339 ui 2026-02-23 17:21:26 +01:00
beo3000 63a862fd7d fitle fixes 2026-02-23 17:19:26 +01:00
beo3000 d510e96541 added api-keys 2026-02-23 15:44:10 +01:00
beo3000 ab5e38abc2 ui fixes 2026-02-23 15:30:30 +01:00
beo3000 a3b627f049 added journal archive 2026-02-23 14:52:59 +01:00
beo3000 15fb01e2b1 ui fixes 2026-02-23 09:52:55 +01:00
beo3000 d63c75e551 ui fixes 2026-02-23 08:49:19 +01:00
beo3000 7886947a65 link fix 2026-02-22 22:05:07 +01:00
beo3000 92a077009e ui opti 2026-02-22 21:51:01 +01:00
beo3000 d281b1babc added pages feature 2026-02-22 21:35:43 +01:00
beo3000 9c9472671b ui private uodate 2026-02-22 17:34:52 +01:00
beo3000 63d36a1611 added private journal 2026-02-22 17:16:55 +01:00
beo3000 4d00be63e7 ui opti 2026-02-22 16:38:44 +01:00
beo3000 623d3f90bf added drag&drop 2026-02-22 16:17:03 +01:00
beo3000 6116069fff ui optimizations 2026-02-22 16:13:25 +01:00
beo3000 afb330ed5d fix sync problems 2026-02-22 14:59:42 +01:00
beo3000 60e38dc593 fix sync problems 2026-02-22 14:39:38 +01:00
beo3000 4106c63803 added trash und fix seed data 2026-02-22 13:37:14 +01:00
beo3000 78df40e598 ui fix menu part2 2026-02-22 12:35:08 +01:00
beo3000 0e4b5f0612 ui fix pwa 1 2026-02-22 12:19:03 +01:00
beo3000 dc47683e4c sync fix 2026-02-22 11:36:57 +01:00
beo3000 3822d66538 upd 2026-02-21 22:37:13 +01:00
beo3000 9ca5ad35c2 upd 2026-02-21 22:37:03 +01:00
beo3000 c28bd34a1a fix: persistent token cache in get-token.ps1
- Fast path: reads from ~/.ka-note/token.txt if not expired (no MSAL needed)
- On expiry: MSAL silent refresh with login hint
- Fallback: interactive browser login (~once per 90 days)
- Auto-saves every acquired token back to cache file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 22:31:03 +01:00
beo3000 dc52f64ed4 feat: activate MSAL auto-login in get-token.ps1
Azure Portal config done:
- Added redirect URI: https://login.microsoftonline.com/common/oauth2/nativeclient
- Allow public client flows: Yes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 22:21:49 +01:00
beo3000 a67dc06b30 feat: set-token.ps1 + JF LANdata import script
- get-token.ps1: reads token from ~/.ka-note/token.txt, validates JWT expiry
- set-token.ps1: stores token (from arg or clipboard) to ~/.ka-note/token.txt with expiry display
- import-jf-landata.ps1: idempotent import for JF LANdata context (12 topics, 14 history entries)
- MSAL auto-login blocked by missing redirect URI in app registration (documented in get-token.ps1)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 22:18:18 +01:00
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
beo3000 28221232d6 ui fix ios 2026-02-21 20:02:50 +01:00
beo3000 65efe0c540 fix image sync 2026-02-21 19:50:07 +01:00
beo3000 364c99381c fix: chunked base64 encode/decode for large image blobs in sync 2026-02-21 19:44:03 +01:00
beo3000 58c990d4e6 feat: ZIP workspace + image blob sync
Phase 1 - ImageBlob sync:
- shared: add ImageBlob type (SyncEntity + contentHash + base64 data)
- shared: add imageBlobs to SyncChanges
- server: image_blobs table (drizzle migration 0005)
- server: sync-service push/pull for imageBlobs (base64 transport)
- client: Dexie v8 schema with SyncEntity-compatible ImageBlob
- client: storeImage computes SHA-256 contentHash
- client: syncService push (Blob→base64) and pull (base64→Blob)

Phase 2 - ZIP AI workspace:
- server: fflate dependency
- server: exportWorkspaceZip() replaces exportBundle()
- server: applyUploadFromZip() with contentHash dedup for images
- server: legacy JSON applyUpload() kept for backward compat
- server: ai-export routes support application/zip upload
- server: README updated for ZIP workspace structure
- scripts: download.ps1 extracts ZIP → work/ subdirs
- scripts: upload.ps1 compresses work/ → ZIP, posts octet-stream
- scripts: unlock.ps1 reads work/manifest.json (also supports legacy bundle)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 19:35:12 +01:00
beo3000 04983c2a05 dev 2026-02-21 19:25:43 +01:00