Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some mypy specific type issues | Trygve Aaberge | 2024-02-18 | 6 | -21/+28 |
| | |||||
* | Make conversation.name an async function so it always works | Trygve Aaberge | 2024-02-18 | 2 | -48/+67 |
| | |||||
* | Move SlackErrorResponse into slack_common.pyi | Trygve Aaberge | 2024-02-18 | 13 | -20/+17 |
| | |||||
* | Open all conversation types on start | Trygve Aaberge | 2024-02-18 | 7 | -33/+124 |
| | |||||
* | Support unfurling special mentions (@here/@channel/@everyone) | Trygve Aaberge | 2024-02-18 | 1 | -0/+5 |
| | |||||
* | Support unfurling channels | Trygve Aaberge | 2024-02-18 | 2 | -3/+29 |
| | |||||
* | Simplify SlackMessage._unfurl_refs | Trygve Aaberge | 2024-02-18 | 1 | -47/+22 |
| | |||||
* | Use user group fallback name | Trygve Aaberge | 2024-02-18 | 1 | -3/+7 |
| | |||||
* | Handle user group fetch error | Trygve Aaberge | 2024-02-18 | 3 | -5/+21 |
| | |||||
* | Print error when fetching users/usergroups fail | Trygve Aaberge | 2024-02-18 | 2 | -0/+13 |
| | |||||
* | Improve error printing | Trygve Aaberge | 2024-02-18 | 5 | -15/+37 |
| | |||||
* | Simplify unfurl methods | Trygve Aaberge | 2024-02-18 | 1 | -10/+8 |
| | |||||
* | Support unfurling usergroup names | Trygve Aaberge | 2024-02-18 | 9 | -12/+285 |
| | |||||
* | Remove unnecessary _api properties | Trygve Aaberge | 2024-02-18 | 1 | -9/+1 |
| | |||||
* | Add dev dependencies typing-extensions and pyright | Trygve Aaberge | 2024-02-18 | 2 | -1/+52 |
| | |||||
* | Update dependencies | Trygve Aaberge | 2024-02-18 | 1 | -158/+138 |
| | |||||
* | Fix compatibility with Python 3.7 | Trygve Aaberge | 2024-02-18 | 10 | -15/+21 |
| | |||||
* | Fix compatibility with Python 3.8 | Trygve Aaberge | 2024-02-18 | 2 | -4/+19 |
| | |||||
* | Initial work for matching usergroups | Trygve Aaberge | 2024-02-18 | 2 | -4/+30 |
| | | | | | Doesn't get info/name yet. Apparently there's no API method for getting info for one usergroup... | ||||
* | Remove unnecessary id parameters | Trygve Aaberge | 2024-02-18 | 2 | -17/+11 |
| | |||||
* | Create common parent class for SlackUsers and SlackBots | Trygve Aaberge | 2024-02-18 | 1 | -33/+49 |
| | |||||
* | Color user mentions | Trygve Aaberge | 2024-02-18 | 2 | -1/+16 |
| | |||||
* | Include options in HttpError | Trygve Aaberge | 2024-02-18 | 2 | -4/+12 |
| | |||||
* | Fix task exception handling | Trygve Aaberge | 2024-02-18 | 1 | -2/+9 |
| | |||||
* | Fallback to using @<user_id> if user is not found in unfurl_refs | Trygve Aaberge | 2024-02-18 | 1 | -3/+5 |
| | | | | This is what the official web client does. | ||||
* | Only print/raise errors for finished tasks | Trygve Aaberge | 2024-02-18 | 1 | -12/+21 |
| | |||||
* | Use BaseException instead of Exception in task.py | Trygve Aaberge | 2024-02-18 | 1 | -2/+2 |
| | |||||
* | Support return_exceptions in gather | Trygve Aaberge | 2024-02-18 | 1 | -6/+51 |
| | |||||
* | Make sure tasks raising exceptions are finished | Trygve Aaberge | 2024-02-18 | 1 | -21/+27 |
| | | | | | | When a task raises an execution we have to make sure to continue the tasks that are waiting on it, and to re-raise this exception in the __await__ so it propagates up. | ||||
* | Add a /slack debug command | Trygve Aaberge | 2024-02-18 | 1 | -0/+16 |
| | |||||
* | Simplify SlackUser/Bot by using classmethod to create | Trygve Aaberge | 2024-02-18 | 2 | -50/+19 |
| | |||||
* | Add suffix after completion word | Trygve Aaberge | 2024-02-18 | 1 | -6/+24 |
| | |||||
* | Fix bugs when changing input while completing | Trygve Aaberge | 2024-02-18 | 3 | -14/+32 |
| | |||||
* | Combine complete_next and complete_previous | Trygve Aaberge | 2024-02-18 | 2 | -33/+26 |
| | |||||
* | Add support for completing nicks | Trygve Aaberge | 2024-02-18 | 9 | -15/+166 |
| | | | | | | | This uses Slacks edgeapi which only works for session tokens, but has the benefit of being able to complete nicks without all users being loaded. So need to add some completion for the loaded users for when using OAuth tokens as well. | ||||
* | Print error message on http/api error | Trygve Aaberge | 2024-02-18 | 8 | -71/+123 |
| | |||||
* | Send params as post body instead of query params | Trygve Aaberge | 2024-02-18 | 1 | -2/+4 |
| | |||||
* | Don't fetch same users/bots multiple times | Trygve Aaberge | 2024-02-18 | 1 | -6/+10 |
| | |||||
* | Use Iterable instead of List in parameters | Trygve Aaberge | 2024-02-18 | 2 | -8/+8 |
| | |||||
* | Fetch multiple users/bots in the same request | Trygve Aaberge | 2024-02-18 | 7 | -40/+167 |
| | | | | | | | Turns out you can query for multiple users/bots with users.info/bots.info even though it's not documented. Use that to query for multiple users/bots in one request, instead of making tons of requests. | ||||
* | Use setter instead of __setattr__ for is_connected | Trygve Aaberge | 2024-02-18 | 1 | -5/+8 |
| | |||||
* | Fix async functions returning None and without await never finishing | Trygve Aaberge | 2024-02-18 | 2 | -6/+36 |
| | |||||
* | Add missing final decorators | Trygve Aaberge | 2024-02-18 | 2 | -1/+7 |
| | |||||
* | Combine error response types | Trygve Aaberge | 2024-02-18 | 7 | -53/+33 |
| | |||||
* | Change SlackUsers to singular since it only concerns one user | Trygve Aaberge | 2024-02-18 | 4 | -20/+20 |
| | |||||
* | Connect to all workspaces concurrently | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | |||||
* | Make methods work for callbacks | Trygve Aaberge | 2024-02-18 | 4 | -7/+13 |
| | |||||
* | Use full buffer names | Trygve Aaberge | 2024-02-18 | 1 | -1/+4 |
| | |||||
* | Combine SlackUsers and SlackBots | Trygve Aaberge | 2024-02-18 | 1 | -24/+12 |
| | |||||
* | Show nick suffix for bots | Trygve Aaberge | 2024-02-18 | 7 | -11/+121 |
| |