No description
Find a file
Derick Phan 86e4c1f151
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-03-26 11:24:01 -07:00
themes Add themes folder with kodama template and gitignore index.db 2026-03-26 10:11:32 -07:00
.gitignore Add themes folder with kodama template and gitignore index.db 2026-03-26 10:11:32 -07:00
app.py Fix SSRF redirect bypass, identity permissions, error leakage, and DB connection leaks 2026-03-26 11:18:47 -07:00
CLAUDE.md Add CLAUDE.md with project architecture and conventions 2026-03-26 08:17:38 -07:00
db.py Fix index_url using wrong page_id after upsert 2026-03-26 11:24:01 -07:00
gateway.py Harden security: bookmark auth, CSP headers, per-session CSRF, and more 2026-03-26 11:10:37 -07:00
handlers.py Fix SSRF redirect bypass, identity permissions, error leakage, and DB connection leaks 2026-03-26 11:18:47 -07:00
README.md first commit 2026-03-24 20:35:10 -07:00
requirements.txt Migrate TinyWeb to Reticulum mesh network 2026-03-25 22:18:24 -07:00
rns_client.py Add Reticulum-native subscriptions and sync-based distributed search 2026-03-25 22:51:22 -07:00
templates.py Fix custom template rendering and ensure customize page uses default layout 2026-03-26 09:45:42 -07:00