healthchecks/hc/api
Pēteris Caune b2c5e91c70
Implement legacy -> canonical timezone conversion
There are three related changes:

* Removed legacy timezones from hc.lib.tz.all_timezones
* Added data migration to update existing Check.tz values
* For backwards compatibility, added code to automatically
  replace a legacy timezone with a canonical timezone when a
  legacy timezone is passed to an API call

I used the timezone mapping on
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
2024-06-14 12:55:57 +03:00
..
management Change Channel.notify() signature to take Flip object as an argument 2024-04-12 13:54:16 +03:00
migrations Implement legacy -> canonical timezone conversion 2024-06-14 12:55:57 +03:00
tests Implement legacy -> canonical timezone conversion 2024-06-14 12:55:57 +03:00
__init__.py Renames 2015-06-12 19:33:15 +03:00
admin.py Add type hint for view_on_site in channel admin 2024-05-01 11:18:31 +03:00
apps.py Add a system check that warns about WhatsApp misconfiguration 2024-02-16 12:58:48 +02:00
decorators.py Improve type hints in hc.api.decorators 2023-10-20 18:41:11 +03:00
forms.py Improve type hints 2023-10-25 18:12:12 +03:00
models.py Add uniqueness constraint to api_notification.code 2024-05-17 10:30:01 +03:00
transports.py Update the Discord integration to disable channel on HTTP 404 responses 2024-04-26 09:25:42 +03:00
urls.py Add support for per-check status badges 2024-02-27 12:55:51 +02:00
views.py Implement legacy -> canonical timezone conversion 2024-06-14 12:55:57 +03:00