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

92 Commits

Author SHA1 Message Date
05799e9dfe Use pathlib for providing uri 2018-05-01 12:38:07 +02:00
c0c1e7c881 Fixed issue with fromtimestamp under Windows 2018-05-01 11:58:42 +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
8b133ab16a Fix tox and tests 2018-03-10 18:39:50 +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
0ffb9f9406 Version bump to 0.7 v0.7 2018-01-25 19:02:15 +01:00
2475bb029d Merge pull request #2 from lhl/master
Uploaded cookie check for logins
2018-01-24 22:06:19 +01:00
lhl
01dfc0e8bc Uploaded cookie check for logins 2018-01-24 06:35:39 -08:00
9a3c80333d Version bump v0.6 2017-11-01 18:46:33 +01:00
b2048b03e0 Changed behavoiur for duplicates
Till now, if we download certain files (like those attached to the
conversation) and we already have the file with the same name, number in
format '%03d' was added just before extension. That way there could be
possibility, that the very same file will be downloaded and stored
multiple times, like:

file.png
file.001.png
file.002.png
...

This commit prevents that by adding comparison between files we already
have and file which is downloaded from slack. Adding another file with
additional number will only have place when stored file and downloaded
have different content.
2017-11-01 18:40:52 +01:00
a077317cb4 Added retry mechanism for getting assets 2017-11-01 18:38:31 +01:00
ce2888d441 Added colors for loglevels 2017-11-01 12:45:35 +01:00
f2a78f4a52 Add message body to log 2017-11-01 11:27:01 +01:00
64d4b09468 Fix for handling messages of different types than 'message' v0.5 2017-08-06 09:22:38 +02:00
5f9f290ba4 Fix for message comment.
If comment is sent by the user, different structure of the data is sent.
First of all, the type of this message is "message", but it contain
dictionary under 'comment' key, which can be confusing, which contain
needed data (like user id). For this kind of messages, in case of lack
of 'user' in main dict, dict['comment']['user'] will be used for getting
user identifier, while dict['text'] remains as a message text.
v0.4.5
2017-02-13 19:57:31 +01:00
Roman Dobosz
08a0a82435 Changed absolute to relative for filepaths stored in File objects 2016-12-03 18:43:49 +01:00
Roman Dobosz
a42506dff9 Fix for new fnames in case of already existing ones 2016-12-03 18:14:28 +01:00
Roman Dobosz
0d7607cf3c Added log for updating specific channel messages 2016-12-02 17:46:27 +01:00
9ddd470b54 Move commands functions to its own module v0.4.4 2016-11-28 19:05:26 +01:00
feb773956c Fix for extension of config file v0.4.3 2016-11-28 18:25:41 +01:00
3f95986981 Fix the tests.
For some reason, database key was treated differently in configparser object
in python 3.4.2. In Python 3.4.5 everything is fine. Fixed the defaults to
make sure all string options are treated equally.
v0.4.2
2016-11-28 18:14:47 +01:00
6d5f3746a2 Superfast fix for non-existed config parameter in cmdline options v0.4.1 2016-11-28 17:20:14 +01:00
7ccc2bddaa Added section about config in readme v0.4 2016-11-28 16:54:48 +01:00
db658f917f Added manifest 2016-11-27 20:52:34 +01:00
8568b552ca Readme update 2016-11-27 20:39:47 +01:00
c1c4581248 Added config file 2016-11-27 20:39:20 +01:00
b5e9c150ed Merge to head v0.3 2016-11-26 19:23:03 +01:00
af7f24e9a9 Dropping Python 2 support 2016-11-26 19:13:12 +01:00
11241e9d8b Readme update 2016-11-26 18:40:54 +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. v0.2 2016-11-26 17:57:58 +01:00
832b76fc84 Added forgotten utils module v0.1 2016-11-26 16:10:45 +01:00
2610853459 Readme update 2016-11-26 15:14:13 +01:00
137f9bbac6 Fix for files object db store 2016-11-26 15:13:43 +01:00
2c6979f2b5 Fix for one-to-one relationship between message and file objects 2016-11-26 15:11:12 +01:00
352a88dcce Implementation of TextReporter 2016-11-26 15:10:19 +01:00
ea923c7351 Version bump 2016-11-26 15:08:53 +01:00
7b76480c85 Added subcommands for slack-backup 2016-11-26 15:08:36 +01:00
ac9dee9e5d Fix returned channel list 2016-11-25 09:37:29 +01:00
267341d6a8 added warning for in-memory db 2016-11-25 07:48:09 +01:00
97069e0a83 Added reporters module 2016-11-25 07:45:37 +01:00
f3bafadbfe Added install requirements to setup.py 2016-11-24 12:42:04 +01:00