Commit Graph

12 Commits

Author SHA1 Message Date
bd2b8e6241 Fix Android IME typing: editor clobbered its own autosave echo
Some checks failed
ci / test (push) Has been cancelled
ci / release (push) Has been cancelled
The $: block applying note changes to CodeMirror listed the autosave
bookkeeping vars (saveTimer, lastKnown) as dependencies, so the 400 ms
autosave re-ran it before App delivered the updated note prop. That stale
run misread the save echo as an external sync change and replaced the
whole doc mid-typing: on Android this aborted every IME composition and
threw the cursor to the top of the note.

Apply note/query via $: fn(prop) so the statements re-run only when the
prop itself changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
v0.1.1
2026-07-23 00:04:24 +02:00
4328bbaeda Install git in the Go build stage for the GOPROXY direct fallback
Some checks failed
ci / test (push) Has been cancelled
ci / release (push) Has been cancelled
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 12:50:04 +02:00
bf8e98dd49 Make GOPROXY a build arg (proxy.golang.org is blocked on some networks)
Some checks failed
ci / test (push) Has been cancelled
ci / release (push) Has been cancelled
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 12:39:25 +02:00
2ebfa4caaf Add container deployment: Dockerfile, compose, systemd unit, redeploy script
Some checks failed
ci / test (push) Has been cancelled
ci / release (push) Has been cancelled
Multi-stage build (node -> go -> alpine) producing the static tefterd
binary with the frontend embedded. Compose follows the house style for
the podman/SELinux server (:Z volume label + label:disable). deploy/
holds the user systemd unit and redeploy-tefter.sh, mirroring the
apelacija setup.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 12:26:01 +02:00
54cf69914f CI: run wails build under Xvfb (hotkey X11 init panics headless)
All checks were successful
ci / test (push) Successful in 1m7s
ci / release (push) Successful in 5m11s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
v0.1.0
2026-07-12 19:35:25 +02:00
bd139678e1 Trigger CI
Some checks failed
ci / test (push) Successful in 1m1s
ci / release (push) Failing after 3m35s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 19:22:31 +02:00
2e9b6d164c Move CI to Gitea Actions
All checks were successful
ci / test (push) Successful in 4m20s
ci / release (push) Has been skipped
Single-runner workflow: test on every push; on v* tags cross-compile tefterd
for all platforms, build the Linux desktop app, and publish a Gitea release
via gitea.com/actions/release-action. Drop the GitHub workflow; document the
runner requirement and manual macOS/Windows desktop builds in the README.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:33:11 +02:00
58063ff901 Restore desktop dist placeholder (needed by go:embed on fresh clones)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:25:08 +02:00
a9ea8c7f73 New notebook logo: spiral-bound page icon for favicon/PWA/desktop
SVG source in frontend/public/icon.svg, rendered to 192/512/maskable PNGs
and desktop/build/appicon.png; SVG favicon with PNG fallback; icons added
to the service-worker precache.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:24:39 +02:00
fa885f434d Anchor build/ ignore to repo root; commit desktop app icon
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:16:23 +02:00
1271e587b1 Add placeholder for desktop embedded dist
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:16:09 +02:00
175c89e400 Implement Tefter per SPEC.md: NV-style notes with server, sync, PWA, desktop
- frontend/: Svelte 4 + TS + Vite app — omnibar (search-and-create), ranked
  diacritic-insensitive filtering, CodeMirror 6 markdown editor with 400ms
  autosave, marked+DOMPurify preview with [[wiki-links]], tag filter, undo
  toast, light/dark, narrow-screen stacked layout, IndexedDB store, pull-then-
  push sync engine with conflict handling, versioned cache-first service
  worker + manifest (installable PWA)
- server/: tefterd — Go stdlib HTTP + modernc.org/sqlite, /api/v1 sync API
  (changes/batch/health/import), SHA-256 hashed bearer token, LWW-with-
  conflict-copies push rules, subcommands: init, token rotate, import
  simplenote, compact, backup (VACUUM INTO); embeds the frontend bundle
- desktop/: Wails v2 shell — single instance, hide-to-tray (fyne systray),
  global Ctrl+Shift+Space hotkey, quit-on-close flag
- Simplenote import (CLI + web upload), idempotent via source_id dedupe;
  verified against a real 242-note export
- Makefile (frontend/server/server-all/desktop/test), GitHub release workflow,
  README with systemd/Caddy/backup docs

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 07:16:01 +02:00