Hinrich Mahler
b818dadbad
Bump version to v13.14
2022-09-04 09:58:25 +02:00
Poolitzer
dca596dd3d
API 6.2 ( #3203 )
2022-09-04 09:15:35 +02:00
Bibo-Joshi
d0c1a957c9
Documentation Improvements ( #3144 , #3140 , #3164 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Javadz <zahiri1994@gmail.com>
2022-09-04 09:14:56 +02:00
Bibo-Joshi
2ae3d4d63c
Pin tornado
to Version 6.1 ( #3145 )
2022-07-09 09:25:01 +02:00
Hinrich Mahler
132a3b203d
Bump version to v13.13
2022-06-28 19:54:45 +02:00
Poolitzer
debe86aea2
API 6.1 ( #3117 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-06-28 19:34:12 +02:00
Poolitzer
7a7465e8e2
Fix: python_requires ammending
2022-06-12 15:35:58 +02:00
Poolitzer
977c54e693
Fix: Making clear that we drop python 3.6
2022-06-12 15:27:50 +02:00
Hinrich Mahler
a769861b32
Bump version to v13.11
2022-05-26 15:15:40 +02:00
Bibo-Joshi
0a00a821cb
Documentation Improvements ( #3029 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Sukka <isukkaw@gmail.com>
2022-05-26 11:10:45 +02:00
Poolitzer
ef2a0527fe
API 6.0 ( #3027 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-25 17:40:01 +02:00
Hinrich Mahler
92cb6f3ae8
Bump version to v13.11
2022-02-02 21:16:36 +01:00
Harshil
a35ecf4065
API 5.7 ( #2881 )
2022-02-02 21:05:46 +01:00
Hinrich Mahler
ade1529986
Bump version to v13.10
2022-01-03 08:36:27 +01:00
Harshil
e6d9f3d057
Update Copyright to 2022 ( #2836 )
2022-01-03 08:15:18 +01:00
Harshil
98bf378c6e
API 5.6 ( #2835 )
2022-01-03 08:13:33 +01:00
Poolitzer
c4b413ef9e
Update Documentation of BotCommand ( #2820 )
2021-12-17 16:12:34 +01:00
Hinrich Mahler
a9dd2b1746
Bump version to v13.9
2021-12-11 15:44:21 +01:00
Bibo-Joshi
cb95868c4a
Api 5.5 ( #2809 )
...
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-12-11 15:21:56 +01:00
Bibo-Joshi
2f6c4075c8
Adjust Automated Locking of Inactive Closed Threads ( #2775 )
2021-11-10 21:16:59 +01:00
Hinrich Mahler
c53dc7dae4
Bump version to v13.8.1
2021-11-08 20:09:23 +01:00
Bibo-Joshi
8b3ea5ce56
Add ChatJoinRequest(Handler) to Docs ( #2771 )
2021-11-08 19:56:57 +01:00
Hinrich Mahler
51a4a6664c
Bump version to v13.8
2021-11-08 19:12:10 +01:00
Bibo-Joshi
e4dc80f41d
API 5.4 ( #2767 )
...
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
2021-11-08 19:02:20 +01:00
Abshar Mohammed Aslam
bc7c422a11
Create Issue Template Forms ( #2689 )
2021-10-03 20:08:04 +02:00
Yan
c3e3bb77e5
Fix camelCase Functions in ExtBot ( #2659 )
...
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2021-09-15 17:07:11 +02:00
DonalDuck004
a25c76e6a3
Fix Empty Captions not Being Passed by Bot.copy_message ( #2651 )
2021-09-09 07:50:04 +02:00
Mehdi
0c5085022c
Fix Setting Thumbs When Uploading A Single File ( #2583 )
...
* Update request.py
If the media has a thumb, we also need to attach it to the data.
* Add test
* Editing syntax
* Debug test
* update request.py
* Update test_inputmedia.py
* Update test_inputmedia.py
* Update test_inputmedia.py
Fix test.
* Update AUTHORS.rst
Adding my name!
* Update AUTHORS.rst
2021-08-11 08:34:47 +02:00
Bibo-Joshi
1fdaaac809
Fix Bug in BasePersistence.insert/replace_bot for Objects with __dict__ not in __slots__ ( #2603 )
...
* More special cases with slots
* Fix failing tests
2021-07-24 17:17:25 +02:00
Hinrich Mahler
bcec6f03cb
Bump version to v13.7
2021-07-01 18:03:38 +02:00
Bibo-Joshi
ed147813ab
API 5.3 ( #2572 )
...
* BotCommandScopes
* pre-commit
* typo
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
* rename kickChatMember & getChatMembersCount method
Signed-off-by: starry69 <starry369126@outlook.com>
* add `language_code` and `scope` to `get/set_my_commands`
and add `delete_my_commands()`
* add `input_field_placeholder` to replykeyboardmarkup.py and forcereply.py
also improved/fixed docs along the way
* showcase `input_field_placeholder` in conversationbot.py
* review 1
'i will not go away' has gone away 😢
* deprecate `Bot.commands` and make sure its only used for default scope
* review 2 (use constants for scope)
* Review
Signed-off-by: starry69 <starry369126@outlook.com>
* doc updates
* New ChatMember classes
Signed-off-by: starry69 <starry369126@outlook.com>
* Address review
Signed-off-by: starry69 <starry369126@outlook.com>
* add versionadded tags again
Signed-off-by: starry69 <starry369126@outlook.com>
* Improve tests & add a deprecation note to ChatMember
* test_official
* Documentation tweaks
* Bump bot api version number
* but bot
* Rename chat shortcuts
Signed-off-by: starry69 <starry369126@outlook.com>
* deepsource
Signed-off-by: starry69 <starry369126@outlook.com>
* add missing slot in botcommandscope & missing slot tests
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: starry69 <starry369126@outlook.com>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-07-01 17:45:19 +02:00
Bibo-Joshi
4315225642
Type Hinting Fixes ( #2552 )
...
* Fixe overload signatures for ContextTypes
* more fixing for contexttypes
2021-07-01 17:43:59 +02:00
Bibo-Joshi
a75dffd4a8
Doc Fixes ( #2551 )
...
* Document ExtBot.insert_callbakc_data
* fix duplicate object descriptions
Fixed by removing `:undoc-members:` in the affected classes.
Closes https://github.com/sphinx-doc/sphinx/issues/9294
* fix incorrect shortcut docstrings in user.py
* fix object type in forcereply.py
* fix discuss bot link in loginurl.py
* document that message is None for (my)_chat_member
in `effective_message`
* numerous persistence rendering fixes
* move docstring from property setter to property
* Revert "fix object type in forcereply.py"
This reverts commit 012663e0c3
.
* Document comparison of jobs
* Update min python version to 3.6.8
* remove old note from chat.py + some return msg fixes
* fix colon placement
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-07-01 17:34:23 +02:00
Harshil
fce2993d21
Improve Deprecation Warning for __slots__ ( #2574 )
...
* add stacklevel to `set_new_attribute_deprecated`
* detail warning message and change stacklevel
2021-06-29 18:10:08 +02:00
Harshil
9aec8deec6
Stabilize CI ( #2575 )
...
* attempt 'surely this one' on fixing test_idle and test_depr_warnings
* remove unused filterwarnings
2021-06-26 22:19:59 +02:00
Bibo-Joshi
ec3026673b
Fix Coverage Configuration ( #2571 )
...
* remove possibly malicious line from config
* exclude overload signatures from coverage
2021-06-25 09:02:46 +02:00
zeroone2numeral2
105f1ccdb5
Better Exception-Handling for BasePersistence.replace/insert_bot ( #2564 )
...
* Catch exceptions raised while copying __dict__/__slots__ in BasePersistence.replace/insert_bot()
Also updated the docstrings to reflect the changes in behavior with unexpected errors
* Tests: added to CustomClass immutable object that would trigger a setattr() exception
* Tests: added new uuid_ property to own CustomClass methods
* Updated AUTHORS.rst
* Revert "Tests: added new uuid_ property to own CustomClass methods"
This reverts commit 9e67463cf7
.
* Revert "Tests: added to CustomClass immutable object that would trigger a setattr() exception"
This reverts commit 1c258304
* Removed unneeded Exception cast to string
f-string will perform the string-ification on their own
* Removed another unneeded Exception cast to string
* Added test to parse unparsable objects in __dict__ or __slots__
* Applied black and pylint style suggestions
All lint tests passed
* Fix typo
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-06-20 22:14:05 +02:00
Bibo-Joshi
52ce03929b
Fix Bug in BasePersistence.insert/replace_bot for Objects with __dict__ in their slots ( #2561 )
...
* Handle objects with __dict__ in __slots__
* Rework
2021-06-13 15:07:40 +02:00
Bibo-Joshi
ac4768155f
Remove Incorrect Warning About Defaults and ExtBot ( #2553 )
...
* Don't throw warning when passing defaults to ExtBot
* Review
2021-06-10 12:03:44 +02:00
Harshil
d08172b4b0
Remove Deprecated pass_args from Deeplinking Example ( #2550 )
2021-06-07 09:05:17 +02:00
Hinrich Mahler
e982a5a567
Bump version to v13.6
2021-06-06 12:28:01 +02:00
Bibo-Joshi
cf4d3cae01
Doc Fixes ( #2495 )
...
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Bas ten Berge <bas+github@tenberge-ict.nl>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-06-06 12:16:23 +02:00
Bibo-Joshi
8531a7a40c
Arbitrary callback_data ( #1844 )
2021-06-06 11:48:48 +02:00
Bibo-Joshi
fce7cc903c
Add ContextTypes & BasePersistence.refresh_user/chat/bot_data ( #2262 )
2021-06-06 10:37:53 +02:00
GauthamramRavichandran
5da1dd7ce9
Add max_connections Parameter to Updater.start_webhook ( #2547 )
...
* Include max_connections args
* Update docs & add test
Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
2021-06-06 09:27:45 +02:00
Stɑrry Shivɑm
46cdeb495a
Fix for Promise.done_callback ( #2544 )
...
* Don't call done_cb on exceptions
Signed-off-by: starry69 <starry369126@outlook.com>
* improve docs
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
* revert black
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
2021-06-05 17:08:45 +02:00
Bibo-Joshi
653691fafb
Improve Slot Tests ( #2541 )
2021-05-30 20:30:26 +02:00
Harshil
92ff6a8e2b
Add __slots__ ( #2345 )
...
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <hinrich.mahler@freenet.de>
2021-05-29 16:18:16 +02:00
Bibo-Joshi
cc43aef64b
Fix Test Failing Due To Telegram Updates ( #2537 )
...
* Update TestPhoto
* try to fix test_idle again...
* fix test_send_game due to photo size changes...
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-05-28 22:24:43 +02:00
Bibo-Joshi
e2c6d60721
Improve Code Quality ( #2536 )
...
* Start fixing stuff
* More docstrings
* stabilize test_idle
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-05-27 20:34:58 +02:00