Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | every time we open a buffer, we clear the hashtable | Ryan Huber | 2016-11-22 | 1 | -1/+7 |
| | |||||
* | Merge pull request #215 from terminalmage/issue190 | Ryan Huber | 2016-11-18 | 1 | -1/+0 |
|\ | | | | | Remove unnecessary channels.join API request | ||||
| * | Remove unnecessary channels.join API request | Erik Johnson | 2016-04-12 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two problems with this API request: 1. According to https://api.slack.com/methods/channels.join, "user" is not a valid argument. 2. The hash table lookup in the removed line of code is destined to fail anyway, because ``self.name`` here refers to the channel name, which is not present in the ``users`` SearchList() instance as it maps usernames to the Slack API user IDs. Indeed, this causes the call to ``users.find(self.name)`` to return ``None``, causing an AttributeError to be raised. Fixes #190. | ||||
* | | Merge pull request #278 from mattrobenolt/parametrize | Tollef Fog Heen | 2016-11-11 | 1 | -26/+27 |
|\ \ | | | | | | | Leverage pytest.parametrize for test_unfurl | ||||
| * | | Leverage pytest.parametrize for test_unfurl | Matt Robenolt | 2016-11-07 | 1 | -26/+27 |
| | | | | | | | | | | | | | | | This provides nicer granular test cases rather than one whole test that fails. | ||||
* | | | Merge pull request #263 from rawdigits/tfheen/performance | Tollef Fog Heen | 2016-11-11 | 1 | -14/+27 |
|\ \ \ | |/ / |/| | | Performance improvements | ||||
| * | | Speed up User comparison | Tollef Fog Heen | 2016-10-03 | 1 | -1/+3 |
| | | | | | | | | | | | | Avoid creating a full new string and use a string slice instead. | ||||
| * | | Performance: fetch user object only once | Tollef Fog Heen | 2016-10-03 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | Instead of lookup up the user object a bunch of times in buffer_prnt, just fetch it once. | ||||
| * | | Performance: pass in item to update | Tollef Fog Heen | 2016-10-03 | 1 | -6/+16 |
| | | | | | | | | | | | | | | | When adding an item to the hash table, pass in the updated item, which saves a bunch of work. | ||||
| * | | Slight performance optimisation | Tollef Fog Heen | 2016-10-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Looking for if something is in a list is slightly faster than counting the number of that item in a list, since if it is in the list, the loop can exit early. | ||||
* | | | Fix obvious mistake with tags | Tor Hveem | 2016-11-04 | 1 | -5/+5 |
| | | | | | | | | | | | | Tag string is being overwritten instead of appended. | ||||
* | | | Add support for slash commands | Alex Dills | 2016-10-20 | 2 | -1/+35 |
| | | | | | | | | | | | | | | | Custom slash commands are handled by doing `/slack slash /foo [args…]` Fixes: #227 | ||||
* | | | Merge pull request #266 from irth/master | Tollef Fog Heen | 2016-10-09 | 1 | -1/+6 |
|\ \ \ | |/ / |/| | | use the correct colors for nick_prefix/nick_suffix | ||||
| * | | use the correct colors for nick_prefix/nick_suffix | Wojciech Kwolek | 2016-10-09 | 1 | -1/+6 |
|/ / | |||||
* | | minor tweak to support new identifiers | Ryan Huber | 2016-09-29 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #262 from rawdigits/reaction_regex_improvement | Ryan Huber | 2016-09-29 | 1 | -1/+1 |
|\ \ | | | | | | | add whitespace and anchors | ||||
| * | | add whitespace and anchors | Ryan Huber | 2016-09-29 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #261 from rawdigits/mpdm_cleanup | Ryan Huber | 2016-09-29 | 1 | -3/+15 |
|\ \ \ | |/ / |/| | | consistently open mpdm the same way by handling the process_ | ||||
| * | | do not create a new channel here | Ryan Huber | 2016-09-29 | 1 | -1/+1 |
| | | | |||||
| * | | handle mpim on websocket | Ryan Huber | 2016-09-28 | 1 | -0/+10 |
| | | | |||||
| * | | consistently open mpdm the same way by handling the process_ | Ryan Huber | 2016-09-28 | 1 | -3/+5 |
|/ / | |||||
* | | Merge branch 'master' of github.com:rawdigits/wee-slack | Ryan Huber | 2016-09-28 | 1 | -1/+8 |
|\ \ | |||||
| * \ | Merge pull request #260 from rawdigits/remove_distracting_channels_if_dont_exist | Ryan Huber | 2016-09-28 | 1 | -1/+8 |
| |\ \ | | | | | | | | | stop trying to hide channels that no longer exist | ||||
| | * | | stop trying to hide channels that no longer exist | Ryan Huber | 2016-09-28 | 1 | -1/+8 |
| | | | | |||||
* | | | | put back cache | Ryan Huber | 2016-09-28 | 1 | -1/+1 |
|/ / / | |||||
* | | | tiny tweak to formatting | Ryan Huber | 2016-09-28 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #259 from rawdigits/pep8_finally | Ryan Huber | 2016-09-28 | 1 | -67/+107 |
|\ \ \ | |/ / |/| | | pep8 errything | ||||
| * | | fixed up per tfheen's suggestions | Ryan Huber | 2016-09-28 | 1 | -10/+5 |
| | | | |||||
| * | | this needs to happen. it is a mutate not an important return value | Ryan Huber | 2016-09-28 | 1 | -1/+1 |
| | | | |||||
| * | | pep8 errything | Ryan Huber | 2016-09-28 | 1 | -62/+107 |
|/ / | |||||
* | | combines mithrandir's fix and retry logic backwards fix | Ryan Huber | 2016-09-26 | 1 | -2/+2 |
| | | |||||
* | | longer timeout, because big teams | Ryan Huber | 2016-09-26 | 1 | -2/+2 |
| | | |||||
* | | derp | Ryan Huber | 2016-09-26 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #257 from rawdigits/fix_reconnect_logic | Ryan Huber | 2016-09-26 | 1 | -1/+16 |
|\ \ | | | | | | | fixes reconnects, which hang if we never hear back from an rtm.start | ||||
| * | | rushjob unfucked | Ryan Huber | 2016-09-26 | 1 | -3/+3 |
| | | | |||||
| * | | fixes reconnects, which hang if we never hear back from an rtm.start | Ryan Huber | 2016-09-26 | 1 | -1/+16 |
|/ / | |||||
* | | Merge pull request #245 from rawdigits/oauth-test | Ryan Huber | 2016-09-26 | 1 | -0/+29 |
|\ \ | | | | | | | add oauth code | ||||
| * | | add oauth code | Ryan Huber | 2016-06-20 | 1 | -0/+29 |
| | | | |||||
* | | | Merge pull request #255 from rawdigits/tfheen/print-wrong-token | Tollef Fog Heen | 2016-09-25 | 1 | -1/+9 |
|\ \ \ | | | | | | | | | Print out first ten characters of erroring tokens | ||||
| * | | | Print out first ten characters of erroring tokens | Tollef Fog Heen | 2016-09-25 | 1 | -1/+9 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | If you have multiple tokens, it can be hard to figure out which one is causing an error, so print out the first ten characters to help identify the problematic one. Fixes: #163 | ||||
* | | | Do minimal HTML entity decoding | Tollef Fog Heen | 2016-09-25 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | Just handle <>& for now. Fixes: #186 | ||||
* | | | Handle @@ and ## and similar correctly | Tollef Fog Heen | 2016-09-24 | 1 | -10/+11 |
| | | | | | | | | | | | | | | | | | | | | | Make sure we have something that's a well-formed nick before we go ahead and do silly things. Fixes: #237 | ||||
* | | | Clarify where main buffer messages come from | Tollef Fog Heen | 2016-09-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | Make it clearer where the messages are coming from when printing to main buffer. Fixes: #240 | ||||
* | | | Continue even on cache loading errors. | Tollef Fog Heen | 2016-09-24 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | If we get a ValueError when loading the json, continue, instead of making the user unhappy. Closes: #248 | ||||
* | | | Merge pull request #225 from megalithic/feature/weechat-highlights | Tollef Fog Heen | 2016-09-24 | 1 | -3/+3 |
|\ \ \ | | | | | | | | | Support passing additional tags to enable notification_center.py | ||||
| * | | | Initial add to trigger weechat highlights/notifications | Seth Messer | 2016-05-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More updates to get highlights working add that gitignore Hopefully handles all situations where a message would have highlights Removed additional settings; was not needed Resolve code review items - fix an erroneously removed condition for unsetting a config option - remove notify_highlight tag; is redundant - thanks @tfheen! Removes project-local .gitignore Undo an uncomment Reverting back to including the previously commented line | ||||
* | | | | Print out topic when the user does /topic | Tollef Fog Heen | 2016-09-24 | 1 | -2/+8 |
| | | | | |||||
* | | | | Ignore IRC commands for non-slack buffers | Tollef Fog Heen | 2016-09-24 | 1 | -2/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we're in a non-slack buffer, just ignore /part, /topic, /me, etc. This is somewhat based off #212, so thanks to @bendem for pointing this out. Fixes: #137 | ||||
* | | | | Update topic in channel object when changing the topic | Tollef Fog Heen | 2016-09-24 | 1 | -2/+2 |
| | | | | |||||
* | | | | Wait 30 seconds not 3, because we get rate limited and never reconnect. | Ryan Huber | 2016-09-22 | 1 | -1/+1 |
| | | | |