1
0
mirror of https://github.com/gryf/slack-backup.git synced 2025-12-17 11:30:25 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
3d0961c090 Adjusted reporters to handle files attached to messages. 2019-01-05 17:43:46 +01:00
db8527e9af Added implementation for url_file_attachment option.
Using url_file_attachment user can specify if he like to change objects
like 'file_share' marked as external (in Slack servers point of view)
to attachments, so the only value would be remembered URL for the
"uploaded" document as an attachment. Or, treat it as is, and let the
slack-backup to produce file which contain the URLs and corresponding
local file names for such files.
2018-07-16 15:20:45 +02:00
007fe04c08 Use as_uri only for absolute file paths, not random strings. 2018-05-05 16:13:17 +02:00
a57d5085b1 Explicitly open log files with utf8 encoding 2018-05-01 12:41:02 +02:00
05799e9dfe Use pathlib for providing uri 2018-05-01 12:38:07 +02:00
6a261c2d21 Fixes for links handling 2018-03-11 13:30:11 +01:00
39b16e68a5 Added simple html reporter 2018-03-11 12:47:11 +01:00
ce8cd4a786 Small fixes for generating procedure, re-added emoji substitution 2018-03-11 12:46:10 +01:00
7b3a4d1f68 Moved message data generators to base class 2018-03-11 11:59:08 +01:00
dcf957fc75 Fix for selecting channels log to generate 2018-03-10 19:16:58 +01:00
3e5dfb13cf Helper Reporter methods _msg* now returns dict instead of string 2018-03-10 19:10:35 +01:00
59ae9c7046 Introducing templates for message lines 2018-03-10 18:57:19 +01:00
710142d3d7 Moved write_message to Reporter base class 2018-03-10 18:48:55 +01:00
37aca84605 Added NoneReporter 2018-03-10 18:39:29 +01:00
57db9b69f6 Fix a way how users and URLs are treated in report
In case of user replacement there was a bunch of regular expressions
used, which was an overkill. Substituted them with one generic regexp.

Moved method which is responsible for substitution to the base class.

Last change is a cosmetic one - uploaded files are represented as
absolute path with file:// prefix, so that it is easier to open it with
xdg-open for example.
2018-03-10 17:45:31 +01:00
b5e9c150ed Merge to head 2016-11-26 19:23:03 +01:00
af7f24e9a9 Dropping Python 2 support 2016-11-26 19:13:12 +01:00
c8c1dd4bfe Small fixes, version bump, alpha stage, added emoji map. 2016-11-26 18:03:29 +01:00
c79d8ae0e1 Small fixes, version bump, alpha stage, added emoji map. 2016-11-26 17:57:58 +01:00
352a88dcce Implementation of TextReporter 2016-11-26 15:10:19 +01:00
ac9dee9e5d Fix returned channel list 2016-11-25 09:37:29 +01:00
97069e0a83 Added reporters module 2016-11-25 07:45:37 +01:00