Commit Graph

31 Commits

Author SHA1 Message Date
spinline
2c8a2d5956 feat(db): add migrations system and push subscriptions persistence
Some checks failed
Build MIPS Binary / build (push) Has been cancelled
- Add sqlx migration system with migrations/ directory
- Create 001_init.sql and 002_push_subscriptions.sql migration files
- Move from manual CREATE TABLE to version-controlled migrations
- Add push_subscriptions table with DB persistence
- PushSubscriptionStore now loads from DB on startup
- Add save/remove/get methods for push subscriptions in db.rs
- Move VAPID keys to .env file (with fallback to hardcoded values)
- Delete old vibetorrent.db and recreate with migrations
2026-02-08 05:10:57 +03:00
spinline
90b65240b2 Restore required utoipa::OpenApi import
Some checks failed
Build MIPS Binary / build (push) Has been cancelled
2026-02-07 19:47:06 +03:00
spinline
10262142fc Fix unused OpenApi import warning
Some checks failed
Build MIPS Binary / build (push) Failing after 3m25s
2026-02-07 19:34:41 +03:00
spinline
858a1c9b63 Fix compilation errors: Restore missing delete_session method and ApiDoc struct
All checks were successful
Build MIPS Binary / build (push) Successful in 4m7s
2026-02-07 19:28:47 +03:00
spinline
edfb7458f8 Add CLI password reset feature: --reset-password <USERNAME>
Some checks failed
Build MIPS Binary / build (push) Failing after 3m24s
2026-02-07 19:18:10 +03:00
spinline
7361421641 Fix middleware signature: Specify Request<Body> explicitly
All checks were successful
Build MIPS Binary / build (push) Successful in 4m7s
2026-02-07 15:13:05 +03:00
spinline
472bac85f3 Fix compilation errors: Resolve utoipa derive issues, add time dependency, and correct Axum middleware signature
Some checks failed
Build MIPS Binary / build (push) Has been cancelled
2026-02-07 15:08:53 +03:00
spinline
bb3ec14a75 Fix compilation errors: Add missing dependencies, fix module visibility, and update Axum middleware types
Some checks failed
Build MIPS Binary / build (push) Failing after 3m27s
2026-02-07 14:58:35 +03:00
spinline
d53d661ad1 Implement authentication system with SQLite: Add login/setup pages, auth middleware, and database integration
Some checks failed
Build MIPS Binary / build (push) Failing after 3m42s
2026-02-07 14:43:25 +03:00
spinline
8cd4a998a8 fix: Make push notifications optional for MIPS compatibility
- Add push-notifications feature flag (enabled by default)
- Make web-push and openssl optional dependencies
- Conditionally compile push notification code
- Disable push notifications for MIPS builds in CI
- Fixes AtomicU64 error on 32-bit MIPS architecture
- x86_64/ARM builds still have full push notification support
2026-02-06 00:12:02 +03:00
spinline
373da566be feat: Add push notification support with VAPID keys
- Backend: web-push integration with VAPID keys
- Push subscription endpoints (GET /api/push/public-key, POST /api/push/subscribe)
- In-memory subscription store
- Frontend: Auto-subscribe to push after notification permission granted
- Service Worker: Push event handler
- Send push notifications when torrents complete
- Works even when browser is closed
2026-02-05 23:53:23 +03:00
spinline
e2a8e17eae feat: implement notification system and backoff strategy for rTorrent polling 2026-02-05 18:31:42 +03:00
spinline
f761c90448 refactor(backend): use typed XmlRpc parameters (int/string) to fix rtorrent calls 2026-02-04 00:39:21 +03:00
spinline
563ffad3ab feat: add global stats broadcasting and statusbar integration 2026-02-03 23:12:51 +03:00
spinline
6a5ce421b9 fix(backend): update router paths to axum 0.8 syntax 2026-02-03 22:58:08 +03:00
spinline
7dfa3cf890 feat(backend): add global speed limit apis 2026-02-03 22:53:32 +03:00
spinline
86ba4206b8 chore: remove unused Theme enum 2026-02-03 22:48:13 +03:00
spinline
78f232a909 feat(backend): add advanced torrent management apis (files, peers, trackers, priority, label) 2026-02-03 22:39:02 +03:00
spinline
4a870d75dd fix(backend): parse rtorrent version string in health check logs 2026-02-03 22:09:22 +03:00
spinline
33ee44e1f0 feat: add api docs and refactor AppEvent to struct variant 2026-02-03 22:02:28 +03:00
spinline
07f148ed4e fix(backend): handle port binding errors gracefully instead of panicking 2026-02-03 21:49:29 +03:00
spinline
c3431db35f feat(backend): add startup health check for rtorrent socket 2026-02-03 21:41:22 +03:00
spinline
a675203363 feat(backend): add .env support and configuration priority 2026-02-03 20:58:40 +03:00
spinline
9d1aa8f7d2 refactor(backend): optimize diff logic and integrate DiffResult 2026-02-03 20:52:09 +03:00
spinline
f13a712ebd refactor(backend): move handlers to separate module 2026-02-03 20:47:36 +03:00
spinline
9117ea2b65 refactor(backend): improve error handling with thiserror and secure file deletion 2026-02-03 19:17:30 +03:00
spinline
aa7bfaf6f5 feat: add delete confirmation modal and fix unsafe file deletion 2026-01-31 13:17:48 +03:00
spinline
90605ded56 feat: Refactor VibeTorrent v3 with shared crate, fine-grained updates, tracing, and middleware optimization 2026-01-30 18:38:09 +03:00
spinline
6424acaa08 style: Clean up backend unused warnings 2026-01-30 01:00:36 +03:00
spinline
69e8f99da6 fix: Restore missing handler in main.rs 2026-01-30 00:54:08 +03:00
spinline
5052a1787a feat: Initial release with MIPS support 2026-01-29 23:17:19 +03:00