zulip/analytics/views
Prakhar Pratyush f8a0035215 stripe: Move `make_end_of_cycle_updates_if_needed` to BillingSession.
Moves the 'make_end_of_cycle_updates_if_needed' function to
the 'BillingSession' abstract class.

This refactoring will help in minimizing duplicate code while
supporting both realm and remote_server customers.

Since the function is called from our main daily billing cron job
as well, we have changed 'RealmBillingSession' to accept 'user=None'
(our convention for automated system jobs).
2023-11-15 09:26:41 -08:00
..
__init__.py
activity_common.py analytics: Use realm_str to generate per realm URL. 2023-11-01 13:08:49 -07:00
installation_activity.py analytics: Use activity_details_template.html for installation page. 2023-11-01 10:31:04 -07:00
realm_activity.py models: Always search Messages with a realm_id or id limit. 2023-09-11 15:00:37 -07:00
remote_activity.py analytics: Move remote server view to separate file. 2023-10-05 12:31:57 -07:00
stats.py stats: Support fetching StreamCount based on stream_id. 2023-10-16 15:10:14 -07:00
support.py stripe: Move `make_end_of_cycle_updates_if_needed` to BillingSession. 2023-11-15 09:26:41 -08:00
user_activity.py ruff: Fix PLR1714 Consider merging multiple comparisons. 2023-07-23 15:21:33 -07:00