3 Commits

Author SHA1 Message Date
Scott Nonnenberg
ac7a346412 v0.44.4
Fix broken attachment filtering
2017-11-02 15:07:47 -07:00
Scott Nonnenberg
f047d36fc1 Export: remove zero-length attachments, devtools-only logging (#1683)
* Database: Eliminate zero-length attachments from all messages

* DevTools-only logging to help with export debugging
2017-11-02 13:01:32 -07:00
Scott Nonnenberg
d4a77bded2 Clean attachment structure, cancel out of failed migration (#1631)
* Database migration: Fix attachments with unexpected structure

* Attachment cleanup: Remove all attachments with no data field

* Export: Allow user to cancel out on error if never succeeded

* Only update attachment id if fileName not present

Turns out that modern attachments only have fileName, without an id.

* A small tweak to the attachment fix-up migration, test coverage

* Take migration version back down to 16

* Jshint fix in database.js
2017-11-01 12:30:20 -07:00