Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | massssssssive merge of the new codebase | Ryan Huber | 2017-04-12 | 149 | -2209/+4103 |
| | |||||
* | Make this fail back to the default for testability0.99.11 | Ryan Huber | 2017-01-26 | 1 | -1/+4 |
| | |||||
* | messages received during reconnect are missed w/o this | Ryan Huber | 2017-01-26 | 1 | -0/+3 |
| | |||||
* | Merge branch 'master' of github.com:rawdigits/wee-slack | Ryan Huber | 2017-01-26 | 0 | -0/+0 |
|\ | |||||
| * | Merge pull request #285 from rawdigits/tfheen/away | Ryan Huber | 2017-01-26 | 1 | -0/+33 |
| |\ | | | | | | | Add support for /away | ||||
* | \ | Merge commit 'refs/pull/285/head' of github.com:rawdigits/wee-slack | Ryan Huber | 2017-01-26 | 1 | -0/+33 |
|\ \ \ | |/ / |/| / | |/ | |||||
| * | Add support for /away | Tollef Fog Heen | 2016-12-19 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | | | | | | Set localvar which is picked up by weechat and which should be picked up by `screen_away.py` and similar tools. Thanks to Tor Hveem (@torhve) for inspiration. Fixes: #161 This should also make /away D | ||||
* | | Merge pull request #300 from rawdigits/pull-290-configrefactor | Ryan Huber | 2017-01-26 | 1 | -85/+91 |
|\ \ | | | | | | | Refactor the way settings work + fixes | ||||
| * | | add str function for debugging | Ryan Huber | 2017-01-26 | 1 | -0/+3 |
| | | | |||||
| * | | fix some settings that weren't migrated | Ryan Huber | 2017-01-26 | 1 | -6/+6 |
| | | | |||||
| * | | Merge commit 'refs/pull/290/head' of github.com:rawdigits/wee-slack | Ryan Huber | 2017-01-26 | 1 | -79/+82 |
|/| | | |||||
| * | | Refactor the way settings work | Ben Kelly | 2016-12-23 | 1 | -79/+82 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | All the per-setting globals are replaced with a single global object, 'config'; its attrs are the weechat settings. They're automatically updated on config change, and the setting names and defaults are specified as part of a map in the PluginConfig class definition. To add a new setting, add the setting name and default to PluginConfig.settings, and if it's not a boolean, add an appropriate PluginConfig.get_<name> method as well. Signed-off-by: Ben Kelly <bk@ancilla.ca> | ||||
* | | Merge pull request #295 from jessfraz/add-dockerfile | Ryan Huber | 2017-01-26 | 1 | -0/+36 |
|\ \ | | | | | | | add dockerfile | ||||
| * | | add dockerfile | Jess Frazelle | 2017-01-06 | 1 | -0/+36 |
| | | | | | | | | | | | | Signed-off-by: Jess Frazelle <acidburn@google.com> | ||||
* | | | Merge pull request #296 from lchausmann/master | Ryan Huber | 2017-01-26 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | Handles upload with spaces in filename | ||||
| * | | | Handles upload with spaces in filename | Lars Chr. Duus Hausmann | 2017-01-09 | 1 | -0/+2 |
| |/ / | |||||
* | | | Merge pull request #299 from rawdigits/performance_improvement_test | Ryan Huber | 2017-01-26 | 1 | -65/+76 |
|\ \ \ | | | | | | | | | Performance improvement and minor refactor | ||||
| * | | | restore away/active indicator but still don't update nicklist | Ryan Huber | 2017-01-25 | 1 | -11/+12 |
| | | | | |||||
| * | | | derp | Ryan Huber | 2017-01-24 | 1 | -4/+4 |
| | | | | |||||
| * | | | fix the other methods too | Ryan Huber | 2017-01-24 | 1 | -8/+11 |
| | | | | |||||
| * | | | fix to not open ever damn user as a channel | Ryan Huber | 2017-01-24 | 1 | -1/+2 |
| | | | | |||||
| * | | | finally get rid of some of my idiocy | Ryan Huber | 2017-01-24 | 1 | -35/+41 |
| | | | | |||||
| * | | | don't care about last message anymore. load all history | Ryan Huber | 2017-01-24 | 1 | -4/+1 |
| | | | | |||||
| * | | | don't load channel history until opening the channel | Ryan Huber | 2017-01-24 | 1 | -2/+9 |
| | | | | |||||
| * | | | don't update nicklists with presence anymore | Ryan Huber | 2017-01-24 | 1 | -8/+4 |
|/ / / | |||||
* | | | Merge pull request #297 from mattrobenolt/typing | Tollef Fog Heen | 2017-01-20 | 1 | -1/+2 |
|\ \ \ | |/ / |/| | | typing: don't trigger typing indicator from weechat commands | ||||
| * | | typing: don't trigger typing indicator from weechat commands | Matt Robenolt | 2017-01-19 | 1 | -1/+2 |
|/ / | |||||
* / | Format connection-info as unicode | Thom Wiggers | 2017-01-04 | 1 | -6/+6 |
|/ | |||||
* | Update docs slightly | Tollef Fog Heen | 2016-11-29 | 1 | -1/+7 |
| | |||||
* | Make message editing use actual regexes | Tollef Fog Heen | 2016-11-28 | 1 | -10/+22 |
| | | | | | | | | | | | | If you use s/foo/bar/, use actual regexes for this, since that's what some of us expect. Also add support for /g to do it globally. Don't add any way to have the old functionality, if too many people complain we can have that behind another syntax or a flag. Based heavily on the code by @terminalmage Fixes #219, #197 | ||||
* | Make it possible to set timeouts on slack URL comms | Tollef Fog Heen | 2016-11-28 | 1 | -4/+7 |
| | | | | | | | | | | | | | On very busy slack networks the default timeout of 20000 can be a problem. This timeout can mean that the extension is unable to download all the necesarry data before weechat times out the connection. This patch allows for the timeout to be adjusted so that for larger networks the end user can specify it. Based on #279 by @GregBowyer. Closes: #279 | ||||
* | Merge pull request #282 from rawdigits/update_hashtable_on_close | Ryan Huber | 2016-11-22 | 1 | -1/+7 |
|\ | | | | | Update hashtable on buffer open | ||||
| * | 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_ |