zulip/analytics/management/commands
Lauryn Menard df7a1cec93 analytics: Add summary statistic for upload/storage space in use.
Adds the realm's used storage space for attachments to the stats
view `page_params`. This information is then added to the summary
statistics section of the analytics page after being formatted by
`stats.js`.

Uses the emoji test image to create an `Attachment` in the database
for the analytics realm. Even though it doesn't create a message
to claim the attachment, it still is sent as storage space used
data for the analytics `/stats/` page.
2022-10-07 10:08:09 -07:00
..
__init__.py Move management commands to the analytics app. 2013-11-06 16:51:08 -05:00
check_analytics_state.py docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00
clear_analytics_tables.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
clear_single_stat.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
populate_analytics_db.py analytics: Add summary statistic for upload/storage space in use. 2022-10-07 10:08:09 -07:00
update_analytics_counts.py docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00