Add ntfy push notification system with comprehensive configuration, API endpoints, and automatic event notifications for tasks, schedules, health checks, and bootstrap operations

This commit is contained in:
2025-12-06 17:37:23 -05:00
parent 123ca2cc08
commit 3559552eca
30 changed files with 4324 additions and 254 deletions
@@ -0,0 +1,31 @@
"""Add notification_type column to schedules table
Revision ID: 0003_add_notification_type
Revises: 0002_add_schedule_columns
Create Date: 2025-12-06
"""
from typing import Sequence, Union
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision: str = '0003_add_notification_type'
down_revision: Union[str, None] = '0002_add_schedule_columns'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None
def upgrade() -> None:
"""Add notification_type column to schedules table."""
op.add_column(
'schedules',
sa.Column('notification_type', sa.String(), nullable=True, server_default='all')
)
def downgrade() -> None:
"""Remove notification_type column from schedules table."""
op.drop_column('schedules', 'notification_type')