fix: remove duplicate old() function causing 500 on create page #58
Reference in New Issue
Block a user
Delete Branch "feat/dashboard-aggregated-chart"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
which conflicted with the global old() in src/Helpers/functions.php:37
Latest addition: Notification read receipts
New files
database/migrations/008_notification_reads.sql— notification_reads table (unique on notification_id + user_id)Modified files
src/Models/Notification.php— markAsRead inserts into notification_reads; getForUser JOINs to show per-user read status; getUnreadCount checks NOT EXISTS; getAll() includes read_count subquerysrc/Controllers/AdminController.php— passes totalActiveUsers to viewviews/admin/notifications.php— replaced 'Status' column with 'Read by' column showing X/Y readers for broadcast, Read/Unread for targetedpublic/assets/css/style.css— added .badge-secondary styleBehavior
3 / 15(read count / total active users)ReadorUnreadbadgeLatest addition: Android Foreground Service for real-time notifications
New files
android/.../service/NotificationForegroundService.kt— persistent foreground service polling every 30s, START_STICKY for auto-restartModified files
AndroidManifest.xml— added FOREGROUND_SERVICE + FOREGROUND_SERVICE_DATA_SYNC permissions, service declarationNotificationHelper.kt— added silent channel for persistent service notificationServerManagerApp.kt— starts foreground service on createMainActivity.kt— removed redundant Worker check (service handles background)build.gradle.kts— bumped to v1.8.0 (versionCode 12)public/sysadmin.apk— rebuilt APKBehavior
The persistent notification (low priority, silent) shows "Monitoring for notifications" — required by Android 12+ for foreground services.