No description
Find a file
Derick Phan 4e5a92fde8 Fix index_url using wrong page_id after upsert
lastrowid returns 0 when ON CONFLICT DO UPDATE fires on an existing
row, causing links to not be cleaned up or associated correctly on
re-index. Now fetches the actual row ID with a SELECT after upsert.
Also adds try/finally for connection safety.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-05 04:57:54 +00:00
themes Add themes folder with kodama template and gitignore index.db 2026-06-05 04:57:54 +00:00
.gitignore Add themes folder with kodama template and gitignore index.db 2026-06-05 04:57:54 +00:00
app.py Fix SSRF redirect bypass, identity permissions, error leakage, and DB connection leaks 2026-06-05 04:57:54 +00:00
CLAUDE.md Add CLAUDE.md with project architecture and conventions 2026-06-05 04:57:54 +00:00
db.py Fix index_url using wrong page_id after upsert 2026-06-05 04:57:54 +00:00
gateway.py Harden security: bookmark auth, CSP headers, per-session CSRF, and more 2026-06-05 04:57:54 +00:00
handlers.py Fix SSRF redirect bypass, identity permissions, error leakage, and DB connection leaks 2026-06-05 04:57:54 +00:00
README.md first commit 2026-06-05 04:57:53 +00:00
requirements.txt Migrate TinyWeb to Reticulum mesh network 2026-06-05 04:57:53 +00:00
rns_client.py Add Reticulum-native subscriptions and sync-based distributed search 2026-06-05 04:57:53 +00:00
templates.py Add custom HTML template editor and clean up UI 2026-06-05 04:57:54 +00:00