zulip/analytics
arpit551 f299f31340 analytics: Fix missing unique constraint when subgroup is null.
Replaced unique_together with UniqueConstraint in models that
covered nullable fields as in unique_together database indexes
don't work where subgroup=None. So added conditional unique
index handling invalid duplicate Count data.

Added 0015_clear_duplicate_counts migration to handle existing
data that violates the constraints.

Also corrected a test case in test_counts.py which didn't clear its
state properly and thus was accidentally taking advantage of this
database schema bug.
2020-03-06 11:10:04 -08:00
..
lib analytics: Added comments. 2020-01-28 14:57:32 -08:00
management python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
migrations analytics: Fix missing unique constraint when subgroup is null. 2020-03-06 11:10:04 -08:00
tests analytics: Fix missing unique constraint when subgroup is null. 2020-03-06 11:10:04 -08:00
__init__.py Create "analytics" app with activity reports. 2013-11-06 12:07:32 -05:00
models.py analytics: Fix missing unique constraint when subgroup is null. 2020-03-06 11:10:04 -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