| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Proper support for unicode
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This encodes everything sent into weechat, and decodes the return
values, so we don't have to do it every place we call weechat. We still
have to decode the arguments in all of the callback functions though.
The encode_to_utf8 and decode_from_utf8 functions traverses data
structures and encodes/decodes all of the strings inside the structures.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We will readd these in the appropriate places, as described two commits
ago.
|
| | | | |
| | | | |
| | | | |
| | | | | |
This was not used anywhere.
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changes all strings to be unicode strings in an attempt to handle
unicode better. The idea is to use unicode everywhere internally in
wee_slack and decode/encode where data is received/sent to/from
wee-slack.
That means we have to decode strings received from weechat or slack and
encode strings we send to them. This way encoding and decoding is done
on specific places, and if done everywhere, we should not get any
unicode errors.
|
|\ \ \ \
| |/ / /
|/| | | |
Updates README to give correct instructions for settings.
|
| | | | |
|
| | | | |
|
| | | | |
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
PEP8 fixups
|
|/ /
| |
| |
| | |
Lots of missing whitespace and other minor fixups.
|
|\ \
| |/
|/| |
do it for channels but not users, hence new elif
|
|/ |
|
|\
| |
| | |
yay for unfurls
|
|/ |
|
|\
| |
| | |
🤳
|
|/ |
|
|\
| |
| | |
Fix readme markdown
|
| |
| |
| | |
Github changed their markdown parser, and broke a bunch of readmes.
|
|\ \
| | |
| | | |
Defer nick colourization to weechat's built in support
|
| |/
| |
| |
| | |
Signed-off-by: Ben Kelly <btk@google.com>
|
|\ \
| | |
| | | |
Translate slack formatting codes to/from IRC formatting codes
|
| |/
| |
| |
| | |
Signed-off-by: Ben Kelly <btk@google.com>
|
|\ \
| |/
|/| |
Fix /me handling for sent and received messages
|
|/
|
|
| |
Signed-off-by: Ben Kelly <btk@google.com>
|
|\
| |
| | |
Update token link
|