aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test string with multiple unfurlcalve2016-01-041-0/+3
|
* 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.
* Fix up pytestTollef Fog Heen2015-12-212-0/+2
|
* Merge pull request #142 from rawdigits/141_dm_to_wrong_personRyan Huber2015-12-041-1/+5
|\ | | | | always update the channels hashtable when we attach or detach a buffer
| * 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.
* Merge pull request #136 from rawdigits/bot-and-attachment-formattingTollef Fog Heen2015-12-021-10/+34
|\ | | | | Bot and attachment formatting
| * 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
| |
* | Merge pull request #130 from rawdigits/129_typing_notification_errorsRyan Huber2015-11-231-9/+11
|\ \ | |/ |/| check that channel has a buffer before sending typing notif
| * check that channel has a buffer before sending typing notifRyan Huber2015-11-231-9/+11
|/
* Merge pull request #127 from rawdigits/minimum_version_checkRyan Huber2015-11-191-101/+98
|\ | | | | check for minimum weechat version + error
| * check for minimum weechat version + errorRyan Huber2015-11-191-101/+98
|/
* change minimum version note to 1.3+Ryan Huber2015-11-191-1/+1
|
* 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
|
* Merge pull request #124 from rawdigits/114_better_buffer_modRyan Huber2015-11-189-221/+258
|\ | | | | lots of refactoring for efficiency
| * version bump and readme updateRyan Huber2015-11-182-2/+2
| |
| * 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 pull request #113 from rawdigits/respect-prefix-same-nickRyan Huber2015-11-171-3/+11
|\ \ | | | | | | Respect weechat.look.prefix_same_nick setting
| * \ Merge branch 'master' into respect-prefix-same-nickRyan Huber2015-11-175-103/+277
| |\ \ | |/ / |/| | | | | | | | 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-172-32/+82
| | |\ | |_|/ |/| | | | | | | | 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
| * | | Render _foo bar baz_ as action messagesTollef Fog Heen2015-08-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The slack client (and we) change `/me foo bar baz` into a `_foo bar baz_` message. Translate those messages back into actions when displaying them. Fixes: #61
* | | | clean up server aliasingRyan Huber2015-11-171-11/+12
| | | |
* | | | Merge pull request #107 from justone/server_aliasesRyan Huber2015-11-172-5/+17
|\ \ \ \ | | | | | | | | | | support server aliases, so buffer names are shorter
| * | | | support server aliases, so buffer names are shorterNate Jones2015-08-292-5/+17
| |/ / /
* | | | Merge pull request #108 from kenyonj/jk-add-upload-optionRyan Huber2015-11-172-1/+36
|\ \ \ \ | | | | | | | | | | Add upload capability to slack buffer
| * | | | Add upload capability to slack bufferJustin Kenyon2015-11-032-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit: - Adds the ability to upload a file to the current slack buffer using the `/slack upload [file_path]` command Why? - This is a very useful feature for people that are trying to fully replace the slack web app
* | | | | Merge pull request #110 from rawdigits/avoid-colouring-channelsRyan Huber2015-11-171-21/+14
|\ \ \ \ \ | | | | | | | | | | | | Stop colouring channels and dmchannels
| * | | | | Avoid putting colors in private chat namesTollef Fog Heen2015-09-251-21/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Channel names in weechat are simple strings that should not have colors embedded, so don't do that (unless overridden by a configuration setting). In addition, remove channels_not_on_current_server_color support. Fixes #73