Files
mc-webui/app/archiver/__init__.py
MarekWo b034a181ce feat(retention): add message retention scheduling (Task 2.6)
- Add daily retention job that deletes old channel messages, DMs, and
  advertisements based on configurable age threshold
- Add GET/POST /api/retention-settings endpoints
- Extend cleanup_old_messages() to optionally include DMs and adverts
- Wire up APScheduler in create_app() (also enables existing archiving
  and contact cleanup schedulers that were never started in v2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 17:28:54 +01:00

22 lines
421 B
Python

"""
Archive module - handles message archiving and management
"""
from app.archiver.manager import (
archive_messages,
list_archives,
get_archive_path,
schedule_daily_archiving,
schedule_retention,
init_retention_schedule
)
__all__ = [
'archive_messages',
'list_archives',
'get_archive_path',
'schedule_daily_archiving',
'schedule_retention',
'init_retention_schedule'
]