Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support sending messages | Trygve Aaberge | 2024-02-18 | 7 | -15/+66 |
| | |||||
* | Apply highlights in chat even when notify is none | Trygve Aaberge | 2024-02-18 | 3 | -1/+11 |
| | | | | | | | When notify is none, the buffer should not appear in the hotlist even for a highlight. However, when switching to the buffer, we want the line to be highlighted. To achieve this use a tag added to highlight_tags on the buffer. | ||||
* | Support muted conversations config | Trygve Aaberge | 2024-02-18 | 7 | -6/+115 |
| | |||||
* | Add some basic tests for SlackMessage._unfurl_refs | Trygve Aaberge | 2024-02-18 | 2 | -1/+195 |
| | |||||
* | Add some repr methods for useful debug printing | Trygve Aaberge | 2024-02-18 | 3 | -1/+10 |
| | |||||
* | Remove color suffix from color option | Trygve Aaberge | 2024-02-18 | 2 | -10/+10 |
| | | | | It's redundant to have this when the options are in the color section. | ||||
* | Support highlight notifications without rendering history | Trygve Aaberge | 2024-02-18 | 3 | -329/+383 |
| | |||||
* | Don't show disconnected status when connecting | Trygve Aaberge | 2024-02-18 | 1 | -2/+5 |
| | |||||
* | Update message when subscribed/unsubscribed | Trygve Aaberge | 2024-02-18 | 3 | -13/+46 |
| | | | | | | Pyright doesn't allow me to set subscribed/last_read in _message_json since some of the _message_json types don't have them, so had to use separate attributes. | ||||
* | Reload conversations on reconnect | Trygve Aaberge | 2024-02-18 | 5 | -30/+125 |
| | |||||
* | Reduce priority of input_text_display_with_cursor modifier | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | | | | | | | | | This may conflict with go.py if it has an equal or higher priority than that, which causes go.py to not show any buffers. So set it to a low priority so it doesn't conflict with anything else. Since this only prepends to the input string and doesn't read the string, I think it could have the lowest priority, but leave some room for lower priorities just in case another hook needs it. | ||||
* | Raise error if both error and response_code is missing | Trygve Aaberge | 2024-02-18 | 1 | -0/+9 |
| | | | | | I experienced a KeyError on response_code and not sure when that could happen, so log the output to check it if it happens again. | ||||
* | Add unread buffers to hotlist on connect | Trygve Aaberge | 2024-02-18 | 5 | -8/+29 |
| | |||||
* | Use notify_private tag in private buffers | Trygve Aaberge | 2024-02-18 | 2 | -7/+36 |
| | |||||
* | Mark as read when switching away from buffer | Trygve Aaberge | 2024-02-18 | 9 | -5/+117 |
| | |||||
* | Update message_json dict rather than replacing it | Trygve Aaberge | 2024-02-18 | 1 | -1/+3 |
| | | | | | In the message_replied event, the message json doesn't include all properties, so `subscribed` and others were removed when we replaced it. | ||||
* | Mark buffer as read when conversation/thread is marked | Trygve Aaberge | 2024-02-18 | 5 | -0/+102 |
| | |||||
* | Set unread marker after last read message | Trygve Aaberge | 2024-02-18 | 1 | -0/+2 |
| | |||||
* | Correctly tag unread messages from history | Trygve Aaberge | 2024-02-18 | 4 | -7/+28 |
| | | | | | | Now notify tags are set based on last_read so both read and unread messages gets the correct tags irregardless if they come from history or websocket. | ||||
* | Split users.info into multiple requests when necessary | Trygve Aaberge | 2024-02-18 | 2 | -2/+56 |
| | | | | | | If you try to request several thousand users in one request (not sure exactly what the limit is), it just returns HTTP 500, so split it into multiple requests with a max of 1000 users per request. | ||||
* | Get all reaction users in one request | Trygve Aaberge | 2024-02-18 | 2 | -2/+15 |
| | |||||
* | Support overriding display_reaction_nicks per buffer | Trygve Aaberge | 2024-02-18 | 3 | -2/+10 |
| | |||||
* | Prefix private conversations with & | Trygve Aaberge | 2024-02-18 | 1 | -2/+4 |
| | |||||
* | Open conversations in sorted order by name | Trygve Aaberge | 2024-02-18 | 2 | -6/+31 |
| | |||||
* | Add an option for what to replace space in nicks with | Trygve Aaberge | 2024-02-18 | 2 | -2/+11 |
| | |||||
* | Unfurl refs in text blocks | Trygve Aaberge | 2024-02-18 | 1 | -8/+18 |
| | |||||
* | Check that script loads in WeeChat in CI | Trygve Aaberge | 2024-02-18 | 2 | -14/+36 |
| | |||||
* | Build in CI and upload as artifact | Trygve Aaberge | 2024-02-18 | 2 | -1/+10 |
| | |||||
* | Update CI to use poetry and run the relevant checks | Trygve Aaberge | 2024-02-18 | 1 | -14/+6 |
| | |||||
* | Include cookie when making the websocket connection | Trygve Aaberge | 2024-02-18 | 1 | -0/+1 |
| | | | | Slack began to require this for xoxc tokens today. | ||||
* | Don't add to nicklist for ims | Trygve Aaberge | 2024-02-18 | 1 | -2/+4 |
| | |||||
* | If a message has a user, use that even though it's a bot_message | Trygve Aaberge | 2024-02-18 | 3 | -19/+19 |
| | | | | | | | | | Messages from Slackbot apparently have both a user and a bot_id, and sometimes have the subtype bot_message, other times not. However, the bot_id is B01 which gives bot_not_found when trying to look it up. I see that the web client shows it with the user profile, and doesn't show the message as a bot message, so do that here as well to match it and avoid the invalid bot_id. | ||||
* | Highlight messages with mentions | Trygve Aaberge | 2024-02-18 | 2 | -18/+82 |
| | |||||
* | Add/remove nicks from nicklist when messages are printed | Trygve Aaberge | 2024-02-18 | 3 | -14/+69 |
| | | | | | | This ensures that all nicks that have typed in the channel and still is in it are in the nicklist, so they are not colored as offline. It also removes nicks from the nicklist when they leave a channel. | ||||
* | Support typing notices for thread buffers | Trygve Aaberge | 2024-02-18 | 3 | -19/+36 |
| | |||||
* | Fetch thread replies when receiving thread message | Trygve Aaberge | 2024-02-18 | 3 | -20/+35 |
| | | | | | | This is done so we can know if we should include a message hash when completing thread hashes, and it also has the benefit of eliminating the loading time when opening thread buffers. | ||||
* | Make sure thread prefix is rendered even though parent isn't fetched | Trygve Aaberge | 2024-02-18 | 2 | -6/+9 |
| | |||||
* | Add types for broadcast messages from rtm | Trygve Aaberge | 2024-02-18 | 3 | -6/+19 |
| | |||||
* | Support opening a debug buffer with all ws messages | Trygve Aaberge | 2024-02-18 | 2 | -2/+50 |
| | |||||
* | Support thread hash completion | Trygve Aaberge | 2024-02-18 | 3 | -10/+163 |
| | |||||
* | Support thread buffers | Trygve Aaberge | 2024-02-18 | 8 | -304/+525 |
| | |||||
* | Fetch replies in conversation when display_thread_replies is on | Trygve Aaberge | 2024-02-18 | 3 | -9/+58 |
| | |||||
* | Remove own nick from mpim name and sort names | Trygve Aaberge | 2024-02-18 | 1 | -2/+6 |
| | |||||
* | Unescape &, < and > in message text field | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | |||||
* | Show number of reactions also when display_reaction_nicks is on | Trygve Aaberge | 2024-02-18 | 1 | -2/+4 |
| | |||||
* | Only take in limit, not pages in api methods | Trygve Aaberge | 2024-02-18 | 2 | -14/+13 |
| | | | | | | Instead of having to supply both a limit and the number of pages, change it to only take in a limit, and determine the number of pages automatically. | ||||
* | Use hook_url for http requests when available | Trygve Aaberge | 2024-02-18 | 5 | -60/+218 |
| | |||||
* | Use None instead of 0 for missing http code in HttpError | Trygve Aaberge | 2024-02-18 | 3 | -5/+5 |
| | |||||
* | Create a readonly messages property instead of get_message | Trygve Aaberge | 2024-02-18 | 2 | -10/+10 |
| | |||||
* | Render tombstone messages as deleted messages | Trygve Aaberge | 2024-02-18 | 1 | -10/+11 |
| |