Commit graph

2385 commits

Author SHA1 Message Date
Leandro Toledo
a91c158825 Merge pull request #22 from wjt/logging
Don't call logging.basicConfig() in library code
2015-08-08 18:59:38 -03:00
Francisco Demartino
7d2672f711 use byte literals for emojis 2015-08-06 02:45:15 -03:00
Leandro Toledo
30fd5d79c3 Merge pull request #23 from wjt/requestUrl-error-path
Bot._requestUrl: raise if method not in ('GET', 'POST')
2015-07-31 13:44:43 -03:00
Will Thompson
98e40ee059 Bot._requestUrl: raise if method not in ('GET', 'POST')
If this happens, there is a bug in the library. Better to raise the
error explicitly rather than return a value of a totally unexpected type
and crash later.
2015-07-30 10:47:47 +01:00
Will Thompson
a034317c87 Don't call logging.basicConfig() in library code
Logging should be configured by the application, not by libraries it
uses. Libraries should just get a logger and log to it.

Fixes #21
2015-07-30 07:04:59 +01:00
leandrotoledo
d90a4c9acc Releasing 2.2 2015-07-25 18:31:01 -03:00
Leandro Toledo
310ac82ecf Merge pull request #19 from bimmlerd/patch-1
pip --upgrade needs to be at the end.
2015-07-25 12:57:47 -03:00
David Bimmler
bd8f0e2c5f pip --upgrade needs to be at the end. 2015-07-25 16:52:45 +02:00
Leandro Toledo
6956382671 Merge pull request #18 from Avanatiker/patch-1
Update README.rst
2015-07-23 09:22:02 -03:00
Avanatiker
bb91c83219 Update README.rst 2015-07-23 00:31:05 +02:00
Leandro Toledo
ae3d53db41 Update README.rst 2015-07-21 10:46:32 -03:00
Leandro Toledo
464c1966fb Update README.rst 2015-07-21 09:42:22 -03:00
Leandro Toledo
2331af89ca Update README.rst 2015-07-21 09:39:23 -03:00
Leandro Toledo
6f10d69a6d Update README.rst 2015-07-21 09:38:45 -03:00
Leandro Toledo
428d7ec1c2 Update README.rst 2015-07-21 09:38:20 -03:00
Leandro Toledo
bdacccdab9 Update README.rst 2015-07-21 09:37:10 -03:00
Leandro Toledo
2f9c5c6454 Update README.rst 2015-07-20 09:35:11 -03:00
leandrotoledo
6b7476c18f Updates echobot and getUpdates logging 2015-07-20 08:59:41 -03:00
leandrotoledo
cad325c874 Adding logging 2015-07-20 08:50:30 -03:00
leandrotoledo
b6fb2bc6bf Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot into testing 2015-07-20 08:26:29 -03:00
leandrotoledo
61530aeb34 Adding logging decorator 2015-07-20 08:25:04 -03:00
leandrotoledo
9a8dea5b6d Releasing 2.1 2015-07-20 08:04:52 -03:00
leandrotoledo
5cd8d5b332 Releasing 2.1 2015-07-20 08:03:47 -03:00
leandrotoledo
185a9e9918 Fixes bug when to_data thumb for document and video 2015-07-20 08:01:14 -03:00
leandrotoledo
a1899a75e4 Releasing 2.0 2015-07-19 23:40:12 -03:00
leandrotoledo
f4ad7037e1 Fixes #12 and changes to_data to to_dict 2015-07-19 23:25:44 -03:00
leandrotoledo
859f04e566 Resolves #45 creating to_data abstractmethod on TelegramObject (new base class) 2015-07-19 23:06:04 -03:00
Leandro Toledo
ded002a0c8 Adding newline at EOF 2015-07-19 22:06:07 -03:00
Leandro Toledo
82f1496d4a Add support for GIFs sent as document 2015-07-19 22:05:22 -03:00
Leandro Toledo
ae0283f98d Fix error class import 2015-07-17 14:55:36 -03:00
Leandro Toledo
357815b102 Merge pull request #11 from JASON0916/base_class
Base class
2015-07-17 13:55:32 -03:00
JASON0916
ce852de9a8 base class for telegram class 2015-07-17 22:53:54 +08:00
Leandro Toledo
5460671384 Update README.rst 2015-07-16 08:20:28 -03:00
Leandro Toledo
f020ab8aa2 Update README.rst 2015-07-15 12:04:27 -03:00
leandrotoledo
acc939b5b9 Releasing 1.9 2015-07-15 11:48:33 -03:00
leandrotoledo
0cf914ab1f Remove python 3.2 2015-07-15 11:04:20 -03:00
leandrotoledo
638038de10 Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot 2015-07-15 11:02:42 -03:00
leandrotoledo
23b99690a1 I gave up, no support for Python 3.2 atm. 2015-07-15 11:01:11 -03:00
leandrotoledo
b5074bb0dd Fix test for Python 3.2 2015-07-15 10:59:04 -03:00
leandrotoledo
da6b7d496e Fix test for Python 3.2 2015-07-15 10:55:52 -03:00
leandrotoledo
bac2bf1084 Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot 2015-07-15 10:43:38 -03:00
leandrotoledo
048fa23fd6 Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot 2015-07-15 10:43:31 -03:00
leandrotoledo
4d54b5f71f Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot 2015-07-15 10:20:13 -03:00
leandrotoledo
124ea4e4a3 Python 2.6 unittest support 2015-07-15 10:19:53 -03:00
leandrotoledo
9063263c7f Python 2.6 unittest support 2015-07-15 10:18:02 -03:00
leandrotoledo
92c3f48cda Removing redundant parentheses, Python3 support, user.name property 2015-07-15 10:05:31 -03:00
leandrotoledo
9f27537176 Error handling when no updates available 2015-07-15 07:47:13 -03:00
leandrotoledo
6b5c55ad79 Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot 2015-07-14 05:26:03 -03:00
leandrotoledo
d8912f5290 move isFileRequest to InputFile as @staticmethod, new tests written, README updated 2015-07-14 05:25:44 -03:00
leandrotoledo
431510e02f move isFileRequest to InputFile as @staticmethod, new tests written, README updated 2015-07-14 05:24:08 -03:00