Noam Meltzer
|
e9a782a3c8
|
dispatcher.addHandler(): fix docstring
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
1f83e7ae4e
|
dispatcher.addHandler(): validate value of group is int
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
856f4460fc
|
handler: docstring fix
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
c5ad34b074
|
dispatcher: style fix
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
78d1faa21e
|
dispatcher: on removeHandle(), remove the groups too if it's empty
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
4ac8f86156
|
dispatcher: honour the priority of groups
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
8a087dce69
|
import queue (like in py3) directly
future module takes care of adding the `queue` package to py2
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
82282ae125
|
dispatcher: retrieve Handler class name dynamically
this way it is more resilient to class name changes
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
02243f6fda
|
utils.validater: remove dead code
|
2016-04-26 17:47:37 +03:00 |
|
Noam Meltzer
|
05a90dc3bc
|
regexhandler/stringregexhandler: python2 utf8 support
|
2016-04-26 17:47:37 +03:00 |
|
Leandro Toledo
|
1425533871
|
Adds docstring to InlineQueryResultCachedAudio
|
2016-04-25 20:15:05 -03:00 |
|
Leandro Toledo
|
fc7c161018
|
Merge remote-tracking branch 'origin/master' into unittest-bot2.0
|
2016-04-24 14:33:17 -03:00 |
|
Andrea Giove
|
39ba575a4d
|
Missing a comma
|
2016-04-24 17:54:36 +02:00 |
|
Andrea Giove
|
87ac962805
|
Added caption paramenter to sendDocument method
|
2016-04-24 17:51:15 +02:00 |
|
Leandro Toledo
|
14cb13acfd
|
Adds @message decorator to editMessageText
|
2016-04-24 11:19:37 -03:00 |
|
Leandro Toledo
|
4ecb4911db
|
Adds @message decorator to editMessageText
|
2016-04-24 11:18:16 -03:00 |
|
Leandro Toledo
|
d47787876a
|
Merge remote-tracking branch 'origin/master' into unittest-bot2.0
|
2016-04-24 11:08:35 -03:00 |
|
Leandro Toledo
|
4b173bfd52
|
Add tests for InputContactMessageContent InputLocationMessageContent InputTextMessageContent InputVenueMessageContent
|
2016-04-24 11:08:06 -03:00 |
|
Leandro Toledo
|
bfbad1625e
|
Merge pull request #252 from python-telegram-bot/fix-timeout-args
Add timeout and network_delay kwargs to all bot methods.
|
2016-04-24 11:05:26 -03:00 |
|
Jannes Höke
|
564baea8c3
|
Merge pull request #251 from python-telegram-bot/fix_run_async
release semaphore on exceptions
|
2016-04-24 15:59:09 +02:00 |
|
Leandro Toledo
|
adc3104214
|
Add timeout and network_delay kwargs to all bot methods.
|
2016-04-24 10:06:59 -03:00 |
|
Jannes Höke
|
2f7cccfc9f
|
revert c0dd9c6
|
2016-04-24 14:15:01 +02:00 |
|
Jannes Höke
|
5a7a62c3d8
|
release semaphore on exceptions
|
2016-04-24 13:43:42 +02:00 |
|
Leandro Toledo
|
fe06708d34
|
Trying to isolate the problem.
|
2016-04-23 22:37:59 -03:00 |
|
Leandro Toledo
|
f68b8c3a4a
|
Adds InputContactMessageContent class, fixes InlineQueryResultArticle tests, de_json super calls for replymarkup objects and factory for InputMessageContent #188
|
2016-04-23 20:19:51 -03:00 |
|
Jannes Höke
|
b30417681b
|
Merge pull request #248 from python-telegram-bot/bytes-images-py2
InputFile to support any objects with .read attribute
|
2016-04-23 14:36:59 +02:00 |
|
leandrotoledo
|
9b1a55f9e9
|
Reverting some master files
|
2016-04-22 22:15:48 -03:00 |
|
leandrotoledo
|
252abb138d
|
Using hasattr instead isinstance for file check #119
|
2016-04-22 21:51:00 -03:00 |
|
leandrotoledo
|
203364d939
|
Merge branch 'bot-api-2.0' of https://github.com/python-telegram-bot/python-telegram-bot into bot-api-2.0
|
2016-04-22 21:33:37 -03:00 |
|
Jannes Höke
|
7daf26198e
|
bump version to 4.0rc1
|
2016-04-22 16:24:32 +02:00 |
|
Jannes Höke
|
d46d9a711d
|
Merge branch 'bot-api-2.0' into dispatcher-rework
Conflicts:
docs/source/telegram.ext.jobqueue.rst
docs/source/telegram.rst
|
2016-04-22 16:12:45 +02:00 |
|
Leandro Toledo
|
b444cd7bce
|
Adding new modules to docs #232
|
2016-04-22 11:07:44 -03:00 |
|
Jannes Höke
|
cb79317354
|
remove lazy import of JobQueue
|
2016-04-21 20:37:43 +02:00 |
|
Jannes Höke
|
cfdfdeb4fc
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-21 17:20:05 +02:00 |
|
Leandro Toledo
|
0669c72fe3
|
Fixing little princes Python 2.6 string format arg #232
|
2016-04-21 12:18:51 -03:00 |
|
Leandro Toledo
|
5315e072cb
|
PEP8 for Py2 #232
|
2016-04-21 11:59:18 -03:00 |
|
Leandro Toledo
|
a8255e4f51
|
Revert switch_inline_query #232
|
2016-04-21 11:42:02 -03:00 |
|
Leandro Toledo
|
e56c6dfab6
|
Revert "Minor fixes #232"
This reverts commit 720c4d22d8 .
|
2016-04-21 11:20:09 -03:00 |
|
Leandro Toledo
|
263310be36
|
switch_inline_query defaults to empty string #232
|
2016-04-21 11:02:34 -03:00 |
|
Leandro Toledo
|
720c4d22d8
|
Minor fixes #232
|
2016-04-21 10:56:38 -03:00 |
|
Leandro Toledo
|
3be8b9ecb9
|
Should fix empty string but set args #232
|
2016-04-21 09:56:57 -03:00 |
|
Leandro Toledo
|
bb36c725af
|
More refactoring and docstrings #232
|
2016-04-21 09:21:12 -03:00 |
|
Leandro Toledo
|
ba7e1cada7
|
Bot class refactor and its docstrings #232
|
2016-04-21 08:15:38 -03:00 |
|
Jannes Höke
|
c0dd9c6ffc
|
always set webhook_url
|
2016-04-21 12:57:03 +02:00 |
|
leandrotoledo
|
10a96481f5
|
Merge branch 'bot-api-2.0' of https://github.com/python-telegram-bot/python-telegram-bot into bot-api-2.0
|
2016-04-19 11:36:00 -03:00 |
|
Leandro Toledo
|
9a96ad8efd
|
Unused import #232
|
2016-04-19 09:12:22 -03:00 |
|
Leandro Toledo
|
fc277d7393
|
Refactor of telegram.Bot class and docstrings #232
|
2016-04-19 09:04:25 -03:00 |
|
Jannes Höke
|
48eb623f15
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-19 01:24:02 +02:00 |
|
Leandro Toledo
|
9a340d2ea9
|
Endorsing if empty or 0 or empty string and minor typo fix #232
|
2016-04-18 20:18:32 -03:00 |
|
Jannes Höke
|
693df6dc2c
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-19 00:08:59 +02:00 |
|
Jannes Höke
|
a98919a86e
|
fix cache_time==0 case
|
2016-04-19 00:08:47 +02:00 |
|
Jannes Höke
|
9790d6d8dc
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-18 21:35:50 +02:00 |
|
Jannes Höke
|
7913d09295
|
fix message.to_dict
|
2016-04-18 21:35:39 +02:00 |
|
Jannes Höke
|
1db337fe2b
|
Merge branch 'master' into dispatcher-rework
|
2016-04-18 21:23:14 +02:00 |
|
Jannes Höke
|
0d9d5032ef
|
exit immediately if receiving second interrupt #224
|
2016-04-18 19:21:57 +02:00 |
|
Jannes Höke
|
b6fceefc80
|
documentation
|
2016-04-18 18:13:54 +02:00 |
|
Jannes Höke
|
687a3b0ba1
|
dispatcher: also break on errors in checkHandler
|
2016-04-18 17:15:41 +02:00 |
|
Jannes Höke
|
bf5ba9a369
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-17 22:22:52 +02:00 |
|
Jannes Höke
|
d879a0d018
|
convert reply_markup to json
|
2016-04-17 22:11:29 +02:00 |
|
Jannes Höke
|
ad211655ea
|
Merge branch 'master' into dispatcher-rework
Conflicts:
README.rst
|
2016-04-17 12:45:31 +02:00 |
|
Jannes Höke
|
3a0eb588cb
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-17 12:43:59 +02:00 |
|
Jannes Höke
|
c9bfa71ff9
|
decode new message fields
|
2016-04-17 12:43:34 +02:00 |
|
Jannes Höke
|
5f19452dd7
|
implement de_list
|
2016-04-17 12:43:09 +02:00 |
|
Jannes Höke
|
5cccf2603b
|
reorder imports
|
2016-04-17 12:42:41 +02:00 |
|
Jannes Höke
|
185b080daa
|
fix de_json
|
2016-04-17 12:42:30 +02:00 |
|
Jannes Höke
|
a846c8fd86
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-16 20:58:08 +02:00 |
|
Jannes Höke
|
0e5129e59f
|
fix method names and parameters for new methods
|
2016-04-16 20:57:50 +02:00 |
|
Jannes Höke
|
79ca07f839
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-16 20:33:36 +02:00 |
|
Jannes Höke
|
5e80efaa54
|
editMessage->editMessageText
|
2016-04-16 20:29:43 +02:00 |
|
Jannes Höke
|
a114f70249
|
fix callback query condition
|
2016-04-16 20:29:08 +02:00 |
|
Jannes Höke
|
31fba47829
|
fix super calls and module docs
|
2016-04-16 19:25:38 +02:00 |
|
Jannes Höke
|
f2a92ccf46
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-16 19:00:01 +02:00 |
|
Leandro Toledo
|
79228b0655
|
Adds kwargs for InlineQueryResult objects #232
|
2016-04-16 13:49:16 -03:00 |
|
Jannes Höke
|
b2045717d6
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-16 18:18:37 +02:00 |
|
Leandro Toledo
|
15cc410c10
|
Merge remote-tracking branch 'upstream/master' into bot-api-2.0
|
2016-04-16 13:16:49 -03:00 |
|
Leandro Toledo
|
f6524b0207
|
Adding InlineQueryResultCachedVoice #232
|
2016-04-16 13:10:30 -03:00 |
|
Noam Meltzer
|
ecc86d4bcd
|
request: catch socket.error
socket.error is another exception which is thrown by the underlying
infrastacture and not handled by the urllib2 or httplib layers
fixes #236
|
2016-04-16 19:09:45 +03:00 |
|
Leandro Toledo
|
56b17f2a17
|
Adding InlineQueryResultVoice #232
|
2016-04-16 13:05:55 -03:00 |
|
Leandro Toledo
|
8bf4a6fdda
|
Refactoring InlineQueryResultVideo #232
|
2016-04-16 13:01:26 -03:00 |
|
Leandro Toledo
|
109af62425
|
Adding InlineQueryResultVenue #232
|
2016-04-16 12:58:36 -03:00 |
|
Leandro Toledo
|
ec27edef58
|
Refactoring InlineQueryResultPhoto #232
|
2016-04-16 12:55:05 -03:00 |
|
Leandro Toledo
|
7231eaa349
|
Refactoring InlineQueryResultMpeg4Gif #232
|
2016-04-16 12:52:21 -03:00 |
|
Leandro Toledo
|
1876867ec7
|
Adding InlineQueryResultLocation #232
|
2016-04-16 12:49:07 -03:00 |
|
Leandro Toledo
|
17509fc24f
|
Refactoring InlineQueryResultGif #232
|
2016-04-16 12:46:24 -03:00 |
|
Leandro Toledo
|
2d2b269932
|
Adding InlineQueryResultDocument #232
|
2016-04-16 12:39:53 -03:00 |
|
Leandro Toledo
|
802a74c606
|
Adding InlineQueryResultContact #232
|
2016-04-16 12:35:23 -03:00 |
|
Leandro Toledo
|
c4074f740e
|
Refactoring InlineQueryResultAudio #232
|
2016-04-16 12:32:40 -03:00 |
|
Leandro Toledo
|
1e0ee0694f
|
Refactoring InlineQueryResultArticle #232
|
2016-04-16 12:30:18 -03:00 |
|
Leandro Toledo
|
6a7c0bb584
|
Adding InlineQueryResultCachedVideo #232
|
2016-04-16 12:22:29 -03:00 |
|
Leandro Toledo
|
fb2fc3842b
|
Adding InlineQueryResultCachedSticker #232
|
2016-04-16 12:20:15 -03:00 |
|
Leandro Toledo
|
c794c3520b
|
Adding InlineQueryResultCachedPhoto #232
|
2016-04-16 12:18:50 -03:00 |
|
Leandro Toledo
|
0fd013feec
|
Adding InlineQueryResultCachedMpeg4Gif #232
|
2016-04-16 12:16:45 -03:00 |
|
Leandro Toledo
|
1834d6c754
|
Adding InlineQueryResultCachedGif #232
|
2016-04-16 12:14:43 -03:00 |
|
Leandro Toledo
|
f51564f7cd
|
Adding InlineQueryResultCachedDocument #232
|
2016-04-16 12:12:37 -03:00 |
|
Leandro Toledo
|
624160e1db
|
Adding InlineQueryResultCachedAudio #232
|
2016-04-16 12:09:26 -03:00 |
|
Jannes Höke
|
d2f2b74bdb
|
imports and classname fix
|
2016-04-16 16:54:07 +02:00 |
|
Leandro Toledo
|
85f1b1af0c
|
Adding sendContact and sendVenue methods #232
|
2016-04-16 11:48:36 -03:00 |
|
Jannes Höke
|
b5cbf17ef5
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-16 16:41:39 +02:00 |
|
Jannes Höke
|
0d0ad1334c
|
add documentation and minor stuff
|
2016-04-16 16:36:12 +02:00 |
|
Leandro Toledo
|
b9305ca7ac
|
Adding MessageEntity and Venue classes #232
|
2016-04-16 11:33:58 -03:00 |
|