| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| | |
Remove unnecessary channels.join API request
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Performance improvements
|
| | |
| | |
| | |
| | | |
Avoid creating a full new string and use a string slice instead.
|
| | |
| | |
| | |
| | |
| | | |
Instead of lookup up the user object a bunch of times in buffer_prnt,
just fetch it once.
|
| | |
| | |
| | |
| | |
| | | |
When adding an item to the hash table, pass in the updated item, which
saves a bunch of work.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
Tag string is being overwritten instead of appended.
|
| | |
| | |
| | |
| | |
| | | |
Custom slash commands are handled by doing `/slack slash /foo [args…]`
Fixes: #227
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
add whitespace and anchors
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
stop trying to hide channels that no longer exist
|
| | | | |
|
|/ / / |
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
add oauth code
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
Just handle <>& for now.
Fixes: #186
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make sure we have something that's a well-formed nick before we go
ahead and do silly things.
Fixes: #237
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make it clearer where the messages are coming from when printing to
main buffer.
Fixes: #240
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If we get a ValueError when loading the json, continue, instead of
making the user unhappy.
Closes: #248
|
|\ \ \
| | | |
| | | | |
Support passing additional tags to enable notification_center.py
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Open new queries
|
| | | | | |
|
| |/ / / |
|