Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't switch to the debug buffer when config is changed | Trygve Aaberge | 2020-02-23 | 1 | -3/+1 |
| | |||||
* | Move inviter text to before blocks and unfurl_refs | Trygve Aaberge | 2020-02-23 | 1 | -6/+5 |
| | | | | | Blocks should come after the inviter text, and by moving it before unfurl_refs we don't have to call that twice. | ||||
* | Add a helper for colorizing strings | Trygve Aaberge | 2020-02-23 | 1 | -48/+35 |
| | |||||
* | Reset color after the text that should be colored | Trygve Aaberge | 2020-02-23 | 1 | -5/+9 |
| | |||||
* | Pass team/channel to handle/process methods directly | Trygve Aaberge | 2020-02-23 | 1 | -230/+177 |
| | |||||
* | Simplify reusing handle/process functions | Trygve Aaberge | 2020-02-23 | 1 | -38/+16 |
| | |||||
* | Use correct name for id in SlackSubteam.__eq__ | Trygve Aaberge | 2020-02-23 | 1 | -1/+1 |
| | |||||
* | Support populating kwargs metadata from json properly | Trygve Aaberge | 2020-02-23 | 1 | -10/+11 |
| | |||||
* | Simplify passing ws metadata | Trygve Aaberge | 2020-02-23 | 1 | -29/+10 |
| | |||||
* | Include team in SlackRequest | Trygve Aaberge | 2020-02-23 | 1 | -65/+65 |
| | |||||
* | Remove most commented out code | Trygve Aaberge | 2020-02-23 | 1 | -84/+0 |
| | |||||
* | Remove useless if | Trygve Aaberge | 2020-02-23 | 1 | -4/+1 |
| | |||||
* | Cleanup/simplify callback functions | Trygve Aaberge | 2020-02-23 | 1 | -35/+10 |
| | |||||
* | Show reactions you have added in a different color | Trygve Aaberge | 2020-02-23 | 1 | -20/+25 |
| | | | | Fixes #713 | ||||
* | Allow render_emoji_as_string = 'both' (#752) | Zachary Ware | 2020-02-22 | 1 | -7/+22 |
| | | | | | | With this setting, emoji are rendered as `<emoji character> (:text-form:)` to allow the user to see both representations (where possible) or an indication that their terminal isn't actually rendering a character. | ||||
* | Support parsing date refs | Trygve Aaberge | 2020-02-21 | 1 | -0/+31 |
| | |||||
* | Support unfurling date refs by using the fallback | Trygve Aaberge | 2020-02-20 | 1 | -0/+2 |
| | |||||
* | Only use fallback for refs if ref is not found | Trygve Aaberge | 2020-02-20 | 1 | -32/+26 |
| | | | | | | Fallbacks in messages are not changed when channels/users/groups are renamed, so they shouldn't be used unless the ref can't be found. Links are not refs we look up, so they are still treated the same way. | ||||
* | Remove ignore_alt_text parameter from unfurl_refs | Trygve Aaberge | 2020-02-20 | 1 | -6/+3 |
| | | | | | This is only used in tests and in render_topic, and I don't see why render_topic shouldn't follow the global config that is set. | ||||
* | Remove auto_link_display parameter from unfurl_refs | Trygve Aaberge | 2020-02-20 | 1 | -5/+3 |
| | | | | | This is only used in tests, and there we can override the config instead. | ||||
* | Support blocks of type image | Trygve Aaberge | 2020-02-19 | 1 | -0/+6 |
| | |||||
* | Improve unfurling of text objects in blocks | Trygve Aaberge | 2020-02-19 | 1 | -13/+11 |
| | |||||
* | Don't crash when getting block action types other than button | Trygve Aaberge | 2020-02-19 | 1 | -1/+8 |
| | |||||
* | Tweak formatting of blocks | Trygve Aaberge | 2020-02-19 | 1 | -6/+6 |
| | |||||
* | manage unsupported block and rich text | Gianluca Arbezzano | 2020-02-18 | 1 | -1/+3 |
| | | | | | | | | | I added support for reach_text block otherwise at the end of all messages wee-slack was printing the raw JSON block. I have also fixed the `call` block to print the right join url Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com> | ||||
* | Use color_deleted for unsupported blocks. | Aidan Epstein | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | Fix unfurl_blocks call placement and add a message about unsupported blocks ↵ | Aidan Epstein | 2020-02-18 | 1 | -4/+5 |
| | | | | inside the message. | ||||
* | Log errors to a proper debug location. | Aidan Epstein | 2020-02-18 | 1 | -2/+2 |
| | |||||
* | Add support for the call block | Gianluca Arbezzano | 2020-02-18 | 1 | -0/+2 |
| | | | | | | This commit adds the support for call block. It fixes #726 Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com> | ||||
* | Fix message formatting by calling render_formatting. | Aidan Epstein | 2020-02-18 | 1 | -3/+7 |
| | |||||
* | Handle a couple more cases. Also add some debug output. | Aidan Epstein | 2020-02-18 | 1 | -8/+21 |
| | |||||
* | Add initial implementation of slack blocks display. | Aidan Epstein | 2020-02-18 | 1 | -0/+17 |
| | |||||
* | Add options for hard coded colors | Trygve Aaberge | 2020-02-01 | 1 | -3/+11 |
| | | | | Fixes #681 | ||||
* | Support sending reactions with emoji characters | Trygve Aaberge | 2020-02-01 | 1 | -7/+23 |
| | | | | Fixes #236, fixes #575 | ||||
* | Render emojis as emoji characters | Trygve Aaberge | 2020-02-01 | 1 | -9/+38 |
| | | | | Fixes #465 | ||||
* | Print error message when reaction couldn't be added/removed | Trygve Aaberge | 2020-01-23 | 1 | -1/+17 |
| | |||||
* | Set members correctly in handle_conversationsmembers | Trygve Aaberge | 2020-01-23 | 1 | -3/+2 |
| | | | | | Because this sat channel.members directly instead of calling set_members, the nicklist wasn't updated. | ||||
* | Set channel.is_member when channel is created | Trygve Aaberge | 2020-01-22 | 1 | -0/+1 |
| | | | | | | | | | The channel dict sent as kwargs to SlackChannel from handle_rtmstart contains the is_member property. However the one from process_channel_created doesn't. Since you never are a member when the channel is created, we can set it to false (if you create the channel yourself or is invited immediately a channel_joined message will follow the channel_created message). | ||||
* | Support using a different color for each thread suffix/prefix | Trygve Aaberge | 2020-01-22 | 1 | -8/+20 |
| | | | | Fixes #716 | ||||
* | Fetch members explicitly for SlackPrivateChannel | Trygve Aaberge | 2020-01-22 | 1 | -0/+7 |
| | | | | | | | | | | | Like SlackSharedChannel, SlackPrivateChannel doesn't include members in the result from rtm.start, and we have to use conversations.info for them which doesn't include members either. Therefore, we have to call conconversations.members. I hadn't noticed that the members were missing because I only tested with channels with a short backlog, so the members were filled by the join messages which were still present in the history that were fetched. | ||||
* | Use GitHub Pages for the OAuth redirect page | Trygve Aaberge | 2020-01-22 | 1 | -9/+10 |
| | | | | | | This adds a page which shows the OAuth code, and sets the redirect_uri for the OAuth link to this page. This url includes # at the end so the OAuth code is only seen by the browser, and not sent to the server. | ||||
* | Release v2.4.0v2.4.0 | Trygve Aaberge | 2020-01-16 | 1 | -2/+2 |
| | |||||
* | Add a command to list the Slack teams | Trygve Aaberge | 2019-10-16 | 1 | -0/+13 |
| | | | | | This can be used when you want to remove a team, so you know which token to remove. | ||||
* | Use max of submessages and replies for number_of_replies | Trygve Aaberge | 2019-10-03 | 1 | -1/+1 |
| | | | | | | | | | When new replies come in over websocket, we don't update the message_json of the parent message with the new replies, we just append the new message to the submessages list. Therefore, the number_of_replies function has to check both of these and take the max. Fixes #722 | ||||
* | Add basic support for private channels converted from public | Trygve Aaberge | 2019-10-01 | 1 | -11/+51 |
| | | | | | | | | | | | | | | | | | | This is for channels which initially were public, but then are changed to private. They look the same as groups (channels initially created as private) in the official clients, but can only be used with the conversations api. They are listed in the channels list of rtm.start with is_private set to true. There are some remaining issues, which are documented in the readme. I'm not sure if we can support read sync and showing unread on load without changes from Slack to the API. Showing thread messages in the channel is possible to fix, but we would have to send requests to load the thread history for all the messages in the history that has replies. Fixes most of #644 | ||||
* | Print thread broadcast messages in parent channel | Trygve Aaberge | 2019-10-01 | 1 | -3/+8 |
| | | | | Fixes #620 | ||||
* | Print user friendly error in handle_conversationsmembers | Trygve Aaberge | 2019-08-26 | 1 | -2/+7 |
| | | | | Fixes parts of #714 | ||||
* | Fix process_subteam_created after adding is_member to SlackSubteam | Trygve Aaberge | 2019-08-25 | 1 | -2/+3 |
| | | | | | | | | This was broken in commit 6f9339b. I haven't verified that is_member is set to the correct value when a user group is created, because I don't have access to a slack team where I can create user groups right know. | ||||
* | Show if user is external in /slack users | Trygve Aaberge | 2019-08-25 | 1 | -2/+9 |
| | |||||
* | Don't list dms and mpdms in /slack channels | Trygve Aaberge | 2019-08-25 | 1 | -1/+2 |
| |