zulip/zerver
Wyatt Hoodes 9c68a97472 import/export: Use separate analytics.json for analytics data.
This helps keep the realm.json small and easy to process; previously,
almost the entire size of that file was the analytics data.

We implement this by refactoring the analytics Config objects into a
separate subroutine that writes to a separate file, plus the
corresponding import code.

Manual testing was performed by exporting the 'analytics' realm, and
importing back to a newly created 'test' realm.  The 'test' realm was
then exported and the json files were inspected.  The data appeared
consistent with no abnormalities.

Fixes: #11220.
2019-02-04 10:59:24 -08:00
..
data_import export: Remove unused imports. 2019-02-02 17:25:27 -08:00
lib import/export: Use separate analytics.json for analytics data. 2019-02-04 10:59:24 -08:00
management management: Remove unused imports in management commands. 2019-02-02 17:12:36 -08:00
migrations migrations: Remove unused imports. 2019-02-02 17:01:04 -08:00
openapi api: Document support for setting stream description on creation. 2019-01-29 11:28:55 -08:00
templatetags zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
tests zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
tornado tornado: Remove unused imports. 2019-02-02 17:33:13 -08:00
views views: Remove unused imports. 2019-02-02 17:23:43 -08:00
webhooks webhooks: Remove unused imports. 2019-02-02 17:05:20 -08:00
worker zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
__init__.py
apps.py signals: Document the weird unused import for signal registration. 2019-02-02 23:04:02 -08:00
context_processors.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
decorator.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
filters.py error reports: Ensure we filter API keys from query strings. 2018-10-19 15:03:14 -07:00
forms.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
logging_handlers.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
middleware.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
models.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
static_header.txt