Anna Schumaker
49d5be8a76
Decode base64 encoded messages before posting
...
This is needed to unscramble the encoded string, otherwise we won't be
able to find the thread id or message.
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2016-11-18 09:54:36 -05:00
Anna Schumaker
65e9b15414
Better handling for multipart message replies
...
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2016-11-17 10:55:48 -05:00
Anna Schumaker
867b1edb24
Improve slackpost script
...
I also enable posting to IMs and return any error that we receive when
attempting to post.
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2016-11-17 10:29:39 -05:00
Anna Schumaker
673bac86bc
slackpost: Decode reply as quoted-printable text
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-06-16 11:42:16 -04:00
Anna Schumaker
14e44c1734
Post to thread object, not channel object.
...
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-06-16 11:22:52 -04:00
Anna Schumaker
c5e15161bd
slackpost: Updates for current email formatting
...
- Look for thread= lines
- Support posting to both channels and private groups
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-06-16 11:06:03 -04:00
Anna Schumaker
5fe26ca0e5
Send email with X-Slack-Header to specify channel
...
This is slightly more accurate than using channel names to lookup where
to post.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-27 16:37:37 -04:00
Anna Schumaker
d43f0e52d8
Update reply handler
...
What we really want to do is look for the first line beginning with ">"
and discard everything after it (and the line immediately before it,
just to be safe)
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-27 16:18:50 -04:00
Anna Schumaker
29815fc28b
slackpost: Properly strip out reply markers
...
Remove all lines beginning with ">", and the line immediately before
them.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-27 11:11:35 -04:00
Anna Schumaker
6110e5ff3b
slackpost.py: Write a script for posting to slack
...
The idea is that postfix will pipe an email message into this script,
which will then post the reply to slack.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 21:21:46 -04:00