Commit graph

7473 commits

Author SHA1 Message Date
সৌম্যদীপ ঘোষ(सौम्यदीपः घोषः)
fbfaceaf0d
update to gnome extension and core22 (#2464) 2023-10-09 14:23:11 -05:00
ChocoTonic
c58415ebc6
Fix date formatting issue and time not being set correctly (#2463)
The commit fixes a bug where the dateLikeString was not being formatted
correctly if it only contained 3 or 4 digits. The fix adds a check for
this case and formats the string accordingly.

Additionally, the commit addresses an issue where the time was not being
set correctly if the "gotTime" variable was false. The fix adds a check
for each iteration of the loop to ensure that the time is only set if
the corresponding "gotTime" value is false.
2023-10-09 14:22:08 -05:00
Janosch Braukmann
5616b82942
Migrate from Keytar to SafeStorage (#2471)
* Switch credential storage from keytar to electrons key storage

* feat: Migrate credentials from keytar

* feat: add function to cleanup old keytar credentials

* refactor: Remove CredentialStore

* feat: Remove old keytar credentials on migration
2023-10-09 14:20:19 -05:00
Ben Gotow
bbd4f1880e Update the Apple codesigning certificate to one that expires in 2027 2023-07-29 11:45:10 -05:00
Ben Gotow
6193b33cd4 Fix linter errors from CI builds 2023-07-29 10:15:59 -05:00
Ben Gotow
5126294f58 1.11.0 2023-07-28 23:06:28 -05:00
Ben Gotow
2b75347c9c Allow mailspring:// for sounds / other media elements 2023-07-28 21:53:07 -05:00
Ben Gotow
31a8b5964a Additionally disable object, media browser features via csp: none 2023-07-28 21:39:18 -05:00
Kasper
97957cf777
Fix help menu search (#2460) 2023-07-28 21:37:05 -05:00
Marivaldo Júnior
b0c8f6e451
Red icon for new mail and blue icon for unread mail (#2433)
Added .psd for each platform
2023-07-04 08:51:39 -05:00
kanunnikau
96592f36f3
Add Menu action allowing it to be used as AutoSuggest (#2456)
MovePickerPopover uses a newly added 'onExpand' callback from 'Menu' to
use it as AutoSuggest. When a user presses 'Tab' or 'ArrowRight' on a
highlighted folder, its name is plugged into the search field. This way
it is much easier to correctly complete long folder hierarchies.

Co-authored-by: Dzmitry Kanunnikau <dzmitry@kanunnikau.online>
2023-07-04 08:41:05 -05:00
Nick Zayatz
1584d4cf22
Update quoted-html-transformer.ts (#2457)
Added quote finder for Yahoo and AOL emails
2023-07-04 08:37:29 -05:00
Jesse Gumm
bb9e373c7f
Fix: Colons are allowed in URL paths. (#2458) 2023-07-04 08:36:55 -05:00
Prateek Sunal
b404b3cdf3
fix: mailspring appdata formatting (#2442) 2023-04-11 21:53:59 -05:00
Glenn
3dfc84c0ed
Fix email preview being hidden in vertical layout (edge case) (#2443) 2023-04-11 21:52:16 -05:00
andy00087
db5366bbc9
Update it.json (#2445) 2023-04-11 21:50:16 -05:00
David
b4d0df1002
Add new email shortcut on MacOS dock icon (#2452) 2023-04-11 21:49:12 -05:00
bobobo1618
89047ad768
Optionally configure gmail client secret with env var (#2454) 2023-04-11 21:47:53 -05:00
Ben Gotow
8ea2a61fed 1.10.8 2022-12-29 11:03:36 -06:00
Ben Gotow
6b13f54fe6 Make showStatusWindow wor in both processes, just in case 2022-12-29 10:56:49 -06:00
Glenn
9305bc8ac1
Composer image resize - Community#729 (#2440)
* Apply resizer

TODO: check how to undo AND see if title/alt attribute implementation is possible (maybe a pop-up with fields for these AND width and height 🤷‍♂️)

* Stop composer ONLY styles

The composer is adding styles to inline images, this means a draft can look completely different to the received mail. Removed the `vertical-align` and reset the `margin` to match the email view

* image ratio retention & small fix

- Added image ratio retention (<kbd>shift</kbd> = freeform)
- Fixed resizing being stopped when reducing the image size reduces the height of the email
- Had to stop the container from reducing (whilst resizing) as reducing the image inside a reducing element was VERY janky 🤮
2022-12-29 10:37:37 -06:00
Glenn
0c2c1c3465
Corrected 0pm to 12pm (#2438) 2022-12-29 10:35:06 -06:00
andy00087
2f98631c19
Update it.json (#2439) 2022-12-29 10:34:30 -06:00
Glenn
a812257270
Fix for start crash (#2437)
Fixed start crash, caused by incorrect module being referenced
2022-12-29 10:34:17 -06:00
Ben Gotow
5008ecc361 1.10.7 2022-11-21 09:42:32 -06:00
Ben Gotow
3a5714593c SMTP fix - Community#1625 (#6) 2022-11-21 09:38:20 -06:00
Ben Gotow
21a872930e Double-check URL protocol on calls to shell.openExternal 2022-11-21 09:36:06 -06:00
Tim Dorr
f9d69e8c02
Fix "and X more" display in message contacts (#2436)
This was changed from a template string to JSX, but the escape format was not updated. There is also now a missing space before the word "and".
2022-11-21 09:29:39 -06:00
Ben Gotow
de5e87ea17 Fix snapcraft release flow 2022-11-14 09:07:30 -06:00
Ben Gotow
ba7e89bb28 Update the Windows codesigning cetficiate for another 3 years 2022-11-11 09:20:43 -06:00
Arhan Jain
c763b612ec
Making composer recipient name warnings optional (#2420)
* recipient warnings and errors split into a separate step for drafts

* checking and updating recipient warning blacklist through localstorage

* add option to reset emails that ignore warning in preferences
2022-10-25 06:30:05 -05:00
Ben Gotow
c02898ac66 Add SECURITY.md 2022-10-25 06:13:17 -05:00
Captain Luvix
53c2a63037
Fix Korean (#2431)
* Correct grammer in Korean Translation

* Correct grammer in Korean Translation
2022-10-25 06:00:15 -05:00
Glenn
00f08205d5
Quicken load on long threads - Community#183 (#2432)
Quicken the load on long threads:
- ignore blockquote links
- cache results by message id for current session only (helpful when there's a component state change)

_Prettier/lint code changes_
2022-10-25 05:59:46 -05:00
Ben Gotow
868fa80df4 Bump to 1.10.6, update Changelog 2022-10-10 09:11:21 -05:00
Ben Gotow
d0a80815eb Tweak vertical alignment of message labels 2022-10-10 07:58:22 -05:00
Ben Gotow
41398e039f Workaround ResizeObserver error loop when form submission causes navigation 2022-10-09 21:16:34 -05:00
Ben Gotow
6896aabfeb Disallow any and all forms of javascript within message bodies 2022-10-09 21:16:34 -05:00
Ben Gotow
f3f89b8c7a Fix toolbar text alignment in “List” mailbox display made 2022-10-09 21:16:34 -05:00
Ben Gotow
17363b4442 Only inline image paths referenced via cid: in <img src=“”> 2022-10-09 20:49:13 -05:00
Ben Gotow
35e35c034c Bump mailsync to include Foundry376/Mailspring-Sync#5 2022-10-09 20:47:42 -05:00
Arhan Jain
a693c3d6d6
UI for switching calendar view (day/week/month) (#2421)
* UI for switching calendar view (day/week/month)

* darken options on hover
2022-10-09 18:23:07 -05:00
Matheus Reich
c4f2e1ac78
Updated mailspring.appdata.xml.in to fix Flatpak version number and 100% checked pt-BR.json translation (#2429)
* Updated mailspring.appdata.xml.in and PT-BR translation

The mailspring.appdata.xml.in file is used by Flatpak to automatically build the containerized version, available in Flathub, and that file wasn't tracking Mailspring's version, showing then an older version on Flathub (main Flatpak store). Also, the Brazilian Portuguese translation is around 80% checked and corrected (also standardized a lot of different words that were the same thing, improving usability).

* Update pt-BR.json

All of the pt-BR.json was checked and verified. I've applied the necessary corrections, and tried my best to fully standardize the entire translation, because same things were being translated to different things in Portuguese.
2022-10-09 18:18:34 -05:00
Glenn
450dfbef42
Some UX improvements (#2425)
* Some UX improvements (plus .gitignore tweak)

Made a few UX improvements:
- The send later delay can be skipped by clicking the new `Send now instead` button (localization required)
- If there is a range selection in the subject line then a context menu pops up on right click (for those that are allergic to keyboard shortcuts 😂)
- Message participant tweaks:
  - you can now open the context menu on the name or email, not just the email
  - you don't need to expand the participants to open the context menu
  - name is shown over the email for `Email "Name else Email"` context menu item
  - added `Copy "Email"` to context menu when nothing is selected/highlighted and just `Copy` when something is
- **for devs:** pretty console messages now consider your device theme and use an appropriate colour

* Prettier adjustments

* Revert `.gitignore` change

* Fix & actual prettier-ing

- Fix email context menu (now email and name can be alt-clicked)
- Sorted auto format (sorry didn't realise it was off)

* Use localised date/time format

Use a localised date format rather than forcing the Americanised format. This does loose the ordinal in `fullTimeString(Date)`

* Use weekday(Mon-Sun), for recent emails

- Changed recent emails to:
  - display weekday and time (e.g Mon, 10:15)
  - the recent emails to be 5 days, rather than 2
- Removed dead code
- Removed unnecessary import

* Remove unnecessary log

* Add key to prevent console error

Added a key to prevent a `Each child in an array or iterator should have a unique "key" prop` error in the console

* Add a key to "more" span

Co-authored-by: Ben Gotow <ben@foundry376.com>
2022-09-13 11:24:39 -05:00
Glenn
3d60cedb8f
Fix [Message Clipped - Show All] link (#2426)
Applied a fix to resolve the broken `[Message Clipped - Show All]` link. Fixing community issues 4899 & 4731
2022-09-13 11:14:18 -05:00
Glenn
b1eae8097c
Fix the vertical overflow bug (Community - 3507) (#2423)
There is always overflow, at some point the renderer moves it to the top which hides messages
2022-09-13 11:07:45 -05:00
Matheus Reich
1f263e6480
Update pt-BR.json (#2428)
Fixed many orthographic errors and added new translations from recent versions.
2022-09-13 11:03:52 -05:00
Ben Gotow
1ce06f18ba Bump to 1.10.5, update Changelog 2022-08-10 12:59:56 -05:00
Ben Gotow
fda930e8d6 Switch MacOS users to the Apple Silicon build if they have Apple-branded CPUs 2022-08-10 12:55:10 -05:00
Ivo Šmerek
9532bf2142
Improve czech localization (#2417)
* Improve czech localization

* Improve czech localization
2022-08-10 11:41:34 -05:00