Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into html_link_convert…
Browse files Browse the repository at this point in the history
…er_slack
  • Loading branch information
chillipeper committed Nov 25, 2019
2 parents 10f82a3 + 03e185b commit b2081fb
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 33 deletions.
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
dist: xenial
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- '3.7'
sudo: false
services:
- docker
- docker
before_install:
- sudo apt-get update
- sudo apt-get install -y libffi-dev libxml2-dev
install:
- pip install tox-travis
- pip install -r will/requirements/dev.txt
- pip install tox-travis
- pip install -r will/requirements/dev.txt
script:
- tox
- export CTAG="-$TRAVIS_COMMIT"
- tox
- export CTAG="-$TRAVIS_COMMIT"
# - "fab docker_build"
# deploy:
# skip_cleanup: true
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ Ahmed Osman, https://github.com/Ashex
Boris Peterbarg, https://github.com/reist
unicolet, https://github.com/unicolet
Rob Salmond, https://github.com/rsalmond
Jeremy Logan, https://github.com/fixedd
Binary file removed docs/img/hangout.gif
Binary file not shown.
6 changes: 0 additions & 6 deletions docs/plugins/bundled.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,6 @@ If you want to shorten long URL using Bitly API, Will can do that for you in a f

![Bitly](../img/bitly.png)

#### Hangout

If you've set a `HANGOUT_URL`, will will toss it in chat for you:

![Hangout](../img/hangout.gif)

#### Image me

Sometimes, a picture is worth a thousand words.
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/notice.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ It's one of the best things about robots - they never, ever forget. Will's no e
```python
@periodic(hour='10', minute='0', day_of_week="mon-fri")
def standup(self):
self.say("@all Standup! %s" % settings.WILL_HANGOUT_URL)
self.say("@all Standup! %s" % settings.STANDUP_URL)
```

Under the hood, `@periodic` uses [apscheduler](https://apscheduler.readthedocs.io/en/v2.1.2/cronschedule.html#available-fields) to provide its options, so you can use any of the following as keyword arguments:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


tests_require = [
'pytest',
'pytest==4.6.6',
'pytest-cov',
'pytest-runner',
'mock'
Expand Down
11 changes: 0 additions & 11 deletions will/plugins/productivity/hangout.py

This file was deleted.

2 changes: 1 addition & 1 deletion will/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ regex==2017.9.23
redis==2.10.6
requests==2.20.0
six==1.10.0
urllib3==1.24.2
urllib3==1.24.3
websocket-client==0.44.0
2 changes: 1 addition & 1 deletion will/requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ nose
coverage
yappi
tox
pytest
pytest==4.6.6
pytest-cov
2 changes: 1 addition & 1 deletion will/requirements/slack.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-r base.txt
slackclient>=1.2.1<1.3.0
slackclient>=1.2.1,<1.3.0
markdownify==0.4.1

1 change: 0 additions & 1 deletion will/scripts/config.py.dist
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ PLUGINS = [

# Don't load any of the plugins in this list. Same options as above.
PLUGIN_BLACKLIST = [
"will.plugins.productivity.hangout", # Because it requires a HANGOUT_URL
"will.plugins.productivity.bitly", # Because it requires a BITLY_ACCESS_TOKEN key and the bitly_api library
"will.plugins.devops.bitbucket_is_up", # Because most folks use github.
"will.plugins.devops.pagerduty", # Because it requires a PAGERDUTY_SUBDOMAIN and PAGERDUTY_API_KEY key
Expand Down

0 comments on commit b2081fb

Please sign in to comment.