security: Add tooling to nag users if a Zulip server is very old.

This will help ensure that users upgrade their Zulip server.

Essentially rewritten by tabbott.

Fixes part of #17826.
This commit is contained in:
Nyior
2021-04-24 11:25:20 +00:00
committed by Tim Abbott
parent a2c7f35e5c
commit 8e2042d378
5 changed files with 71 additions and 2 deletions

View File

@@ -441,3 +441,6 @@ NAGIOS_BOT_HOST = EXTERNAL_HOST
# Use half of the available CPUs for data import purposes.
DEFAULT_DATA_EXPORT_IMPORT_PARALLELISM = (len(os.sched_getaffinity(0)) // 2) or 1
# How long after the last upgrade to nag users that the server is insecure
SERVER_UPGRADE_NAG_DEADLINE = 365