oncall-engine/engine
Joey Orlando 9be8080e51
add the ability to set/display "currently undergoing maintenance message" in the UI (#1917)
# What this PR does

add a new endpoint, `GET /maintenance-mode/`, which returns either a
string message pulled from the
`CURRENTLY_UNDERGOING_MAINTENANCE_MESSAGE` env var, or `None` + update
the UI to conditionally show this message if it is set

<img width="1321" alt="Screenshot 2023-05-10 at 11 28 16"
src="https://github.com/grafana/oncall/assets/9406895/833a77fb-3a90-4f9f-88d6-dae0d98d99d4">


## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required) (N/A)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-05-12 15:44:09 +00:00
..
apps Disable "You're going OnCall soon" push notification (#1927) 2023-05-12 11:56:12 +00:00
common Fix bug with newlines markdown converter (#1925) 2023-05-12 11:26:08 +08:00
config_integrations Fix bug with newlines markdown converter (#1925) 2023-05-12 11:26:08 +08:00
engine add the ability to set/display "currently undergoing maintenance message" in the UI (#1917) 2023-05-12 15:44:09 +00:00
settings add the ability to set/display "currently undergoing maintenance message" in the UI (#1917) 2023-05-12 15:44:09 +00:00
static/images World, meet OnCall! 2022-06-03 08:09:47 -06:00
.dockerignore One startup command to rule them all (#760) 2022-11-07 16:34:43 +01:00
.gitignore modify push notification settings + use fcm-django library (#998) 2022-12-20 12:41:34 +01:00
celery_with_exporter.sh Add flag to debug logs (#912) 2022-11-29 11:16:42 +08:00
conftest.py add the ability to set/display "currently undergoing maintenance message" in the UI (#1917) 2023-05-12 15:44:09 +00:00
Dockerfile upgrade to python 3.11.3 (#1849) 2023-05-05 15:32:40 +00:00
manage.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
pyproject.toml World, meet OnCall! 2022-06-03 08:09:47 -06:00
requirements.txt Bump django from 3.2.18 to 3.2.19 in /engine (#1914) 2023-05-10 12:45:44 +00:00
tox.ini Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
uwsgi.ini Configure pyroscope (#1638) 2023-03-28 11:34:37 +08:00
wait_for_test_mysql_start.sh Revert "Revert "speed up ci builds from 15 to <7 minutes"" (#1643) 2023-03-28 09:34:03 +02:00