Commit graph

978 commits

Author SHA1 Message Date
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
Sérgio Marques
4549bf5ec5
Update pt.json (#2280)
Co-authored-by: Ben Gotow <ben@foundry376.com>
2021-02-14 12:43:18 -06:00
Jason C. McDonald
ee8d7baa1e Update Mailspring-Sync license 2021-02-08 15:01:35 -08:00
Jason C. McDonald
5b8e418940 Merge branch 'master' of github.com:Foundry376/Mailspring 2021-02-08 15:00:35 -08:00
Jason C. McDonald
0335751164 Update Mailspring-Sync license document 2021-02-08 15:00:29 -08:00
Janosch Maier
4ce705b55a
Ensure that the tray icon does not appear multiple times on linux (#2262) 2021-02-01 22:43:43 -06:00
Jason C. McDonald
293e930c78
Make "Run on Startup" UI state persistent #2265 (#2266) 2021-02-01 22:39:41 -06:00
Ben Gotow
66a437e64d Add Portguese to the list of verified translations, thanks @smarquespt! #2267 2021-02-01 22:28:39 -06:00
Sérgio Marques
41b3b9e64a
Update pt.json (#2267)
I plan to make subsequent changes to this file.
2021-02-01 22:28:02 -06:00
Janosch Maier
331f0edc64
Rename mailspring.desktop to Mailspring.desktop (#2261) 2021-02-01 22:22:59 -06:00
Jason C. McDonald
ddbeb5452d Remove all mention of old four account limit. 2021-01-28 14:52:37 -08:00
Ben Gotow
90137f11fe Bump to 1.8.0, update Changelog 2021-01-19 12:22:07 -06:00
Ben Gotow
b9ad355df1
Drop unused Python and Git dependencies in control.in #1887 (#2257) 2021-01-19 12:12:11 -06:00
Ben Gotow
d2e4590df0 Fix or downgrade remaining eslint warnings to make Travis CI builds succeed 2021-01-19 10:28:44 -06:00
Ben Gotow
ba2816f469 Fix auto-fixable errors identified by the new versions of Typescript + ESLint 2021-01-19 00:45:32 -06:00
Janosch Maier
38e89c9d20
Fix moment-timezone errors on calendar invites (#2255) 2021-01-19 00:17:28 -06:00
Janosch Maier
a74c6c6b61
Fix bug when comparing empty string in mail rules (#2254) 2021-01-19 00:08:58 -06:00
Janosch Maier
5f237833cd
Adjust search bar label based on the selected account (#2252) 2021-01-19 00:04:04 -06:00
Janosch Maier
7bdcb3e8f8
Add information regarding app password type for FastMail (#2251) 2021-01-18 23:59:35 -06:00
Janosch Maier
e8fb6ef2aa
Colorize Accounts (#2240)
* Add configuration option to colorise accounts

* Add German translation for account color

* Fix bug when account is unset in list-tabular-item

* Add account color for "from" field in compose window

* Add color coding to the preferences account list

* Fix styling issue in compose window where account labels where unaligned if only one account had a color configured

* Add account color inside the swipeable element

* Partial Revert "Add configuration option to colorise accounts"

This partially reverts commit f8efccb0f2.

* Ensure that account color is not displayed in thread-list when it is unset

* Add colorized accounts in sidebar and contacts view

* Add new type Style to be used throughout the colorization code

* Add todo note for ensuring that the account color updates correctly

* Remove style definition and use react CSSProperties instead

* Fix crash when opening a draft that was created in GMail

* Refactor accountColor to color

* Ensure dynamic change of the account color in the sidebar

* Add AccountColorBar react component

Co-authored-by: Janosch Maier <maierjaonsch@gmail.com>
2021-01-11 11:17:12 -06:00
johnpoint
3ed9ba2f7f
Update zh-CN.json (#2219) 2020-12-16 12:38:52 -06:00
Jarrad Whitaker
53b5b95990
add libglib2-bin as alternative to gvfs-bin (#2220) 2020-12-16 12:37:04 -06:00
Aftabuzzaman
2b32988c99
Fix some translation errors in Bengali (#2224)
This file contain lots of translation error. looks like machine translation. I tried to fix some of them.
2020-12-16 12:35:47 -06:00
Ben Gotow
052f6dd5fe Switch to OAuth for Office 365 accounts now that MSFT support is live! #1118 2020-08-17 22:59:22 -05:00
Ben Gotow
c7bf6b19dc Expand Yandex login screen to include steps to enable IMAP #2111 2020-08-16 18:37:33 -05:00
Ben Gotow
b65b7d2817 “A equals B” mail rules should be case insensitive along with the others #2115 2020-08-16 18:15:37 -05:00
Arunmozhi
8b57cb4c32
fixes wrong time in event header due to timezone mismatch (#2093)
Co-authored-by: Ben Gotow <ben@foundry376.com>
2020-08-16 18:08:15 -05:00
Ben Gotow
2bec42667b Add a small comment linking back to PR for future reference 2020-08-16 15:30:20 -05:00
Jarrad Whitaker
c530d31dd5 check all clipboard contents for Files, not just the first.
This was implemented for the "Copy Image" function of browsers, which on Firefox and Chrome on Linux was tested to give item[0] as "text/html" and item[1] as a file.
This effectively worked in rich text mode anyway as it is able to paste text/html snippets, but was unable to work in plain text mode.
2020-08-16 15:30:20 -05:00
Merkys
0061fc9fc0 mailcore-provider-settings: Add Hostinger email provider 2020-08-16 15:14:25 -05:00
Jarrad Whitaker
1acab17786 read text/uri-list to paste files when available 2020-08-16 15:12:53 -05:00
Ewen "Feust
dc44e30237 Completed french translation 2020-07-06 19:36:52 -05:00
emintufan
278710f845 Update Turkish translation
Reviewed until 542th line.
2020-06-22 23:29:58 -05:00
Ben Gotow
13635bcf56 Bump to 1.7.8, update Changelog 2020-05-24 19:22:42 -05:00
Ben Gotow
df26391c57 Don’t remove top level <br> tags that separate text nodes (Apple calendar alerts) 2020-05-24 18:59:15 -05:00
Ben Gotow
470b088aa5 Also support CSS layout property values with a px extension #2004 2020-05-24 17:55:10 -05:00
Sergey Stoma
fa46b0c972 Read some layout properties from CSS instead of hardcoded values 2020-05-24 17:42:00 -05:00
Ben Gotow
a61219a278 Add window:sync-mail-now to the keymaps UI so you can edit shortcut #1941 2020-05-24 17:31:56 -05:00
Ben Gotow
71504f2c10 Pad the new “Show Original” menu item slightly, update changelog 2020-05-20 22:17:39 -05:00
Ben Gotow
02a9572d18 Bump master to 1.7.7 2020-05-18 20:32:10 -05:00