Bibo-Joshi
d4b7a2b3e9
Drop pre-commit
Dependencies from requirements-dev.txt
( #3120 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-07-09 23:12:07 +02:00
dependabot[bot]
3bfd58dfd9
Bump actions/setup-python
from 3 to 4 ( #3131 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 23:21:20 +02:00
Bibo-Joshi
11007c1715
Documentation Improvements ( #3010 , #3007 , #3012 , #3067 , #3081 , #3082 )
...
Co-authored-by: KnorpelSenf <shtrog@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Poolitzer <github@poolitzer.eu>
Co-authored-by: Adi <71205439+Aditya-Rajgor@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 17:08:54 +02:00
Harshil
3013870c1f
Add Version Check to Examples ( #3036 )
2022-05-15 14:08:40 +02:00
dependabot[bot]
72e357a780
Bump dessant/lock-threads from 2.0.1 to 3.0.0 ( #2998 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-12 19:54:59 +02:00
Bibo-Joshi
a10bf3241e
Documentation Fixes & Improvements ( #2969 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-06 18:22:36 +02:00
Harshil
335772568f
Update and Expand Tests & pre-commit Settings and Improve Code Quality ( #2925 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:22:34 +02:00
Bibo-Joshi
a491eead5a
Update Dependency Policy ( #2958 )
2022-05-06 18:22:28 +02:00
Poolitzer
d4e1a19ab1
adding permissions to workflow ( #2984 )
2022-05-06 18:21:36 +02:00
Bibo-Joshi
3c8953cc5a
Add Python 3.10 to Test Suite ( #2968 )
2022-05-06 18:19:15 +02:00
Bibo-Joshi
42eaa67fd5
Switch to asyncio
( #2731 )
...
Co-authored-by: tsnoam <tsnoam@gmail.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
2022-05-06 18:19:15 +02:00
Bibo-Joshi
7b37f9a6fa
Documentation Improvements ( #2856 , #2798 , #2854 , #2841 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-06 18:19:15 +02:00
murugu-21
778eadbe7c
Replace git.io Links ( #2872 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:19:15 +02:00
Bibo-Joshi
ced58b790e
Documentation Improvements ( #2693 , #2691 , #2739 )
2022-05-06 18:19:14 +02:00
Poolitzer
b852a6866d
Refactor Warnings in ConversationHandler ( #2755 , #2784 )
2022-05-06 18:19:13 +02:00
Bibo-Joshi
0e60d56f53
Introduce Enums for telegram.constants ( #2708 )
2022-05-06 18:19:13 +02:00
Kenneth Cheo
5275c45199
Mark Internal Modules As Private ( #2687 )
...
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:19:12 +02:00
Poolitzer
51488bb4be
Update Notification Workflows ( #2695 )
2022-05-06 18:19:11 +02:00
Bibo-Joshi
c440c255a7
Clear Up Import Policy ( #2671 )
...
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-06 18:19:11 +02:00
Harshil
b4ea5557ac
Remove __dict__
from __slots__
and drop Python 3.6 ( #2619 , #2636 )
2022-05-06 18:19:10 +02:00
Poolitzer
babcc2a448
Add Custom pytest Marker to Ease Development ( #2628 )
...
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:19:09 +02:00
Poolitzer
97a585f240
Add Code Comment Guidelines to Contribution Guide ( #2612 )
...
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2022-05-06 18:19:09 +02:00
Bibo-Joshi
2f6c4075c8
Adjust Automated Locking of Inactive Closed Threads ( #2775 )
2021-11-10 21:16:59 +01:00
Bibo-Joshi
8b3ea5ce56
Add ChatJoinRequest(Handler) to Docs ( #2771 )
2021-11-08 19:56:57 +01:00
Abshar Mohammed Aslam
bc7c422a11
Create Issue Template Forms ( #2689 )
2021-10-03 20:08:04 +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
Bibo-Joshi
7d893fd04b
Doc Fixes ( #2404 )
...
* Improve some badges for PTB-Raw
* doc fix for add_error_handler
* Some rendering
* Bump sphinx dependency
* Change signature annotation setting
* fix: chat_id can be string, message_id only int
* feat: add RTD link to documentation
* improving sender chat docstring (#2412 )
* fix: improving sender chat docstring
also adding a note to a weird edge case
* fix: words being hard
* Add note on donations
* typo
* typo in User.get_profile_pictures docstrings
* Fix: meth, not attr for meth, not attr
* filters + inlinequery doc fix
* Bump versions, update RTD config file
* Try fix build
* Revert "fix: chat_id can be string, message_id only int"
This reverts commit ba04e5aa
* Add Starry & Harshil to credits
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-03-14 16:46:37 +01:00
Poolitzer
ac02bce109
API 5.1 ( #2424 )
...
* Feat: New invite links
* Fix: doc strings
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
* new dice, new admin privilege, revoke_messages, update and fix some docs
* add missing param to shortcut
* Add ChatMemberUpdated
* Add voicechat related objects
Signed-off-by: starry69 <starry369126@outlook.com>
* add versionadd tags
Signed-off-by: starry69 <starry369126@outlook.com>
* Fix filter tests
* Update tg.Update
* ChatMemberHandler
* Add versioning directives
* add can_manage_voice_chats attr and fix docs
Signed-off-by: starry69 <starry369126@outlook.com>
* fix chat shortcut
Signed-off-by: starry69 <starry369126@outlook.com>
* address review
* MADTC
* Chat.message_auto_delete_time
* Some doc fixes
* address review
Signed-off-by: starry69 <starry369126@outlook.com>
* welp
Signed-off-by: starry69 <starry369126@outlook.com>
* Add voicechat related filters
Signed-off-by: starry69 <starry369126@outlook.com>
* Fix: Addressing review
change place of version adding, added obj:True as doc string, changing how member limit is initiated
* feat: adding chat shortcuts for invite links
* fix: changing equality of chatinviteobjects
* Non-test comments
* Some test fixes
* A bit more tests
* Bump API version in both readmes
* Increase coverage
* Add Bot API Version in telegram.constants (#2429 )
* add bot api version in constants
Signed-off-by: starry69 <starry369126@outlook.com>
* addressing review
Signed-off-by: starry69 <starry369126@outlook.com>
* add versioning directive
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
* pre-commit & coverage
Co-authored-by: Bibo-Joshi <hinrich.mahler@freenet.de>
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
Co-authored-by: starry69 <starry369126@outlook.com>
2021-03-14 16:41:35 +01:00
Bibo-Joshi
3a9a0ab96d
Update pre-commit Settings ( #2415 )
...
Co-authored-by: Harshil <ilovebhagwan@gmail.com>
2021-03-13 16:21:03 +01:00
Bibo-Joshi
2a4a0d0ccd
Refactor Defaults Integration ( #2363 )
...
* Change default handling, update signatures, get existing tests to pass.
* Try running tests on ubuntu 18.04
* Roll back
* Rework check_shortcut_call tests
* Further improve check_shortcut_call tests
* Start on defaults-checks for shortcuts, get it working for test_message
* Add check_shortcut_defaults to all other shortcut tests
* Some fine tuning
* Add defaults checking for bot methods
* Missing tests for TestCallbackQuery
* Test edit_message_media with defaults & some comments
* Fix cryptography requirement
* drop debug prints
* Remove debug prints
* Another try
* Try to fix coverage & logs
* Rearrange test order
* increase coverage
* Try to fix coverage reports
* address review
* Adapt tests like in #2386
* fix CI
* fix CI
2021-02-19 19:07:48 +01:00
Bibo-Joshi
a34f0b9bee
Make cryptography Dependency Optional & Refactor Some Tests ( #2386 )
...
* Make cryptography optional
* Try fixing CI
* Try some more
* Update pytest, mypy & pyupgrade, refactor test_meta, hope that things start to work
* Fix filterwarnings
* Mama mia! Here we go again!
* Add stupid debug prints
* A new hope
2021-02-13 22:07:37 +01:00
Bibo-Joshi
25506f131d
python-telegram-bot-raw ( #2324 )
...
* POC
* Remove decorator dependency
* Rework setup.py & build, add separate readme
* Move utils -> ext.utils
* Move pytz dep to ext
* Try fixing timing stuff
* Add 'Typed' classifier
* Update README_RAW.rst
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
* Some wording
* Deprecation warnings for moved tg.utils
* Tests for Promise
* Test time-helpers without pytz
* Try fixing time-helper tests
* Merge master
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-01-30 14:15:39 +01:00
Bibo-Joshi
7a3fd83570
Add PR Template ( #2299 )
...
* Add PR template
* Apply suggestions from code review
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
* Some more
* reformulate
* Apply suggestions from code review
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
Co-authored-by: Poolitzer <25934244+Poolitzer@users.noreply.github.com>
2021-01-16 13:57:25 +01:00
Bibo-Joshi
9ada2a7cca
Drop Nightly Tests & Update Badges ( #2323 )
2021-01-16 11:27:06 +01:00
Bibo-Joshi
2788191657
Add macOS to Test Matrix ( #2266 )
...
* Try testing on macos
* Skip JobQueue tests on macos
* Try stabilizing tests
* Try harder
2020-12-30 15:39:38 +01:00
Poolitzer
2d7a974b8f
Start Using Versioning Directives in Docs ( #2252 )
...
* adding versioning in sphinx, closing #2250
* adding version requirement to contributors doc
2020-12-17 19:05:12 +01:00
Bibo-Joshi
9ae48fecfe
Add Python 3.9 to Test Matrix ( #2132 )
...
* Add Py 3.9 to tests
* update setup-python action
2020-10-11 11:47:19 +02:00
Bibo-Joshi
6af6648509
Switch Codecov to GitHub Action ( #2127 )
2020-10-10 10:50:19 +02:00
Bibo-Joshi
264b2c9c72
Switch Code Formatting to Black ( #2122 )
...
* Swtich code formatting to Black
* Update docs
* Fix tests
* TRy fixing pre-commit
2020-10-09 17:22:07 +02:00
Hinrich Mahler
5fd7606084
Type Hinting ( #1920 )
2020-10-07 20:30:41 +02:00
Bibo-Joshi
19a4f9e53a
Refactor JobQueue ( #1981 )
...
* First go on refactoring JobQueue
* Temporarily enable tests for the v13 branch
* Work on tests
* Temporarily enable tests for the v13 branch
* Increase coverage
* Remove JobQueue.tick()
* Address review
* Temporarily enable tests for the v13 branch
* Address review
* Dispatch errors
* Fix handling of job_kwargs
* Remove possibility to pass a Bot to JobQueue
2020-10-07 20:30:41 +02:00
Bibo-Joshi
897a20d758
Link Ask-Right Wiki Page in Question Template ( #2090 )
...
* Link ask-right wiki page in question template
* typo
2020-09-16 20:53:48 +02:00
Bibo-Joshi
3304cc5c90
Fix Lock-Bot configuration ( #2053 )
...
* Run lock bot twice a day and don't give a reason for locking
* Fix indentation
* Fix invalid time
2020-08-18 20:52:43 +02:00
Bibo-Joshi
9105d83d37
Refine Lock-Bot ( #2052 )
...
* Run lock bot twice a day and don't give a reason for locking
* Fix indentation
2020-08-18 20:43:27 +02:00
Bibo-Joshi
b6b42b2043
Switch from Lock-Bot to GH Actions ( #2049 )
2020-08-16 10:43:30 +02:00
Bibo-Joshi
f857e1c23b
Add Lock-Bot ( #2048 )
2020-08-14 12:57:18 +02:00
Bibo-Joshi
b6dec118c1
Update contribution guide and stale bot ( #1937 )
...
* * Remove developers Mail from contrib guide
* stricter settings for stale bot
* Remove link, too ...
* Link to TG Group instead
2020-05-02 22:24:12 +02:00
Bibo-Joshi
8427346a0d
Add supegroup for each test bot ( #1919 )
2020-05-01 21:29:18 +03:00