aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
Commit message (Collapse)AuthorAgeFilesLines
* Avoid unknown entries by checking for title_link properlyTollef Fog Heen2016-02-191-1/+1
|
* Format more fields from attachmentsTollef Fog Heen2016-02-191-5/+27
| | | | | | This makes the formatting of attachments somewhat more verbose and makes it more similar to the web client. Downside is that it takes more vertical space.
* Merge pull request #157 from odknt/fix-edit-messageRyan Huber2016-02-121-5/+9
|\ | | | | Change to add ' (edited)' only when rendering
| * Change to add ' (edited)' only when renderingoda2016-01-131-5/+9
| |
* | Merge pull request #156 from odknt/fix-encoding-bugRyan Huber2016-02-121-2/+2
|\ \ | | | | | | Fix bug that fail to modify previous message if contain non-ascii characters
| * | Fix bug that fail to modify previous message if contain non-ascii charactersoda2016-01-131-2/+2
| |/
* | Merge pull request #152 from keith/ks/mpdm-channelRyan Huber2016-02-121-1/+10
|\ \ | | | | | | Add mpdm channel
| * | Add mpdm channelKeith Smiley2015-12-231-1/+10
| |/ | | | | | | | | | | | | This adds a new channel type for mpdms which formats as "#first,second,third" This includes the current user's username, which we may want to exclude.
* | fix for trailing dotRyan Huber2016-02-121-1/+1
| |
* | Merge pull request #149 from rawdigits/allow-dot-nickRyan Huber2016-02-121-2/+2
|\ \ | | | | | | Allow dot in nicks
| * | Use <@123ABC> rather than <@123ABC|foo> for outgoing nicksTollef Fog Heen2015-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The web client doesn't handle nicks on the form <@123ABC|foo.bar> correctly, they're just treated as text. <@123ABC> is handled correctly. Fixes: #119
| * | Allow . in nicksTollef Fog Heen2015-12-211-1/+1
| |/
* | Merge pull request #121 from calve/masterRyan Huber2016-02-121-18/+12
|\ \ | | | | | | Rewrite ``unfurl_refs``
| * | unfurl regexp for all casescalve2016-01-041-2/+6
| | |
| * | Match references to channelscalve2016-01-041-2/+2
| | |
| * | Call ``unfurl_ref()`` with ``ignore_alt_text``calve2016-01-041-1/+1
| | |
| * | Output debug trace before trying to print a failing messagecalve2016-01-041-1/+1
| | |
| * | Rewrite ``unfurl_refs``calve2016-01-041-17/+7
| |/ | | | | | | Dodge ``UnicodeDecodeException`` raised in some case I have not been able to reproduce.
* | Avoid wrong debug message for ping/pong repliesTollef Fog Heen2016-01-191-1/+1
| |
* | Respect weechat.look.nick_{suffix,prefix}Tollef Fog Heen2015-12-211-0/+4
|/ | | | Closes: #140
* Fix up pytestTollef Fog Heen2015-12-211-0/+1
|
* bump versionRyan Huber2015-12-041-1/+1
|
* always update the channels hashtable when we attach or detach a bufferRyan Huber2015-12-041-0/+4
|
* Format fix for file upload and similarTollef Fog Heen2015-12-021-1/+1
| | | | | File uploads have bot_id in the json structure, but it's null (translated into None). Handle that as if it's not there.
* Fix up formatting of messages with attachmentsTollef Fog Heen2015-11-271-7/+13
| | | | | Previously, all messages would have "---" as the start, even if there was no leading text. Make it so the dashes are only added if necessary.
* Make sure the returned message is utf-8Tollef Fog Heen2015-11-271-0/+2
| | | | | | This prevents a backtrace in the case where you would do "@foo, what's up with a – b"? in a message, i.e, where there was both something to be unfurled as well as a non-ASCII character in the string.
* Check for bot_id earlierTollef Fog Heen2015-11-271-3/+3
| | | | | | | | | | Some bots have 'username' set for them, which could lead to an inconsistent experience where some bots would have the robot smiley, while others did not. Check for bot_id earlier and use the formatted_name of the given bot. Also add a space in front of the robot smiley to make it easier to see.
* Add colouring to bots as wellTollef Fog Heen2015-11-271-0/+16
| | | | | This adds a .formatted_name for bots too, making it so they are coloured appropriately, just like humans.
* Fix display of user name on topic changeTollef Fog Heen2015-11-271-1/+2
| | | | | Make sure to call unfurl_refs so we get the right display name for the user who changed the topic.
* Merge pull request #128 from rawdigits/58_change_topicsRyan Huber2015-11-231-0/+35
|\ | | | | add code to do changes of topic.
| * handle deleteRyan Huber2015-11-201-1/+4
| |
| * add code to do changes of topic.Ryan Huber2015-11-201-0/+32
| |
* | check that channel has a buffer before sending typing notifRyan Huber2015-11-231-9/+11
|/
* check for minimum weechat version + errorRyan Huber2015-11-191-101/+98
|
* more debugging info for failed curl requestsRyan Huber2015-11-191-1/+1
|
* we use this to override join and query so don't print an error anymoreRyan Huber2015-11-191-1/+0
|
* version bumpRyan Huber2015-11-191-1/+1
|
* don't eat query and join!Ryan Huber2015-11-191-12/+18
|
* dm channel creation fix + remove duplication in join_command_cbRyan Huber2015-11-181-9/+16
|
* version bump and readme updateRyan Huber2015-11-181-1/+1
|
* better handling of exceptionRyan Huber2015-11-181-2/+5
|
* Merge branch '114_better_buffer_mod' of github.com:rawdigits/wee-slack into ↵Ryan Huber2015-11-181-1/+0
|\ | | | | | | 114_better_buffer_mod
| * remove untrue commentRyan Huber2015-11-171-1/+0
| |
* | close websocket to prevent race + fix broken comparisonRyan Huber2015-11-181-1/+2
|/
* open im chats if they have unread messagesRyan Huber2015-11-171-0/+2
|
* Merge branch 'master' into 114_better_buffer_modRyan Huber2015-11-171-3/+11
|\
| * Merge branch 'master' into respect-prefix-same-nickRyan Huber2015-11-171-86/+214
| |\ | | | | | | | | | | | | Conflicts: wee_slack.py
| * | Respect weechat.look.prefix_same_nick settingTollef Fog Heen2015-08-011-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | When that is set, use it for repeated nick lines. Doesn't handle bots properly yet, will be easier to do once https://github.com/rawdigits/wee-slack/pull/49 is merged. Fixes: #56
* | | Merge branch 'master' into 114_better_buffer_modRyan Huber2015-11-171-31/+70
|\ \ \ | | |/ | |/| | | | | | | Conflicts: wee_slack.py
| * | Merge pull request #105 from rawdigits/tfheen/me-action-renderRyan Huber2015-11-171-0/+5
| |\ \ | | | | | | | | Render _foo bar baz_ as action messages