- Notifications
You must be signed in to change notification settings - Fork5.7k
Roles#1789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Roles#1789
Changes fromall commits
Commits
Show all changes
22 commits Select commitHold shift + click to select a range
b9d271a
Make Filters.user attrs mutable
Bibo-Joshi8b9c977
Add test_filters_user_empty_args
Bibo-Joshi67ac027
Add test_filters_user_empty_args
Bibo-Joshicc7ead6
fix locks
Bibo-Joshieab517f
Make codecov happy
Bibo-Joshicdf202a
First go on roles
Bibo-Joshi242b9ce
Make user_ids and usernames sets
Bibo-Joshi4e08848
Adjust equality for roles, override deepcopy
Bibo-Joshi9b0658f
Improve equality handling
Bibo-Joshi41eb8fb
Add JSON encoding to Roles
Bibo-Joshi2b23091
Allow chat ids in role
Bibo-Joshi0b8b346
Add set_bot to roles
Bibo-Joshif769b13
Add Roles to dispatcher and persistence
Bibo-Joshia4ed899
Add tests to messagehandler
Bibo-Joshi6453074
Improve negation of roles, elaborate docs
Bibo-Joshi0cc09c3
Readd child_roles, improve equals() and hierarchy, adjust tests
f3c98e9
cache chat admins and creators
Bibo-Joshicf4bee9
Improve codecoverage
Bibo-Joshi402916c
Enhance ChatAdmins/CreatorRole
Bibo-Joshi4e942fb
Roles for PollAnswerHandler
d87ee38
Make Codacy happier
7c58a01
Merge branch 'master' into roles
Bibo-JoshiFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
6 changes: 6 additions & 0 deletionsdocs/source/telegram.ext.chatadminsrole.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
telegram.ext.ChatAdminsRole | ||
=========================== | ||
.. autoclass:: telegram.ext.ChatAdminsRole | ||
:members: | ||
:show-inheritance: |
6 changes: 6 additions & 0 deletionsdocs/source/telegram.ext.chatcreatorrole.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
telegram.ext.ChatCreatorRole | ||
============================ | ||
.. autoclass:: telegram.ext.ChatCreatorRole | ||
:members: | ||
:show-inheritance: |
6 changes: 6 additions & 0 deletionsdocs/source/telegram.ext.role.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
telegram.ext.Role | ||
================= | ||
.. autoclass:: telegram.ext.Role | ||
:members: | ||
:show-inheritance: |
6 changes: 6 additions & 0 deletionsdocs/source/telegram.ext.roles.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
telegram.ext.Roles | ||
================== | ||
.. autoclass:: telegram.ext.Roles | ||
:members: | ||
:show-inheritance: |
14 changes: 13 additions & 1 deletiondocs/source/telegram.ext.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletiontelegram/ext/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
32 changes: 31 additions & 1 deletiontelegram/ext/basepersistence.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletionstelegram/ext/callbackcontext.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletionstelegram/ext/callbackqueryhandler.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletionstelegram/ext/choseninlineresulthandler.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
22 changes: 18 additions & 4 deletionstelegram/ext/commandhandler.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletiontelegram/ext/conversationhandler.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.