From 6d389e50c1424512db30c17766c737cfd9c37d3e Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Thu, 16 Jan 2020 20:59:47 +0100 Subject: Release v2.4.0 --- CHANGELOG.md | 41 +++++++++++++++++++++++++++++++++++++++++ LICENSE | 2 +- docs/Commands.md | 8 ++++++++ docs/Options.md | 6 ++++++ wee_slack.py | 4 ++-- 5 files changed, 58 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5012cc..bb3fb06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,46 @@ # Changelog +## 2.4.0 (2020-01-16) + +- Support regex flags i, m and s for message edits. +- Allow %h (weechat home) replacement in download_location (PR #690). +- Render "by invitation from" before reactions. +- The command `/slack status` now prints the status if no arguments are given. Pass `-delete` to unset the status (fixes #574). +- Add completion for channel names (fixes #235). +- Add completion for all command arguments. +- Allow completion of emoji with a prefix (fixes #580). +- For `/slack upload` remove escape characters from path if file is not found (fixes #360). +- For `/slack upload` resolve relative paths. +- Expose more information in /whois (PR #700). +- Add option `use_full_names` to only use full names (fixes #100). +- Support nicks prefixed with @ in the `/msg` command. +- Show member status in the `/slack channels` command. +- Show handle when listing usergroup members. +- Add support for the /invite command (fixes #698). +- Add the usergroups you are a member of to highlight words (fixes #272, fixes #367, fixes #542). +- Add a command to list the Slack teams. +- Some changes on line tags, most notably irc_smart_filter is replaced with irc_join and irc_part because no smartness is implemented. Search for "tag" in the commit messages to see the other changes. +- Prevent highlight in debug buffer. +- Don't log backlog messages to the logfile (fixes #663). +- Use proper nicks for mpdm names (fixes #498). +- Fallback to full name instead of username if display name is not set. +- Don't add deleted users to tab completion (fixes #703). +- Print responses and errors from /slack slash command (fixes #369, fixes #374). +- Fix option `record_events` (it was broken in 2.3.0). +- Fix output of the `/topic` command (PR #691). +- Set own nick to display name if set (fixes #692). +- Prevent crash when having mpdm with an external user. +- Prevent crash when script is reloaded if numpy is installed. +- Support topic changes for private channels (fixes #697). +- Fix attachment fields without titles (PR #707). +- Don't turn `#name` into a link to the private message (fixes #587). +- Render group notifications with @ instead of !. +- Support using display names in the `/slack slash` command. +- Print thread broadcast messages in parent channel (fixes #620). +- Add basic support for private channels converted from public (fixes most of #664). +- Better error messages. +- Various small bug fixes, see the commit messages for details. + ## 2.3.0 (2019-05-05) - Python 3 support. Python 2 will continue to be supported at least until the end of 2019 (fixes #258, fixes #331, fixes #555, fixes #576, fixes #598). diff --git a/LICENSE b/LICENSE index c76d139..eba6f5a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ Copyright (c) 2014-2016 Ryan Huber Copyright (c) 2015-2018 Tollef Fog Heen -Copyright (c) 2015-2019 Trygve Aaberge +Copyright (c) 2015-2020 Trygve Aaberge Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/docs/Commands.md b/docs/Commands.md index 1ab4266..9817f64 100644 --- a/docs/Commands.md +++ b/docs/Commands.md @@ -150,6 +150,14 @@ Prints current status if no arguments are given, unsets the status if -delete is Open a chat with the specified user(s). +### teams + +``` +/slack teams +``` + +List the connected Slack teams. + ### thread ``` diff --git a/docs/Options.md b/docs/Options.md index d10f873..416f38c 100644 --- a/docs/Options.md +++ b/docs/Options.md @@ -220,3 +220,9 @@ slack` after changing it to take effect. **Description:** When activity occurs on a buffer, unhide it even if it was previously hidden (whether by the user or by the distracting_channels setting). +### use_full_names + +**Default:** `false` + +**Description:** Use full names as the nicks for all users. When this is false (the default), display names will be used if set, with a fallback to the full name if display name is not set. + diff --git a/wee_slack.py b/wee_slack.py index 65cfff8..2ce13e5 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1,6 +1,6 @@ # Copyright (c) 2014-2016 Ryan Huber # Copyright (c) 2015-2018 Tollef Fog Heen -# Copyright (c) 2015-2019 Trygve Aaberge +# Copyright (c) 2015-2020 Trygve Aaberge # Released under the MIT license. from __future__ import print_function, unicode_literals @@ -56,7 +56,7 @@ except ImportError: SCRIPT_NAME = "slack" SCRIPT_AUTHOR = "Ryan Huber " -SCRIPT_VERSION = "2.3.0" +SCRIPT_VERSION = "2.4.0" SCRIPT_LICENSE = "MIT" SCRIPT_DESC = "Extends weechat for typing notification/search/etc on slack.com" -- cgit