Update zulipchat.com links to zulip.com.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
ad8a9dd56d
commit
5f81eb3a70
|
@ -1,6 +1,6 @@
|
||||||
#### Dependencies
|
#### Dependencies
|
||||||
|
|
||||||
The [Zulip API](https://zulipchat.com/api) Python bindings require the
|
The [Zulip API](https://zulip.com/api) Python bindings require the
|
||||||
following dependencies:
|
following dependencies:
|
||||||
|
|
||||||
* **Python (version >= 3.5)**
|
* **Python (version >= 3.5)**
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Zulip hook for Mercurial changeset pushes.
|
# Zulip hook for Mercurial changeset pushes.
|
||||||
#
|
#
|
||||||
# This hook is called when changesets are pushed to the master repository (ie
|
# This hook is called when changesets are pushed to the master repository (ie
|
||||||
# `hg push`). See https://zulipchat.com/integrations for installation instructions.
|
# `hg push`). See https://zulip.com/integrations for installation instructions.
|
||||||
|
|
||||||
import zulip
|
import zulip
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -31,7 +31,7 @@ To use this script:
|
||||||
1. Create an RSS feed file containing 1 feed URL per line (default feed
|
1. Create an RSS feed file containing 1 feed URL per line (default feed
|
||||||
file location: ~/.cache/zulip-rss/rss-feeds)
|
file location: ~/.cache/zulip-rss/rss-feeds)
|
||||||
2. Subscribe to the stream that will receive RSS updates (default stream: rss)
|
2. Subscribe to the stream that will receive RSS updates (default stream: rss)
|
||||||
3. create a ~/.zuliprc as described on https://zulipchat.com/api/configuring-python-bindings
|
3. create a ~/.zuliprc as described on https://zulip.com/api/configuring-python-bindings
|
||||||
4. Test the script by running it manually, like this:
|
4. Test the script by running it manually, like this:
|
||||||
|
|
||||||
/usr/local/share/zulip/integrations/rss/rss-bot
|
/usr/local/share/zulip/integrations/rss/rss-bot
|
||||||
|
|
|
@ -20,4 +20,4 @@ Usage :
|
||||||
--zulip-webhook-url <zulip_webhook_url>
|
--zulip-webhook-url <zulip_webhook_url>
|
||||||
|
|
||||||
For more information, please see Zulip's documentation on how to set up
|
For more information, please see Zulip's documentation on how to set up
|
||||||
a Trello integration [here](https://zulipchat.com/integrations/doc/trello).
|
a Trello integration [here](https://zulip.com/integrations/doc/trello).
|
||||||
|
|
|
@ -116,7 +116,7 @@ quickly set up a Trello webhook.
|
||||||
|
|
||||||
Note: The Trello webhook instructions available on your Zulip server
|
Note: The Trello webhook instructions available on your Zulip server
|
||||||
may be outdated. Please make sure you follow the updated instructions
|
may be outdated. Please make sure you follow the updated instructions
|
||||||
at <https://zulipchat.com/integrations/doc/trello>.
|
at <https://zulip.com/integrations/doc/trello>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description=description)
|
parser = argparse.ArgumentParser(description=description)
|
||||||
|
|
|
@ -58,7 +58,7 @@ while backoff.keep_going():
|
||||||
error_message = """
|
error_message = """
|
||||||
ERROR: The Zephyr mirroring bot is unable to continue mirroring Zephyrs.
|
ERROR: The Zephyr mirroring bot is unable to continue mirroring Zephyrs.
|
||||||
This is often caused by failing to maintain unexpired Kerberos tickets
|
This is often caused by failing to maintain unexpired Kerberos tickets
|
||||||
or AFS tokens. See https://zulipchat.com/zephyr for documentation on how to
|
or AFS tokens. See https://zulip.com/zephyr for documentation on how to
|
||||||
maintain unexpired Kerberos tickets and AFS tokens.
|
maintain unexpired Kerberos tickets and AFS tokens.
|
||||||
"""
|
"""
|
||||||
print(error_message)
|
print(error_message)
|
||||||
|
|
|
@ -49,7 +49,7 @@ package_info = dict(
|
||||||
url='https://www.zulip.org/',
|
url='https://www.zulip.org/',
|
||||||
project_urls={
|
project_urls={
|
||||||
"Source": "https://github.com/zulip/python-zulip-api/",
|
"Source": "https://github.com/zulip/python-zulip-api/",
|
||||||
"Documentation": "https://zulipchat.com/api",
|
"Documentation": "https://zulip.com/api",
|
||||||
},
|
},
|
||||||
data_files=list(recur_expand('share/zulip', 'integrations')),
|
data_files=list(recur_expand('share/zulip', 'integrations')),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
|
|
|
@ -47,7 +47,7 @@ package_info = dict(
|
||||||
url='https://www.zulip.org/',
|
url='https://www.zulip.org/',
|
||||||
project_urls={
|
project_urls={
|
||||||
"Source": "https://github.com/zulip/python-zulip-api/",
|
"Source": "https://github.com/zulip/python-zulip-api/",
|
||||||
"Documentation": "https://zulipchat.com/api",
|
"Documentation": "https://zulip.com/api",
|
||||||
},
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
|
|
|
@ -27,13 +27,13 @@ Under **APPS & API** section you will find your **auth token**.
|
||||||
|
|
||||||
3. **Goalname**
|
3. **Goalname**
|
||||||
- The name of your Beeminder goal for which you want to
|
- The name of your Beeminder goal for which you want to
|
||||||
add datapoints from [Zulip](https://zulipchat.com/)
|
add datapoints from [Zulip](https://zulip.com/)
|
||||||
|
|
||||||
Once you have above information, you should supply
|
Once you have above information, you should supply
|
||||||
them in `beeminder.conf` file.
|
them in `beeminder.conf` file.
|
||||||
|
|
||||||
Run this bot as described in
|
Run this bot as described in
|
||||||
[here](https://zulipchat.com/api/running-bots#running-a-bot).
|
[here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ This bot allows users to perform conversions for various measurement units.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Run this bot as described in [here](https://zulipchat.com/api/running-bots#running-a-bot).
|
Run this bot as described in [here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
Use this bot with the following command
|
Use this bot with the following command
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ as `bot_info`.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Run this bot as described
|
Run this bot as described
|
||||||
[here](https://zulipchat.com/api/running-bots#running-a-bot).
|
[here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
Mention the bot in order to say things to it.
|
Mention the bot in order to say things to it.
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ This bot links your [dropbox](https://www.dropbox.com) account to [zulip](https:
|
||||||
[dropbox_share]
|
[dropbox_share]
|
||||||
ACCESS_TOKEN=<your_access_token>
|
ACCESS_TOKEN=<your_access_token>
|
||||||
```
|
```
|
||||||
- Follow the instructions as described in [here](https://zulipchat.com/api/running-bots#running-a-bot).
|
- Follow the instructions as described in [here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
- Run the bot: `zulip-run-bot dropbox_share -b <Path/to/dropbox_share.conf> -c <Path/to/zuliprc>`
|
- Run the bot: `zulip-run-bot dropbox_share -b <Path/to/dropbox_share.conf> -c <Path/to/zuliprc>`
|
||||||
|
|
||||||
Use this bot with any of the following commands:
|
Use this bot with any of the following commands:
|
||||||
|
|
|
@ -18,7 +18,7 @@ where `recipient_name` is name of recipient and `hello` is the sample message.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Run this bot as described in
|
Run this bot as described in
|
||||||
[here](https://zulipchat.com/api/running-bots#running-a-bot).
|
[here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
You can use this bot in one easy step:
|
You can use this bot in one easy step:
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ GIPHY API key.
|
||||||
and change the value of the `key` attribute to the API key
|
and change the value of the `key` attribute to the API key
|
||||||
you generated above.
|
you generated above.
|
||||||
|
|
||||||
Run this bot as described in [here](https://zulipchat.com/api/running-bots#running-a-bot).
|
Run this bot as described in [here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ highest safe-search setting.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Run this bot as described
|
Run this bot as described
|
||||||
[here](https://zulipchat.com/api/running-bots#running-a-bot).
|
[here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
Use this bot with the following command
|
Use this bot with the following command
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"q": "zulip"
|
"q": "zulip"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"response": "<head></head><body><div id='search'><a href='/url?url=webcache.googleusercontent.com/foo/bar'>Cached</a><a href='/?url'></a><a href='foo bar'></a><a></a><a href='/url?url=https%3A%2F%2Fzulipchat.com%2F'>Zulip</a></div></body>",
|
"response": "<head></head><body><div id='search'><a href='/url?url=webcache.googleusercontent.com/foo/bar'>Cached</a><a href='/?url'></a><a href='foo bar'></a><a></a><a href='/url?url=https%3A%2F%2Fzulip.com%2F'>Zulip</a></div></body>",
|
||||||
"response-headers": {
|
"response-headers": {
|
||||||
"status": 200,
|
"status": 200,
|
||||||
"content-type": "text/html; charset=utf-8"
|
"content-type": "text/html; charset=utf-8"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"q": "zulip"
|
"q": "zulip"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"response": "<head></head><body><div id='search'><a href='/url?url=https%3A%2F%2Fzulipchat.com%2F'>Zulip</a></div></body>",
|
"response": "<head></head><body><div id='search'><a href='/url?url=https%3A%2F%2Fzulip.com%2F'>Zulip</a></div></body>",
|
||||||
"response-headers": {
|
"response-headers": {
|
||||||
"status": 200,
|
"status": 200,
|
||||||
"content-type": "text/html; charset=utf-8"
|
"content-type": "text/html; charset=utf-8"
|
||||||
|
|
|
@ -10,7 +10,7 @@ class TestGoogleSearchBot(BotTestCase, DefaultTests):
|
||||||
with self.mock_http_conversation('test_normal'):
|
with self.mock_http_conversation('test_normal'):
|
||||||
self.verify_reply(
|
self.verify_reply(
|
||||||
'zulip',
|
'zulip',
|
||||||
'Found Result: [Zulip](https://www.google.com/url?url=https%3A%2F%2Fzulipchat.com%2F)'
|
'Found Result: [Zulip](https://www.google.com/url?url=https%3A%2F%2Fzulip.com%2F)'
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_bot_help(self) -> None:
|
def test_bot_help(self) -> None:
|
||||||
|
@ -42,5 +42,5 @@ class TestGoogleSearchBot(BotTestCase, DefaultTests):
|
||||||
# See test_ignore_links.json
|
# See test_ignore_links.json
|
||||||
self.verify_reply(
|
self.verify_reply(
|
||||||
'zulip',
|
'zulip',
|
||||||
'Found Result: [Zulip](https://www.google.com/url?url=https%3A%2F%2Fzulipchat.com%2F)'
|
'Found Result: [Zulip](https://www.google.com/url?url=https%3A%2F%2Fzulip.com%2F)'
|
||||||
)
|
)
|
||||||
|
|
|
@ -17,7 +17,7 @@ and copy your API token.
|
||||||
3. Optionally, change the `default_team` value to your default team for creating new messages.
|
3. Optionally, change the `default_team` value to your default team for creating new messages.
|
||||||
If this is not specified, a team will be required to be manually specified every time an entry is created.
|
If this is not specified, a team will be required to be manually specified every time an entry is created.
|
||||||
|
|
||||||
Run this bot as described [here](https://zulipchat.com/api/running-bots#running-a-bot).
|
Run this bot as described [here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ It can also show details about any Salesforce links that you post.
|
||||||
Make sure it has the appropriate permissions to access records.
|
Make sure it has the appropriate permissions to access records.
|
||||||
2. In `salesforce.conf` paste the Salesforce `username`, `password` and
|
2. In `salesforce.conf` paste the Salesforce `username`, `password` and
|
||||||
`security_token`.
|
`security_token`.
|
||||||
3. Run the bot as explained [here](https://zulipchat.com/api/running-bots#running-a-bot)
|
3. Run the bot as explained [here](https://zulip.com/api/running-bots#running-a-bot)
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ The bot only responds to messages starting with @mention of the bot(botname).
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
This bot does not require any special setup. Just run it according to the
|
This bot does not require any special setup. Just run it according to the
|
||||||
instructions in [this guide](https://zulipchat.com/api/running-bots#running-a-bot).
|
instructions in [this guide](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
* `@mention-botname new` - start a new game (but not if you are already
|
* `@mention-botname new` - start a new game (but not if you are already
|
||||||
|
|
|
@ -30,7 +30,7 @@ To obtain these 4 keys, follow the following steps :
|
||||||
|
|
||||||
Enter the 4 keys in the respective field in `twitter.ini` file.
|
Enter the 4 keys in the respective field in `twitter.ini` file.
|
||||||
|
|
||||||
Run this bot as described in [here](https://zulipchat.com/api/running-bots#running-a-bot).
|
Run this bot as described in [here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ for a given stream or private chat.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Run this bot as described in
|
Run this bot as described in
|
||||||
[here](https://zulipchat.com/api/running-bots#running-a-bot).
|
[here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
Use this bot with any of the following commands:
|
Use this bot with any of the following commands:
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ like so:
|
||||||
@xkcd <command>
|
@xkcd <command>
|
||||||
```
|
```
|
||||||
|
|
||||||
Run this bot as described in [here](https://zulipchat.com/api/running-bots#running-a-bot).
|
Run this bot as described in [here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ This section explains the usage of options `youtube.conf` file in configuring th
|
||||||
- `video_region` - The location to be used for searching.
|
- `video_region` - The location to be used for searching.
|
||||||
The bot shows only the videos that are available in the given `<video_region>`
|
The bot shows only the videos that are available in the given `<video_region>`
|
||||||
|
|
||||||
Run this bot as described in [here](https://zulipchat.com/api/running-bots#running-a-bot).
|
Run this bot as described in [here](https://zulip.com/api/running-bots#running-a-bot).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ def main():
|
||||||
)
|
)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print("\n\nOk, if you're happy with your terminal-based testing, try it out with a Zulip server.",
|
print("\n\nOk, if you're happy with your terminal-based testing, try it out with a Zulip server.",
|
||||||
"\nYou can refer to https://zulipchat.com/api/running-bots#running-a-bot.")
|
"\nYou can refer to https://zulip.com/api/running-bots#running-a-bot.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
@ -33,7 +33,7 @@ package_info = dict(
|
||||||
url='https://www.zulip.org/',
|
url='https://www.zulip.org/',
|
||||||
project_urls={
|
project_urls={
|
||||||
"Source": "https://github.com/zulip/python-zulip-api/",
|
"Source": "https://github.com/zulip/python-zulip-api/",
|
||||||
"Documentation": "https://zulipchat.com/api",
|
"Documentation": "https://zulip.com/api",
|
||||||
},
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
|
|
Loading…
Reference in a new issue