Commit Graph

162 Commits

Author SHA1 Message Date
spinline
3c13f99652 Improve App initialization logic with better error handling and logging to prevent infinite loading state
All checks were successful
Build MIPS Binary / build (push) Successful in 4m6s
2026-02-07 15:45:51 +03:00
spinline
e3eb5fbca9 Add detailed logging to login handler and use full page reload for auth navigation
All checks were successful
Build MIPS Binary / build (push) Successful in 4m7s
2026-02-07 15:28:44 +03:00
spinline
08f2f540fe Fix unused import and dead code warnings
All checks were successful
Build MIPS Binary / build (push) Successful in 4m6s
2026-02-07 15:20:23 +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
92720c15b3 Fix mobile dropdown interaction: Revert to pointerdown with stop_propagation and use overlay for reliable closing
All checks were successful
Build MIPS Binary / build (push) Successful in 3m57s
2026-02-07 14:14:37 +03:00
spinline
5e59f66056 Fix dropdown closing behavior on mobile by adding transparent overlay
All checks were successful
Build MIPS Binary / build (push) Successful in 3m45s
2026-02-07 13:54:00 +03:00
spinline
f2ca741188 Fix cache issue by updating service worker strategy and remove GitHub workflows
All checks were successful
Build MIPS Binary / build (push) Successful in 3m44s
2026-02-07 13:41:00 +03:00
spinline
46d61b5562 fix: suppress unused_assignments warning for got_first_message
Some checks failed
Build MIPS Binary / build (push) Has been cancelled
2026-02-06 18:33:18 +03:00
spinline
14f811fd79 fix: convert sort dropdown to signal-based for iOS Safari 2026-02-06 17:19:47 +03:00
spinline
2a919211d9 fix: fixed statusbar at bottom, fix dropdown toggle race, fix theme buttons on iOS
- StatusBar now uses fixed positioning at viewport bottom (z-[99])
- Dropdown toggle uses skip_next_close guard to prevent close-then-reopen
- Global close listener uses click instead of pointerdown (fires after toggle)
- Theme/limit buttons use on:pointerdown instead of on:click for iOS compat
- Main content has pb-8 to prevent overlap with fixed statusbar
- Rebuilt tailwind.css
2026-02-06 17:17:07 +03:00
spinline
2c25d3bdf1 chore: rebuild tailwind.css 2026-02-06 14:21:17 +03:00
spinline
1d06906475 fix: wrap toolbar+main in overflow-hidden, free statusbar from clipping 2026-02-06 14:19:46 +03:00
spinline
e4cc6322bf fix: dropdown clipped by overflow-hidden, change to overflow-x-hidden 2026-02-06 14:09:34 +03:00
spinline
d1604fb8fb frontend(statusbar): use signal-based dropdowns to fix iOS Safari toggle 2026-02-06 13:57:26 +03:00
spinline
3b34b0e61a fix: prevent toast spam on server disconnect - show once, reconnect silently with backoff 2026-02-06 13:37:12 +03:00
spinline
19d9d7f30f fix: use details-based dropdowns for iOS Safari toggle behavior 2026-02-06 13:34:07 +03:00
spinline
a3321c7cf1 fix: properly check notification permission result, show toast feedback on Safari 2026-02-06 13:26:37 +03:00
spinline
22672f7aaa refactor(ui): switch to inline styles for safe-area padding (simpler approach) 2026-02-06 13:19:02 +03:00
spinline
e10b252eff fix(ui): use configured safe-area spacing for notch support 2026-02-06 13:13:53 +03:00
spinline
b8328199f6 feat: add PWA metadata for macOS Safari and notification support 2026-02-06 13:00:14 +03:00
spinline
5b0fab80fe fix(ui): add safe area padding for mobile notch support 2026-02-06 12:55:41 +03:00
spinline
68b517a336 fix: use JavaScript for base64 decoding to avoid UTF-8 encoding issues (65 bytes expected) 2026-02-06 01:17:01 +03:00
spinline
cd2a398b15 feat: request push notification permission when settings button clicked 2026-02-06 01:15:42 +03:00
spinline
1c3ee296f7 fix: skip auto push notification request on Safari (requires user gesture), add debug logs for VAPID key 2026-02-06 01:06:07 +03:00
spinline
e9a82b289b fix: enable push notifications on macOS Safari 16+ (API-based detection instead of UA) 2026-02-06 00:59:52 +03:00
spinline
4dab66c234 fix: enable push notifications on Chrome/Firefox/Edge (all platforms), disable only macOS Safari 2026-02-06 00:55:56 +03:00
spinline
8ccc9e52f3 fix: skip push notifications on macOS Safari (only iOS supports web push) 2026-02-06 00:53:12 +03:00
spinline
7b7cb58871 fix: request notification permission before push subscription on iOS 2026-02-06 00:51:41 +03:00
spinline
3369853c06 fix: attempt push notification subscription when permission is default on iOS 2026-02-06 00:33:52 +03:00
spinline
2e37297a13 fix: Replace tracing with log in frontend
Frontend uses log crate, not tracing. Replaced all tracing:: calls with log:: calls to fix CI build.
2026-02-05 23:59:58 +03:00
spinline
bffc72391a feat: Add iOS push notification support (iOS 16.4+)
- Platform detection utilities (is_ios, is_standalone, supports_push)
- iOS-specific meta tags and Apple touch icons
- Auto-detect iOS and show user-friendly message when not in standalone mode
- Enhanced Service Worker with iOS-compatible notification options
- Comprehensive iOS push notification documentation
- manifest.json scope for PWA compliance
- Only works when added to Home Screen (iOS Safari limitation)
2026-02-05 23:57:08 +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
60fc887327 fix(ios): add vibrate API feature detection for iOS Safari
- iOS Safari doesn't support navigator.vibrate()
- Added feature detection before calling vibrate
- Prevents TypeError on iOS devices
- Haptic feedback still works on Android/Chrome
2026-02-05 23:30:54 +03:00
spinline
7ad6455a1e chore: remove debug logging from browser notifications
- Cleaned up verbose notification logs
- Kept error logging for troubleshooting
- Notifications confirmed working on Chrome/macOS
2026-02-05 23:28:12 +03:00
spinline
17551af8b5 fix: remove on:close event from add torrent modal to prevent callback panic
- Dialog's on:close was calling callback after scope disposal
- Caused 'could not get stored value' error in leptos_reactive
- on_close callback still properly called via handle_close and submit success
2026-02-05 22:52:47 +03:00
spinline
614d6a3117 fix: remove manual notification.close() to prevent WASM crash
- Browser automatically closes notification after 5 seconds
- Manual close() was causing unreachable code error
- Changed to just create and let browser handle lifecycle
2026-02-05 22:45:51 +03:00
spinline
1361b5a228 debug: add detailed logging for browser notifications
- Log notification permission status
- Log critical event detection
- Log notification creation attempts
- Log notification failures with error details
- Help troubleshoot why notifications aren't showing
2026-02-05 22:39:00 +03:00
spinline
3efe60a0f0 feat(pwa): add PWA support and browser notifications for critical events 2026-02-05 22:25:31 +03:00
spinline
ce6c3e01aa feat(frontend): add SSE auto-reconnect with toast notifications
- Automatic reconnection with exponential backoff (1s to 30s max)
- Toast when connection is lost: 'Sunucu bağlantısı kesildi'
- Toast when reconnected: 'Sunucu bağlantısı yeniden kuruldu'
- Backend rTorrent notifications still work via SSE
2026-02-05 21:46:20 +03:00
spinline
3bc4b0f364 fix(css): rebuild tailwind to include DaisyUI alert classes 2026-02-05 21:35:34 +03:00
spinline
88b2dddba0 fix(toast): use proper DaisyUI alert structure with SVG icons 2026-02-05 21:26:28 +03:00
spinline
579be70a5a fix(toast): make responsive for mobile screens 2026-02-05 21:20:49 +03:00
spinline
ce32eadffd fix(toast): simplify style, remove duplicate backend notifications 2026-02-05 21:18:58 +03:00
spinline
f2ca731827 fix(frontend): fix toast positioning with wrapper div and inline styles 2026-02-05 21:11:36 +03:00
spinline
0b935638af fix(frontend): disable broken service worker registration 2026-02-05 21:04:42 +03:00
spinline
718fed554f fix(frontend): fix toast positioning - move outside drawer, use fixed position 2026-02-05 21:02:47 +03:00
spinline
e8da646a91 fix(frontend): prevent callback panic by deferring menu close to on_close 2026-02-05 20:55:14 +03:00
spinline
497b39e0ae fix(frontend): use signal-based toast for async contexts 2026-02-05 20:48:40 +03:00
spinline
6c7379483e feat(frontend): add clean-code toast notifications 2026-02-05 20:40:11 +03:00
spinline
6e4a9e2d51 fix: resolve frontend build errors and warnings 2026-02-05 18:49:51 +03:00