Commit graph

295 commits

Author SHA1 Message Date
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 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 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 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 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 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 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
Ben Gotow da2f8fc6d1 Do not apply themes to the onboarding window #474 2017-12-30 12:52:13 -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 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 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 3069bc243b Add title attributes so you can view full attachment names #430 2017-12-14 14:25:19 -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 3d22b14749 Fix drag and drop into categories from search 2017-12-08 11:23:05 -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 164c4d44d7 Fix account showing as syncing after completion 2017-12-06 11:24:06 -08:00
Ben Gotow 7db6dff510 Overhauled signature editor 2017-12-06 11:16:59 -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 bdd4f7ad89 Improve “no sent folder” message to reference Folder prefs #379 2017-12-01 22:06:55 -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 114dc47535 Make password management errors immediately fatal 2017-11-30 17:07:23 +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 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 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
Ben Gotow c14633f4f2 Stop forcing title case on folders in single pane mode #196 2017-11-08 21:27:25 +01:00
Ben Gotow 30e426fc3c Fix bug where disabling open/link tracking didn’t take effect until next draft 2017-11-08 21:15:24 +01:00
Ben Gotow 78f584e3cc Finish new welcome newsletter series 2017-11-08 20:50:23 +01:00
Ben Gotow 251d7c44d1
Activity Summary / Insights v1 🎉
* Initial commit

* SVG-based graph components

* Add histogram, pull data into graphs

* Loading animation, timespan descriptions

* Improvements to read receipt / link tracking section

* Initial pass at subject line analysis

* Fixes to subject-line stats

* Fix theme `ui-variables` include paths

* Add “Share this report” button

* Add “Learn More” button

* Make it more clear how to edit your shortcuts

* Merge activity-list and new activity-dashboard, move in sidebar
2017-11-07 20:05:25 +01:00
Ben Gotow b91dd6dbcd Improve messaging around Mailspring Pro in prefs > identity 2017-11-07 15:59:56 +01:00
Ben Gotow 156b7cb615 Fix exception thrown when rapidly clicking Trash icon 2017-11-07 02:04:26 +01:00
Ben Gotow e0260c0f1a Fix issue with repeat forward hitting invisible deleting message #282 2017-11-07 01:53:44 +01:00
Ben Gotow 66a56abe0f Add task to download RFC2822 for “Show Original” #300 2017-11-07 01:32:54 +01:00
Ben Gotow 0af0f5cab2 A few performance improvements to the message view 2017-11-06 20:26:27 +01:00
Ben Gotow ed71dfb66c Restore undo send functionality 2017-11-06 18:12:14 +01:00
Ben Gotow c0644e64c1 Run prettier on changes, fix a few spec failures 2017-11-06 13:57:02 +01:00
Agustín Rodríguez 05fe652d04 Translated message-store.coffe to es6 and change to display the subject of the current selected email on window title (#305)
* Translated message-store.coffe to es6

* Change code style to match as much as possible current es6 files

* Added missing semi-colons

* Changed some conditionals about this._thread for threadId() function call

* Display the subject of the current selected email on window title #256
2017-11-06 13:29:48 +01:00
Ben Gotow 33c37cf3f7 Properly strip out passwords containing regexp control characters 2017-11-02 11:32:36 -07:00
Ben Gotow b68549cf7e Fix coffeelint error 2017-10-31 22:59:59 -07:00
Ben Gotow b1e8b89ca9 Fix drag and drop to unread / starred, archive on drag to All Mail 2017-10-30 17:53:37 -07:00
Ben Gotow 5a145c415c Unsnooze to top of inbox by default, fallback to mark as unread #267 2017-10-30 17:02:05 -07:00
Ben Gotow b2b30a1bf5 Stop printing garbage when Sentry yells about 429s 2017-10-30 09:47:57 -07:00
Jeffrey Smith II 614bc198c5 Add option for unsnoozed messages to show as unread. (#267) 2017-10-29 17:35:16 -07:00
Ben Gotow 475203aa41 Fix starred view only showing threads with exactly one starred message #100 2017-10-26 10:17:31 -07:00
Ben Gotow d140d476a9 Fix linter errors - need to fix PR CI notices 2017-10-25 09:18:19 -07:00
Ben Gotow 9014e60b80 Add new verbose logging option for easier debugging 2017-10-24 17:28:40 -07:00
Ben Gotow eaae6ff197 Ensure error codes are displayed and db migrate runs synchronously 2017-10-24 16:37:01 -07:00