diff --git a/api/README.md b/api/README.md index 730b0c8046..9ce5078057 100644 --- a/api/README.md +++ b/api/README.md @@ -1,6 +1,6 @@ #### Dependencies -The Humbug API Python bindings require the following Python libraries: +The Zulip API Python bindings require the following Python libraries: * simplejson * requests (version >= 0.12.1) @@ -34,14 +34,14 @@ Alternatively, you may explicitly use "--user" and "--api-key" in our examples, which is especially useful if you are running several bots which share a home directory. -You can obtain your Humbug API key, create bots, and manage bots all -from your Humbug [settings page](https://zulip.com/#settings). +You can obtain your Zulip API key, create bots, and manage bots all +from your Zulip [settings page](https://zulip.com/#settings). A typical simple bot sending API messages will look as follows: At the top of the file: - # Make sure the Humbug API distribution's root directory is in sys.path, then: + # Make sure the Zulip API distribution's root directory is in sys.path, then: import humbug humbug_client = humbug.Client(email="your-bot@example.com") @@ -57,9 +57,9 @@ When you want to send a message: Additional examples: - client.send_message({'type': 'stream', 'content': 'Humbug rules!', + client.send_message({'type': 'stream', 'content': 'Zulip rules!', 'subject': 'feedback', 'to': ['support']}) - client.send_message({'type': 'private', 'content': 'Humbug rules!', + client.send_message({'type': 'private', 'content': 'Zulip rules!', 'to': ['user1@example.com', 'user2@example.com']}) send_message() returns a dict guaranteed to contain the following diff --git a/api/bin/humbug-send b/api/bin/humbug-send index cb4a4cab9f..0b505a4883 100755 --- a/api/bin/humbug-send +++ b/api/bin/humbug-send @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # humbug-send -- Sends a message to the specified recipients. -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/demos/rss-bot b/api/demos/rss-bot index 3c8e581fd7..89e1e81de2 100755 --- a/api/demos/rss-bot +++ b/api/demos/rss-bot @@ -16,7 +16,7 @@ import humbug RSS_DATA_DIR = os.path.expanduser(os.path.join('~', '.cache', 'humbug-rss')) OLDNESS_THRESHOLD = 30 # days -usage = """Usage: Send summaries of RSS entries for your favorite feeds to Humbug. +usage = """Usage: Send summaries of RSS entries for your favorite feeds to Zulip. This bot requires the feedparser module. diff --git a/api/demos/twitter-search-bot b/api/demos/twitter-search-bot index 364d4628d0..dcf715c728 100755 --- a/api/demos/twitter-search-bot +++ b/api/demos/twitter-search-bot @@ -19,7 +19,7 @@ parser = optparse.OptionParser(r""" %prog --user foo@zulip.com --api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --search="@nprnews,quantum physics" -Send Twitter search results to a Humbug stream. +Send Twitter search results to a Zulip stream. Depends on: twitter-python diff --git a/api/examples/edit-message b/api/examples/edit-message index 182b9d6f80..405cf5f1c1 100755 --- a/api/examples/edit-message +++ b/api/examples/edit-message @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/examples/get-public-streams b/api/examples/get-public-streams index 3995b1dead..1b708e146f 100755 --- a/api/examples/get-public-streams +++ b/api/examples/get-public-streams @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/examples/list-members b/api/examples/list-members index d2ed81a660..c062d064c6 100755 --- a/api/examples/list-members +++ b/api/examples/list-members @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2013 Humbug, Inc. +# Copyright © 2013 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/examples/list-subscriptions b/api/examples/list-subscriptions index b9c90a77f1..af36916ad0 100755 --- a/api/examples/list-subscriptions +++ b/api/examples/list-subscriptions @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/examples/print-messages b/api/examples/print-messages index 8dc40b4433..88a9e87435 100755 --- a/api/examples/print-messages +++ b/api/examples/print-messages @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/examples/print-next-message b/api/examples/print-next-message index b7af91ebaf..8a8334cd8c 100755 --- a/api/examples/print-next-message +++ b/api/examples/print-next-message @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/examples/send-message b/api/examples/send-message index 8aa38784f4..c6aa38495a 100755 --- a/api/examples/send-message +++ b/api/examples/send-message @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/examples/subscribe b/api/examples/subscribe index e864cfa0d8..b2f8791756 100755 --- a/api/examples/subscribe +++ b/api/examples/subscribe @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/examples/unsubscribe b/api/examples/unsubscribe index 2dc5f171f7..3a10c5f4e4 100755 --- a/api/examples/unsubscribe +++ b/api/examples/unsubscribe @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/humbug/__init__.py b/api/humbug/__init__.py index 9f032c73fa..5f095aad31 100644 --- a/api/humbug/__init__.py +++ b/api/humbug/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/integrations/git/humbug_git_config.py b/api/integrations/git/humbug_git_config.py index 552da7a464..b91a7eb984 100644 --- a/api/integrations/git/humbug_git_config.py +++ b/api/integrations/git/humbug_git_config.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# Copyright © 2013 Humbug, Inc. +# Copyright © 2013 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -49,9 +49,9 @@ def commit_notice_destination(repo, branch, commit): # Return None for cases where you don't want a notice sent return None -## If properly installed, the Humbug API should be in your import +## If properly installed, the Zulip API should be in your import ## path, but if not, set a custom path below HUMBUG_API_PATH = None -# This should not need to change unless you have a custom Humbug subdomain. +# This should not need to change unless you have a custom Zulip subdomain. HUMBUG_SITE = "https://api.zulip.com" diff --git a/api/integrations/git/post-receive b/api/integrations/git/post-receive index 7061bd7fb1..6387b8177d 100755 --- a/api/integrations/git/post-receive +++ b/api/integrations/git/post-receive @@ -1,8 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# Humbug notification post-receive hook. -# Copyright © 2012-2013 Humbug, Inc. +# Zulip notification post-receive hook. +# Copyright © 2012-2013 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/integrations/jira/org/humbug/jira/HumbugListener.groovy b/api/integrations/jira/org/humbug/jira/HumbugListener.groovy index 24d972490e..32166cd927 100644 --- a/api/integrations/jira/org/humbug/jira/HumbugListener.groovy +++ b/api/integrations/jira/org/humbug/jira/HumbugListener.groovy @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013 Humbug, Inc +* Copyright (c) 2013 Zulip, Inc */ package org.humbug.jira @@ -20,7 +20,7 @@ import org.apache.commons.httpclient.NameValuePair class HumbugListener extends AbstractIssueEventListener { Logger LOGGER = Logger.getLogger(HumbugListener.class.getName()); - // The email address of one of the bots you created on your Humbug settings page. + // The email address of one of the bots you created on your Zulip settings page. String humbugEmail = "" // That bot's API key. String humbugAPIKey = "" @@ -113,7 +113,7 @@ class HumbugListener extends AbstractIssueEventListener { for (NameValuePair pair: parameters) { params += "\n" + pair.getName() + ":" + pair.getValue() } - LOGGER.log(Level.SEVERE, "Error sending Humbug message:\n" + response + "\n\n" + + LOGGER.log(Level.SEVERE, "Error sending Zulip message:\n" + response + "\n\n" + "We sent:" + params) } return response; diff --git a/api/integrations/nagios/humbug_nagios.cfg b/api/integrations/nagios/humbug_nagios.cfg index 8a06c116a8..3d350345da 100644 --- a/api/integrations/nagios/humbug_nagios.cfg +++ b/api/integrations/nagios/humbug_nagios.cfg @@ -9,7 +9,7 @@ define contact{ host_notification_commands notify-host-by-humbug } -# Humbug commands +# Zulip commands define command { command_name notify-host-by-humbug command_line /usr/local/share/humbug/integrations/nagios/nagios-notify-humbug --stream=nagios --type="$NOTIFICATIONTYPE$" --host="$HOSTADDRESS$" --state="$HOSTSTATE$" --output="$HOSTOUTPUT$" --long-output="$LONGHOSTOUTPUT$" diff --git a/api/integrations/svn/humbug_svn_config.py b/api/integrations/svn/humbug_svn_config.py index 4cedcacafd..f08b352e24 100644 --- a/api/integrations/svn/humbug_svn_config.py +++ b/api/integrations/svn/humbug_svn_config.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# Copyright © 2013 Humbug, Inc. +# Copyright © 2013 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -49,9 +49,9 @@ def commit_notice_destination(path, commit): # Return None for cases where you don't want a notice sent return None -## If properly installed, the Humbug API should be in your import +## If properly installed, the Zulip API should be in your import ## path, but if not, set a custom path below HUMBUG_API_PATH = None -# This should not need to change unless you have a custom Humbug subdomain. +# This should not need to change unless you have a custom Zulip subdomain. HUMBUG_SITE = "https://api.zulip.com" diff --git a/api/integrations/svn/post-commit b/api/integrations/svn/post-commit index beed91734e..1cc7dc23c9 100755 --- a/api/integrations/svn/post-commit +++ b/api/integrations/svn/post-commit @@ -1,8 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# Humbug notification post-commit hook. -# Copyright © 2012-2013 Humbug, Inc. +# Zulip notification post-commit hook. +# Copyright © 2012-2013 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/api/integrations/trac/humbug_trac.py b/api/integrations/trac/humbug_trac.py index 6cc739469f..15e95773b4 100644 --- a/api/integrations/trac/humbug_trac.py +++ b/api/integrations/trac/humbug_trac.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -21,7 +21,7 @@ # THE SOFTWARE. -# Humbug trac plugin -- sends humbugs when tickets change. +# Zulip trac plugin -- sends humbugs when tickets change. # # Install by copying this file and humbug_trac_config.py to the trac # plugins/ subdirectory, customizing the constants in diff --git a/api/integrations/trac/humbug_trac_config.py b/api/integrations/trac/humbug_trac_config.py index 06cca4fa00..ee27d92862 100644 --- a/api/integrations/trac/humbug_trac_config.py +++ b/api/integrations/trac/humbug_trac_config.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright © 2012 Humbug, Inc. +# Copyright © 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -39,14 +39,14 @@ TRAC_BASE_TICKET_URL = "https://trac.example.com/ticket" # type, versions, description, resolution, summary, comment) # # The following is the list of fields which can be changed without -# triggering a Humbug notification; change these to match your team's +# triggering a Zulip notification; change these to match your team's # workflow. TRAC_NOTIFY_FIELDS = ["description", "summary", "resolution", "comment", "owner"] -## If properly installed, the Humbug API should be in your import +## If properly installed, the Zulip API should be in your import ## path, but if not, set a custom path below HUMBUG_API_PATH = None -# This should not need to change unless you have a custom Humbug subdomain. +# This should not need to change unless you have a custom Zulip subdomain. HUMBUG_SITE = "https://api.zulip.com" diff --git a/api/setup.py b/api/setup.py index d38fae40da..61d797008c 100644 --- a/api/setup.py +++ b/api/setup.py @@ -14,8 +14,8 @@ def recur_expand(target_root, dir): setup(name='humbug', version=humbug.__version__, - description='Bindings for the Humbug message API', - author='Humbug, Inc.', + description='Bindings for the Zulip message API', + author='Zulip, Inc.', author_email='humbug@humbughq.com', classifiers=[ 'Development Status :: 3 - Alpha', diff --git a/assets/favicon/infinite.svg b/assets/favicon/infinite.svg index c6620e68f4..e1ddffd03f 100644 Binary files a/assets/favicon/infinite.svg and b/assets/favicon/infinite.svg differ diff --git a/assets/favicon/orig.svg b/assets/favicon/orig.svg index 2f96eb7c55..d7f2c69db6 100644 Binary files a/assets/favicon/orig.svg and b/assets/favicon/orig.svg differ diff --git a/bots/check-mirroring b/bots/check-mirroring index 79331ddb08..4c1891dd85 100755 --- a/bots/check-mirroring +++ b/bots/check-mirroring @@ -60,8 +60,8 @@ logger.addHandler(file_handler) # Initialize list of streams to test if options.sharded: - # NOTE: Streams in this list must be in humbug_user's Humbug - # subscriptions, or we won't receive messages via Humbug. + # NOTE: Streams in this list must be in humbug_user's Zulip + # subscriptions, or we won't receive messages via Zulip. # The sharded stream list has a bunch of pairs # (stream, shard_name), where sha1sum(stream).startswith(shard_name) @@ -105,7 +105,7 @@ def print_status_and_exit(status): def send_humbug(message): result = humbug_client.send_message(message) if result["result"] != "success": - logger.error("Error sending humbug, args were:") + logger.error("Error sending zulip, args were:") logger.error(message) logger.error(result) print_status_and_exit(1) @@ -126,16 +126,16 @@ def send_zephyr(zwrite_args, content): print_status_and_exit(1) return False -# Subscribe to Humbugs +# Subscribe to Zulip try: res = humbug_client.get_profile() max_message_id = res.get('max_message_id') if max_message_id is None: - logging.error("Error subscribing to Humbugs!") + logging.error("Error subscribing to Zulips!") logging.error(res) print_status_and_exit(1) except Exception: - logger.exception("Unexpected error subscribing to Humbugs") + logger.exception("Unexpected error subscribing to Zulips") print_status_and_exit(1) # Subscribe to Zephyrs @@ -234,7 +234,7 @@ for key, (stream, test) in zhkeys.items(): receive_zephyrs() logger.info("Sent Zephyr messages!") -# Send Humbugs +# Send Zulips for key, (stream, test) in hzkeys.items(): if stream == "message": send_humbug({ @@ -251,7 +251,7 @@ for key, (stream, test) in hzkeys.items(): }) receive_zephyrs() -logger.info("Sent Humbug messages!") +logger.info("Sent Zulip messages!") # Normally messages manage to forward through in under 3 seconds, but # sleep 10 to give a safe margin since the messages do need to do 2 @@ -263,9 +263,9 @@ receive_zephyrs() logger.info("Starting receiving messages!") -# receive humbugs +# receive zulips messages = humbug_client.get_messages({'last': str(max_message_id)})['messages'] -logger.info("Finished receiving Humbug messages!") +logger.info("Finished receiving Zulip messages!") receive_zephyrs() logger.info("Finished receiving Zephyr messages!") @@ -286,7 +286,7 @@ def process_keys(content_list): success = all(val == 1 for val in key_counts.values()) return key_counts, z_missing, h_missing, duplicates, success -# The h_foo variables are about the messages we _received_ in Humbug +# The h_foo variables are about the messages we _received_ in Zulip # The z_foo variables are about the messages we _received_ in Zephyr h_contents = [message["content"] for message in messages] z_contents = [notice.message.split('\0')[1] for notice in notices] @@ -299,7 +299,7 @@ if z_success and h_success: elif z_success: logger.info("Received everything correctly in Zephyr!") elif h_success: - logger.info("Received everything correctly in Humbug!") + logger.info("Received everything correctly in Zulip!") logger.error("Messages received the wrong number of times:") for key in all_keys: @@ -311,37 +311,37 @@ for key in all_keys: (key, z_key_counts[key], h_key_counts[key], test, stream)) if key in hzkeys: (stream, test) = hzkeys[key] - logger.warning("%10s: z got %s. h got %s. Sent via Humbug(%s): class %s" % \ + logger.warning("%10s: z got %s. h got %s. Sent via Zulip(%s): class %s" % \ (key, z_key_counts[key], h_key_counts[key], test, stream)) logger.error("") logger.error("Summary of specific problems:") if h_duplicates: - logger.error("humbug: Received duplicate messages!") - logger.error("humbug: This is probably a bug in our message loop detection.") - logger.error("humbug: where Humbugs go humbug=>zephyr=>humbug") + logger.error("zulip: Received duplicate messages!") + logger.error("zulip: This is probably a bug in our message loop detection.") + logger.error("zulip: where Zulips go zulip=>zephyr=>zulip") if z_duplicates: logger.error("zephyr: Received duplicate messages!") logger.error("zephyr: This is probably a bug in our message loop detection.") - logger.error("zephyr: where Zephyrs go zephyr=>humbug=>zephyr") + logger.error("zephyr: where Zephyrs go zephyr=>zulip=>zephyr") if z_missing_z: logger.error("zephyr: Didn't receive all the Zephyrs we sent on the Zephyr end!") logger.error("zephyr: This is probably an issue with check-mirroring sending or receiving Zephyrs.") if h_missing_h: - logger.error("humbug: Didn't receive all the Humbugs we sent on the Humbug end!") - logger.error("humbug: This is probably an issue with check-mirroring sending or receiving Humbugs.") + logger.error("zulip: Didn't receive all the Zulips we sent on the Zulip end!") + logger.error("zulip: This is probably an issue with check-mirroring sending or receiving Zulips.") if z_missing_h: - logger.error("zephyr: Didn't receive all the Humbugs we sent on the Zephyr end!") + logger.error("zephyr: Didn't receive all the Zulips we sent on the Zephyr end!") if z_missing_h == h_missing_h: - logger.error("zephyr: Including some Humbugs that we did receive on the Humbug end.") - logger.error("zephyr: This suggests we have a humbug=>zephyr mirroring problem.") + logger.error("zephyr: Including some Zulips that we did receive on the Zulip end.") + logger.error("zephyr: This suggests we have a zulip=>zephyr mirroring problem.") logger.error("zephyr: aka the personals mirroring script has issues.") if h_missing_z: - logger.error("humbug: Didn't receive all the Zephyrs we sent on the Humbug end!") + logger.error("zulip: Didn't receive all the Zephyrs we sent on the Zulip end!") if h_missing_z == z_missing_z: - logger.error("humbug: Including some Zephyrs that we did receive on the Zephyr end.") - logger.error("humbug: This suggests we have a zephyr=>humbug mirroring problem.") - logger.error("humbug: aka the global class mirroring script has issues.") + logger.error("zulip: Including some Zephyrs that we did receive on the Zephyr end.") + logger.error("zulip: This suggests we have a zephyr=>zulip mirroring problem.") + logger.error("zulip: aka the global class mirroring script has issues.") print_status_and_exit(1) diff --git a/bots/humbug_git_config.py b/bots/humbug_git_config.py index b56850b121..8688f5e371 100644 --- a/bots/humbug_git_config.py +++ b/bots/humbug_git_config.py @@ -1,4 +1,4 @@ -# Humbug Inc's internal git plugin configuration. +# Zulip, Inc's internal git plugin configuration. # The plugin and example config are under api/integrations/ # Leaving all the instructions out of this file to avoid having to diff --git a/bots/humbug_trac_config.py b/bots/humbug_trac_config.py index ecc90ba5c5..f4132984f8 100644 --- a/bots/humbug_trac_config.py +++ b/bots/humbug_trac_config.py @@ -1,4 +1,4 @@ -# Humbug Inc's internal trac plugin configuration. +# Zulip, Inc's internal trac plugin configuration. # The plugin and example config are under api/integrations/ # Leaving all the instructions out of this file to avoid having to diff --git a/bots/tddium-notify-humbug b/bots/tddium-notify-humbug index 9c01819c9f..d15ef60bf8 100755 --- a/bots/tddium-notify-humbug +++ b/bots/tddium-notify-humbug @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (C) 2012 Humbug, Inc. +# Copyright (C) 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files @@ -26,7 +26,7 @@ from os import path, environ # Configure this script as a Tddium post-build task and it will send -# messages to Humbug when a build finishes. +# messages to Zulip when a build finishes. # # Expects Tddium environment variables plus: # @@ -64,5 +64,5 @@ result = client.send_message(dict( (repo_name, environ['TDDIUM_BUILD_STATUS'], report_url))) if result['result'] != 'success': - sys.stderr.write('Error sending to Humbug:\n%s\n' % (result['msg'],)) + sys.stderr.write('Error sending to Zulip:\n%s\n' % (result['msg'],)) sys.exit(1) diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index 0ddfce55e8..c8e4e204d0 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (C) 2012 Humbug, Inc. +# Copyright (C) 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index bea6d17610..8ce92f8f4a 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (C) 2012 Humbug, Inc. +# Copyright (C) 2012 Zulip, Inc. # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files @@ -143,7 +143,7 @@ def send_humbug(zeph): message['time'] = zeph['time'] message['sender'] = to_humbug_username(zeph['sender']) if "subject" in zeph: - # Truncate the subject to the current limit in Humbug. No + # Truncate the subject to the current limit in Zulip. No # need to do this for stream names, since we're only # subscribed to valid stream names. message["subject"] = zeph["subject"][:60] @@ -952,6 +952,6 @@ or specify the --api-key-file option.""" % (options.api_key_file,)))) if options.shard is not None: logger_name += "(%s)" % (options.shard,) configure_logger(logger, logger_name) - # Have the kernel reap children for when we fork off processes to send Humbugs + # Have the kernel reap children for when we fork off processes to send Zulips signal.signal(signal.SIGCHLD, signal.SIG_IGN) zephyr_to_humbug(options) diff --git a/humbug/urls.py b/humbug/urls.py index 47d38f8447..2d65d17112 100644 --- a/humbug/urls.py +++ b/humbug/urls.py @@ -55,7 +55,7 @@ urlpatterns = patterns('', url(r'^terms/$', TemplateView.as_view(template_name='zerver/terms.html')), url(r'^privacy/$', TemplateView.as_view(template_name='zerver/privacy.html')), - # "About Humbug" information + # "About Zulip" information url(r'^what-is-humbug/$', TemplateView.as_view(template_name='zerver/what-is-humbug.html')), url(r'^new-user/$', TemplateView.as_view(template_name='zerver/new-user.html')), url(r'^features/$', TemplateView.as_view(template_name='zerver/features.html')), diff --git a/servers/configure-rabbitmq b/servers/configure-rabbitmq index 78ce796175..db747a732a 100755 --- a/servers/configure-rabbitmq +++ b/servers/configure-rabbitmq @@ -1,6 +1,6 @@ #!/bin/sh # -# Delete the "guest" default user and replace it with a Humbug user +# Delete the "guest" default user and replace it with a Zulip user # with a real password rabbitmqctl delete_user guest diff --git a/servers/puppet/modules/humbug/files/apache/ports.conf b/servers/puppet/modules/humbug/files/apache/ports.conf index dcae7daff1..41a215f230 100644 --- a/servers/puppet/modules/humbug/files/apache/ports.conf +++ b/servers/puppet/modules/humbug/files/apache/ports.conf @@ -15,7 +15,7 @@ Listen 80 # Server Name Indication for SSL named virtual hosts is currently not # supported by MSIE on Windows XP. - # This line added by Humbug. + # This line added by Zulip. NameVirtualHost *:443 Listen 443 diff --git a/servers/puppet/modules/humbug/files/nagios3/conf.d/services.cfg b/servers/puppet/modules/humbug/files/nagios3/conf.d/services.cfg index 5958b177d6..6330b6bd83 100644 --- a/servers/puppet/modules/humbug/files/nagios3/conf.d/services.cfg +++ b/servers/puppet/modules/humbug/files/nagios3/conf.d/services.cfg @@ -96,7 +96,7 @@ define service { service_description Check feedback bot check_command check_feedback_bot!22 host bots - # Feedback isn't lost, it just isn't reported through Humbug + # Feedback isn't lost, it just isn't reported through Zulip # if the bot is down, so don't page. contact_groups admins } diff --git a/servers/puppet/modules/humbug/files/nagios3/humbugrc b/servers/puppet/modules/humbug/files/nagios3/humbugrc index dfc92c127f..c40f071517 100644 --- a/servers/puppet/modules/humbug/files/nagios3/humbugrc +++ b/servers/puppet/modules/humbug/files/nagios3/humbugrc @@ -1,4 +1,4 @@ -# Humbug Inc's internal nagios plugin configuration. +# Zulip, Inc's internal nagios plugin configuration. # The plugin and example config are under api/integrations/ [api] diff --git a/servers/puppet/modules/humbug/files/nagios_plugins/check_send_receive_time b/servers/puppet/modules/humbug/files/nagios_plugins/check_send_receive_time index d48508fdc3..f9390aa522 100755 --- a/servers/puppet/modules/humbug/files/nagios_plugins/check_send_receive_time +++ b/servers/puppet/modules/humbug/files/nagios_plugins/check_send_receive_time @@ -78,12 +78,12 @@ def report(state, time, msg=None): def send_humbug(sender, message): result = sender.send_message(message) if result["result"] != "success" and options.nagios: - report("CRITICAL", "Error sending Humbug, args were: %s, %s" % (message, result)) + report("CRITICAL", "Error sending Zulip, args were: %s, %s" % (message, result)) def get_humbug(recipient, max_message_id): result = recipient.get_messages({'last': str(max_message_id)}) if result['result'] != "success" and options.nagios: - report("CRITICAL", "Error receiving Humbugs, args were: %s, %s" % (max_message_id, result)) + report("CRITICAL", "Error receiving Zulips, args were: %s, %s" % (max_message_id, result)) return result['messages'] if "staging" in options.site: diff --git a/servers/puppet/modules/humbug/files/trac.ini b/servers/puppet/modules/humbug/files/trac.ini index a60f15d8c4..51b82595a0 100644 --- a/servers/puppet/modules/humbug/files/trac.ini +++ b/servers/puppet/modules/humbug/files/trac.ini @@ -26,7 +26,7 @@ wiki_format_messages = true humbug_trac = enabled [header_logo] -alt = Humbug +alt = Zulip height = 100 src = site/humbug_logo.png width = 100 diff --git a/servers/puppet/modules/humbug/files/wiki/gitit.conf b/servers/puppet/modules/humbug/files/wiki/gitit.conf index 4f3e2e16a2..3b5ed62b12 100644 --- a/servers/puppet/modules/humbug/files/wiki/gitit.conf +++ b/servers/puppet/modules/humbug/files/wiki/gitit.conf @@ -3,7 +3,7 @@ port: 5001 # sets the port on which the web server will run. -wiki-title: Humbug Wiki +wiki-title: Zulip Wiki # the title of the wiki. repository-type: Git diff --git a/servers/puppet/modules/humbug/manifests/zmirror.pp b/servers/puppet/modules/humbug/manifests/zmirror.pp index 9b9b9bcc3d..3b744ba7cd 100644 --- a/servers/puppet/modules/humbug/manifests/zmirror.pp +++ b/servers/puppet/modules/humbug/manifests/zmirror.pp @@ -9,7 +9,7 @@ class humbug::zmirror { # Configuring Kerberos and Zephyr for the MIT realm # Building python-zephyr after cloning it from https://github.com/ebroder/python-zephyr # Putting tabbott/extra's keytab on the system at /home/humbug/tabbott.extra.keytab - # Setting api/bots/zephyr-mirror-crontab to be the Humbug user's crontab + # Setting api/bots/zephyr-mirror-crontab to be the humbug user's crontab # Running the mirroring bot in a screen session with these arguments: # /home/humbug/api/bots/zephyr_mirror.py --root-path=/home/humbug/ --user=tabbott/extra --enable-log=/home/humbug/all_zephyrs_log --forward-class-messages } diff --git a/static/html/404.html b/static/html/404.html index 604e076954..fcaf0083af 100644 --- a/static/html/404.html +++ b/static/html/404.html @@ -2,7 +2,7 @@ - Zulip, from Humbug Inc. + Zulip, from Zulip, Inc.