Oleg Shlyazhko
17c2857622
add module for botan analytics
2016-01-23 14:24:34 +03:00
Juan Madurga
cbcbfab45f
fix pep8
2016-01-22 16:42:39 +01:00
Juan Madurga
1dc9907a70
fix code comments by jh0ker
2016-01-22 16:30:55 +01:00
Juan Madurga
b8c9992eff
Merge branch 'master' into context-for-handlers
2016-01-22 09:46:05 +01:00
Juan Madurga
a6650de93d
Add context parameter to dispatcher. Handlers now can updates with a context data if required
2016-01-20 19:56:41 +01:00
Noam Meltzer
dc032b349c
_try_except_req(): catch httplib.HTTPException
...
fixes #153
2016-01-19 22:02:34 +02:00
Jannes Höke
5c2458bfd8
merge master into inlinebots
2016-01-14 15:28:22 +01:00
Jannes Höke
6166e7f07a
Merge pull request #152 from python-telegram-bot/docstring_pep257_checker
...
Add docstring style checker and fixing some
2016-01-14 15:24:44 +01:00
Jannes Höke
da97c1741c
merge 'urls' into 'inline'
2016-01-13 21:58:45 +01:00
leandrotoledo
d3a02405b2
pep8
2016-01-13 14:23:15 -02:00
leandrotoledo
dfc75cc64e
Add docstring style checker and fixing some
2016-01-13 14:09:35 -02:00
Jannes Höke
332667c98b
flake8
2016-01-12 13:16:43 +01:00
Jannes Höke
f71c40e0b8
use basename and check if filename has extension
2016-01-12 12:42:07 +01:00
Leandro Toledo
9f55c15cc7
Add sendPhoto tests, fix file_id casting to str instead unicode
2016-01-11 22:25:46 -02:00
Jannes Höke
831a0a31e5
flake8
2016-01-10 15:20:05 +01:00
Jannes Höke
d10b657521
enable sending by URL for all sendX methods
2016-01-10 15:12:42 +01:00
Jannes Höke
ef1012b722
enable sending by URL for all sendX methods
2016-01-10 15:11:17 +01:00
Jannes Höke
5fd7a4fe0d
release v3.3b1
2016-01-09 15:50:19 +01:00
Jannes Höke
48c1673d7c
fix additional args for inline queries
2016-01-09 15:30:47 +01:00
Jannes Höke
6ece89bc56
update inline query results after api change
2016-01-09 15:09:48 +01:00
Jannes Höke
c69cdfd184
Initial commit for inline bot support
2016-01-09 15:09:48 +01:00
Jannes Höke
b78ceeed10
fix race condition in dispatcher
2016-01-06 15:36:14 +01:00
Jannes Höke
aa8966832b
release 3.2 and update copyright notice to 2015-2016
2016-01-05 14:12:03 +01:00
Jannes Höke
e27427676d
fix jobqueue creation
2016-01-05 13:40:07 +01:00
Jannes Höke
2875bae881
Integrate JobQueue with Updater
2016-01-05 13:32:19 +01:00
Jannes Höke
c756aa1c02
remove error raising in dispatchType
2016-01-05 12:49:48 +01:00
Jannes Höke
87657bcd70
flake8 and string formatting
2016-01-04 02:05:39 +01:00
Jannes Höke
dd7d1255d1
fixes, tests and examples for job queue
2016-01-04 01:56:22 +01:00
Jannes Höke
f813d4f5ec
improve docstring
2016-01-04 01:32:47 +01:00
Jannes Höke
623863cee1
fix exception logging
2016-01-04 01:32:00 +01:00
Jannes Höke
aa125e59fb
Merge branch 'master' into jobqueue
2016-01-04 00:01:27 +01:00
Jannes Höke
68c844df0c
implement starting jobqueue in thread and fix errors
2016-01-04 00:01:00 +01:00
Noam Meltzer
bc2679f2ae
utils.request: provide HTTP error code with unknown errors
2016-01-04 00:32:17 +02:00
Noam Meltzer
17dae68654
gitignore: files generated by unitests
2016-01-04 00:32:17 +02:00
Noam Meltzer
7734c1d6a6
fix unitests to work with new token validator
2016-01-04 00:32:13 +02:00
Noam Meltzer
aeca3ca174
basic token validation
...
refs #134
2016-01-04 00:31:40 +02:00
Noam Meltzer
21fdaa4ff7
utils.request: decorate functions with general try... except...
...
refs #134
2016-01-04 00:31:40 +02:00
Noam Meltzer
79f29c4b9e
properly handle utf-8 server response & identify json parsing errors
...
refs #134
2016-01-04 00:31:40 +02:00
Noam Meltzer
a2d8ca3663
some errors are prefixed with '[Error]: ' - strip that down
...
use custom _lstrip_str() func instead of regex. a little performance
improvment and (IMO) a bit more readable.
2016-01-04 00:31:40 +02:00
Jannes Höke
6f76bfc2de
Merge branch 'master' into jobqueue
2015-12-31 15:45:19 +01:00
Jannes Höke
119743433d
merge Tengah-master into master
2015-12-31 15:41:37 +01:00
Bob Pasker
b0ad07f30f
remove traceback import
2015-12-31 09:29:02 -05:00
Jannes Höke
5d1ef673a3
flake8
2015-12-31 15:04:42 +01:00
Jannes Höke
3e1cb08567
flake8
2015-12-31 15:03:40 +01:00
Jannes Höke
29a4062945
properly lock updater and dispatcher start/stop methods
2015-12-31 14:58:01 +01:00
Jannes Höke
2ff6fe9901
initial commit for JobQueue by @franciscod
2015-12-31 14:56:48 +01:00
Jannes Höke
34b91f5062
properly lock updater and dispatcher start/stop methods
2015-12-31 14:52:28 +01:00
Bob Pasker
cc6c4a6eb9
Change a print statement to use logger instead
2015-12-31 08:33:42 -05:00
Jannes Höke
fc9456e1a8
release v3.1.2
2015-12-29 14:46:00 +01:00
Jannes Höke
41ba57f064
don't stop the dispatcher thread on uncaught errors
2015-12-29 14:28:39 +01:00
Jannes Höke
b205751aee
change default value for poll_interval to 0
2015-12-29 14:28:39 +01:00
Eduard Gomolyako
7d7397317e
Fix file.download with custom_path
2015-12-27 04:01:13 +03:00
Jannes Höke
f75e329225
fix docstring
2015-12-21 21:40:41 +01:00
Jannes Höke
ea7c54ba07
Release v3.1.1, change author email everywhere
2015-12-21 21:18:53 +01:00
Jannes Höke
3c7b037eaa
add additional arguments 'groups' and 'groupdict' for regex handlers
2015-12-21 20:25:31 +01:00
Jannes Höke
c15a1bc151
fix for #123
2015-12-21 19:36:17 +01:00
Jannes Höke
9e7314134e
fix docstring
2015-12-17 14:55:20 +01:00
Jannes Höke
0e78606d37
Release v3.1
2015-12-16 16:25:14 +01:00
Jannes Höke
e0233a59a0
fix docstrings for sphinx
2015-12-16 16:18:48 +01:00
Jannes Höke
6e158042e1
API updates Oct and Nov
2015-12-16 15:31:02 +01:00
leandrotoledo
5a3e142358
Updating one more ref to old repo
2015-12-14 21:51:17 -02:00
Jannes Höke
bcadfc5398
Release version 3.0.0
2015-12-07 23:49:19 +01:00
Jannes Höke
89ecb04a85
Catch URLError while getting updates
2015-12-07 23:45:21 +01:00
Jannes Höke
f5ac1ae067
debug message after processing update
2015-12-01 21:45:12 +01:00
Gerd Augsburg
9f07900d99
Added Balduro to AUTHORS.rst and fixed line length
2015-12-01 15:16:04 +01:00
Gerd Augsburg
8a4d5c5de7
Separate start_webhook and setWebhook
...
I think starting and setting the webhook should be two different tasks.
Because the internal webhook and the adress you see from outside can be
quite diffrent through apache etc. It provides more flexibility.
2015-12-01 14:11:27 +01:00
Jannes Höke
14b4c1ac62
Allow starting webhook without SSL (issue #112 )
2015-11-30 23:00:32 +01:00
Jannes Höke
ef569b68c6
update docs
2015-11-24 21:07:13 +01:00
Jannes Höke
8090658ab4
log warning
2015-11-24 19:33:41 +01:00
Jannes Höke
f49f592f0d
log warning
2015-11-24 19:33:03 +01:00
Jannes Höke
c2853fa1ef
WebhookServer: Lock serve_forever() and shutdown()
2015-11-24 15:39:00 +01:00
Jannes Höke
1005ad57ce
Improve signal handling
2015-11-23 17:40:39 +01:00
Jannes Höke
0b72acc7c8
handle SIGINT, SIGTERM and SIGABRT
2015-11-23 03:45:47 +01:00
Jannes Höke
83812f3af6
rename boteventhandler.py to updater.py
2015-11-22 19:20:05 +01:00
Jannes Höke
d91f210f7c
refactor BotEventHandler to Updater, improve documentation, add idle() method
2015-11-22 19:15:17 +01:00
Jannes Höke
65177e791f
raise error instead of quietly exiting on bad SSL cert
2015-11-22 16:46:17 +01:00
Jannes Höke
15501e185b
renamed broadcaster.py to dispatcher.py
2015-11-22 14:52:41 +01:00
Jannes Höke
1782d0d19b
refactor Broadcaster to Dispatcher
2015-11-22 14:47:38 +01:00
Jannes Höke
88fbf3b5cf
remove broadcaster argument from __init__
2015-11-22 14:27:05 +01:00
Jannes Höke
3e732a0736
fix multiple additional arguments
2015-11-22 14:07:20 +01:00
Jannes Höke
e4de3f00b8
Add optional handler argument 'args' and documentation on handlers
2015-11-22 13:57:59 +01:00
Jannes Höke
32c021fdd5
Don't create new bot when broadcaster is passed
2015-11-22 13:30:23 +01:00
Jannes Höke
a6e5a71e05
Check SSL-Certificate, if possible
2015-11-22 01:03:29 +01:00
Jannes Höke
fca8aee177
improve logging
2015-11-21 23:09:19 +01:00
Jannes Höke
7c9928c58f
Let shutdown return immediately if server is not running
2015-11-21 21:22:11 +01:00
Jannes Höke
0cd7aa92ae
more logging
2015-11-21 21:21:09 +01:00
Jannes Höke
618df51811
flake8
2015-11-21 16:04:06 +01:00
Masoud Naservand
ed6dd76ae8
Corrected trailing whitespaces
2015-11-17 18:27:22 +03:30
Jannes Höke
9defc41774
correct docstrings
2015-11-17 00:04:28 +01:00
Jannes Höke
ee8b78aa0d
pep8 and docs
2015-11-16 20:43:35 +01:00
Jannes Höke
0b8fd24771
fixed issues with python2
2015-11-16 20:35:27 +01:00
Jannes Höke
396dc6cd3c
Implement webhook listener server
2015-11-16 13:05:57 +01:00
Jannes Höke
f59efe0f4b
forward related update to errorhandlers
2015-11-15 19:12:42 +01:00
Jannes Höke
12201f392d
graceful stopping of threads, use logging, reuse of broadcaster
2015-11-15 17:36:38 +01:00
Jannes Höke
04050ca883
Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler
2015-11-13 11:05:26 +01:00
Jannes Höke
10451509f1
fix for issue #79
2015-11-12 19:15:39 +01:00
Jannes Höke
45712c52f1
Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler
2015-11-11 14:27:58 +01:00
Jannes Höke
0b4c23f50e
improve error handling on timeouts
2015-11-11 14:06:10 +01:00
Jannes Höke
63c895c0a0
run_async moved to broadcaster and uses a thread pool now
2015-11-11 13:33:03 +01:00
leandrotoledo
5eb4f8e5cd
Minor pep8 fix
2015-11-10 20:31:51 -02:00