Commit graph

8 commits

Author SHA1 Message Date
e67b094466 fix: AJAX-URL dynamisch aus Script-Pfad ermitteln
urlRoot wird einmalig aus dem src-Attribut des globalnotify-Scripts
abgeleitet, damit AJAX-Calls unabhängig vom Installationspfad
funktionieren (z.B. /dolibarr/custom/... statt /custom/...).
Behebt 404-Fehler bei Aktionen wie "Alle als gelesen markieren".

Zusätzlich CLAUDE.md Projektdokumentation erstellt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 09:21:53 +01:00
b4a6f534ba fix: Auto-dismiss cron notifications for disabled jobs
- Add cleanupDisabledCronNotifications() method
- Automatically mark notifications as read when cronjob is disabled
- Fixes issue where "Cron-Job verpasst" kept reappearing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-03 12:09:42 +01:00
197d87c663 feat: Konfigurierbares Cron-Prüfintervall und Dokumentation
- Admin-Seite mit Einstellung für Cron-Prüfintervall (10-3600 Sek)
- checkStuckCronJobs() nutzt jetzt konfigurierbare Einstellung
- README.md mit vollständiger Integrations-Dokumentation
- Sichere Nutzung ohne Fatal Error wenn Modul nicht installiert
- Version 1.3.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-23 11:22:29 +01:00
d119448d93 fix: SQL filter excluded GLOBALNOTIFY_CRON notifications
Changed filter from 'NOT LIKE GLOBALNOTIFY_CRON%' to 'NOT LIKE %_LASTCHECK'
to include cron notifications while still excluding cache entries.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-23 11:13:49 +01:00
21076ac922 fix: Add missing admin.lib.php include for dolibarr_set_const
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-23 11:13:08 +01:00
82e28f9bd7 fix: Check stuck cron jobs in printTopRightMenu hook
Der addMoreActionsButtons Hook wurde nicht aufgerufen -
checkStuckCronJobs wird jetzt im printTopRightMenu aufgerufen.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-23 11:12:25 +01:00
ac1ffa07f6 feat(v1.2.0): Benachrichtigungston, Animationen und verbesserte Farben
- Benachrichtigungston (Web Audio API) bei neuen Nachrichten
- Shake & Bounce Animation bei neuen Benachrichtigungen
- FAB-Farbschema: Grau (leer), Rot (Nachrichten), Pulsierend (dringend)
- Panel-Header in Dolibarr-Blau statt Lila
- FAB wirklich verschiebbar mit click vs. drag Erkennung
- Grab-Cursor für visuelles Drag-Feedback
- Position-Persistenz im localStorage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-23 11:09:53 +01:00
c65d15a86b feat: GlobalNotify v1.1.0 - Schwebendes Benachrichtigungs-Widget
Messenger-artiges Benachrichtigungssystem für Dolibarr:
- Schwebendes FAB (Floating Action Button) unten links
- Ausklappbares Panel mit allen Benachrichtigungen
- Historie der gelesenen Nachrichten
- Direktes Abhaken per Checkbox
- Click-to-Navigate für Aktionen
- Pulsierender Button bei dringenden Nachrichten
- Draggable Panel-Header
- Automatische Erkennung hängender Cron-Jobs
- API für andere Module: GlobalNotify::error(), ::warning(), etc.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-23 11:04:43 +01:00