aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More debuggingTollef Fog Heen2015-10-261-3/+5
|
* Simplify URL string constructionTollef Fog Heen2015-10-261-2/+2
|
* Merge pull request #117 from trygveaa/feature/use-weechat-for-requestsRyan Huber2015-10-212-13/+6
|\ | | | | Use weechat for requests instead of curl
| * Use weechat for requests instead of curlTrygve Aaberge2015-10-182-13/+6
|/ | | | | | | | | | Weechat has (since version 0.3.7) a builtin method for plugins to download from URLs. This commit replaces the use of the curl command with this. There are two main reasons for doing this: - When using an external command, the arguments are visible to all users of the machine, including the token for connecting to Slack. - It removes the need to depend on curl.
* Merge pull request #106 from rawdigits/tfheen/unfurl-test-and-fixupsRyan Huber2015-09-104-36/+94
|\ | | | | unfurl unit test and cleanups
| * Handle unfurling of things with no alt text correctly as wellTollef Fog Heen2015-08-292-16/+23
| |
| * Drop debugging outputTollef Fog Heen2015-08-291-2/+0
| |
| * Whitespace fixupsTollef Fog Heen2015-08-291-2/+0
| |
| * Refactor unfurl_refsTollef Fog Heen2015-08-292-44/+49
| | | | | | | | | | Instead of blindly splitting on spaces, use something approximating a parser for parsing refs. Also add another test case.
| * Add unit test for unfurl_refs and correct logicTollef Fog Heen2015-08-292-15/+66
| | | | | | | | | | The logic for showing/ignoring alt refs was wrong. Fix that, and to prevent this from showing up again, add a unit test.
| * Whitespace cleanupTollef Fog Heen2015-08-291-5/+0
| |
| * Make sure to import rootdir for pytestTollef Fog Heen2015-08-291-0/+4
| |
* | make this bit actually apply the smart filterRyan Huber2015-09-081-1/+1
|/
* Merge pull request #104 from rawdigits/tfheen/distracting-channel-requiredRyan Huber2015-08-281-0/+3
|\ | | | | Require /slack distracting to be run from a channel buffer
| * Require /slack distracting to be run from a channel bufferTollef Fog Heen2015-08-291-0/+3
|/ | | | | Running this from a server buffer makes no sense, so output an error if you do that.
* Merge pull request #49 from terlar/feature/bot-with-nameTollef Fog Heen2015-08-281-2/+29
|\ | | | | Display name instead of ID for bots
| * Add Bot entity to be able to get the nameTerje Larsen2015-08-261-2/+29
|/ | | | | | | | Right now all the bots are represented as their ID:s which is not very useful, this fixes this. This is my first python code so please let me know if something is weird.
* Update README.mdRyan Huber2015-08-191-3/+3
| | | change parens to square brackets to make instructions more clear.
* Merge pull request #102 from rawdigits/unfurl_sending_messagesTollef Fog Heen2015-08-191-6/+16
|\ | | | | Centralise handling of unfurling a bit and unfurl replies
| * Centralise handling of unfurling a bit and unfurl repliesTollef Fog Heen2015-08-131-6/+16
| | | | | | | | | | | | Previously, we would not unfurl responses to our own messages, which meant we ended up with messages like "<@U12341|foo>: hi" instead of "@foo: hi". This fixes that.
* | version bump - bugfixesRyan Huber2015-08-141-1/+1
| |
* | reaction text changes should happen after unicode conversionRyan Huber2015-08-141-3/+3
| |
* | bugfix: save string in as unicode when changing textRyan Huber2015-08-141-2/+4
|/
* fix issues when message text == None + version bumpRyan Huber2015-08-111-4/+7
|
* wrap in a tryRyan Huber2015-08-031-3/+6
|
* derp - this broke stuff - removing fastRyan Huber2015-08-021-1/+3
|
* Bump version numberTollef Fog Heen2015-08-011-1/+1
|
* Merge pull request #65 from bchretien/masterRyan Huber2015-08-011-1/+0
|\ | | | | Fix unicode error in me_command_cb.
| * Fix unicode error in me_command_cb.Benjamin Chrétien2015-04-251-1/+0
| | | | | | | | Fix #64
* | Merge pull request #75 from iasoon/masterRyan Huber2015-08-011-10/+8
|\ \ | | | | | | Colored own nick as weechat.color.chat_nick_self
| * | Colored own nick as weechat.color.chat_nick_selfIlion Beyst2015-05-231-10/+8
| | |
* | | Avoid Here/Away nick lists in private chatsTollef Fog Heen2015-08-011-0/+2
| | | | | | | | | | | | | | | Override the update_nicklist implementation for private chats to just pass, since we don't want nicklists there.
* | | switch to /query buffer by default - option to disableRyan Huber2015-08-011-1/+6
| | |
* | | Merge pull request #90 from rawdigits/tfheen/nicklist_groupsRyan Huber2015-08-011-6/+19
|\ \ \ | | | | | | | | Use nick lists for grouping here/away
| * | | Use nick lists for grouping here/awayTollef Fog Heen2015-08-011-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using + to denote users present, use nick groups and label them Present and Away. Also, add all non-deleted users to the server buffer. I believe this should fix #72
* | | | Merge pull request #94 from rawdigits/unload-cleanlyRyan Huber2015-08-011-0/+1
|\ \ \ \ | | | | | | | | | | Unload cleanly
| * | | | Unload cleanlyTollef Fog Heen2015-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Let weechat know that we unloaded successfully and prevent a tiny bit of whining on reload
* | | | | Merge pull request #95 from rawdigits/unfurl-include-prefix-suffixRyan Huber2015-08-011-4/+17
|\ \ \ \ \ | |/ / / / |/| | | | Include any text that comes before/after refs in the output text.
| * | | | Make it possible to ignore alt text when unfurlingTollef Fog Heen2015-07-311-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a setting unfurl_ignore_alt_text which when non-0 will prefer the plain text version of URLs and other similar instead of using the expanded version from slack. Nicks and channel names are always expanded. The default is the old behaviour, to prefer the slack-expanded text.
| * | | | Include any text that comes before/after refs in the output text.Tollef Fog Heen2015-07-311-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: input *.<http://foo.com|foo.com> output http://foo.com After input *.<http://foo.com|foo.com> output *.http://foo.com This isn't super pretty, but it's better than losing the text.
* | | | Merge branch 'master' of github.com:rawdigits/wee-slackRyan Huber2015-07-301-1/+4
|\ \ \ \
| * \ \ \ Merge pull request #93 from mrtazz/patch-1Ryan Huber2015-07-281-1/+4
| |\ \ \ \ | | | | | | | | | | | | add install instructions for FreeBSD
| | * | | | add install instructions for FreeBSDDaniel Schauenberg2015-07-281-1/+4
| |/ / / /
* / / / / fucking unicodeRyan Huber2015-07-301-4/+5
|/ / / /
* | | | fix message editing/deletionRyan Huber2015-07-271-3/+3
| | | |
* | | | print the exception on a websocket connection failureRyan Huber2015-07-231-1/+2
| | | |
* | | | Update README.mdRyan Huber2015-07-231-1/+1
| | | |
* | | | add @here notificationRyan Huber2015-07-231-1/+1
| | | |
* | | | versionRyan Huber2015-07-231-1/+1
| | | |
* | | | fix linkify to include original nameRyan Huber2015-07-231-2/+2
| | | |