zulip/tools/linter_lib
Mateusz Mandera c011d2c6d3 email_mirror: Migrate missed message addresses from redis to database.
Addresses point 1 of #13533.

MissedMessageEmailAddress objects get tied to the specific that was
missed by the user. A useful benefit of that is that email message sent
to that address will handle topic changes - if the message that was
missed gets its topic changed, the email response will get posted under
the new topic, while in the old model it would get posted under the
old topic, which could potentially be confusing.

Migrating redis data to this new model is a bit tricky, so the migration
code has comments explaining some of the compromises made there, and
test_migrations.py tests handling of the various possible cases that
could arise.
2020-01-07 13:03:22 -08:00
..
__init__.py Extract tools/linter_lib/custom_check.py. 2017-06-05 09:20:21 -07:00
custom_check.py email_mirror: Migrate missed message addresses from redis to database. 2020-01-07 13:03:22 -08:00
exclude.py tools: Fix running check-openapi locally. 2019-08-07 14:18:27 -07:00
pep8.py tools: Remove unused imports. 2019-02-02 17:10:31 -08:00
pyflakes.py linter_lib: Fix mypy errors. 2019-08-09 17:22:45 -07:00