Commit graph

521 commits

Author SHA1 Message Date
Ben Gotow 95f10323ee Bump version to 1.1.3, update Changelog 2018-02-05 18:34:15 -08:00
Ben Gotow 1272d98281 Avoid spawning duplicate sync processes now that KeyManager is async 2018-02-04 22:18:14 -08:00
Ben Gotow 9422ae5b89 When no date header is present, use path+uid to create a more stable message ID 2018-02-04 22:16:17 -08:00
Ben Gotow 613fafe145 Fix activity dashboard export to wait for write buffer to clear 2018-02-04 20:58:14 -08:00
Ben Gotow d50d17d63f Retry metadata transfer for reminders, see if it fixes Sentry 363208698 2018-02-04 20:14:02 -08:00
Ben Gotow 438705c9dc Fixes for miscelaneous bugs reported via Sentry 2018-02-04 20:02:57 -08:00
Ben Gotow 35129f818c Perform DNS MX resolution to make adding many IMAP accounts easier 2018-02-04 13:52:25 -08:00
Ben Gotow d3bcfbfe45 Display an error dialog if the user needs to choose a drafts folder to send mail #634 2018-02-03 11:06:58 -08:00
Ben Gotow 99d75ba5db Consistently use the same regex for detecting / removing signatures #610 2018-02-03 10:11:40 -08:00
Ben Gotow 5cae7f4fe7 Clear the “marked as read” state so drilling back into a thread marks it again #617 2018-02-03 09:35:10 -08:00
Ben Gotow 5ce6d3a09f Preserve links (and other non-styling markup) when pasting HTML #592 2018-02-02 23:43:18 -08:00
Ben Gotow 24746823c8 Ensure quoted string detector does not remove the body element #615 2018-02-02 22:58:17 -08:00
Ben Gotow 7ab5347be9 Fallback to empty string for files with null names (synced before 1.1.1) #626 2018-02-02 22:49:19 -08:00
Ben Gotow 1fbc274ba5 Don’t display “undefined” for unnamed thread participants when printing 2018-02-02 14:35:37 -08:00
Ben Gotow eadc846e63 Don’t allow drafts with no snippet to clear snippet in thread list 2018-02-02 14:34:07 -08:00
Ben Gotow 9e198608ad Initiate Google oauth using iOS approach directly from Electron 2018-02-02 14:33:52 -08:00
Ben Gotow bf48dc6dc3 Fix undo triggering in both the composer body and other text fields recently modified #613 2018-02-02 12:08:26 -08:00
Ben Gotow f80bf13f61 Remove text/plain mimetype from mailspring.desktop.in #602 2018-02-02 11:18:07 -08:00
Ben Gotow 610d71297b Fix displayName of Mailspring/Snoozed 2018-02-02 11:02:27 -08:00
Ben Gotow f2910f807b Fix issues with the “Local time” shown in the company info sidebar 2018-02-02 11:02:14 -08:00
Ben Gotow e7b7b0d06e VACUUM the database at launch periodically to prevent fragmentation issues 2018-02-01 10:32:44 -08:00
Ben Gotow a440964c39 Put the app version number in message headers 2018-01-31 16:14:53 -08:00
Ben Gotow 5ba71a042d Fix additional Slate normalization to preserve newlines 2018-01-30 22:16:08 -08:00
Ben Gotow 835ad95efc Manually implement additional Slate normalization for an 80% perf boost 2018-01-30 18:34:22 -08:00
Ben Gotow 526a252c36 Wipe Slate’s undo history when unmounting the composer to reclaim RAM 2018-01-30 18:33:35 -08:00
Ben Gotow 2472df3862 Eliminate “1969” dates caused by threads with no “received” messages #508, #457 2018-01-29 16:46:46 -08:00
Ben Gotow 7a527dd3aa Support image filenames + random identifiers used in place of contentIds #569 2018-01-29 15:55:06 -08:00
Ben Gotow c509ac70bc Show the “Download All” button when an email has multiple images #583 2018-01-29 15:21:27 -08:00
Ben Gotow 8861fa50a8 Fix changing acccounts not changing signature to default signature of new account #570 2018-01-29 15:03:30 -08:00
Ben Gotow 8ae17eae12 Fix exception when tabbing to the subject field in the composer 2018-01-29 11:31:10 -08:00
Ben Gotow 4af7fe88d5 Improve blockquote styling in message list 2018-01-29 09:15:13 -08:00
Ben Gotow 070f2ef4b7 Bump version to 1.1.2 and update changelog 2018-01-29 08:51:53 -08:00
Ben Gotow afa6dda090 FIx Sentry “Create package manually” not working with prod flags [363594608] 2018-01-29 08:22:14 -08:00
Ben Gotow 896ab284c4 Fix Sentry tutorial tip invariant violation [361637806] 2018-01-29 08:20:22 -08:00
Ben Gotow 0354fdb094 When identifying quoted text never return the document node #589 2018-01-29 08:05:53 -08:00
Ben Gotow a06152f77d Fix implicit return conversion issue breaking drag and drop #586 2018-01-29 07:58:25 -08:00
Ben Gotow 3cf684f507 Explicitly unlisten to list data source to fix draft list #590 2018-01-29 07:53:49 -08:00
Ben Gotow d962adc52e Upgrade keytar to 4.1.0 2018-01-28 23:12:37 -08:00
Ben Gotow e2e757daab Remove pathwatcher entirely to fix Win32 compilation 2018-01-28 23:01:50 -08:00
Ben Gotow 23081d2e10 Bump to a newer version of runas with 1.8.x support 2018-01-28 22:45:23 -08:00
Ben Gotow 346fde7cce Remove donna since there is no coffeescript, update locks 2018-01-28 21:44:27 -08:00
Ben Gotow 6260d9fc06 Bump pathwatcher version to fix Win32 compilation 2018-01-28 21:25:57 -08:00
Ben Gotow f007beb3c1 Fix top level componentDidCatch, place boundaries around thread and message lists 2018-01-28 11:05:12 -06:00
Ben Gotow c252bd1e24 Fix linter error 2018-01-27 14:14:51 -06:00
Ben Gotow 661e9fb9b3 Bump to 1.1.1 2018-01-27 12:35:14 -06:00
Ben Gotow e6fb08af41 Don’t treat selection changes in the composer as modifications to the value 2018-01-27 10:28:53 -08:00
Ben Gotow 9bf519ce5b Disable the “no-cond-assign” eslint rule 2018-01-26 10:57:22 -08:00
Ben Gotow 085c906527 Put tiny “remove quoted text” button back onto quoted text control 2018-01-26 10:57:01 -08:00
Ben Gotow fd6d88e6db Improve composer performance by avoiding expensive draft.body call in render 2018-01-25 22:38:40 -08:00
Ben Gotow c711a0c1b0 Don’t allow database updates to override unsaved composer changes 2018-01-25 22:38:26 -08:00
Ben Gotow 2eb3795d59 Wire composer keyboard shortcuts into command / hotkey system #555 2018-01-25 21:30:06 -08:00
Ben Gotow dedd06fa27 Ensure native undo and client undo don’t fire concurrently #577 2018-01-25 19:46:38 -08:00
Ben Gotow 9a7fca448d Fix visual bugs in less-is-more #547 2018-01-25 09:25:06 -08:00
Ben Gotow 62f5c2a76f Fix spellcheck word matching for non-ASCII characters #564 2018-01-25 08:19:29 -08:00
Ben Gotow 44568c79ab Remove unused dependencies 2018-01-24 21:37:58 -08:00
Ben Gotow 22357dff60 Upgrade prettier to 1.10, fix linter issues 2018-01-24 14:13:08 -08:00
Ben Gotow d2de477023 Fix composer text color in dark theme, font size “normal” rendering smaller 2018-01-24 13:05:19 -08:00
Ben Gotow 3e29f997c5 ⚠️ Drop support for CoffeeScript / CJSX in plugins, themes, and core 2018-01-23 23:59:37 -08:00
Ben Gotow e69c742590 Remove all remaining Coffeescript / CJSX 🎉 2018-01-23 17:35:09 -08:00
Ben Gotow ae72cf1c65 Bump to React 16.2 now that the old composer is gone 🎉
commit 3c10d22199ea6428a6b45c6361d281b1d281ef4f
Author: Ben Gotow <ben@foundry376.com>
Date:   Fri Jan 19 08:10:43 2018 -0800

    Small fixes

