Add notif page

This commit is contained in:
2025-05-31 18:28:53 +02:00
parent 5e5d1beb5e
commit 224d4d400e
43 changed files with 779 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
# Utils package initialization
from .permissions import user_has_permission, get_user_permissions
from .event_logger import log_event, get_user_events, get_room_events, get_recent_events, get_events_by_type, get_events_by_date_range
from .notification import create_notification, get_user_notifications, mark_notification_read, mark_all_notifications_read, get_unread_count, delete_notification, delete_old_notifications
from .path_utils import clean_path, secure_file_path
from .time_utils import timeago, format_datetime, parse_datetime
@@ -13,6 +14,13 @@ __all__ = [
'get_recent_events',
'get_events_by_type',
'get_events_by_date_range',
'create_notification',
'get_user_notifications',
'mark_notification_read',
'mark_all_notifications_read',
'get_unread_count',
'delete_notification',
'delete_old_notifications',
'clean_path',
'secure_file_path',
'timeago',