aboutsummaryrefslogtreecommitdiffstats
path: root/slack
Commit message (Collapse)AuthorAgeFilesLines
* Support rendering attachmentsTrygve Aaberge2024-02-183-13/+216
|
* Support rendering huddlesTrygve Aaberge2024-02-183-2/+43
|
* Support rendering filesTrygve Aaberge2024-02-183-10/+64
|
* Rename add_message and add some TODOsTrygve Aaberge2024-02-184-2/+5
|
* Use blocks to render messagesTrygve Aaberge2024-02-183-12/+305
|
* Support rendering emoji unicode charactersTrygve Aaberge2024-02-186-5/+103
|
* Add command rehistory to rerender historyTrygve Aaberge2024-02-182-0/+13
|
* Render me/action messages correctlyTrygve Aaberge2024-02-181-5/+15
|
* Render reactions after messagesTrygve Aaberge2024-02-186-22/+151
|
* Initialize fetching bots info when filling historyTrygve Aaberge2024-02-181-0/+3
|
* Use the correct nick color for bots with a usernameTrygve Aaberge2024-02-181-10/+12
|
* Remove async modifier from initialize_items functionTrygve Aaberge2024-02-182-4/+4
|
* Support rendering message edits and deletionsTrygve Aaberge2024-02-184-18/+183
|
* Set correct tags for self messagesTrygve Aaberge2024-02-182-3/+12
|
* Render join and leave messages correctlyTrygve Aaberge2024-02-183-18/+94
|
* Use eight digits for the WeeChat versionTrygve Aaberge2024-02-182-3/+3
| | | | | It's four parts with two digits each, so it's more consistent to use eight digits even though the first is a zero.
* Add tags to messagesTrygve Aaberge2024-02-183-18/+68
|
* Fix default value True not working for optionsTrygve Aaberge2024-02-181-4/+13
|
* Support sending and receiving typingTrygve Aaberge2024-02-184-3/+70
| | | | | | This does not support globally showing typing from direct messages, like the old wee-slack did, because that's not supported by WeeChats typing plugin. It only shows typing in the current buffer.
* Handle failed rtm.connect responseTrygve Aaberge2024-02-181-2/+14
|
* Show nicks in nicklistTrygve Aaberge2024-02-185-27/+125
|
* Fix typings for create_connectionTrygve Aaberge2024-02-181-8/+5
|
* Set buffer propertiesTrygve Aaberge2024-02-181-12/+45
|
* Show correct date/time for messagesTrygve Aaberge2024-02-182-12/+31
|
* Don't print message to buffer if history isn't printedTrygve Aaberge2024-02-182-2/+19
| | | | | If new messages are printed before the history, they will remain at the top of the buffer after the history is printed.
* Reset conversation state on buffer closeTrygve Aaberge2024-02-181-1/+10
|
* Add -data option to /slack debug error to print rtm event dataTrygve Aaberge2024-02-184-24/+73
|
* Use Optional instead of Union with NoneTrygve Aaberge2024-02-182-12/+12
|
* Add messages received over rtm to channelsTrygve Aaberge2024-02-182-4/+29
|
* Prefix private class methods with _Trygve Aaberge2024-02-182-8/+8
|
* Return immediately from connect if connectedTrygve Aaberge2024-02-181-0/+2
|
* Record uncaught errors and add command to display themTrygve Aaberge2024-02-186-12/+79
|
* Reconnect when loosing connectionTrygve Aaberge2024-02-182-8/+13
|
* Include a comment about the original source in the built scriptTrygve Aaberge2024-02-181-1/+0
|
* Warn when failed tasks are not awaitedTrygve Aaberge2024-02-181-2/+23
| | | | | | | | | | | | | | If the task runner has finished all running/active tasks, there shouldn't be any tasks that hasn't been awaited. If there were (e.g. create_task was used when run_async should have been used), exceptions from those tasks would be silently ignored, so warn about this. The difference between running and active tasks is that active tasks are tasks waiting for a future to resolve, while running tasks include the currently running task. E.g. if task A creates a new task, B, and task B fails before task A has finished, task A won't be in active tasks, so therefore we need a different set to keep track of the running tasks.
* Remove unnecessary checks for dict keysTrygve Aaberge2024-02-181-2/+2
| | | | | With pyright v1.1.292 or later these checks are no longer necessary (they were never necessary for the runtime, only added for pyright).
* Remove explicitly setting ca_certs for websocket-clientTrygve Aaberge2024-02-181-9/+0
| | | | | | | | As far as I can see, this is no longer necessary with v0.36.0 or later[0]. I assume anyone with new enough Python version to run this will have at least this version. [0]: https://github.com/websocket-client/websocket-client/commit/b614606b35a9b336875e46fe6d4e856392cb9b71
* Don't send response into coroutineTrygve Aaberge2024-02-181-16/+13
| | | | It's now set with set_result/set_exception instead.
* Simplify gather and return immediately on exceptionTrygve Aaberge2024-02-181-24/+10
|
* Don't allow /slack (dis)connect when connecting/(dis)connectedTrygve Aaberge2024-02-182-21/+54
|
* Sleep for 100 ms instead of 10 ms in httpTrygve Aaberge2024-02-181-1/+1
|
* Sleep for 1 ms if 0 ms is specifiedTrygve Aaberge2024-02-181-3/+2
| | | | | | | | asyncio.sleep(0) is used to move the task to the back of the event loop. This sleep can be used for the same, however if 0 is specified, WeeChat never calls the callback. This means that the task will silently not continue which is very bad, so make it sleep for 1 ms instead, which is practically the same.
* Simplify setting future_idTrygve Aaberge2024-02-181-4/+1
|
* Log failed async tasks more robustlyTrygve Aaberge2024-02-184-35/+22
|
* Don't set future result in __await__Trygve Aaberge2024-02-181-10/+7
|
* Make Future very similar to asyncio.FutureTrygve Aaberge2024-02-181-21/+97
|
* Cancel connecting when disconnect is calledTrygve Aaberge2024-02-182-2/+25
|
* Make ws and hook internal and instantiate them to NoneTrygve Aaberge2024-02-182-18/+38
|
* Add command /slack disconnectTrygve Aaberge2024-02-182-0/+20
|
* Only connect to all teams in /slack connect when -all is givenTrygve Aaberge2024-02-181-3/+3
|