mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
Cleanup various minor Zanitization issues.
(imported from commit 5784eb5ac70706f72b05463354434a83a6e1beaa)
This commit is contained in:
@@ -99,8 +99,7 @@ def activity_averages_during_day(day):
|
||||
return calculate_stats(seconds_active, all_users=users_to_measure)
|
||||
|
||||
# Returns an info dict {mean: , median} with engagement numbers for all users according
|
||||
# to active_users_to_measure. This will ignore weekends, and ignore users.customer4.invalid
|
||||
# on Fridays
|
||||
# to active_users_to_measure.
|
||||
def activity_averages_between(begin, end, by_day=True):
|
||||
seconds_active = {}
|
||||
users_to_measure = active_users_to_measure()
|
||||
|
||||
@@ -97,9 +97,6 @@ ALLOWED_HOSTS = ['localhost', '.humbughq.com', '54.214.48.144', '54.213.44.54',
|
||||
'54.244.50.64', '54.244.50.65', '54.244.50.74',
|
||||
'chat.dropboxer.net']
|
||||
|
||||
|
||||
JWT_AUTH_KEYS = {}
|
||||
|
||||
NOTIFICATION_BOT = "notification-bot@zulip.com"
|
||||
ERROR_BOT = "error-bot@zulip.com"
|
||||
NEW_USER_BOT = "new-user-bot@zulip.com"
|
||||
|
||||
@@ -123,6 +123,7 @@ DEFAULT_SETTINGS = {'TWITTER_CONSUMER_KEY': '',
|
||||
'LOCAL_UPLOADS_DIR': None,
|
||||
'DROPBOX_APP_KEY': '',
|
||||
'ERROR_REPORTING': True,
|
||||
'JWT_AUTH_KEYS': {},
|
||||
'NAME_CHANGES_DISABLED': False,
|
||||
'DEPLOYMENT_ROLE_NAME': "",
|
||||
# The following bots only exist in non-VOYAGER installs
|
||||
|
||||
Reference in New Issue
Block a user