| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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
|
| | | | |
|
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Commit 46384b6782f0b73318f764bf02f24cdbcdd059c9 introduced storing the
reaction users as a set in the message_json representation. However sets
are not JSON serializable. Instead uses a list and checks for membership
prior to manipulation.
Fixes the traceback:
Traceback (most recent call last):
File "wee_slack.py", line 2105, in cache_write_cb
cache_file.write("{}\n".format(json.dumps(message.message_json)))
File "/usr/lib/python2.7/json/__init__.py", line 244, in dumps
return _default_encoder.encode(obj)
File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python2.7/json/encoder.py", line 184, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: set([u'Uxxxxxxxx']) is not JSON serializable
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Prevents the traceback:
Traceback (most recent call last):
File "wee_slack.py", line 1361, in slack_websocket_cb
proc[function_name](message_json)
File "wee_slack.py", line 1417, in process_presence_change
server.users.find(identifier).set_active()
File "wee_slack.py", line 860, in set_active
w.nicklist_nick_set(self.server.buffer, self.nicklist_pointer,
"visible", "1")
AttributeError: 'User' object has no attribute 'nicklist_pointer'
|
|\ \
| | |
| | | |
Added process_group_join, process_group_leave and process_group_topic
|
| |/
| |
| |
| | |
that pass to their channel equivalents
|
|\ \
| | |
| | | |
Fix error when sending messages to server query
|
| | | |
|
|\ \ \
| | | |
| | | | |
Encode topics in utf-8, not ascii
|