Jannes Höke
|
afc36a235b
|
move webhook handler logs to logging at DEBUG level
|
2016-07-11 23:44:40 +02:00 |
|
Noam Meltzer
|
b3e42c3e20
|
urllib3: now supports proxy
fixes #336
|
2016-07-08 22:33:37 +03:00 |
|
Jannes Höke
|
89a3dc8372
|
use urlopen timeout
|
2016-07-04 21:40:31 +02:00 |
|
Jannes Höke
|
703bece155
|
set loglevel of urllib3 to WARNING by default
|
2016-06-19 23:40:34 +02:00 |
|
Noam Meltzer
|
494a7ec1e4
|
ypaf fixes
|
2016-06-18 19:57:11 +03:00 |
|
Noam Meltzer
|
fc05d3a626
|
switch back to PoolManager
telegram servers might send a reponse with HTTP 302 (redirect) to
another hostname. in such case HTTPSConnectionPool will fail to do the
job
|
2016-06-18 19:50:18 +03:00 |
|
Noam Meltzer
|
a814e9de6b
|
make sure to stop conpool between sensitive unitests
|
2016-06-18 00:50:44 +03:00 |
|
Noam Meltzer
|
e479c7f25e
|
type hinting (cosmetic fix)
|
2016-06-17 23:59:32 +03:00 |
|
Noam Meltzer
|
1f5601dae2
|
fix SyntaxWarning
|
2016-06-01 22:38:08 +03:00 |
|
Noam Meltzer
|
3608c2bbe5
|
dispatcher: if connection pool is already initialized raise exception
this will better protect the user from wrong usage
|
2016-06-01 22:30:34 +03:00 |
|
Jannes Höke
|
6b457bada5
|
use keepalive for connection pool
|
2016-05-31 13:45:43 +02:00 |
|
Jannes Höke
|
74283bd414
|
use HTTPSConnectionPool instead of PoolManager
|
2016-05-30 17:12:50 +02:00 |
|
Jannes Höke
|
dd91ce1f39
|
use single queue for thread pool, initialize connection pool with n+3
|
2016-05-30 13:09:23 +02:00 |
|
Noam Meltzer
|
574fc8cddf
|
urllib3: validate https certificate
|
2016-05-30 01:05:19 +03:00 |
|
Noam Meltzer
|
3076dfc086
|
use urllib3 instead of urllib(2)
|
2016-05-30 01:05:19 +03:00 |
|
Rahiel Kasim
|
f31bd91673
|
Merge pull request #305 from python-telegram-bot/move-botan
move botan from utils to contrib
|
2016-05-28 21:32:07 +02:00 |
|
Rahiel Kasim
|
c8497424b7
|
move botan to contrib
|
2016-05-28 09:12:10 +02:00 |
|
Leandro Toledo
|
9a13de4a96
|
Merge remote-tracking branch 'origin/master' into bot2.1
Conflicts:
telegram/bot.py
tests/test_bot.py
|
2016-05-26 16:15:50 -03:00 |
|
Noam Meltzer
|
561f1c3f02
|
bot: validate token does not contain white spaces (#306)
in addition move validation code from validate.py into bot.py and delete
the former file
|
2016-05-26 22:09:14 +03:00 |
|
Leandro Toledo
|
3907e64966
|
Adds telegram.utils.botan back using deprecate
|
2016-05-26 14:13:27 -03:00 |
|
Leandro Toledo
|
1e398821a0
|
Introducing telegram.error.BadRequest and testLeaveChat testcase #302
|
2016-05-25 21:15:17 -03:00 |
|
Rahiel Kasim
|
c4d5eff9f3
|
move botan from utils to ext
|
2016-05-24 23:40:09 +02:00 |
|
Leandro Toledo
|
d445d35ceb
|
Running yapf for codebase #259
|
2016-05-14 22:46:40 -03:00 |
|
Rahiel Kasim
|
5971cb35f8
|
fix merge conflict snakes with master
|
2016-04-30 14:56:48 +02:00 |
|
Rahiel Kasim
|
9d367e9f2c
|
telegram.utils.deprecate: helper module to facilitate deprecation
|
2016-04-28 14:24:12 +02:00 |
|
Noam Meltzer
|
0c74b3cfb9
|
bot.py + request.py: network_delay is unique for getUpdates
|
2016-04-28 01:41:32 +03:00 |
|
Noam Meltzer
|
0ca3ef7a38
|
utils.request: clean imports using feature.moves
|
2016-04-28 01:41:32 +03:00 |
|
Noam Meltzer
|
02243f6fda
|
utils.validater: remove dead code
|
2016-04-26 17:47:37 +03:00 |
|
Jannes Höke
|
cfdfdeb4fc
|
Merge branch 'bot-api-2.0' into dispatcher-rework
|
2016-04-21 17:20:05 +02:00 |
|
Leandro Toledo
|
ba7e1cada7
|
Bot class refactor and its docstrings #232
|
2016-04-21 08:15:38 -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
|
ad211655ea
|
Merge branch 'master' into dispatcher-rework
Conflicts:
README.rst
|
2016-04-17 12:45:31 +02: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 |
|
Jannes Höke
|
1e19084a0d
|
initial commit for dispatcher rework. deleted updatequeue.py as it is not needed. added handler base class, messagehandler, commandhandler, regexhandler. adjusted dispatcher for new system
|
2016-04-14 23:57:40 +02:00 |
|
Rahiel Kasim
|
01b90e7ede
|
small improvements
|
2016-04-02 23:13:49 +02:00 |
|
Jannes Höke
|
45a47d54bd
|
move updatequeue to telegram.utils
|
2016-03-22 02:42:19 +01:00 |
|
Leandro Toledo
|
1e4ae6546f
|
Changing INFO logs to DEBUG and minor fixes
|
2016-03-14 22:56:20 -03:00 |
|
Jannes Höke
|
cd42524fd4
|
Merge pull request #174 from python-telegram-bot/inlinebots
Implement Inlinebots
|
2016-02-28 02:10:21 +01:00 |
|
Jannes Höke
|
4aca4d1d1f
|
Merge pull request #187 from python-telegram-bot/flaky-tests
Flaky tests
|
2016-02-28 01:02:11 +01:00 |
|
Noam Meltzer
|
ccb24d1288
|
request.py: fix for python2.7
|
2016-02-27 23:13:29 +02:00 |
|
Noam Meltzer
|
fc618274ae
|
bot.py: allow specifying timeout for sendVideo operations
|
2016-02-27 23:00:33 +02:00 |
|
Jannes Höke
|
efd10507d0
|
remove kwargs in favor of named keyword arguments, validate argument types
|
2016-02-21 11:33:34 +01:00 |
|
Noam Meltzer
|
2338377eda
|
request: better parsing of URLError exception
|
2016-02-20 15:20:00 +02:00 |
|
Noam Meltzer
|
4945d99de6
|
webhookhandler: better handling of invalid POST data
|
2016-02-19 18:00:57 +02:00 |
|
Rahiel Kasim
|
d02e656700
|
raise NetworkError for HTTP 502 (Bad Gateway)
|
2016-02-09 15:26:59 +01:00 |
|
Jannes Höke
|
bec81b5c3b
|
Merge pull request #161 from tsnoam/master
better exception handling
|
2016-02-07 22:34:49 +01:00 |
|
Jannes Höke
|
eac3d8842d
|
remove json import
|
2016-02-07 15:09:41 +01:00 |
|
Jannes Höke
|
17ac73c3c4
|
fix message to json
|
2016-02-07 14:46:36 +01:00 |
|
Noam Meltzer
|
7ebbc60694
|
Unauthorized is HTTP code 401
I am not certain where the older 403 came from, but for now going to
leave it as is
|
2016-02-07 00:56:30 +02:00 |
|