Files
simple-nanoshare/routes/__init__.py
T
daniel156161 d3c914285c
Build and Push Docker Container / build-and-push (push) Successful in 2m3s
feat(cli): watch files with event streams
- Add a private SSE endpoint that emits file change events for authenticated clients.
- Replace the watch sleep loop with watchdog local file events and remote SSE triggers.
- Debounce local event bursts and keep watch running after transient sync failures.
- Add watchdog as a standalone CLI dependency and cover watch behavior in tests.
- Bump NanoShare to 1.25.0 and the standalone CLI to 0.4.0.
2026-07-27 22:18:09 +02:00

28 lines
714 B
Python

from my_modules.app.setup import cache, LIMITER
from my_modules.app.constens import API_GROUP
from my_modules.app.logger import logger
from .handeling.errorsAndBots import auth_error
from .handeling.basics import basic_bp
from quart_common.routes.login import create_auth_login_blueprint
auth_login_bp = create_auth_login_blueprint(
cache=cache,
limiter=LIMITER,
logger=logger,
api_group=API_GROUP,
auth_error_fn=auth_error,
redirect_endpoint='side_main.index',
)
from .side.main import side_main_bp
from .side.upload import upload_bp
from .api.cli_auth import cli_auth_bp
from .api.download import api_download_bp
from .api.events import api_events_bp
# Health
from .api.health import health_bp