Commit graph

70 commits

Author SHA1 Message Date
Ben Gotow 8b6abc979a Add Show first and last names of all recipients #515, #505 2019-09-23 16:10:40 -05:00
Ben Gotow bf389079ac Fix a whole bunch of failing tests that needed ❤️ [7 left] 2019-09-23 13:24:15 -05:00
Markus Hatvan 14d47659f4 Add preferences option 'show detailed message header by default' to reading section (#1521) (#1525)
Signed-off-by: mhatvan <markus_hatvan@aon.at>
2019-09-23 10:43:50 -05:00
Ben Gotow 684eb2d420 Sentry fix: Cannot read property 'setHeightQuietly' of null 2019-06-21 23:25:41 -05:00
Ben Gotow 9b506c55d3 When message list is in descending order, avoid mutating state in-place 2019-06-17 13:37:26 -05:00
Ben Gotow b189b0e65a Don’t query for “related threads” if the contacts sidebar is closed 2019-06-16 19:44:08 -05:00
Ben Gotow 4d06593b93 Add a small hack to allow copy-pasting just an image in the composer 2019-06-14 01:53:30 -05:00
Ben Gotow c02a3b33f1 window.onerror is not always calleed with an error object (resizeobserver issue) 2019-06-13 22:51:10 -05:00
Ben Gotow 5c31fea79f Spring cleaning: Drop the -webkit css prefix where possible 2019-06-11 00:53:19 -05:00
Ben Gotow dee76b0f56 Spring cleaning: codemod spread syntax in place of Object.assign({}, [].concat( 2019-06-11 00:46:17 -05:00
Ben Gotow 21bc2ef398
Upgrade to Slate 0.45.1 for better composer perf and "setStart on Range" error fix (#1518)
* Move to Slate 44, start using types more extensively in Composer

* More types and cleanup

* Expose the editor object to the draft session, try exposing editor to session

* Bump to Slate 45 for https://github.com/ianstormtaylor/slate/pull/2225/files

* How did the unsubscribe plugin get in here

* Bump Slate types, fix TS errors, start testing

* Polish

* Fix issue with emails not shrinking when you close quoted text

* Fix the “remove quoted text” button

* More polish

* Fix issues with PR, improve typings

* Remove spurious log
2019-06-10 19:15:07 -05:00
Matt Lyons f20e9c3f39 Add setting to disable email content max width (#251)
commit 84d0997cdca895d321ed6e70f1ab40cf03b14aa0
Author: Ben Gotow <ben@foundry376.com>
Date:   Sun Jun 9 17:36:38 2019 -0500

    A bit of polish

commit 066963a8111d510cab2d87caaa547bdabe581461
Merge: 06d2e4546 8ed229a7c
Author: Ben Gotow <ben@foundry376.com>
Date:   Sun Jun 9 17:07:20 2019 -0500

    Merge branch 'emailWidthFix' of https://github.com/mattlyons0/Mailspring into mattlyons0-emailWidthFix

    # Conflicts:
    #	app/internal_packages/message-list/lib/message-list.tsx
    #	app/internal_packages/message-list/styles/message-list.less
    #	app/src/config-schema.es6

commit 8ed229a7c7
Author: Matt Lyons <matt@mattlyons.net>
Date:   Wed Oct 25 03:02:03 2017 -0700

    Add setting to disable email content max width

    Closes #228
2019-06-09 17:38:57 -05:00
Ben Gotow 11e2c404f1 RSVP to attached calendar events and view RSVP responses from a message 2019-05-27 23:48:20 -05:00
Ben Gotow 149b389508
Replace Babel with TypeScript compiler, switch entire app to TypeScript 🎉 (#1404)
* Switch to using Typescript instead of Babel

* Switch all es6 / jsx file extensions to ts / tsx

* Convert Utils to a TS module from module.exports style module

* Move everything from module.exports to typescript exports

* Define .d.ts files for mailspring-exports and component kit… Yes it seems this is the best option :(

* Load up on those @types

* Synthesize TS types from PropTypes for standard components

* Add types to Model classes and move constructor constants to instance vars

* 9800 => 7700 TS errors

* 7700 => 5600 TS errors

* 5600 => 5330 TS errors

* 5330 => 4866 TS errors

* 4866 => 4426 TS errors

* 4426 => 2411 TS errors

* 2411 > 1598 TS errors

* 1598 > 769 TS errors

* 769 > 129 TS errors

* 129 > 22 TS errors

* Fix runtime errors

* More runtime error fixes

* Remove support for custom .es6 file extension

* Remove a few odd remaining references to Nylas

* Don’t ship Typescript support in the compiled app for now

* Fix issues in compiled app - module resolution in TS is case sensitive?

* README updates

* Fix a few more TS errors

* Make “No Signature” option clickable + selectable

* Remove flicker when saving file and reloading keymaps

* Fix mail rule item height in preferences

* Fix missing spacing in thread sharing popover

* Fix scrollbar ticks being nested incorrectly

* Add Japanese as a manually reviewed language

* Prevent the thread list from “sticking”

* Re-use Sheet when switching root tabs, prevent sidebar from resetting

* Ensure specs run

* Update package configuration to avoid shpping types

* Turn eslint back on - we will opt-in to the TS rules one by one
2019-03-04 11:03:12 -08:00
Ben Gotow 209ba58e3e Use ResizeObserver to monitor email content size for better performance 2019-02-24 00:12:14 -08:00
Ben Gotow 1194518a4e Clip extremely long messages with popout option to maintain performance 2018-12-06 01:33:33 -08:00
Ben Gotow 449d48e751 Remove hardcoded widths causing overflow in other languages 2018-10-20 12:21:47 -07:00
Ben Gotow 59f6f0c717 Fill gaps in translations using Google NLT API [hope contributors can improve these!] 2018-10-09 13:31:07 -07:00
Ben Gotow 05bd2cdc8c Make all strings in the app run through intl lookup 2018-10-06 23:27:27 -07:00
Ben Gotow 92ce973ffd macOS Touch Bar support and expanded View and Thread menus 2018-08-02 12:27:40 -07:00
Ben Gotow 91f8014e52 Add the Reply-to field to expanded message headers #973 2018-07-14 13:15:31 -07:00
Ben Gotow 2623d8e7e5 Handle null body when deciding which attachments to display #804 2018-07-08 12:35:28 -05:00
Ben Gotow 15ef1566f3 Fix menu.popup() requiring empty options object 2018-07-06 00:24:58 -05:00
Ben Gotow 4f13589051 Fix incorrect message heights caused by readyState = complete before images 2018-07-05 00:33:05 -05:00
Ben Gotow cb311d32be Bump to Electron 2.0.2 🎉 2018-06-25 00:43:41 -05:00
Ben Gotow d337d9d407 Remove “Click to download” on images, no longer support ”manual” attachment fetch 2018-05-22 18:00:41 -07:00
Ben Gotow abdb0630f4 Fix regression when clicking reply/forward on collapsed messages #800 2018-04-04 02:31:47 -07:00
Ben Gotow 7868823b22 Fix clickability of left 50px of From: in message header 2018-04-03 16:47:59 -07:00
Ben Gotow fd53c79b19 Fix CSS issues with message list, update CHANGELOG 2018-04-03 10:43:41 -07:00
Ben Gotow e9d2858441 Fix expand/collapse behavior in message list when expanded participants visible #636 2018-03-24 20:55:48 -04:00
Ben Gotow fab7314807 Fix autosizing of images with width and height containing decimals 2018-02-27 10:26:47 -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 f007beb3c1 Fix top level componentDidCatch, place boundaries around thread and message lists 2018-01-28 11:05:12 -06:00
Ben Gotow 22357dff60 Upgrade prettier to 1.10, fix linter issues 2018-01-24 14:13:08 -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 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
Ben Gotow 43de4191a7 Fix ancient bug with scrolling to inline replies 2017-12-06 15:58:25 -08:00
Ben Gotow c5e85dc4a1 Fix issue with nested vertical scrollbars in messages 2017-12-01 18:55:09 -08: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 0fe26762dd Fix leading spaces (%20) tidy adds to img src #260, #262 2017-10-31 11:17:17 -07:00
Ben Gotow 9448c884ee Fix eslint / prettier lint errors 2017-10-20 16:28:17 -07:00
Bouska c506d7a327 Fix picking participants with undefined names
The participant picker wasn't able to find a match for a participant with an undefined name, resulting in sending a null to _onFocusContact() instead of the desired Contact object.

Fixes: #177
2017-10-20 11:57:00 -07:00
Ben Gotow 68c567f03d Use system-ui font inside message bodies on Win32 2017-10-16 15:41:54 -07:00
Ben Gotow 71f6fd6f0b Fix React 15.x warnings in preparation for React 16 sometime soon 2017-09-26 12:03:04 -07:00