Commit graph

1017 commits

Author SHA1 Message Date
Ben Gotow 0df7760012 On Linux, update the chrome-sandbox permissions when we package the app - attempt 2 2021-04-15 16:48:41 -05:00
Janosch Maier 501852f07f Undo change due to force pushing on the master 2021-04-15 16:26:35 -05:00
Janosch Maier 84e53ca462 Prevent that Mailspring closes on setup of the first mail account 2021-04-15 16:26:35 -05:00
Ben Gotow 21808541a8 When running from the Linux snap, use no-sandbox 2021-04-15 16:26:35 -05:00
Ben Gotow a34a40add7 Upgrade electron-packager and electron-installer-dmg 2021-04-15 16:16:50 -05:00
Ben Gotow 42a9a3ef1c On Linux, update the chrome-sandbox permissions when we package the app 2021-04-15 16:10:31 -05:00
Ben Gotow 9c4c8f5702 Add a safeguard to prevent out of memory errors from overflowing Sentry 2021-04-15 15:56:05 -05:00
Ben Gotow 02cb922dea When running from the Linux snap, use no-sandbox 2021-04-13 11:44:19 -05:00
Ben Gotow 4982064fba Fix AppVeyor build 2021-04-13 10:39:34 -05:00
Ben Gotow a516c472f2 Add support for updating refresh tokens if they are returned during access token update 2021-04-10 21:11:48 -05:00
Ben Gotow 09a09d4680 [Travis] Fix linter issues and add a few more types to satisfy latest TS 2021-04-08 12:29:35 -05:00
Ben Gotow fa28233822 Update CI configuration 2021-04-08 01:41:56 -05:00
Ben Gotow f843124227 On MacOS, allow main win to close without qutting ala Thunderbird, don’t quit if a composer is open 2021-04-08 00:19:22 -05:00
Ben Gotow 1554a23fd3 Bump to 1.9.0 and update changelog in preparation for next release 2021-04-08 00:15:49 -05:00
Marcin Depa 5841d81c5c fixed regex long processing issue with adaptivecards(very long JWT) 2021-04-07 23:02:22 -05:00
Janosch Maier 27ae37620f Construct a birthday year if none provided and hide its display 2021-04-07 22:59:26 -05:00
Janosch Maier 0540b6571b Correctly place the header-toggle-control for e-mails with reminders 2021-04-07 22:59:00 -05:00
Ben Gotow a3aecf628a Clean up MailspringAPIRequest.makeRequest, bail immediately if no identity is present 2021-03-29 17:57:19 -05:00
Ben Gotow cd6edaff3a Also disable the translation package 2021-03-29 17:57:19 -05:00
Ben Gotow 48b7338e88 Add Preferences > Subscription empty state that allows you to link ID later 2021-03-29 17:57:19 -05:00
Ben Gotow 966dcfd92c Fix Electron 8 issue with touchscreen swipe gestures not working 2021-03-29 17:57:19 -05:00
Ben Gotow 17acb08ca6 Link swipe-to-snooze in the thread list to the availability of the snooze plugin 2021-03-29 17:57:19 -05:00
Ben Gotow 21fe6eeb7a Add a isIdentityRequired flag to plugin package.json’s, disable them when identity is not present 2021-03-29 17:57:19 -05:00
Ben Gotow 6a30d8aa31 Inject the “Snooze” sidebar item from the snooze package rather than making it default 2021-03-29 17:57:19 -05:00
Ben Gotow c3d4d3ff52 Update mailsync and IdentityStore to allow a null identity 2021-03-29 17:57:19 -05:00
Ben Gotow 5aebb5da1e Lock down the app’s content security policy a bit more 2021-03-29 17:57:19 -05:00
Jason C. McDonald 5ce665d4ef
Discourse Community integration (#2263)
* Discourse Community integration
+ Replace all Zendesk links with equivalent Discourse links.
+ 'Mailspring Help' menu option now points to /docs on Discourse.
+ Add 'Mailspring Community' to menu.
+ Remove old FAQ (same as new Mailspring Help).

* Update Quick Start Guide link to better URL
2021-03-26 10:26:10 -05:00
Janosch Maier d5aa3095ba
Add send and archive as configuration option to the preferences view (#2295) 2021-03-26 10:25:06 -05:00
Janosch Maier c7f7dc027c
Add option for vertically stacked reading pane (#2243)
* Add option for vertically stacked reading pane

* Switch from creating a separate column to scoping ThreadList to split+list modes

* Better styling for vertical reading pane

* Fix bug that prevented changing the panel layout via the preferences dialog

* Add resize functionality for vertical thread list

* Add Contact Toolbar button to Thread List Vertical View

* Remove debug log

Co-authored-by: Ben Gotow <ben@foundry376.com>
2021-03-26 10:15:33 -05:00
Ivo Šmerek d0583899ee
Improve czech localization (#2296)
Co-authored-by: Ben Gotow <ben@foundry376.com>
2021-03-26 10:14:00 -05:00
Janosch Maier 51dd8d146c
Add subject to expanded message item for each email (#2293) 2021-03-26 10:12:52 -05:00
Janosch Maier 36e33ecfa8
Handle nautilus-sendto links (#2291)
* Handle nautilus-sendto links

* Add handling for thunar sendto links
2021-03-26 10:08:58 -05:00
Dee Yeum 63889c4a14
fix message (#2307)
Co-authored-by: Ben Gotow <ben@foundry376.com>
2021-03-26 10:05:31 -05:00
Indo e34370f944
Update Korean translation (#2301) 2021-03-26 10:03:02 -05:00
Janosch Maier f8b8bff5db
Add null check on email body to prevent cheerio exception (#2298) 2021-03-26 10:02:08 -05:00
Firefnix 4b6c24fefa
Update fr.json (#2287)
* Update fr.json

In the "Mail Rules" section, the two choices for "If %@ of the following conditions are met" are "All" and "Any", but the French translation is "Tout" (meaning "All") for both. I suggest replacing "Tout" (the current translation of "Any") by "N'importe lequel", but "Un seul" could also work. Warning: I don't know if "Any" is used for other buttons.

* Update app/lang/fr.json

Fix gender agreement

Co-authored-by: Louis-Michel Couture <louim_1@hotmail.com>

Co-authored-by: Louis-Michel Couture <louim_1@hotmail.com>
2021-02-22 09:39:05 -06:00
Janosch Maier e7081c31e5
Add build instructions to readme file (#2290)
* Add build instructions to readme file

* Add npm install command to readme file
2021-02-22 09:38:27 -06:00
Ben Gotow 3a526d2fa7 Remove support for multiple update channels, has not been supported since Nylas 2021-02-15 10:35:34 -06:00
Ben Gotow 190fb561fd Remove “Toggle Localizer Tools”, encourage folks to submit PRs instead 2021-02-15 10:34:27 -06:00
Ben Gotow 7a11432b18 Use npm@7 when running our own postinstall script 2021-02-14 17:14:39 -06:00
Ben Gotow cff437e900
Upgrade to Electron 8, improve TS usage and TS errors outside calendar [requires re- npm install] (#2284)
* Shfit away from default exports and PropTypes for better TS support

* localize strings and expand use of types in WeekView, create new EventOccurence distinct from Event

* Remove calendar wrap, use TS enum for view type + consistent prop interface

* Bump Typescript to 3.8.3 and improve query / attribute / search typings

* Re-use the Autolinker for calendar event descriptions with aggressive phone detection

* Clean up WeekView and the editing popover, lots of cruft here

* Update ScrollRegion to initialize scrollbar provided by external ref

* Expose ScrollRegion’s resizeObserver to clean up tick interval tracking

* Simply tickGenerator and move it to a helper

* Bump to Electron 8.x for Chrome 75+ CSS features

* Bump Handlebars dep to fix annoying npm audit noise

* Remove electron-remote from electron-spellchecker

* Explicitly add node-gyp, why is this necessary?

* Fix lesslint issues

* Bump eslint and let it fix 133 issues

* Satisfy remaining eslint@2020 errors by hand

* Add tsc-watch npm script and fix all TS errors outside calendar

* Configure appveyor to publish all the pdb files it gets

* Log sync exit codes and signals for easier triage on Windows

* Upgrade npm, mark that the build process supports Node 11+ not just Node 11

* Resolve more errors

* Upgrade sqlite to be a context-aware native module

* Fix: Tab key no longer navigating into contenteditable because tabIndex not inferred

* Fix: Bad print styles because Chrome now adds more CSS of it’s own when doctype is missing

* Fix: before-navigate is now called after beforeunload
2021-02-14 15:58:22 -06:00
Ben Gotow 3b07b0767f Select Unread and Mark as Read > Mark All as Read #2164 2021-02-14 13:50:15 -06:00
Vincent Boivin 99f56a50e6
Able to select all unread and mark as read in one action (#2164) 2021-02-14 13:37:52 -06:00
Janosch Maier 7b80bc6155
Configure the select all behavior by OS instead of application template (#2260)
* Configure the select all behavior by OS instead of application template

* Partially revert 6e38465

Have the "select all" keybinding configurable by operating system as well as by application template

* Select all e-mails when no text window is currently focussed
2021-02-14 13:24:02 -06:00
Janosch Maier f9e361bba5
Ensure background start works in maximized mode (#2259) 2021-02-14 13:09:51 -06:00
Janosch Maier 3735f87bc0
Feature/unsubscribe header (#2275)
* Add dummy unsubscribe header

* Add layout for unsubscribe header

* Simplify unsubscribe header and improve detection mechanism

* Adjust wording for unsubscribe header

* Delete unused files

* Remove debug log
2021-02-14 13:06:22 -06:00
Janosch Maier 3f9f5c3cbf
Feature/desktop action (#2276)
* Add desktop action to compose new e-mail

* Fix minor translation bug
2021-02-14 12:53:05 -06:00
Janosch Maier 590feb800a
Add documentation how to open composer window to help message (#2277) 2021-02-14 12:49:52 -06:00
Janosch Maier 9b8f5391e4
Fix/close x (#2279)
* Quit application on X button when system tray is disabled

* Fix closing behaviour on macOS

* Remove configuration option that is not having any effect
2021-02-14 12:48:52 -06:00
Janosch Maier ae3d88f191
Decrease container minWidth to allow window to snap to half a screen (#2283) 2021-02-14 12:43:55 -06:00