saschalalala
9b5e014a0a
Simplification of boolean checks ( #662 )
...
* Simplification of boolean checks
* Cast ok to bool for Telegram API json encoding
2017-06-18 12:09:32 +02:00
Jannes Höke
845312da59
Merge branch 'master' of github.com:python-telegram-bot/python-telegram-bot
2017-06-16 04:16:45 +02:00
saschalalala
3863b4f371
Rename shortcut functions to snake_case ( #661 )
...
* Rename shortcut functions to snake_case
* More function renaming
* Example function rewrite
* Add myself to authors.rst
* More function renaming
* Rename mockbot test functions
* Break comment line for flake max line length
2017-06-14 00:07:03 +02:00
Eldinnie
25912dca6e
add --recursive in contributing guide ( #664 )
2017-06-14 00:02:16 +02:00
alateas
6877886f7d
Change hard-coded 20. to timeout parameter ( #663 )
...
* Change hard-coded 20. to timeout paramter
Passing timeout parameter to _message_wrapper in send_audio instead of hard-coded 20 seconds
* add myself to contributors
2017-06-14 00:01:38 +02:00
Noam Meltzer
d16d38530c
Merge pull request #658 from jeffffc/paymentbot_example_and_fixes
...
Add PaymentBot Example, Bugfixes on payment methods
2017-06-11 00:18:20 +03:00
Jeff
c7ed87d475
add telegram doc link comment
2017-06-11 04:30:21 +08:00
Jeff
a68e0ad044
bugfixes on error in answer_shipping_query and answer_precheckout_query
2017-06-11 03:45:48 +08:00
Jeff
ad603bd2f9
add new payment example
2017-06-11 03:43:38 +08:00
Jannes Höke
179fc141bb
Merge branch 'master' of github.com:python-telegram-bot/python-telegram-bot
2017-06-10 21:24:28 +02:00
Noam Meltzer
da8a3cee44
Merge pull request #631 from jeffffc/paymenthandlers
...
Add both handlers for queries from new Payment API
2017-06-09 18:23:29 +03:00
Eldin
bc3669fa4b
make commandhandler case insensitive
2017-06-09 17:45:15 +03:00
Eldin
7def2c53e1
fix tests for pycharm windows
...
Refractored self.id in new tests to self._id (as I did before) so testrunner in pycharm can run under Windows.
2017-06-09 17:44:43 +03:00
Noam Meltzer
09230e6e84
Merge pull request #649 from python-telegram-bot/fix-docs
...
Fix some documentation stuff
[ci skip]
2017-06-09 13:14:03 +03:00
Eldin
011e321583
Update gitignore with new video file
2017-06-09 12:27:10 +03:00
Eldin
0afb38f45c
Fix video_note tests
...
Added a video_note to send.
2017-06-09 12:27:10 +03:00
Jeff
4247dc0e21
tiny changes upon PR review
2017-06-08 09:47:19 +08:00
Jacob Bom
896392d01e
Merge branch 'master' into fix-docs
2017-06-07 13:12:32 +02:00
Jacob Bom
61c5d6ff08
Remove more warnings
2017-06-07 13:07:45 +02:00
Jacob Bom
aa1c4e0e02
Fix most of "more than one target found for cross-reference" warnings
2017-06-07 12:53:02 +02:00
Jacob Bom
92183a5bbc
Some objects don't have a module
2017-06-07 12:52:36 +02:00
Jacob Bom
87b096c7f9
Only document functions/methods that are 100% lowercase + use favicon
...
In bot.py we did stuff like sendAudio = send_audio, which made sphinx document both, which led to clutter in our docs.
2017-06-07 12:40:09 +02:00
Jacob Bom
3329d15691
Add orange favicon
...
Do we need a blue one too?
2017-06-07 12:37:29 +02: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
Jeff
b6ba66ba8e
Fix typo in filter test
2017-06-03 02:05:26 +08:00
Jeff
eaf765dcbc
Remove duplicated/useless codes, added Filters.invoice test
2017-06-03 01:48:30 +08:00
Jeff
f735a37828
Merge from master and resolve conflicts
...
Merge from master and resolve conflicts
2017-06-03 01:19:29 +08:00
Jeff
e9d08c6f7a
Merge branch 'master' into paymenthandlers-new
...
# Conflicts:
# telegram/bot.py
# telegram/message.py
# telegram/precheckoutquery.py
# telegram/shippingquery.py
2017-06-03 01:09:17 +08: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
9d6c394b02
Bump version to v6.0.3
2017-05-29 22:55:15 +02: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