Eldin
0afb38f45c
Fix video_note tests
...
Added a video_note to send.
2017-06-09 12:27:10 +03:00
Noam Meltzer
0fb00c4c8b
When Promise running throws an uncaught exception - log it
2017-06-03 16:34:03 +03:00
Noam Meltzer
2680740316
Merge pull request #641 from azogue/fixes
...
fix setting default mimetype of inputfile
2017-06-03 00:22:32 +03:00
Noam Meltzer
c0e3453a62
Travis: add test to make sure setup.py doesn't break
...
Refs #635
2017-06-02 11:51:31 +03:00
Noam Meltzer
90e9e32632
Merge pull request #622 from python-telegram-bot/payment
...
Payment stuff
refs #617
2017-06-02 11:14:18 +03:00
azogue
1e3e8973ba
added myself to authors
2017-06-02 08:25:39 +02:00
Noam Meltzer
0ed997cc53
Merge remote-tracking branch 'origin/master' into payment
2017-06-01 22:07:14 +03:00
Jacob Bom
760737345d
Fix tests for video_note
...
It would seem that length is no longer incorrectly required so that's good
However they stopped sending the file_size when you send via a file_id which is a bit odd
2017-06-01 22:06:34 +03:00
Noam Meltzer
137ffe2e73
Merge remote-tracking branch 'origin/master' into payment
2017-06-01 22:01:04 +03:00
Noam Meltzer
c4b78673a3
payment: cr fixes
2017-06-01 21:52:47 +03:00
Noam Meltzer
ee1cf6b9b0
test_set_webhook_get_webhook_info: Retry more
...
Unitests fail too much on this one. Lets retry more, maybe we'll stop
seeing this.
[ci skip]
2017-06-01 21:25:00 +03:00
Noam Meltzer
c15371e8c0
Merge pull request #642 from evgfilim1/new-filters
...
New filters
2017-06-01 21:21:22 +03:00
evgfilim1
f66076b06c
Returned old tests
2017-06-01 16:37:39 +05:00
evgfilim1
5b1252ac2d
Perfomance optimizations
...
Using `or` instead of `|`
2017-06-01 16:36:32 +05:00
Rahiel Kasim
647059735c
CHANGES: document introduction of telegram.constants ( #643 )
2017-06-01 11:33:36 +02:00
evgfilim1
d0f6860bac
Fixed tests to use new filters
2017-06-01 07:10:26 +05:00
evgfilim1
d98b18d1e3
Added new status_update
filters
2017-06-01 07:09:30 +05:00
Jannes Höke
1951d6fdcd
Bump version to v6.0.2
2017-05-29 21:24:12 +02:00
azogue
84b59c8cb2
unittest sending non standard jpg photo with bytesio stream
2017-05-29 09:38:02 +02:00
azogue
b46bdf5304
fix setting default mimetype of inputfile
2017-05-29 08:30:29 +02:00
Noam Meltzer
cd24bb4ba5
payment: Small fixes
...
- Semantic fixes bot.py (if XXX is not None: ...).
- Documentation fixes (arguments which are optional).
2017-05-26 20:02:18 +03:00
Noam Meltzer
ae33d33580
Merge pull request #625 from python-telegram-bot/videonote
...
Add VideoNote
2017-05-26 19:34:13 +03:00
Noam Meltzer
706f79fa99
Fix setup.py with urllib3 vendoring
...
fixes #635
2017-05-26 19:24:54 +03:00
Noam Meltzer
a5bfc52326
videonote: Semantic fix according to CR
2017-05-26 18:36:21 +03:00
Noam Meltzer
858684ab64
Merge pull request #628 from python-telegram-bot/may18minor
...
May 18 minor changes
2017-05-26 18:23:31 +03:00
Jacob Bom
f4c6197c5f
Update filters to new_chat_members instead of new_chat_member
2017-05-25 14:45:47 +02:00
Jacob Bom
a7044562af
Fix stuff as per @tsnoam's comments
2017-05-25 14:16:53 +02:00
Jacob Bom
27a4fa8dba
Move *_duration attributes as to keep backwardscompat
2017-05-25 14:05:08 +02:00
Jacob Bom
a41ee3b040
Actually deprecate new_chat_member to help users switch
2017-05-25 14:02:41 +02:00
Jacob Bom
8499dcc33c
Better deprecation warnings
...
Actually shows where in the users code the error happened, not just where the warning came from in our internal code
2017-05-25 13:53:35 +02:00
Noam Meltzer
ff897ce9ef
Avoid confusion with user's urllib3 by renaming vendored urllib3
2017-05-24 13:14:33 +03:00
Jacob Bom
630b63ec10
Add payment filters
2017-05-22 12:13:00 +02:00
Jannes Höke
23b37c9ea4
mention beta version in README
2017-05-21 22:10:08 +02:00
Jacob Bom
5a15d1b5d6
Add mpeg4_duration and gif_duration to inline gif and mpeg4gif
2017-05-21 14:38:12 +02:00
Jacob Bom
ad347b5c02
new_chat_member -> new_chat_members
...
Keep old for now... we can remove it in the future when telegram stops parsing it along.
Also: TODO: write proper Message tests
2017-05-21 14:32:36 +02:00
Jannes Höke
017fdeaae8
run yapf with --diff
2017-05-21 14:29:24 +02:00
Jannes Höke
ba6c4fd517
Bump version to v6.0.1
2017-05-21 14:25:40 +02:00
Jacob Bom
99ecac5649
assertRaisesRegex doesn't exist on py2 (also fuck yapf)
...
This deprecation is totally gonna come back and bite us when the regexp
gets removed completely in never version´
2017-05-21 14:10:55 +02:00
Jannes Höke
1c4c228cf1
add support for User.language_code ( #624 )
...
* add support for User.language_code
* Add language filter
Useful is you wanna do something like restrict your shop to a single or a few locales or something like that.
2017-05-21 14:00:53 +02:00
Jacob Bom
2e89e21261
Fix text_markdown and text_html ( #623 )
...
* Fix text_markdown and text_html
* Missed a few narrow build checks
* Added tests for emoji-first strings and emojis in url
2017-05-21 14:00:07 +02:00
Jacob Bom
7583fa9d65
Tests for video notes
2017-05-21 13:51:58 +02:00
Jacob Bom
2dd5290ec2
Add reply_video_note in line with other reply_*
2017-05-21 13:51:27 +02:00
Jacob Bom
41299244b7
Allow InputFile to handle video notes
2017-05-21 13:50:52 +02:00
Jacob Bom
0e2bcf28a6
Export VideoNote
2017-05-21 13:50:15 +02:00
Jacob Bom
2746ab77e5
Add sendVideoNote to Bot
2017-05-20 19:35:55 +02:00
Jacob Bom
ae39c902ed
Add video_note to Message
2017-05-20 19:30:07 +02:00
Jacob Bom
65929a0813
VideoNote chatactions
2017-05-20 19:26:26 +02:00
Jacob Bom
4426eb0c61
Add VideoNote
2017-05-20 19:25:24 +02:00
Jacob Bom
d4f2f2e077
Getting instead of popping
...
I really think we should be popping and I'm unable to see why it makes our tests fail, but for now.. rolling back.
2017-05-20 19:02:01 +02:00
Jacob Bom
73d75b964a
Remove extra space from payment provider token
2017-05-20 18:55:21 +02:00