aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
| | * | 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-171-5/+12
| |\ \ \ | | | | | | | | | | support server aliases, so buffer names are shorter
| | * | | support server aliases, so buffer names are shorterNate Jones2015-08-291-5/+12
| | |/ /
| * | | Merge pull request #108 from kenyonj/jk-add-upload-optionRyan Huber2015-11-171-0/+29
| |\ \ \ | | | | | | | | | | Add upload capability to slack buffer
| | * | | Add upload capability to slack bufferJustin Kenyon2015-11-031-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | remove unused functionRyan Huber2015-11-171-19/+1
| | | | | |
* | | | | | go back to using dm channels only as channelsRyan Huber2015-11-171-22/+11
| | | | | |
* | | | | | open channels or usersRyan Huber2015-11-171-4/+6
| | | | | |
* | | | | | did this ever work ?!Ryan Huber2015-11-171-0/+2
| | | | | |
* | | | | | fix colonRyan Huber2015-11-171-1/+1
| | | | | |
* | | | | | version bump - initial nicklist stateRyan Huber2015-11-171-8/+5
| | | | | |
* | | | | | new smart nicklist updatingRyan Huber2015-11-171-11/+27
| | | | | |
* | | | | | use way better model for cache + versioning of cache dataRyan Huber2015-11-161-13/+13
| | | | | |
* | | | | | show edited messages differently than unfurlsRyan Huber2015-11-161-1/+4
| | | | | |
* | | | | | turn on exceptions again. reaction fixRyan Huber2015-11-161-16/+18
| | | | | |