aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #356 from ToxicFrog/toxicfrog/missing-textRyan Huber2017-04-211-2/+2
|\ | | | | Fix channel history not appearing when an earlier message has 'text': None
| * Fix channel history not appearing when an earlier message has 'text': NoneBen Kelly2017-04-211-2/+2
|/ | | | | | | | | | | | Today I learned that sometimes, rather than the key missing, it has the value None. In this case, (key in dict) is true! This fixes an issue where, if the backscroll of a channel contained such a message, it would throw while fetching the backscroll and cut off without fetching all of it. Signed-off-by: Ben Kelly <btk@google.com> Signed-off-by: Ben Kelly <bk@ancilla.ca>
* Merge pull request #347 from V13Axel/status_commandRyan Huber2017-04-182-0/+38
|\ | | | | Add command for setting Slack Status
| * Remove redundant team reference retrievalV13Axel2017-04-171-1/+0
| |
| * Add command for setting Slack StatusV13Axel2017-04-132-0/+39
| |
* | Merge pull request #348 from trygveaa/fix/unicodeTollef Fog Heen2017-04-181-59/+133
|\ \ | | | | | | Proper support for unicode
| * | Decode arguments sent to callback functionsTrygve Aaberge2017-04-151-0/+36
| | |
| * | Do encode/decode in websocket and urllib callsTrygve Aaberge2017-04-151-3/+3
| | |
| * | Create a wrapper around weechat which handles encodingTrygve Aaberge2017-04-151-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | This encodes everything sent into weechat, and decodes the return values, so we don't have to do it every place we call weechat. We still have to decode the arguments in all of the callback functions though. The encode_to_utf8 and decode_from_utf8 functions traverses data structures and encodes/decodes all of the strings inside the structures.
| * | Remove all calls to encode and decodeTrygve Aaberge2017-04-151-20/+9
| | | | | | | | | | | | | | | We will readd these in the appropriate places, as described two commits ago.
| * | Remove utf8 argument from get_senderTrygve Aaberge2017-04-151-5/+2
| | | | | | | | | | | | This was not used anywhere.
| * | Use unicode literals everywhereTrygve Aaberge2017-04-151-30/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes all strings to be unicode strings in an attempt to handle unicode better. The idea is to use unicode everywhere internally in wee_slack and decode/encode where data is received/sent to/from wee-slack. That means we have to decode strings received from weechat or slack and encode strings we send to them. This way encoding and decoding is done on specific places, and if done everywhere, we should not get any unicode errors.
* | | Merge pull request #353 from deepy/documentationTollef Fog Heen2017-04-181-7/+7
|\ \ \ | |/ / |/| | Updates README to give correct instructions for settings.
| * | Changes aliases example to have multiple entries.Alex Nordlund2017-04-181-1/+1
| | |
| * | Adds key:value to aliases. Closes #337Alex Nordlund2017-04-181-1/+1
| | |
| * | Corrects server_alias -> server_aliases.Alex Nordlund2017-04-181-1/+1
| | |
| * | Updates README to give correct instructions for settings.Alex Nordlund2017-04-181-7/+7
|/ /
* | Merge pull request #344 from wee-slack/pep8Ryan Huber2017-04-141-168/+374
|\ \ | |/ |/| PEP8 fixups
| * PEP8 fixupsTollef Fog Heen2017-04-131-168/+374
|/ | | | Lots of missing whitespace and other minor fixups.
* Merge pull request #342 from wee-slack/show_channels_with_hash_symbol_properlyRyan Huber2017-04-131-1/+3
|\ | | | | do it for channels but not users, hence new elif
| * do it for channels but not users, hence new elifRyan Huber2017-04-131-1/+3
|/
* Merge pull request #341 from wee-slack/actually_unfurl_againRyan Huber2017-04-131-13/+13
|\ | | | | yay for unfurls
| * yay for unfurlsRyan Huber2017-04-131-13/+13
|/
* Merge pull request #340 from wee-slack/fix_joinRyan Huber2017-04-131-1/+1
|\ | | | | 🤳
| * wrong var nameRyan Huber2017-04-131-1/+1
|/
* Merge pull request #336 from bronzehedwick/patch-2Ryan Huber2017-04-131-6/+6
|\ | | | | Fix readme markdown
| * Fix readme markdownChris DeLuca2017-04-131-6/+6
| | | | | | Github changed their markdown parser, and broke a bunch of readmes.
* | Merge pull request #339 from ToxicFrog/toxicfrog/nick-coloursRyan Huber2017-04-131-11/+7
|\ \ | | | | | | Defer nick colourization to weechat's built in support
| * | Defer nick colourization to weechat's built in supportBen Kelly2017-04-131-11/+7
| |/ | | | | | | Signed-off-by: Ben Kelly <btk@google.com>
* | Merge pull request #338 from ToxicFrog/toxicfrog/formattingRyan Huber2017-04-131-1/+5
|\ \ | | | | | | Translate slack formatting codes to/from IRC formatting codes
| * | Translate slack formatting codes to/from IRC formatting codesBen Kelly2017-04-131-1/+5
| |/ | | | | | | Signed-off-by: Ben Kelly <btk@google.com>
* | Merge pull request #287 from ToxicFrog/toxicfrog/action-supportRyan Huber2017-04-132-7/+17
|\ \ | |/ |/| Fix /me handling for sent and received messages
| * Handling incoming me_message subtypes.Ben Kelly2017-04-132-7/+17
|/ | | | Signed-off-by: Ben Kelly <btk@google.com>
* Merge pull request #320 from oschwald/patch-11.0-RC1Ryan Huber2017-04-131-1/+1
|\ | | | | Update token link
| * Update token linkGregory Oschwald2017-03-051-1/+1
| | | | | | The previous page only links to the new style application tokens, which do not work.
* | Merge pull request #334 from wee-slack/wee-ng-mergeRyan Huber2017-04-12150-2210/+4117
|\ \ | |/ |/| Wee ng merge
| * Merge pull request #335 from trygveaa/wee-ng-mergeRyan Huber2017-04-121-0/+11
| |\ | | | | | | Wee-ng merge
| | * Merge remote-tracking branch 'wee-ng/master' into wee-ng-mergeTrygve Aaberge2017-04-12150-2210/+4117
| |/| |/| |
| | * much much better handling of read markersRyan Huber2017-04-051-4/+4
| | |
| | * remove dbgRyan Huber2017-03-271-1/+0
| | |
| | * fix here/group/channelRyan Huber2017-03-271-5/+7
| | |
| | * fix broken linkifying wrong-lyRyan Huber2017-03-271-1/+1
| | |
| | * don't create a new channel ughRyan Huber2017-03-271-0/+8
| | |
| | * remove unnecessary checkRyan Huber2017-02-231-1/+0
| | |
| | * stop linter complaintRyan Huber2017-02-221-0/+1
| | |
| | * Merge pull request #1 from Wolf480pl/thread_enhancementsRyan Huber2017-02-221-6/+52
| | |\ | | | | | | | | Slack thread enhancements
| | | * Fix a memleakWolf480pl2017-02-221-0/+3
| | | |
| | | * Set the thread channel's topic to the parent messageWolf480pl2017-02-221-0/+4
| | | |
| | | * Avoid hash collisions by taking more hexdigits as necessaryWolf480pl2017-02-221-8/+31
| | | |
| | | * Add sha1 thread IDsWolf480pl2017-02-221-5/+21
| | | |