zulip/zerver
Abhishek-Balaji 052368bd3e alert_words: Move alert_words from UserProfile to separate model.
Previously, alert words were a JSON list of strings stored in a
TextField on user_profile.  That hacky model reflected the fact that
they were an early prototype feature.

This commit migrates from that to a separate table, 'AlertWord'.  The
new AlertWord has user_profile, word, id and realm(denormalization so
we can provide a nice index for fetching all the alert words in a
realm).

This transition requires moving the logic for flushing the Alert Words
caches to their own independent feature.

Note that this commit should not be cherry-picked without the
following commit, which fixes case-sensitivity issues with Alert Words.
2020-04-27 11:29:50 -07:00
..
data_import python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
lib alert_words: Move alert_words from UserProfile to separate model. 2020-04-27 11:29:50 -07:00
management pointer: Remove unread debugging management commands. 2020-04-26 22:37:41 -07:00
migrations alert_words: Move alert_words from UserProfile to separate model. 2020-04-27 11:29:50 -07:00
openapi pypi: Upgrade zulip/zulip-bots dependencies to version 0.7.0. 2020-04-23 17:41:47 -07:00
templatetags python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
tests alert_words: Move alert_words from UserProfile to separate model. 2020-04-27 11:29:50 -07:00
tornado python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
views home: Don't use pointer to compute furthest_read_time. 2020-04-26 22:41:52 -07:00
webhooks webhooks: Use Gitlab project web_url over repo homepage. 2020-04-24 17:50:47 -07:00
worker python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
__init__.py
apps.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
context_processors.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
decorator.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
logging_handlers.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
middleware.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
models.py alert_words: Move alert_words from UserProfile to separate model. 2020-04-27 11:29:50 -07:00
signals.py emails: Translate from_name of account security emails. 2020-02-18 17:45:33 -08:00