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

14 Commits

Author SHA1 Message Date
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
64d4b09468 Fix for handling messages of different types than 'message' 2017-08-06 09:22:38 +02: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.
2016-11-28 18:14:47 +01:00
c1c4581248 Added config file 2016-11-27 20:39:20 +01:00
af7f24e9a9 Dropping Python 2 support 2016-11-26 19:13:12 +01:00
137f9bbac6 Fix for files object db store 2016-11-26 15:13:43 +01:00
352a88dcce Implementation of TextReporter 2016-11-26 15:10:19 +01:00
966380a2f7 Fix for python2.7 environment
Python envs used till now python3 for testing, now version of python
depends on the environment - for py2* python 2.7 will be used, and for
py3* appropriate python3 version will be used.

Also, added mock module for python2 envs.
2016-11-24 08:30:10 +01:00
87f6eb4d3a Changing the way how arguments are passed 2016-11-23 22:02:49 +01:00
bea61d3b45 Added File objects, some fixes, and download module 2016-11-22 09:27:59 +01:00
85a42ef143 Renamed test_users to more suitable name 2016-11-21 14:05:53 +01:00
f3173b9cc9 Added more test data to the tests 2016-11-21 14:04:15 +01:00
07f1b12fa0 Removed IdMap, added slackid column 2016-11-20 15:12:47 +01:00
5c6dc72d7c added some tests 2016-11-20 09:46:38 +01:00