Mailspring/spec-nylas/stores
Ben Gotow 06c72a5604 fix(mailto): Use paste logic to parse fields in mailto links, support poorly encoded URLs
Summary:
Fixes T1927

- Allow email addresses to contain `_`
- Centralize logic for parsing string into Contact objects into ContactStore
- Always decode and then encode mailto links to ensure spaces, special characters are properly encoded and that the URL is valid
- Add specs for mailto:// behavior

Test Plan: Run wonderful new tests covering mailto://

Reviewers: evan

Reviewed By: evan

Maniphest Tasks: T1927

Differential Revision: https://phab.nylas.com/D1657
2015-06-18 11:58:07 -07:00
..
contact-store-spec.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
database-store-spec.coffee perf(thread-list): Tailored SQLite indexes, ListTabular / ScrollRegion optimizations galore 2015-06-17 20:12:48 -07:00
draft-store-spec.coffee fix(mailto): Use paste logic to parse fields in mailto links, support poorly encoded URLs 2015-06-18 11:58:07 -07:00
file-upload-store-spec.coffee feat(attachments): new attachments & uploads UI with img support 2015-06-11 12:04:52 -07:00
focused-contacts-store-spec.coffee fix(naming): Move atom/inbox/nilas refs to Nylas 2015-05-15 11:07:28 -07:00
focused-content-store-spec.coffee fix(mark-as-read): Wait for messages to load, then 700msec, before marking as read 2015-06-17 19:58:20 -07:00
focused-tag-store-spec.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
message-store-spec.coffee fix(mark-as-read): Wait for messages to load, then 700msec, before marking as read 2015-06-17 19:58:20 -07:00
metadata-store-spec.coffee fix(naming): Move atom/inbox/nilas refs to Nylas 2015-05-15 11:07:28 -07:00
namespace-store-spec.coffee fix(mailto): Handle mailto on application launch, populate NamespaceStore synchronously 2015-05-21 18:08:29 -07:00
task-queue-spec.coffee fix(asar): Support ASAR, and running of specs in prod builds 2015-05-21 14:41:30 -07:00