Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export: Limit path lengths of attachments, add tests #1439

Merged
merged 2 commits into from
Sep 7, 2017

Conversation

scottnonnenberg
Copy link
Contributor

@scottnonnenberg scottnonnenberg commented Sep 6, 2017

Three changes:

  1. Limit attachment names to 30 chars
  2. Reintroduce last contact date in conversation dir name
  3. Add tests for most backup.js helper functions

This should make it more likely that we'll succeed on Windows, which has a path length limit.

Bonus: Fix MessageView tests, which were failing during code coverage runs

Note: This is an export format breaking change, since it changes how attachment filenames are generated. Any attachment filename longer than 30 characters will cause a failure on import if using an older build that doesn't trim filenames.

@scottnonnenberg scottnonnenberg merged commit cc6dcf6 into master Sep 7, 2017
@scottnonnenberg scottnonnenberg deleted the export-path-length branch September 7, 2017 01:20
scottnonnenberg added a commit that referenced this pull request Sep 7, 2017
Fix bug causing contact and group names/colors to be lost (#1437)

Fix broken Swedish translation preventing new installs
(8caecd5)

Fix clear message bubbles when adding contact with previous messages
in iOS (#1438)

Fix message bubble widths on horizontal resizes (#1447)

Remove horizontal scrolling in convo/message lists (#1448)

Update translations for hr, pt_BR and sv
(8dca9c9)

Export (still behind a flag):
  - Limit attachment filename length for Windows path limits (#1439)
  - Reintroduce conversation last-contact date in directory name (#1439)

Add tests for export utility functions (#1439)

FREEBIE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant