Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bots with multiple names only being added once to nicklist | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | | | | | If a bot uses multiple nicks, we have to add all of them to the nicklist, so none of the nicks are shown as offline. | ||||
* | Don't include external nick suffix when completing | Trygve Aaberge | 2024-02-18 | 1 | -4/+4 |
| | | | | | Mostly because it's a bit simpler not having to handle this suffix when linkifying text. | ||||
* | Refactor nick handling | Trygve Aaberge | 2024-02-18 | 1 | -6/+7 |
| | |||||
* | Handle messages without a user field | Trygve Aaberge | 2024-02-18 | 1 | -2/+2 |
| | | | | | | This can happen in channels shared between workspaces if one of the workspaces are removed. Then messages from users in that workspace will not have a user field anymore, but instead a user_profile field. | ||||
* | Fix bugs with /slack reply command | Trygve Aaberge | 2024-02-18 | 1 | -7/+3 |
| | |||||
* | Perform nick completion in last spoken order | Trygve Aaberge | 2024-02-18 | 1 | -11/+45 |
| | | | | | | | | | | | | | | | This makes it complete nicks that spoke last first, and then nicks that haven't spoken, and lastly yourself. This is the same as the IRC plugin does by default. It adds completion of nicks both with and without @, as the default completion of nicks from the nicklist is just alphabetical. Completion of workspace nicks is removed for now. It only completed workspace nicks that are already loaded, so it might be better to complete workspace nicks in the `input_complete_cb` function instead (since functions using `completion_list_add` can't be async, only `input_complete_cb` can). | ||||
* | Add command /slack reply | Trygve Aaberge | 2024-02-18 | 1 | -0/+21 |
| | |||||
* | Set options value to True if it's set without a value | Trygve Aaberge | 2024-02-18 | 1 | -47/+27 |
| | | | | | | | It became very confusing to use None to represent it being set without a value, so use True instead. If it has a value it will always be a string, so you can still distinguish between an option without a value and an option with a truthy value. | ||||
* | Format all files with ruff | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | |||||
* | Support completion of all workspace nicks | Trygve Aaberge | 2024-02-18 | 1 | -3/+18 |
| | |||||
* | Fix compatibility with WeeChat 2.9 | Trygve Aaberge | 2024-02-18 | 1 | -5/+11 |
| | |||||
* | Add completion of emoji names | Trygve Aaberge | 2024-02-18 | 1 | -1/+37 |
| | |||||
* | Add completion for conversation names | Trygve Aaberge | 2024-02-18 | 1 | -8/+17 |
| | |||||
* | Support completing @nicks in current buffer | Trygve Aaberge | 2024-02-18 | 1 | -3/+27 |
| | | | | | | | | | | | Adds all known nicks in the current buffer with an @ prefix to the nicks completion. Disables the API search based nick completion for now until it's working properly. It currently doesn't have any context of which conversation/thread you are in, so you often get other nicks than the one you want to complete first. Additionally, it doesn't work with OAuth tokens. | ||||
* | Use one debug buffer for all debug logging | Trygve Aaberge | 2024-02-18 | 1 | -6/+4 |
| | | | | | I will implement filtering like the /server raw buffer, instead of having multiple debug buffers. | ||||
* | Mark as read when switching away from buffer | Trygve Aaberge | 2024-02-18 | 1 | -1/+23 |
| | |||||
* | Support opening a debug buffer with all ws messages | Trygve Aaberge | 2024-02-18 | 1 | -1/+5 |
| | |||||
* | Support thread hash completion | Trygve Aaberge | 2024-02-18 | 1 | -5/+42 |
| | |||||
* | Support thread buffers | Trygve Aaberge | 2024-02-18 | 1 | -50/+63 |
| | |||||
* | Split edgeapi out to separate class | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | | | | | Since this isn't available for OAuth tokens it's good to have an easy way to see where it's used. | ||||
* | Support rendering files | Trygve Aaberge | 2024-02-18 | 1 | -1/+3 |
| | |||||
* | Rename add_message and add some TODOs | Trygve Aaberge | 2024-02-18 | 1 | -0/+1 |
| | |||||
* | Add command rehistory to rerender history | Trygve Aaberge | 2024-02-18 | 1 | -0/+9 |
| | |||||
* | Add -data option to /slack debug error to print rtm event data | Trygve Aaberge | 2024-02-18 | 1 | -4/+13 |
| | |||||
* | Record uncaught errors and add command to display them | Trygve Aaberge | 2024-02-18 | 1 | -2/+40 |
| | |||||
* | Don't allow /slack (dis)connect when connecting/(dis)connected | Trygve Aaberge | 2024-02-18 | 1 | -21/+49 |
| | |||||
* | Log failed async tasks more robustly | Trygve Aaberge | 2024-02-18 | 1 | -3/+3 |
| | |||||
* | Add command /slack disconnect | Trygve Aaberge | 2024-02-18 | 1 | -0/+15 |
| | |||||
* | Only connect to all teams in /slack connect when -all is given | Trygve Aaberge | 2024-02-18 | 1 | -3/+3 |
| | |||||
* | Replace some usages of Any with proper types | Trygve Aaberge | 2024-02-18 | 1 | -3/+3 |
| | |||||
* | Fix some mypy specific type issues | Trygve Aaberge | 2024-02-18 | 1 | -3/+8 |
| | |||||
* | Fix compatibility with Python 3.8 | Trygve Aaberge | 2024-02-18 | 1 | -4/+5 |
| | |||||
* | Add a /slack debug command | Trygve Aaberge | 2024-02-18 | 1 | -0/+16 |
| | |||||
* | 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 | 1 | -5/+8 |
| | |||||
* | Combine complete_next and complete_previous | Trygve Aaberge | 2024-02-18 | 1 | -32/+26 |
| | |||||
* | Add support for completing nicks | Trygve Aaberge | 2024-02-18 | 1 | -0/+74 |
| | | | | | | | 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. | ||||
* | Show nick suffix for external users | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | |||||
* | Call rtm.connect (doesn't connect to web socket yet) | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | |||||
* | Add some todos | Trygve Aaberge | 2024-02-18 | 1 | -0/+2 |
| | |||||
* | Split slack classes into multiple files | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | |||||
* | Split weechat and slack config | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | |||||
* | Fix most mypy type errors | Trygve Aaberge | 2024-02-18 | 1 | -9/+10 |
| | |||||
* | Remove active_responses | Trygve Aaberge | 2024-02-18 | 1 | -1/+1 |
| | |||||
* | Show disconnected status in input field | Trygve Aaberge | 2024-02-18 | 1 | -2/+2 |
| | |||||
* | Create buffers on connect | Trygve Aaberge | 2024-02-18 | 1 | -0/+19 |
| | |||||
* | Add command completion | Trygve Aaberge | 2024-02-18 | 1 | -12/+96 |
| | |||||
* | Add workspace rename and del commands | Trygve Aaberge | 2024-02-18 | 1 | -0/+42 |
| | |||||
* | Add command to list workspaces | Trygve Aaberge | 2024-02-18 | 1 | -10/+72 |
| | |||||
* | Add command to add workspace | Trygve Aaberge | 2024-02-18 | 1 | -0/+121 |