commit e7d4ba85eb011a6fd58b57e079bf3a19c19126d8
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:47:03 2018 -0800

    Rewrite UnsafeComponent using Error Boundaries

commit aa772694fdee6c57887b75b3abb2e654e146fab5
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:15:53 2018 -0800

    Remove GeneratedForm

commit f9ea4296f07d446f942dfc2532deea37db43ddac
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:08:45 2018 -0800

    Fully remove calendar related dead code and spec_disabled

    It’s making it hard to see what I need to edit and what I don’t care about

commit 6192ce6073244bc66b7908b66b5033d34e947efb
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:08:16 2018 -0800

    Bump to React 16.2 🎉
2018-01-22 22:18:46 -08:00
Ben Gotow 9dcabe0db1 Bump to Electron 1.8.2-beta4 2018-01-22 22:17:45 -08:00
Ben Gotow c7e63bfe52 Lock Slate versions to prevent missing dep issue in prod, add warning 2018-01-21 10:36:21 -08:00
Ben Gotow f52ba7b42a Allow draft toolbar to be narrower when used in small composer 2018-01-19 08:11:55 -08:00
Ben Gotow f668eb217d Allow applyMark to run on un-normalized Slate state 2018-01-18 23:49:13 -08:00
Ben Gotow 740745a52e Break out of all levels of quoted text when pressing “return” 2018-01-18 22:38:50 -08:00
Ben Gotow 1a37669eee Include received mail in activity CSV exports 2018-01-18 10:08:19 -08:00
Ben Gotow 1794025eec Don’t pad <p> tags in emails, handle outlook font faces correctly in editor #529 2018-01-17 17:58:29 -08:00
Ben Gotow 5cbf7e31e5 Fix issue with unnamed files causing “click to download inline image” prompt #262 2018-01-17 17:44:19 -08:00
Ben Gotow d4211d1a69 Bump to 1.1.0, update Changelog 2018-01-17 14:13:39 -08:00
Ben Gotow 3f47ae4a71 Add ability to export activity data 2018-01-17 14:13:34 -08:00
Ben Gotow fba8c5a45f Swap empty divs for br, fix parsing of blocks with font styles 2018-01-16 08:46:22 -08:00
Ben Gotow ca489342be Fix problem with draft IDs being null briefly 2018-01-16 00:23:11 -08:00
Ben Gotow e191acc43a Add font face support, switch font size to <font size=“X”> 2018-01-15 23:31:04 -08:00
Ben Gotow 55c97e64a3 Stop shipping simplemde 2018-01-11 16:00:24 -08:00
Ben Gotow 1a3cca8d0a
Totally overhauled composer based on Slate (#524)
* Remove the composer contenteditable, replace with basic <textarea>

* Beginning broader cleanup of draft session

* DraftJS composer with color, style support

* Serialization/unserialization of basic styles, toolbar working

* WIP

* Switch to draft-js-plugins approach, need to revisit HTML

* Move HTML conversion functionality into plugins

* Add spellcheck context menu to editor

* Initial work on quoted text

* Further work on quoted text

* BLOCK approach

* Entity approach - better, does not bump out to top level

* Hiding and showing quoted text via CSS

* Get rid of ability to inject another subject line component

* Clean up specs, DraftFactory to ES6

* Remove old initial focus hack

* Fix focusing, initial text selection

* Remove participant “collapsing” support, it can be confusing

* Correctly terminate links on carriage returns

* Initial signature support, allow removal of uneditable blocks

* Sync body string with body editorstate

* Simplify draft editor session, finish signatures

* Templates

* Minor fixes

* Simplify link/open tracking, ensure it works

* Reorg composer, rework template editor

* Omg the slowness is all the stupid emoji button

* Polish and small fixes

* Performance improvements, new templates UI

* Don’t assume nodes are elements

* Fix for sending drafts twice due to back-to-back saves

* Fix order of operations on app quit to save drafts reliably

* Improve DraftJS-Convert whitespace handling

* Use contentID throughout attachment lifecycle

* Try to fix images

* Switch to Slate instead of DraftJS… much better

* Fix newline handling

* Bug fixes

* Cleanup

* Finish templates plugin

* Clean up text editing / support for Gmail email styles

* Support for color + size on the same node, clean trailing whitespace

* Restore emoji typeahead / emoji picker

* Fix scrolling in template editor

* Fix specs

* Fix newlines

* Re-implement spellcheck to be faster

* Make spellcheck decorator changes invisible to the undo/redo stack

* Remove comment

* Polish themplates panel

* Fix #521
2018-01-11 15:55:56 -08:00
David Rouyer 8ebe225567 Remove NSLog - use ELECTRON_ENABLE_LOGGING instead (#512) 2018-01-11 15:52:52 -08:00
Ben Gotow 5392726536
Linux options for auto hiding / collapsing menubar to right corner #271, #114, #142 (#498)
* WIP

* Editing UI

* Minor fix

* Make theme refs to bar more specific

* Fix ubuntu menu color

* Attempt 2

* Styling

* Restart > Relaunch

* Cleanup

* Linux-style gumdrops, slight ubuntu theme improvements
2018-01-01 13:00:17 -05:00
Ben Gotow fd3895f4ec Update signing assets that are about to expire on macOS 2018-01-01 09:52:49 -08:00
Ben Gotow 40caf341b4 Remove “reportUserEvent” calls, remnants of analytics integration 2017-12-31 11:44:36 -05:00
Ben Gotow 89bd1909ae Stop logging JS console to disk - nobody reads the output 2017-12-31 11:35:13 -05:00
Ben Gotow e7061112e5 When updating account settings, correctly populate old settings #496 2017-12-30 22:47:36 -05:00
Dylan Weremeichik 2a8d5662dd Added twitter profile image support. Added better handling of tiwtter handle. (#493) 2017-12-30 12:55:09 -05:00
Ben Gotow da2f8fc6d1 Do not apply themes to the onboarding window #474 2017-12-30 12:52:13 -05:00
Ben Gotow 62a1795ca0 Bump version to 1.0.12 2017-12-28 11:32:08 -05:00
Ben Gotow 37cc05214a Add ability to automatically CC/BCC per-account #275 2017-12-28 11:30:43 -05:00
Ben Gotow 44bf553b80 Improve “recipient name” check (see description) #381
- Warning is more descriptive, explains that it’s looking at the recipients

- Common relational phrases / pronouns will not trigger the warning, even when capitalized (“Hey dad” but now also “Hey Dad”)

- Additional words do not break matching (“Hey Professor X”, “Hey Mr. Gotow”)

- When replying to a generic / non-human email (eg: support@foundry376.com), the check is disabled. (Fix for Zendesk)
2017-12-27 14:48:10 -05:00
Ben Gotow 18df5b5070 Fix mail rules width issue #470 2017-12-27 12:50:59 -05:00
Ben Gotow f360568e3f Expose option to change interface zoom #176 2017-12-27 10:34:40 -05:00
Ben Gotow 8e7a63d1fe Move windowState to localStorage, remove dead code 2017-12-26 19:00:59 -05:00
Ben Gotow a498796147 Detect when the machine wakes from sleep, re-sync mail immediately #468 2017-12-23 10:02:57 -07:00
Ben Gotow e34bcd2296 Add all deprecated HTML attributes to sanitizer whitelist #260
https://www.codehelp.co.uk/html/deprecated.html
2017-12-20 10:23:17 -07:00
Ben Gotow f5f32802c0 Fix “View” links in contact sidebar 2017-12-19 11:02:50 -07:00
Ben Gotow 33de53c20f Ignore issues trying to change config dir permissions 2017-12-18 16:39:35 -07:00
Ben Gotow c0e979a27e Allow color and face attributes on <font> tags #442 2017-12-18 16:13:09 -07:00
Ben Gotow ea4b20afbb Bump version to 1.0.11 [corrected] 2017-12-15 09:43:48 -08:00
Ben Gotow 3069bc243b Add title attributes so you can view full attachment names #430 2017-12-14 14:25:19 -08:00
Ben Gotow 436ea2974b Bump version to 1.0.11 2017-12-14 13:40:15 -08:00
Ben Gotow 282044340d Fix attaching files containing unicode characters on Windows #370 2017-12-11 19:36:14 -08:00
Ben Gotow 98a5da53f8 Allow you to reset the cache for individual accounts 2017-12-11 19:23:39 -08:00
Agustín Rodríguez 685002a1af Restrict Mailspring config folder to 700 access mode (#418) 2017-12-11 11:00:13 -08:00
Ben Gotow 8fe8a65f80 Show good placeholder when signature is empty 2017-12-08 11:23:16 -08:00
Ben Gotow 3d22b14749 Fix drag and drop into categories from search 2017-12-08 11:23:05 -08:00
Ben Gotow 582ea8cd78 Fix translation plugin 2017-12-08 09:26:48 -08:00
Ben Gotow d250d2531e Bump version to 1.0.10, update changelog 2017-12-06 16:10:31 -08:00
Ben Gotow 49461d1074 Fix migration path for old signatures 2017-12-06 16:01:58 -08:00
Ben Gotow 36ffcb6a3e Don’t re-create default signature if you delete it 2017-12-06 15:58:37 -08:00
Ben Gotow 43de4191a7 Fix ancient bug with scrolling to inline replies 2017-12-06 15:58:25 -08:00
Ben Gotow 164c4d44d7 Fix account showing as syncing after completion 2017-12-06 11:24:06 -08:00
Ben Gotow cc6764e1f0 Rename “Quick Replies” to templates 2017-12-06 11:17:17 -08:00
Ben Gotow 7db6dff510 Overhauled signature editor 2017-12-06 11:16:59 -08:00
Ben Gotow 995d0029ce Let users know about Basic vs. Pro during onboarding 2017-12-04 12:04:48 -08:00
Ben Gotow 2fef9bd030 Sentry fix: Stop collecting API errors in client reports 2017-12-04 08:48:39 -08:00
Ben Gotow d87a994e9b Sentry fix: dismissing ugprade notification threw exception 2017-12-04 08:45:55 -08:00
Ben Gotow 62907af737 Sentry fix: handle Identity fetch edge cases correctly 2017-12-04 08:44:44 -08:00
Ben Gotow 6028e8a292 Sentry fix: Correct bad task.label() implementations 2017-12-04 08:42:53 -08:00
Ben Gotow a0fe657d70 Sentry fix: handle scenario when account is invalid / folder not found 2017-12-04 08:42:35 -08:00
Ben Gotow b7e80927dc Update theme starter to actually work with Mailspring 2017-12-01 23:18:22 -08:00
Ben Gotow bdd4f7ad89 Improve “no sent folder” message to reference Folder prefs #379 2017-12-01 22:06:55 -08:00
Ben Gotow c5e85dc4a1 Fix issue with nested vertical scrollbars in messages 2017-12-01 18:55:09 -08:00
Ben Gotow 1013578f60 Fix feature usage specs 2017-12-01 15:16:09 -08:00
Ben Gotow e6fe78cf61 Fix: properly implement Basic limits on read receipts / tracking 2017-12-01 14:44:51 -08:00
Ben Gotow 24fac237cf Fix: sending draft with metadata when it has not yet been saved 2017-12-01 14:43:37 -08:00
Ben Gotow 335373c69f Fix: disabling link tracking not taking effect immediately 2017-12-01 14:43:05 -08:00
Ben Gotow 850aede4bf Restructure sync progress reporting to explain long initial sync better 2017-12-01 14:23:54 -08:00
Ben Gotow e454f9d608 Reduce offline battery usage by… updating labels less often 2017-12-01 10:18:15 -08:00
Ben Gotow 62aab65db4 Disable analytics package - haven’t been using it at all 2017-11-30 20:58:31 +00:00
Ben Gotow 114dc47535 Make password management errors immediately fatal 2017-11-30 17:07:23 +00:00
Ben Gotow e72ca4bb2b Don’t run the metadata handlers in secondary windows #351 2017-11-28 23:09:33 +00:00
Ben Gotow c57b778fa5 Bind cmd-shift-V to paste-without-formatting as well #268 2017-11-28 22:56:02 +00:00
Ben Gotow bd15309270 Bump version to 1.0.9, update changelog 2017-11-28 19:27:00 +00:00
Matt Lyons ef01086121 Add setting to enable opening containing folder on attachment download (#249)
Defaults to not opening containing folder on download.
2017-11-28 15:11:02 +05:30
Ovidiu Șerban 3444eb992d Set default Spellchecker language. Fixes #129 (#308)
* Set default Spellchecker language. Fixes #129

* Set to system locale by default. Fixes #129
2017-11-28 15:08:14 +05:30
Ben Gotow d2fc8172af Completely remove sanitized tags with non-text contents 2017-11-28 09:23:57 +00:00
Ben Gotow 3c336c9f88 Move crash reports to internal service for better debugging 2017-11-28 08:53:40 +00:00
Ben Gotow 1131e5cc35 Disable Sentry reporting of C++ errors, formatting too poor to be useful 2017-11-25 16:24:42 +01:00
Ben Gotow 2acb01fb90 Fix a few tiny sentry errors 2017-11-16 20:20:00 +01:00
Ben Gotow 65209c6c51 Properly escape search queries built with StructuredSearchParser #263 2017-11-12 21:16:36 +01:00
Ben Gotow a416c4b0fa Implicitly add “AND” in search parsing to enable bla is:unread, fix no-results state 2017-11-12 21:00:52 +01:00
Ben Gotow e125f05396 Add support for copy-pasting a file into a composer #331 2017-11-12 20:21:31 +01:00
Agustín Rodríguez 45110309a5 Only build quicklook previews for files less than a certain size (#324)
* Converted _generatePreview to async/await pattern

* Only render previews for files less than a certain size (2mb)
2017-11-12 20:01:40 +01:00
Agustín Rodríguez b72efe944a Updated urlRegex to fix #269 (#328) 2017-11-12 19:57:42 +01:00
Ben Gotow 69c7a7aea7 Fix inline image attachment support 2017-11-12 19:37:48 +01:00
Ben Gotow 3cdc3c27c6 Replace html-sanitizer with Chromium based one with fewer parsing bugs 2017-11-12 19:32:09 +01:00
Ben Gotow ee7a74beb4 Fix broken activity list / themeing specs 2017-11-11 12:42:18 +01:00
Ben Gotow 7e81c3154e Prevent identity token from briefly being null while retriving new value 2017-11-10 14:14:23 +01:00
Ben Gotow 2af2e1982b Assume emails with more than six digits aren’t humans for sidebar profiles 2017-11-10 13:13:28 +01:00
Ben Gotow 817b734682 Give Dark theme a facelift, fix theme bugs 2017-11-10 11:34:10 +01:00
Ben Gotow 38bff9b4f3 Apply theme CSS to the “multiple items selected” stack correctly 2017-11-09 20:43:13 +01:00
Ben Gotow 02216164dd Flatten odd Toast => UndoToast => URToast composition, fix reappearing toasts 2017-11-09 20:32:41 +01:00
Ben Gotow a793ba3476 Recover from “socket has been edned”, properly dispatch last delta 2017-11-09 19:49:24 +01:00