zulip/analytics
arpit551 b23a5431cd analytics: Add realm argument to analytics.
This changeset is prepartory work for doing something reasonable with
analytics data during the zulip -> zulip data import process (and
potentially e.g. slack -> Zulip as well).

To support that, we need to make it possible to do our analytics
calculations for a single realm.

We do this while maintaining backwards compatibility and avoiding
massive duplicated code by adding an optional `realm` argument to the
entrypoints to the analytics system, especially process_count_stat.

More work involving restructuring FillState will be required for this
to be actually usable for its intented purpose, but this commit is a
nice checkpoint along the way.

Tweaked by tabbott to adjust comments and disable InstallationCount
updates when a realm argument is specified.
2020-01-23 17:36:13 -08:00
..
lib analytics: Add realm argument to analytics. 2020-01-23 17:36:13 -08:00
management python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
migrations python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
tests analytics: Add realm argument to analytics. 2020-01-23 17:36:13 -08:00
__init__.py Create "analytics" app with activity reports. 2013-11-06 12:07:32 -05:00
models.py analytics/zilencer/zproject: Remove unused imports. 2019-02-02 17:31:45 -08:00
urls.py activity: Create interface for doing support operations. 2019-03-11 12:01:11 -07:00
views.py support: Send confirmation email on realm activation. 2019-12-02 09:51:45 -08:00