Skip to content

Commit

Permalink
chore: remove HipChat backend (#1525)
Browse files Browse the repository at this point in the history
* chore: remove HipChat backend

* docs: remove Hipchat references

* docs: Add backend removal to CHANGES
  • Loading branch information
sijis committed Jun 11, 2022
1 parent 343adc0 commit d036b2f
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 801 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ fixes:
- core/plugins: reload all repo plugins when updating a repo (#1521)
- plugin_manager: correct syntax error (#1524)
- backend/text: add stub send_stream_request method (#1527)
- backend/hipchat: remove HipChat backend (#1525)

v6.1.8 (2021-06-21)
-------------------
Expand Down
5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Chat servers support
**Built-in**

- IRC support
- `Hipchat support <http://www.hipchat.com/>`_
- `Slack support <https://slack.com/>`_
- `Telegram support <https://www.telegram.org/>`_
- `XMPP support <http://xmpp.org>`_
Expand Down Expand Up @@ -88,7 +87,7 @@ Developer features
- subcommands and various arg parsing options are available (re, command line type)
- polling support: your can setup a plugin to periodically do something
- end to end test backend
- card rendering under Slack and Hipchat.
- card rendering under Slack

Community and support
---------------------
Expand Down Expand Up @@ -132,7 +131,7 @@ It will show you a prompt `>>>` so you can talk to your bot directly! Try `!help
Adding support for a chat system
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For the built-ins, just use one of those options `slack, hipchat, telegram, IRC, XMPP` with pip, you can still do it
For the built-ins, just use one of those options `slack, telegram, IRC, XMPP` with pip, you can still do it
after the initial installation to add the missing support for example ::

$ pip install "errbot[slack]"
Expand Down
Binary file removed docs/_static/screenshots/quota.png
Binary file not shown.
Binary file removed docs/_static/screenshots/thumb_quota.png
Binary file not shown.
2 changes: 0 additions & 2 deletions docs/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ that makes it easy to write new backends in order to support more.
Currently, the following networks are supported:

* XMPP *(Any standards-compliant XMPP/Jabber server should work - Google Talk/Hangouts included)*
* Hipchat_
* IRC
* Slack_
* Telegram_
Expand Down Expand Up @@ -65,7 +64,6 @@ Extensive plugin framework
.. _Cisco Webex Teams: https://www.webex.com/
.. _Discord: https://www.discordapp.com/
.. _Gitter: http://gitter.im/
.. _Hipchat: https://www.hipchat.com/
.. _Matrix: https://matrix.org/
.. _Mattermost: https://about.mattermost.com/
.. _Skype: http://www.skype.com/en/
Expand Down
3 changes: 0 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ Screenshots
<a href="_static/screenshots/slack.png" class="fancybox" title="Showing output of the built-in help command in Slack">
<img src="_static/screenshots/thumb_slack.png" width="170" height="150" alt="Showing output of the built-in help command in Slack" />
</a>
<a href="_static/screenshots/quota.png" class="fancybox" title="Errbot running on HipChat, showing off a (businesss-specific) command to get and set the disk quotas for mail accounts">
<img src="_static/screenshots/thumb_quota.png" width="268" height= "150" alt="Errbot running on HipChat, showing off a (businesss-specific) command to get and set the disk quotas for mail accounts" />
</a>
<a href="_static/screenshots/telegram.png" class="fancybox" title="Errbot running on Telegram showing the !help command">
<img src="_static/screenshots/thumb_telegram.png" width="180" height= "150" alt="Errbot running on Telegram showing the !help command" />
</a>
Expand Down
73 changes: 0 additions & 73 deletions docs/user_guide/configuration/hipchat.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/user_guide/plugin_development/backend_specifics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ The following table lists all the values for `mode` for the official backends:
============================================ ==========
Backend Mode value
============================================ ==========
:class:`~errbot.backends.hipchat` hipchat
:class:`~errbot.backends.irc` irc
:class:`~errbot.backends.slack` slack
:class:`~errbot.backends.telegram_messenger` telegram
Expand Down Expand Up @@ -82,7 +81,6 @@ The following table lists these attributes for the official backends, along with
============================================ ========================= ================================================
Backend Library Attribute(s)
============================================ ========================= ================================================
:class:`~errbot.backends.hipchat` `slixmpp`_ + `hypchat`_ ``self._bot.conn`` ``self._bot.conn.hypchat``
:class:`~errbot.backends.irc` `irc`_ ``self._bot.conn`` ``self._bot.conn.connection``
:class:`~errbot.backends.slack` `slackclient`_ ``self._bot.sc``
:class:`~errbot.backends.telegram_messenger` `telegram-python-bot`_ ``self._bot.telegram``
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/plugin_development/messaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Cards
-----

Errbot cards are a canned format for notifications. It is possible to use this format to map to some native format in
backends like Slack (Attachment) or Hipchat (Cards).
backends like Slack (Attachment).

Similar to a `self.send()` you can use :func:`~errbot.botplugin.BotPlugin.send_card` to send a card.

Expand Down
1 change: 0 additions & 1 deletion docs/user_guide/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ You can find here more details about configuring Errbot for some specific chat s

configuration/xmpp
configuration/irc
configuration/hipchat
configuration/slack
configuration/telegram

Expand Down
2 changes: 1 addition & 1 deletion errbot/backends/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def partial(self, partial):
class Card(Message):
"""
Card is a special type of preformatted message. If it matches with a backend similar concept like on
Slack or Hipchat it will be rendered natively, otherwise it will be sent as a regular message formatted with
Slack it will be rendered natively, otherwise it will be sent as a regular message formatted with
the card.md template.
"""

Expand Down
6 changes: 0 additions & 6 deletions errbot/backends/hipchat.plug

This file was deleted.

Loading

0 comments on commit d036b2f

Please sign in to comment.