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
03972e609f Fix for skipping messages for attachements. 2018-05-03 10:41:07 +02:00
641d67065c Treat bot user equally to regular users.
Currently, if messages are generated using bot users, such messages will
crash slack_backup, since user.list API method returns only regular
users. In this commit there is detected a situation, where we have
'bot_id' in the data, and in case there is no such user in local
database, create it using data from bot.info API call.
2018-05-03 10:24:57 +02: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' 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.
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
0d7607cf3c Added log for updating specific channel messages 2016-12-02 17:46:27 +01:00
c79d8ae0e1 Small fixes, version bump, alpha stage, added emoji map. 2016-11-26 17:57:58 +01:00
137f9bbac6 Fix for files object db store 2016-11-26 15:13:43 +01:00
97069e0a83 Added reporters module 2016-11-25 07:45:37 +01:00
9c616b8da6 Update messages to call for download assets 2016-11-24 08:50:15 +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
f7fb9d32a8 Added message model, moving updates of users and channels as public methods 2016-11-21 14:03:19 +01:00
c3ae7607eb Renamed get_hostory to update_history 2016-11-21 09:35:30 +01:00
25d4de0ca3 Refactoring _update_channels method 2016-11-20 16:09:10 +01:00
9d0582a82f Updates to channel creation 2016-11-20 15:15:01 +01:00
2476af0555 Adjusted get_history method 2016-11-20 15:13:47 +01:00
71c0866699 Removed shebang 2016-11-20 15:11:56 +01:00
162010ac1e Implemented storage and update of User data 2016-11-19 10:38:45 +01:00
3055edd0de Added db connection 2016-11-19 09:12:01 +01:00
1e1d5cb38c Added executable script and client class 2016-11-18 19:11:12 +01:00