Commit graph

45 commits

Author SHA1 Message Date
Utku Bilen Demir
1e3b002c21 Kanzi 0.6.20: kanzi.xpi only, dedup identical highlights, pagination 50
- scripts/build_plugin.py: OUTPUT kanzi.xpi (was kindle-zotero-importer.xpi), clean legacy
- plugin/manifest.json: homepage/update_url -> kanzi repo, name Kanzi 0.6.20
- README: Install kanzi.xpi from kanzi/releases, build -> dist/kanzi.xpi
- updates.json: 0.6.20 link -> kanzi/kanzi.xpi
- src/kindle_zotero_importer/clippings.py: dedup_clippings() collapse identical highlights (same title + norm text) to fix badiou yellow×3
- plugin/bootstrap.js: norm dedup for existing yellow over yellow, mergeComments bracket stripped
2026-09-24 01:01:49 +02:00
Utku Bilen Demir
7345eee997 Kanzi 0.6.19: kanzi.xpi + sharp black unified + pagination 50
- dist/kanzi.xpi (copy of kindle-zotero-importer.xpi) for Release v0.6.19 alongside old name for auto-update compat
- plugin/manager.html: sharp black please give me money+ (0 radius) centred, pagination 50 for Integrated/Conflicts/Mappings (Prev/Next, 25/50/100/200/500/All, Expand 50)
- README centred flat-square 111111 black sharp badge
- 0.6.18 double [r] fix + 0.6.19 incremental recolours already in main
2026-09-24 00:38:30 +02:00
Utku Bilen Demir
8c6c997626 gitignore MEMORY.md — not for public 2026-09-24 00:21:17 +02:00
Utku Bilen Demir
5a11d31c48 Kanzi 0.6.18: fix double bracket comment + missing text/DOI
- plugin/bootstrap.js: mergeComments now strips leading [code] before dedup, so [r] red note + red note collapse to single red note (was double [r] + stripped)
- plugin/manager.html: 0.6.17 text: a.annotation?.text now sent, vis shows text snippet and DOI/ISBN (simondon was isbn, not DOI, correctly)
- Bump to 0.6.18
2026-09-24 00:00:52 +02:00
Utku Bilen Demir
c96a4f393b Kanzi 0.6.17: include highlighted text in anonymised post
- plugin/manager.html: anonData now sends text: a.annotation?.text (the highlighted passage) alongside DOI/ISBN/norm_hash — so vis Recent can show text snippet and Common can group by publication + text
- Fixes 0.6.16 recent where text was null (old POST without text)
2026-09-23 22:40:21 +02:00
Utku Bilen Demir
e3e01c5ce7 Kanzi 0.6.16: one bar per colour (b, blue, bl) + robust scanned PDF handling
- plugin/manager.html: Settings → Highlight colours now one row per colour (yellow/orange/red/grey/green/blue/purple/magenta) with comma-separated codes input (e.g. b, blue, bl), colour picker, preview, +Add, Reset — saves as colourMap with split
- src/kindle_zotero_importer/final_plan.py: add _fuzzy_hash (trigram Jaccard) alongside _hash_norm for scanned OCR tolerance, store fuzzy_hash per annotation for future grouping
- Bump to 0.6.16
2026-09-23 21:41:20 +02:00
Utku Bilen Demir
d5f128e82e Kanzi 0.6.15: robust unification (DOI/ISBN + normalised hash)
- src/kindle_zotero_importer/zotero_index.py already has DOI/ISBN, now import_plan.py passes doi/isbn/issn/publication_title to final_plan
- src/kindle_zotero_importer/final_plan.py: _normalise() + _hash_norm() (NFKC lower, de-hyphenate, strip punct, SHA256:16) and store doi/isbn/issn/publication_title/norm_hash per annotation for cross-library grouping
- plugin/manager.html: anonData now sends doi/isbn/issn/publication_title/norm_hash alongside citation_key/hash/colour for private aggregation
- vis ~/annotation/app.py: store new columns, migrate old DB, /common groups by COALESCE(doi,isbn,citation_key)+norm_hash, dashboard shows Recent with DOI/norm and Top + Common tables
- Bump to 0.6.15
2026-09-23 15:59:28 +02:00
Utku Bilen Demir
72ae2d1448 README + Kanzi manager: sharp black please give me money+ (flat-square)
- README.md: centred p align=center flat-square black badge (was red for-the-badge)
- plugin/manager.html: donate button border-radius 0 sharp, padding 10px 22px 13px 700, background var(--accent) #111, centred, for F unified with Vizier
2026-09-23 14:51:54 +02:00
Utku Bilen Demir
0c08a83377 Kanzi 0.6.14: fix anonymised sharing NS_ERROR (anonId missing)
- plugin/manager.html: shareAnonymized fetch now robust to missing prefs (getBoolPref/getCharPref NS_ERROR) — defaults to share=true, anonId=anon with auto-generation, British spelling
- Fixes 'no annotations added' when anonId pref missing (thrown 0x8000ffff, caught silently, no POST)
- Bump to 0.6.14
2026-09-23 14:27:59 +02:00
Utku Bilen Demir
76899ce786 Kanzi 0.6.13: incremental also catches new notes with [r]/[o] etc.
- src/kindle_zotero_importer/cli.py: incremental re-queue now also checks new notes (not yet integrated) with bracket colour for same title, so a past highlight getting a new [r] note will recolour without Full re-import
- Bump to 0.6.13
2026-09-23 14:00:45 +02:00
Utku Bilen Demir
5bf2bbbb19 British English + remove annotation URL parenthetical, private collector
- README.md: Anonymised (was Anonymized), Share anonymised (was anonymized, remove also annotation.utkubilen.de, private, no AI), Settings line private hashed only
- plugin/manager.html: anonymised sharing British, colour
- annotation.utkubilen.de DNS A added -> 65.21.63.103, certbot SSL deployed, https://annotation.utkubilen.de/health ok
2026-09-23 11:17:49 +02:00
Utku Bilen Demir
c0e52180cc README: fix please give me money+ to GitHub badge (centred, for-the-badge) so it renders as button 2026-09-23 11:12:44 +02:00
Utku Bilen Demir
42dcd81441 README: centre red please give me money+ button, remove subtitle and 30s line
- Remove Support the project — thank you subtitle
- Make please give me money+ a visible red button (16px 36px, #cc0000, 2px #a00, shadow)
- Remove 30 seconds, no terminal: line per request
- Keep Anonymized sharing text as specified (British spelling)
2026-09-23 11:09:09 +02:00
Utku Bilen Demir
0a75b52d45 Kanzi 0.6.12: readme restructure per request
- README.md: Caution -> Kanzi -> centred please give me money+ button (div align center, #111, 8px, shadow) -> headers # Install / # Use / # Coloured highlights / # Tips / # Detailed Guide / # For developers/ CLI / # Releases / # Support
- Coloured highlights section keeps unique single letters y/o/r/e/g/b/p/m with table, full names, bracket stripped example
- Detailed Guide expands Manager tabs (Summary/Integrated/Conflicts/Mappings/Settings+Highlight colours/Artifacts) with incremental note
- Reduce em dashes, British spelling throughout
- Bump to 0.6.12
2026-09-23 11:03:20 +02:00
Utku Bilen Demir
e3ec7cbd5f Kanzi 0.6.11: README user guide + highlight colours table
- README.md: add Highlight colours table (y/o/r/e/g/b/p/m with hex + full names) and Manager — User guide (Summary/Integrated/Conflicts/Mappings/Settings with Highlight colours + Artifacts), incremental recolours note
- Bump to 0.6.11 for release
2026-09-23 10:54:03 +02:00
Utku Bilen Demir
2d06b50148 Kanzi 0.6.10: unique single-letter colours, bracket stripped
- src/kindle_zotero_importer/import_plan.py: grey=[e] #8a8a8a, red=[r] #ff6666 (unique single letters y/o/r/e/g/b/p/m), all 8 colours have single + full name, bracket stripped from highlight text and note comment (so [o] hello → hello, [r] note → note)
- plugin/manager.html: update colourDefaults and desc to All codes are single letters (y,o,r,e,g,b,p,m) — e.g. [o] orange, [r] red, [e] grey, reset text grey=[e]
- README.md: colours tip with unique letters, bracket stripped
- Bump to 0.6.10
2026-09-23 10:39:35 +02:00
Utku Bilen Demir
9a08cbbfc4 Kanzi 0.6.9: incremental recolours past highlights
- src/kindle_zotero_importer/cli.py: incremental now re-queues past highlights whose bracket colour changed ([r] on note etc.) and when colourMap in Settings changes (stores colourMap in final_plan for comparison)
- plugin/bootstrap.js: writeAnnotations now updates colour for existing annotations (so Full and incremental recolours work, not just new)
- Bump to 0.6.9 for auto-update
2026-09-22 19:44:13 +02:00
Utku Bilen Demir
48359919ec Kanzi 0.6.8: fix [r] on notes colours highlight
- src/kindle_zotero_importer/import_plan.py: _annotation_stub now checks comment first for [code] (so [r] on a Kindle note colours its highlight), strips bracket from comment, handles highlight text bracket too
- Fixes grey=[r] not applying when note is '[r] this is a red note' with yellow highlight (was all yellow)
- Add missing 'color' field (was dropped in previous refactor)
- Bump to 0.6.8 for release
2026-09-22 16:15:50 +02:00
Utku Bilen Demir
98539dadbd Kanzi 0.6.7: bracket colours [r]=grey + editable Settings
- src/kindle_zotero_importer/import_plan.py: add DEFAULT_COLOUR_MAP with grey->[r] per request (y/o/r/grey/gray/red/g/b/p/m etc.), _extract_colour() strips leading [code] and maps to hex, _annotation_stub() uses it, build_import_plan() accepts colour_map
- src/kindle_zotero_importer/cli.py: _load_colour_map() from workdir/colour-map.json or plugin-config.json colourMap, passed to build_import_plan (incremental + full)
- plugin/bootstrap.js: saveSettingsFromManager() persists colourMap to plugin-config.json + colour-map.json, getRuntimeSettings() loads it, loadColourMap() helper, label Kanzi
- plugin/manager.html: Settings → Highlight colours editor (table bracket→hex with colour picker, preview, +Add, Reset, grey=[r] note, example [o] orange), saveSettings() collects colourMap, init uses F tokens
- plugin/manifest.json: name Kanzi, 0.6.6→0.6.7, description Kindle annotations to Zotero
- README.md: Kanzi title, Tools → Kanzi…, colours tip with British spelling
- updates.json: add 0.6.7 on top
2026-09-22 15:19:27 +02:00
Utku Bilen Demir
becde320a4 track updates.json for releases (remove from .gitignore) 2026-09-22 09:51:31 +02:00
Utku Bilen Demir
755e078d00 0.6.6: fix Loading... (manager syntax)
- plugin/manager.html: add missing '},' after completeRun (hygiene prune
  had removed comma, causing 'Loading Kindle Zotero Importer...' hang,
  node --check now passes)
- Bump to 0.6.6 for auto-update (manifest 0.6.5->0.6.6, updates.json
  adds 0.6.6 on top, README 0.6.6)
2026-09-22 09:51:12 +02:00
Utku Bilen Demir
4162c91e25 0.6.5: hygiene minimal + chess F tokens, auto-update
- Bump to 0.6.5 for auto-update (manifest 0.6.4 -> 0.6.5, updates.json)
- Hygiene: manager F tokens, bootstrap 394 lines pruned
2026-09-22 09:40:35 +02:00
Utku Bilen Demir
8096d23e4f hygiene: minimalist unification with chess tool (F tokens) + prune legacy
- plugin/manager.html: replace stark B mono (#ffffff/#0a0a0a, radius 0) with
  chess F Cleaned D+B tokens (#f8f8f8/#ddd, radius 8px, soft shadow,
  Inter + iA Writer Duo) — same :root, --bg/--panel/--line/--accent/--radius,
  unified tabs as underline (vs boxed), cards/tables/pills with shadow.
  Update inline JS styles (#0a0a0a -> var(--accent)/var(--line)) for
  reimport bar, infobox, status, artifacts.
- plugin/bootstrap.js: remove 394 lines legacy static-dashboard code
  (openStaticDashboard, buildManagerHtml, conflictRows, groupedRows,
  tableRows, conflictTables, statusCards, countStatuses, escapeHtml,
  fileHref, artifactLink, importClippings, configure, pickDirectory) —
  now only manager pipeline + annotation writer remain (881 vs 1275 lines).
- src/kindle_zotero_importer/cli.py: minimalist description, primary
  highlighted (others are developer utilities).
- Build verified: tests pass, XPI rebuilt 23K, JS syntax ok.
2026-09-22 01:02:32 +02:00
Utku Bilen Demir
0aded721e1 hygiene: clean MEMORY.md frontmatter, record 2026-06-28 memory check
- Remove canvas: [[UTI-roadmap.canvas]] frontmatter (vault artifact)
- Keep verified importer pipeline state
2026-09-21 23:45:57 +02:00
Utku Bilen Demir
1df8b3f37e privacy: anonymized sharing on by default with opt-out, mention in README 2026-09-19 18:06:06 +02:00
Utku Bilen Demir
fade8a632f collect anonymized notes too (comment + hash) with opt-in 2026-09-19 18:03:43 +02:00
Utku Bilen Demir
6a854b2564 private collect -> annotation.utkubilen.de (not public) 2026-09-19 18:02:57 +02:00
Utku Bilen Demir
aa46e6ae2d ignore updates.json and local configs 2026-09-18 18:55:07 +02:00
Utku Bilen Demir
31ad28a9c3 feat: add anonymized sharing prompt and fuzzy tests 2026-09-18 18:54:25 +02:00
Utku Bilen Demir
533673f005
Revise README content and add sponsorship badge
Updated README to clarify project purpose and add badge.
2026-09-16 22:47:29 +02:00
Utku Bilen Demir
755c400cf0
Update disclaimer to caution in README 2026-09-16 22:47:13 +02:00
Utku Bilen Demir
b13f717393
Update disclaimer section in README.md 2026-09-16 22:46:55 +02:00
Utku Bilen Demir
65e80bcc52
Update README.md 2026-09-16 22:46:39 +02:00
Utku Bilen Demir
e59ac76345
Fix badge link formatting in README.md 2026-09-16 22:45:53 +02:00
Utku Bilen Demir
e0a26649d6 docs: add vibecoded disclaimer box, replace em dashes with ; 2026-09-16 22:44:18 +02:00
Utku Bilen Demir
6108915567 donation: single button 'please give me money+' (README badge + manager infobox) 2026-09-16 22:39:54 +02:00
Utku Bilen Demir
d4297e7a00 donation: button says 'please give me money+' 2026-09-16 22:34:57 +02:00
Utku Bilen Demir
51ac6b0ed9 donations: humble 'please give me money' link (FUNDING.yml + README + manager infobox) 2026-09-16 15:33:47 +02:00
Utku Bilen Demir
152f8235fc docs: update README to 0.6.4 actual plugin (manager, incremental, Mappings)
- describe Tools -> Manager, 6 tabs, incremental, Full re-import, candidate-list
- update Install and Use, CLI, Releases/beta, Donations
2026-09-16 14:51:04 +02:00
Utku Bilen Demir
bfe54e3953 0.6.4: incremental id-based import, Mappings/Integrated, black iA Duo, resizable tables
- id-based incremental (new_ids - prev_integrated_ids) with --full flag, kindle-id tag, deletions handling
- Mappings tab with delete to return to Conflicts, sorted by updated_at newest first
- Integrated tab with Added On / Integrated dates and Citekey
- black over white iA Writer Duo theme, candidate-list per-row Use buttons, resizable/sortable tables
- Settings editable + save, Artifacts Open/Reveal, Re-import bar with last file reuse
- Fix override single-field validation and ignore cleanup
2026-09-16 14:44:31 +02:00
Utku Bilen Demir
f5368a28cf Record remote setup 2026-06-03 11:02:21 +02:00
Utku Bilen Demir
540c3ac7f9 Record project save point 2026-06-03 10:51:48 +02:00
Utku Bilen Demir
b713faa583 Improve override review and PDF positioning 2026-06-03 10:51:15 +02:00
Utku Bilen Demir
6f2ce789d1 Update project session log 2026-05-27 10:51:21 +02:00
Utku Bilen Demir
a38ac33596 Initial Kindle Zotero importer baseline 2026-05-27 10:49:04 +02:00