signal-desktop/js/modules
Scott Nonnenberg 6d8f4b7b6e
Backup: zipped messages.json, flat attachments dir
Backup creates, in a target directory:
  - An attachments folder, with all attachments, each named for their
    parent message's id - a GUID. If there is more than one attachment
    in a given message,  each attachment beyond the first will end with
    '-N', zero-indexed.
  - A file named messages.zip. It contains exactly what went to disk in
    the original export code, but zipped up.

Export is now only 'light,' and in this new messages.zip format.

Import supports both the new format and the old format. If the target
directory has a messages.zip file, we'll treat it as the new format.

Next up: Encrypting attachments and the messages.zip!
2018-03-20 11:53:22 -07:00
..
migrations/17 Use async / await to improve readability 2018-03-19 19:27:59 -04:00
types Update schema version history 2018-03-19 19:27:59 -04:00
.eslintrc Auto-fixes: UX Improvements (#2077) 2018-03-02 15:54:15 -05:00
auto_orient_image.js Auto-orient image attachments based on EXIF metadata 2018-02-21 10:28:13 -05:00
backup.js Backup: zipped messages.json, flat attachments dir 2018-03-20 11:53:22 -07:00
debuglogs.js Document workaround for got FormData bug 2018-03-08 16:21:27 -05:00
global_errors.js Rename Errors to GlobalErrors for clarity 2018-03-08 16:22:38 -05:00
logs.js Refactor: db tasks to database.js, log delete to modules/logs.js 2018-03-14 14:42:15 -07:00
os.js Add OS module 2018-03-05 10:29:11 -05:00
privacy.js Escape special characters in file path 2018-03-08 16:23:51 -05:00