| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It currently seems to work on threads that are automatically subscribed
(such as by saying something in them).
|
| |
|
|
|
|
|
|
|
| |
This also changes the text to include the end of the token, because
tokens for the same team often start with the same, so the warnings I
added in the two previous commits would show the same text for the two
tokens.
|
| |
|
|
|
|
|
|
| |
This is not currently supported because the two teams would have
conflicting buffer names. Before this patch, it would print out a bunch
of error messages about conflicting buffer names.
|
|
|
|
|
|
|
|
|
| |
The team_hash is generated in handle_rtmstart, and it was generated
again when instantiating SlackTeam. However, the parameters the two used
were different, so they ended up with different hashes, and the check
for existing teams in rtmstart would always be false.
Fixes #734
|
| |
|
|
|
|
| |
Fixes #736
|
|
|
|
|
| |
We only use unicode strings on Python 2, so set str = unicode, so we can
use the str type in the rest of the code.
|
|
|
|
|
|
|
| |
The message is also shown in the title bar, but that is usually limited
to one line, so it may not show the whole message.
Fixes #705
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the references to the thread channels and the hashes of the
messages would be lost when the channel reloaded its history. That meant
that when new messages arrived in the thread, they would not be printed
in the thread channel.
This moves the references to the thread channels from each parent
message to the channel, and changes the values in hashed_messages to be
just the timestamp instead of the message, so we don't have to clear it
when we reload the history.
Relates to #714
|
| |
|
|
|
|
|
| |
When log[0-9] tags were removed for no_log lines in commit 3f4e64c, the
logger_backlog tag was inadvertently also removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Opening a thread on a thread message is not possible, so the logical
thing to do if a user tries to reply to a thread message is to put the
message in the same thread as the message that is replied to.
Slack currently has a bug which causes thread messages to be converted
to normal messages if you try to reply to them (that is, send a message
with thread_ts set to the ts of the thread message), but the message you
reply with will end up in the original thread. I filed an issue and they
confirmed that it is a bug, and that you should not send messages with
thread_ts set to the ts of a thread message.
Fixes #751
|
|
|
|
|
|
|
| |
This was inadvertently changed to send the thread channel as reference
in commit 6238505.
Fixes #757
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
command_reply now has a blank line after the first line, which means we
sent in a description with a blank first. Weechat automatically adds a
blank line before the description, so it showed two blank lines for
/help reply. We want the blank line in the docstring for /slack help
reply, so strip it in the description instead of removing it from the
docstring.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add ability to broadcast a thread message to the rest of the channel.
This adds an optional -broadcast parameter to /reply and a /slack
broadcast command.
Also update completions for /reply.
* Change reply argument from -broadcast to -alsochannel, remove
command_broadcast, and change reply to work without the id when in a
thread buffer.
* Clarify documentation of /reply command, and refactor msg logic.
* Fix /help reply display.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
command_broadcast, and change reply to work without the id when in a
thread buffer.
|
| |
| |
| |
| |
| |
| |
| | |
This adds an optional -broadcast parameter to /reply and a /slack
broadcast command.
Also update completions for /reply.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The manual_presence_change event is just for your own user and doesn't
include any user ids.
This adds a field on the team with your manual presence so we can show
if the user is automatically away or manually away.
|
| |
| |
| |
| |
| |
| | |
Slack doesn't send the presence_change event for our own user when it
updates the auto presence unless we subscribe to it. The
manual_presence_change however is sent either way.
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
This shows it in the standard away bar item, and also adds a specific
one for wee-slack. The reason for including the specific one is that if
multiple scripts in the same plugin define the same bar item, only one
of them will work[0]. So people that have another python script which
also defines the away bar item can use the slack_away bar item instead.
[0]: https://github.com/weechat/weechat/issues/1348
|
|
|
|
|
|
|
| |
This caused nicks with unicode characters to not be linkified on
Python 2. The error was introduced in commit f5cfdab.
Fixes #747
|
|
|
|
|
|
|
| |
It isn't currently being used.
This fixes an error I introduced when I removed **kwargs from this
method in commit 6238505.
|
| |
|
| |
|
|
|
|
| |
Fixes #737
|
|
|
|
| |
Fixes #712
|
| |
|
|
|
|
|
| |
Blocks should come after the inviter text, and by moving it before
unfurl_refs we don't have to call that twice.
|