| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
in the registration dialog, wee_slack asks the user to reload the
slack script via /script. in my weechat 2.1 on debian sid, this is
not the proper way to reload scripts anymore. instead one has to
use the /python command to achieve the same effect. this commit
corrects the misleading instruction message.
|
|
|
|
| |
Fixes #531
|
|\
| |
| | |
Add emojis to status as a DM topic
|
| | |
|
| | |
|
| |
| |
| |
| | |
Finding by name didn't work anymore.
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This now properly replaces spaces with underscores.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I had to make some changes to the command I used last time. This was the
one used now:
curl https://a.slack-edge.com/bv1-3/emoji_5.f765b7e9a668291cfd7b.min.js |
sed -e 's/.*c.prototype.data=\({[^}]*}\).*/\1/' \
-e 's/\\x/\\u00/g' -e 's/\([0-9]\+\):/"\1":/g' |
jq '{emoji: [to_entries | .[].value[3]] | flatten | sort}' > weemoji.json
|
| | |
|
| |
| |
| | |
Fixes #552
|
| |
| |
| |
| |
| |
| | |
The args argument will be 'slash' when not giving any arguments to the
slash command, it will never be None. The `server` variable doesn't
exist anymore, use `w.prnt` instead.
|
| |
| |
| |
| |
| |
| | |
The args argument is a string and includes 'status', so it will never be
None. Additionally, the status command works without any arguments
(which cleares the status), so it shouldn't have such a check.
|
| |
| |
| |
| |
| |
| |
| | |
`command_talk` wants a string it can pick apart. Pass that in from
`msg_command_cb`.
Fixes: #530
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This makes a big difference for larger teams where rtm.start can time
out just due to Python's strings being immutable.
Fixes: #516
|
| |
| |
| |
| | |
Fixes: #428
|
| |
| |
| |
| |
| |
| |
| |
| | |
If somebody adds a reaction on a file, there will be no channel
associated with it. Handle that gracefully. (Reaction will still be
missing, but at least there's no traceback.)
Related to #316.
|
| |
| |
| |
| | |
Fixes: 507, based on the work done in that PR by @Shaac.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
is_bot seems to no longer be a thing, so drop that setting. For
messages from bots with username set in the message, use that
username, but mark it as a bot message.
Fixes #519
|
| |
| |
| |
| |
| |
| | |
* Fixes display names for 'app' users,
in before it'd be displayed as "bot :]"
and now it's "-{display name}-".
|
| | |
|
| |
| |
| |
| | |
The refactor is a long time ago now, and caching has been removed.
|
|\ \
| | |
| | | |
Don't tag team messages as normal messages
|
| | |
| | |
| | |
| | |
| | | |
Makes it easier to people to filter slack messages the way they want
(e.g. if you don't want team messages in the hotlist).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the user has set up highlight for e.g. their own nick, the team
buffer will trigger a highlight when wee-slack is loaded because it
prints the nick. You will also get a highlight from e.g. /slack users.
The messages we send to the team buffer are informational messages that
I don't think should trigger highlights. They will still show up in the
hotlist as normal messages.
|
|/ /
| |
| |
| |
| | |
Team messages shouldn't show up in the hotlist as private messages
(default green), but as normal messages (default white).
|
| |
| |
| |
| |
| | |
In #504 I proposed to add some help to future debuggers. This is a split PR from that.
cc: @trygveaa
|
|\ \
| | |
| | | |
Don't add deleted users to the nicklist
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This check was done when generating complete nicklist, but not when
updating a single user. Deleted users are still part of the member list
of a channel, if they don't leave the channel first. This caused a
deleted user to be inserted into the nicklist when processing a joined
channel message or when receiving a presence change for that user.
When investigating this, I saw that we still receive presence change
events for deleted users if we subscribe to them. We might want to
filter out the deleted users when generating the list of users to
subscribe to.
|
|\ \
| | |
| | | |
Include members set and team in SlackThreadChannel
|
| | | |
|
| | |
| | |
| | | |
Allows autocompletion of nicks to work (instead of error from `nick_completion_cb`)
|
|\ \ \
| | | |
| | | | |
Fix quit callback function
|
|/ / /
| | |
| | |
| | |
| | | |
The function was renamed at some point without renaming the hook signal,
so weechat would print an error when exiting.
|
|\ \ \
| | | |
| | | | |
Temporary fix user presence subscription crashing big teams
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
SlackUser: use profile.display_name if available
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since recent changes in Slack, usernames can no longer be set directly, and
are instead inferred from the email address. This is not particularly useful,
so the recommendation is to instead use display_name. display_name may have
spaces in it, however, which confuses tab completion.
With this change, wee-slack uses display name for both display and completion,
after first stripping all whitespace from it. Ref linking (via linkify_text)
ensures that @mentions continue to work properly even when this whitespace
removal means that the name being @mentioned locally doesn't match the "real"
username.
|
|\ \ \ \
| |/ / /
|/| | | |
Restore OAuth support
|
| | | | |
|
| | | | |
|
| | | | |
|