 arnefandCopilot
|
a66c370de4
|
feat: add authentication and book upload
- Session-based login (username/password, 30-day cookie)
- SQLite user store with bcrypt password hashing (modernc.org/sqlite)
- Per-user upload permission (can_upload flag)
- Admin CLI (cmd/admin) for user management:
user add/list/delete/set-upload
- Upload handler for EPUB/PDF with path-traversal protection
- All routes protected by requireAuth middleware;
/upload additionally requires requireUpload
- Login/logout UI, upload form, logout button in header
- New env var: USERS_DB (default: users.db, gitignored)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
2026-08-11 19:11:40 +02:00 |
|
 ArneandCopilot Autofix powered by AI
|
a8b31dae8a
|
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
2026-08-08 13:40:53 +02:00 |
|
 ArneandCopilot Autofix powered by AI
|
1f31d7afae
|
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
2026-08-08 13:40:38 +02:00 |
|
 ArneandCopilot Autofix powered by AI
|
15d323541c
|
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
2026-08-08 13:40:23 +02:00 |
|
 ArneandCopilot Autofix powered by AI
|
e5931aa5c7
|
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
2026-08-08 13:40:09 +02:00 |
|
arnef
|
a936c61ba3
|
update pages_templ
|
2026-08-08 13:36:19 +02:00 |
|
Arne
|
91173750ad
|
Use Tolino-compatible three-column overview layout
|
2026-08-06 22:02:44 +02:00 |
|
Arne
|
d5a03bc05f
|
Switch overview to three-column book grid
|
2026-08-06 21:12:34 +02:00 |
|
Arne
|
22cb8eca3b
|
Tighten header layout for app-like back button
|
2026-08-06 21:09:39 +02:00 |
|
Arne
|
229c1520ef
|
Use compact back icon in header
|
2026-08-06 21:07:40 +02:00 |
|
Arne
|
5757e6bbea
|
Move detail back navigation into header
|
2026-08-06 21:05:30 +02:00 |
|
Arne
|
a735f1a8d4
|
Simplify styles for Tolino-friendly reader layout
|
2026-08-06 20:46:56 +02:00 |
|
Arne
|
0db5777354
|
Import strings in templ view for format placeholder
|
2026-08-06 20:43:54 +02:00 |
|
Arne
|
6b42ab0dd6
|
Fix cover content type detection build error
|
2026-08-06 20:42:42 +02:00 |
|
Arne
|
b163aade71
|
Add ebook metadata, author and cover display
|
2026-08-06 20:40:40 +02:00 |
|
arnef
|
060d822654
|
use latest templ and ignore content of books dir
|
2026-08-06 17:18:23 +02:00 |
|
Arne
|
8d499c28a7
|
Initial MVP: Go + templ Tolino-optimized ebook library scaffold
|
2026-08-06 06:52:41 +02:00 |
|
Arne
|
bf077c0cf6
|
Initial commit
|
2026-08-06 06:52:40 +02:00 |
|