Eldinnie
1e22d570a3
Drop 3.3 from support ( #930 )
...
* Remove 3.3 from testsuite and setup.py
* add changelog to the docs
[CI skip]
2017-12-08 22:38:23 +01:00
Jacob Bom
2719c54899
Small changes to the examples readme ( #893 )
...
- Add paymentbot.py
- More docs links
2017-12-06 13:26:51 +01:00
Erjan Kalybek
a5c8e98ee7
Fix sendPhoto method description ( #919 )
2017-12-06 13:24:34 +01:00
Eldinnie
40113bb3ad
make codecov less aggressive ( #929 )
...
[CI skip]
2017-12-06 13:23:49 +01:00
Eldinnie
e8fac19de3
codecov tweaking ( #897 )
...
Reduces the size and amount of info from the codecov bot on PR
2017-11-07 14:33:24 +01:00
Jacob Bom
820ae3b7d6
Create CODE_OF_CONDUCT.md ( #892 )
2017-10-26 19:57:38 +02:00
Noam Meltzer
4b3315db6f
Fix race condition in dispatcher start/stop ( #887 )
...
fixes #881
2017-10-21 14:40:24 +03:00
Jannes Höke
3ed05991ad
log error trace if there is no error handler registered ( #694 )
2017-10-21 12:35:11 +03:00
Simon Schürrle
38637ecf62
Update examples with consistent string formatting ( #870 )
...
* Use the modern string.format().
* Wherever logging is involved, let logging take care of the expansion.
2017-10-20 21:24:00 +03:00
Simon Schürrle
bb5357a815
Fix typo in the docstring ( #878 )
...
Changed `Filters.status_update.new_chat_member` to `Filters.status_update.new_chat_members`
Thanks to @ajbvn for pointing it out.
[ci skip]
2017-10-18 22:00:17 +03:00
Rahiel Kasim
f55018abd9
CHANGES.rst: fix some typo's ( #874 )
2017-10-15 16:59:41 +02:00
Jacob Bom
8df35fd53b
Fix for crashes on 8.1 ( #873 )
...
* Make Commandhandler not crash on single char messages
* Bump release and update CHANGES.rst for 8.1.1
* No error on single / and test
2017-10-15 16:59:10 +02:00
Noam Meltzer
23774383dc
Bump version & update CHANGES.rst for 8.1.0 release
2017-10-15 00:04:35 +03:00
Eldinnie
28680ac1d5
edited_updates also for channel_posts ( #832 )
2017-10-14 23:48:06 +03:00
Jannes Höke
ec9b16ac7b
Fix command not recognized if it is directly followed by a newline ( #869 )
...
fixes #868
2017-10-14 21:04:02 +03:00
Eldinnie
bfad2fa1f3
support 3.4 API ( #865 )
2017-10-14 21:03:02 +03:00
Noam Meltzer
8a8b1215c8
Fix documentation of Request object initialization (for advanced users) ( #866 )
...
fixes #676
2017-10-12 00:39:09 +03:00
Eldinnie
2aa456d637
remove Bot._message_wrapper ( #822 )
...
Moved tho code to the @message decorator instead
fixes #752
2017-10-11 23:38:00 +03:00
Jannes Höke
445bcde686
Update README.rst
2017-10-10 13:09:11 +02:00
Rahiel Kasim
6facde9534
README: show AppVeyor logo in badge ( #861 )
2017-10-09 15:23:59 +02:00
Rahiel Kasim
046ec28361
README: add AppVeyor badge ( closes #591 ) ( #856 )
2017-10-07 18:36:31 +02:00
Eldinnie
3d00ae25df
Update .codeclimate.yml
...
Last edit :S
2017-09-25 21:42:17 +02:00
Eldinnie
aeedcfb874
Update .codeclimate.yml
2017-09-25 21:38:47 +02:00
Eldinnie
6d7a61ae72
mistake in codeclimate
2017-09-25 21:37:53 +02:00
Eldinnie
d75e0f6014
Stabilize Coverage ( #846 )
...
* test_error added
* ignore unstables for coverage
2017-09-25 20:58:10 +02:00
Jeff
dbb3b16edc
Add Job Class to docs ( #845 )
...
* fix job class missing from docs
* fix typo
2017-09-25 20:57:53 +02:00
Eldinnie
7c3bba42cc
loosen codeclimate ( #833 )
...
Codeclimate's defaults are pretty strict. Our complexity is High for objects and bot methods so I decreased the RADON-setting to be a bit more forgiving.
Secondly I removed the warning for `similar` code leaving only `duplicate` code.
2017-09-25 20:57:06 +02:00
Eldinnie
8754980448
add utils.helpers to docs ( #828 )
2017-09-25 20:56:28 +02:00
Jeff
5614af1847
Docstring Fix for ext/filters.py ( #830 )
2017-09-15 23:56:16 +02:00
Marco Túlio Zuquim
e362a5b59d
Small documentation fix in user.py ( #829 )
2017-09-15 23:55:35 +02:00
Eldinnie
dd20237f55
Enable appveyor ( #823 )
...
* modify tests and appveyor.yml
* modify test_meta
* Add pytest-cov to requirements
* appveyor.yaml adjustment
* another try
* oops
* skipping jobqueue tests on appveyor
appveyor is terrible at precise timings.
* adding reasons to skips
* modify test_official
* coverage trouble
* Make it look good
* appveyor.yml
* codecov flags
* oops
* update appveyor.yml
* shorten decorators
* removed redundant quotes
2017-09-14 17:54:00 +02:00
Eldinnie
c5ab8930b9
Update appveyor.yml
...
small update
2017-09-09 23:53:49 +02:00
Jacob Bom
f5b746f1ba
Switch to codecov ( #819 )
...
* Switch to codecov
We've talked about it in the dev group for a while now, finally doing it
* Update coverage in readme
[ci skip]
2017-09-09 23:38:19 +02:00
Eldinnie
4fe4eea893
only run coverage for relevant test ( #818 )
...
* fix test troubles
* another try
* testing travis build?
* trying pytestmark
2017-09-09 23:37:07 +02:00
Yii Kuo Chong
e39b6abe61
Small documentation fix ( #815 )
...
Fixes #799
2017-09-07 22:55:06 +03:00
Pieter Schutz
6012fa65c1
Bump to version 8.0
2017-09-01 10:38:15 +02:00
Pieter Schutz
ef9dbacf7e
Fix last issues for new release
2017-09-01 10:38:04 +02:00
Eldinnie
e13cd58773
Fix sticker tests ( #807 )
...
* Fix sticker tests
Added flaky, timeout and xfails to the stickerset bot method tests.
* Make sure the first stickersettest worked before modifying in test 2
* some mor changes to make the deletion more stable
2017-09-01 08:47:34 +02:00
Jannes Höke
1f5311b473
catch exceptions in error handlerfor errors that happen during polling (2) ( #810 )
...
* catch exceptions in error handlerfor errors that happen during polling
* add tests for error handlers that raise exceptions
2017-09-01 08:46:21 +02:00
Eldinnie
eae139d3e9
remove de_json() ( #789 )
...
* remove de_json()
* Remove or rename obsolete tests
* fixes according to rc
2017-09-01 08:45:22 +02:00
Eldinnie
160ffed5ad
Remove Botan ( #776 )
2017-09-01 08:45:01 +02:00
Jacob Bom
8cda3f7a71
Turn on branch coverage ( #790 )
...
* Run pre commit hook tests on all platforms TEMPORARILY
* Use os.system instead of subprocess.call
* Turn on branch coverage
* Let's try this then
* More testing!
* Update test_meta.py
2017-09-01 08:44:45 +02:00
Jacob Bom
d7929a8de4
Test UserProfilePhotos ( #796 )
2017-09-01 08:44:26 +02:00
Noam Meltzer
e018445513
Documentation update to PEP ( #797 )
2017-09-01 08:43:08 +02:00
Eldinnie
4601eedf0f
Show status_updates in docs ( #798 )
...
* Show status_updates in docs
* Show status_updates in docs
2017-09-01 08:41:15 +02:00
Eldinnie
6cd0c14c02
Show what parameter/attribute is missing in test_offical ( #808 )
...
* Show what parameter/attribute is missing in test_offical
* Only run test_official on py3.6
Down from 3.5 and 3.6
2017-09-01 08:40:52 +02:00
Jeff
b6a0853896
Add Bot API 3.3 ( #806 )
...
* Bot API 3.3
* simpler helper methods (accept only custom names now)
attempt to fix circular import (not sure if its the correct way tho)
added helper methods into User object
* fix User objects in tests to contain is_bot required value
* fix User objects in tests to contain is_bot required value
* delete extra line that caused flake8 error
* fix swapped arguments
2017-09-01 08:40:05 +02:00
Noam Meltzer
16a49ec659
Remove DispatcherHandlerContinue + more unitests for dispatcher ( #792 )
...
The idea was nice, but it really complicated things for us and for the
user.
If a user wants to run more than one handler on an update, he can put
the handlers in different groups or he can have a single handler.
If a user wants to have multiple handlers in the same group which only
one of them should run on the update, he should use check_update().
Since we haven't released this code yet, there's no problem with
backward compatability.
2017-08-12 18:57:12 +03:00
Noam Meltzer
ee34d57521
Warn on small con_pool_size during custom initalization of Updater ( #793 )
...
fixes #787
2017-08-12 16:45:38 +03:00
Jacob Bom
5d7c6ad541
Switch to pytest + required fixes to code ( #788 )
...
Required fixes:
- CallbackQuery is now comparable.
- Message.effective_attachment, Message.photo,
Message.new_chat_members, Message.new_chat_photo &
Game.text_entitties semantic fixes - when they are not defined,
return an empty list.
- Docstring fix to Update class.
2017-08-12 00:58:41 +03:00