mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-10-29 08:07:37 +09:00
Comments, docstrings and a few strings cited plan numbers ("plan 29
#9", "plan 86 §B2") from a git-ignored folder, so they pointed at
nothing; one reached users in a bottleneck hint. Code and frontend
strings are unchanged apart from those citations (checked by AST and
token comparison). A vhost still carrying the old asset comment reads
as undrifted, and a guard test keeps new citations out.
17 lines
828 B
Python
17 lines
828 B
Python
"""ServerKit Status Pages extension backend package.
|
|
|
|
Extracted from core: the status-pages blueprint (public status/badge
|
|
routes + authenticated management API) and its service ship here so a fresh panel
|
|
that never publishes a status page loads none of it. Mounted under
|
|
``/api/v1/status`` via the manifest's ``url_prefix``; the public /status/<slug>
|
|
and /status/badge/<slug> pages work whenever the extension is installed. The
|
|
StatusPage / StatusComponent / StatusIncident / HealthCheck models stay in core
|
|
(G2). Core's WordPress health-check job reaches
|
|
``StatusPageService.sync_component_from_health`` through
|
|
``plugin_service.get_installed_extension_attr`` only when installed. Upgrades
|
|
re-acquire it automatically (``CONVERTED_BUILTIN_SLUGS``).
|
|
"""
|
|
from .status_pages import status_pages_bp
|
|
|
|
__all__ = ['status_pages_bp']
|