Jeff Ammons
84db35fa6f
Improve debug state handling and error messaging
...
If debug=True:
- Most plugin methods (if not all) should end the script and report the
error to std.out
If debug=False:
- Plugin methods will log the error, data, and stack trace
Future planning:
- The debug=False case here has better behavior in my opinion, maybe
there's a better way of handling debug=True
2016-04-24 12:40:37 -07:00
Jeff Ammons
c7582a7098
Conform all self.debug values to False
...
I really want to remove this dbg() mess.
2016-04-17 18:42:54 -07:00
Jeff Ammons
e1d4816e55
Remove unused global site_config
2016-04-17 18:29:17 -07:00
Jeff Ammons
7d718fe54f
Adding start rtmbot to tox.ini for linting
...
Also updating gitignore to ignore some stuff on my machine.
2016-04-17 18:21:04 -07:00
Jeff Ammons
a0fdba13b4
Update readme file with new ./start_rtmbot.py file name
2016-04-17 17:59:22 -07:00
Jeff Ammons
561c3d521b
Change the location of file to lint
2016-04-17 17:50:50 -07:00
Jeff Ammons
f12a90ab0a
Fix missing debug context in Job
2016-04-17 17:34:17 -07:00
Jeff Ammons
4c7fa8b9ae
Merge branch 'master' of https://github.com/tzakrajs/python-rtmbot into tzakrajs-master
...
Also fixes some PEP8 issues and a number of small bugs.
2016-04-17 16:41:39 -07:00
Jeff Ammons
134710718b
Merge pull request #36 from jammons/master
...
Make bot code and plugin examples PEP8 compliant
2016-04-15 18:03:51 -07:00
Jeff Ammons
aa710d2d4e
Fix Python3 linting
2016-04-15 14:49:38 -07:00
Jeff Ammons
5898a37997
Remove spurious change unrelated to PEP8
2016-04-15 14:32:19 -07:00
Jeff Ammons
25ce082eac
Fix PEP8 compliance in example plugins and rtmbot
2016-04-15 14:03:20 -07:00
Jeff Ammons
6052333c64
Removing non-PEP8 changes to clean up PR
2016-04-15 12:42:29 -07:00
Quentin Nerden
aff0446b8f
adding deamon to requirements. It is needed in rtmbot.py
2016-04-15 12:42:29 -07:00
Quentin Nerden
05ca843d31
running pycharm code instpector and pycharm reformat code
2016-04-15 12:42:29 -07:00
Jeff Ammons
4441a56011
Merge pull request #35 from slackhq/adding_travis_ci
...
Adding Travis CI Integration
2016-04-15 12:28:39 -07:00
Jeff Ammons
a772615185
Adding correct directories to linting test
2016-04-15 12:25:29 -07:00
Jeff Ammons
c14aa88726
Adding TravisCI build status image
2016-04-15 12:21:54 -07:00
Jeff Ammons
7d81a404ed
Adding scaffolding and example testing file.
2016-04-15 12:18:31 -07:00
Julian Yap
1a75fa65b3
Modify git clone URL so anyone can clone the repository
2016-03-16 14:00:00 -10:00
Thomas Zakrajsek
bfe7df401a
fixed regression, now self.debug exists in Plugin class context
2015-08-02 19:08:29 -04:00
Thomas Zakrajsek
08f9feacf6
fixing regression, adding back KeyboardInterrupt exception handler
2015-08-02 18:55:15 -04:00
Thomas Zakrajsek
96d84e4edf
ignore log files
2015-08-02 18:29:54 -04:00
Thomas Zakrajsek
54fe252eef
added setup.py for installing module now that RtmBot was refactored
2015-08-02 18:29:36 -04:00
Thomas Zakrajsek
45e9f7780c
refactored main into start_rtmbot.py, refactored so that RtmBot class is more self sufficient and can be imported and used more easily, removed unused objects from main
2015-08-02 18:29:11 -04:00
Thomas Zakrajsek
c6a8b30d2d
ignore build dirs from setup.py
2015-08-02 18:26:03 -04:00
Ryan Huber
22fb111bd5
add an example init script
2015-07-31 15:17:36 -07:00
Ryan Huber
ab8921c4e3
Merge pull request #11 from ClipCard/master
...
Specify location and name of config file
2015-06-20 01:52:47 -07:00
Michael Murray
7e4916777c
Merge pull request #1 from ClipCard/specify-conf-file
...
Specify location of clipbot conf file
2015-05-29 09:48:44 -07:00
Matt Skone
6191182cb3
Support optional command-line argument specifying full path to conf file.
2015-05-28 15:28:44 -07:00
Ryan Huber
a907737aa6
remove debug
2015-03-04 13:02:14 -08:00
Ryan Huber
fa6e0e1c77
ping the server to trigger reconnect on WS fail
2015-03-04 13:01:37 -08:00
Ryan Huber
82106deeaa
Lower sleep interval for faster replies.
2015-03-02 21:20:29 -08:00
Ryan Huber
93137f94cc
use slackclient from pypi not github
2015-02-21 11:24:23 -08:00
Ryan Huber
75309dde80
ignore unicode extended chars for now
2014-12-25 11:22:12 -08:00
Ryan Huber
d89b6e6d32
allow job registration after module loads
2014-12-11 22:35:06 -08:00
Ryan Huber
240400439e
allow for no logfile
2014-12-11 16:31:32 -08:00
Ryan Huber
49275291e1
Merge branch 'master' of github.com:slackhq/python-rtmbot
...
Conflicts:
requirements.txt
2014-12-11 16:28:06 -08:00
Ryan Huber
68d3784533
add shiny new daemonize mode
2014-12-11 16:25:41 -08:00
Ryan Huber
2b7145d0ed
Update README.md
2014-12-09 11:55:20 -08:00
Ryan Huber
749988b7c1
Update README.md
2014-12-09 11:52:59 -08:00
Ryan Huber
3eb1d6d9f5
Update README.md
2014-12-08 16:01:33 -08:00
Ryan Huber
5949fa9f05
also requires requests
2014-12-08 15:56:47 -08:00
Ryan Huber
e80a3459b2
clean up example and requirements
2014-12-08 15:31:55 -08:00
Ryan Huber
3f2890d6e0
Merge pull request #1 from jiujitsu/bugfix/use-rtm-methods
...
Update slackclient read/connect for rtm
2014-12-08 15:18:47 -08:00
Jeff Oyama
53cacf9904
Use slackbot.rtm_read
and slackbot.rtm_connect
instead of
...
`slackbot.read` and `slackbot.connect`
2014-12-08 12:32:13 -08:00
Ryan Huber
d484a86917
add env to ignore virtualenv
2014-12-04 16:23:23 -08:00
Ryan Huber
65e3989d02
Merge branch 'master' of github.com:slackhq/python-rtmbot
2014-12-04 16:21:20 -08:00
Ryan Huber
c63196ca43
add license
2014-12-04 16:21:13 -08:00
Ryan Huber
04c968a69f
Update README.md
2014-12-03 12:29:28 -08:00