| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of only updating the last line printed with the id of the
message (ts.minor, set in the date_printed field), update all of the
lines that is printed for that message.
This is necessary for updating all of the lines on changes, instead of
only the last. This will be implemented in the next commit.
This assumes that the lines after the first in messages always has an
empty prefix, and that the first line of a message always has a prefix.
This holds for the messages I have seen (single-line, multi-line as well
as me-messages and joins/quits).
Other approaches I considered was to count the number of newlines in the
message and update the same number of lines, or to check the existing
date_printed field of the messages and update the ones that had 10
digits or more (since current timestamps has that, and the slack id
currently has 6 digits). However, I dropped them in favor of the prefix
solution which seems better.
|
|\ |
|
| |\
| | |
| | | |
Update nicklist when team member presence changes
|
| | | |
|
| |/ |
|
| |
| |
| |
| | |
Fixes: #362
|
| |
| |
| |
| | |
Closes: #315
|
|\|
| |
| | |
Put users in groups according to presence
|
| |
| |
| |
| | |
Fixes #398
|
|\ \
| | |
| | | |
Fix AttributeError on /slack status in team buffer
|
| | | |
|
|\ \ \
| | | |
| | | | |
Set correct number of unread messages in hotlist
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While the commit 6718e2f fixed buffers not appearing in the hotlist,
after it the number of new messages for each buffer was gone. This makes
the number of messages for each buffer shown again.
|
|\ \ \ \
| | | | |
| | | | | |
Fix opening thread buffers
|
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Similar syntax as for adding reactions:
3s/foo/bar/
Fixes: #153
|
|/ / /
| | |
| | |
| | | |
Not sure this actually matters as weechat seemed happy with the wrong return codes too
|
|\ \ \
| |/ /
|/| | |
Properly escape <&> when sending messages to Slack.
|
|/ /
| |
| |
| |
| | |
Signed-off-by: Ben Kelly <bk@ancilla.ca>
Signed-off-by: Ben Kelly <btk@google.com>
|
|\ \
| | |
| | | |
Don't send typing notifications for threads, since Slack doesn't like that
|
| | |
| | |
| | |
| | | |
Signed-off-by: Ben Kelly <btk@google.com>
|
| | |
| | |
| | |
| | | |
Fixes #80 (again)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Send * to the current channel.
Fixes: #191
|
| |/
|/| |
|
|\ \
| |/
|/|
| |
| | |
Use channel.open and im.open to get unread counts.
Fixes #396
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Disable formatting for messages with `mrkdwn` unset
|
| |
| |
| |
| |
| | |
Signed-off-by: Ben Kelly <btk@google.com>
Signed-off-by: Ben Kelly <bk@ancilla.ca>
|
|\ \
| | |
| | | |
Fix the tests
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Not everything that needed to be mocked out was, and there was also an
issue with every instance of PluginConfig sharing the same mutable
settings field and thus stomping on each other if you initialized more
than one in the same test.
Signed-off-by: Ben Kelly <bk@ancilla.ca>
Signed-off-by: Ben Kelly <btk@google.com>
|
|\ \
| |/
|/| |
Add descriptions for weeslack plugin settings.
|
|/
|
|
|
| |
Signed-off-by: Ben Kelly <btk@google.com>
Signed-off-by: Ben Kelly <bk@ancilla.ca>
|
|\
| |
| | |
Add italic support, and settings to switch between italic and underline
|
| |
| |
| |
| |
| | |
Signed-off-by: Ben Kelly <btk@google.com>
Signed-off-by: Ben Kelly <bk@ancilla.ca>
|
|\ \
| | |
| | | |
Fix nick coloring in weechat < 1.5
|
| | |
| | |
| | |
| | |
| | |
| | | |
This option was removed in 925278f, in favor of using weechat's color
handling. I.e. you now set this with weechat's core options instead of a
specific option for this script.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In weechat 1.5, the info name 'irc_nick_color_name' was renamed to
'nick_color_name'. Since we want to support weechat < 1.5 and don't want
deprecation warnings in >= 1.5, we need to check the version and use the
appropriate name.
Fixes #364
|
|/ /
| |
| |
| |
| | |
This is going to be used another place in the script in the next commit,
so set a more verbose name so it's not confused with the script version.
|
|\ \
| | |
| | | |
Stop polling dead websockets.
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Clean up a little bit
|
| | |
| | |
| | |
| | | |
This doesn't seem to be used, so just remove it.
|
| | |
| | |
| | |
| | | |
The cache is gone, remove some related code.
|
|\ \ \
| | | |
| | | | |
Fix channel history not appearing when an earlier message has 'text': None
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Today I learned that sometimes, rather than the key missing, it has the value
None. In this case, (key in dict) is true!
This fixes an issue where, if the backscroll of a channel contained such a
message, it would throw while fetching the backscroll and cut off without
fetching all of it.
Signed-off-by: Ben Kelly <btk@google.com>
Signed-off-by: Ben Kelly <bk@ancilla.ca>
|
|\ \ \
| | | |
| | | | |
Add command for setting Slack Status
|