Commit graph

2721 commits

Author SHA1 Message Date
SebaSalvaG
e4ecda0e61 Don't reset the message list to page 1 and clear the search on message.show
The `mailbox.message.show` handler rewrote the hash to `mailBox(sFolder)` --
page 1, no search -- even when the user was already in that folder.

Because the hash of an open message carries the message id and the new one does
not, the two differ, the route fires again, the message is shown again, and the
handler runs again: a loop. Every iteration aborts whatever message list request
was pending, so browsing to page 2 or running a search silently bounces back to
page 1 of the INBOX with an empty search box.

Only navigate when we are not already in that folder. Clicking a new-mail
notification from another folder still takes you to the INBOX; if the message is
not in the current page, the else branch already opens it in the preview pane
without touching the list.

The same unconditional setHash a few lines below, for non-INBOX folders, gets
the same guard.
2026-08-23 22:38:40 +02:00
the-djmaze
9dd7c021fd Small change for #1948 to make it relative to font size 2025-06-16 17:21:26 +02:00
Mathias Koehrer
c3660bee57 More compact view of folder list
With many folders, the line-height is too large.
It is reduced to make the view more compact.
Also, the top margin for the number of unread-folder will
be adapted.
2025-04-11 17:19:19 +02:00
the-djmaze
8bf4727555 Also detect Identity using from address #1865 2024-12-10 14:51:55 +01:00
Andrew Tjia
e16d0b52ae
Update Html.js to remove x-html tags before rendering
Fix for https://github.com/the-djmaze/snappymail/issues/1860 to remove <x-html></x-html> tags that might be emitted by certain email clients.

Tested by modifying locally using JS debugger and Snappymail JS debug mode.
2024-12-07 09:37:33 +09:00
Maarten
7eaa065d76
Merge pull request #1843 from edlerd/add-spf-dmarc
Add dmarc and spf indicators in mail view
2024-11-26 03:01:32 +01:00
the-djmaze
7a465606bc Resolve #1849 2024-11-26 02:47:17 +01:00
David Edler
18da535643
Show icon if no information is avilable on dkip, dmark or spf
Signed-off-by: David Edler <david.edler@canonical.com>
2024-11-18 17:20:57 +01:00
the-djmaze
66553a36da Improvements for #1846 2024-11-18 16:00:03 +01:00
David Edler
3ee978484a
Add dmarc and spf indicators in mail view #1820
Signed-off-by: David Edler <david.edler@canonical.com>
2024-11-12 18:03:38 +01:00
the-djmaze
91ff43e6ab Resolve #1828 2024-11-11 23:57:41 +01:00
the-djmaze
4cd5774257 ko.utils.domNodeDisposal.addDisposeCallback to ko.addDisposeCallback 2024-10-29 22:19:26 +01:00
the-djmaze
3d55bdaf5a Added test contacts CardDAV settings 2024-10-29 13:17:30 +01:00
the-djmaze
f12de9a3fd Improve contacts layout 2024-10-28 12:02:50 +01:00
the-djmaze
1b4bf3b8c3 Rename Identity.formattedName to Identity.toString 2024-10-28 12:01:59 +01:00
the-djmaze
534b71e5a4 On reply, set from field to the received email to field #1805 2024-10-23 01:27:29 +02:00
the-djmaze
f0b3d798bc IdentityModel extends EmailModel 2024-10-23 00:56:42 +02:00
the-djmaze
3a589e240c Proper fix for default sortMode 2024-10-23 00:39:01 +02:00
the-djmaze
4f6783a991 Bugfix: sortMode undefined at login 2024-10-23 00:28:13 +02:00
the-djmaze
055c0d3bf4 Added setting for default messages sort mode 2024-10-11 00:28:05 +02:00
the-djmaze
16106a28d5 Resolve #1798 2024-10-10 23:45:28 +02:00
the-djmaze
82ab4c4c6d Use CSS instead of $index #1797 2024-10-10 00:54:19 +02:00
the-djmaze
6f2f40b983 Prepare for #1793 2024-10-08 17:49:21 +02:00
the-djmaze
d6ef5ff70a Squire paste image working again.
https://github.com/the-djmaze/snappymail/issues/1389#issuecomment-2389678680
2024-10-06 17:32:47 +02:00
the-djmaze
68045f50f6 Resolve #1787 2024-10-02 01:52:15 +02:00
the-djmaze
f7f8d2d542 Bugfix the new msgId handling due to Squire sanitizeToDOMFragment using cleanHTML 2024-10-01 18:05:26 +02:00
the-djmaze
584728bc89 Squire: improved handling of BR elements 2024-10-01 17:56:43 +02:00
the-djmaze
f43c2c92b5 Squire sanitizeToDOMFragment use cleanHTML 2024-09-30 17:01:50 +02:00
the-djmaze
beb418080f Squire: prevent collapse of empty elements so that the caret can be placed in there.
This eliminates the use of hacky <br> inside.
2024-09-30 16:55:01 +02:00
the-djmaze
126208166d Bugfix: composer dialog scroll got broken in v2.28 2024-09-30 14:57:46 +02:00
the-djmaze
dc7eed4c80 Resolve #1780 2024-09-29 12:01:28 +02:00
the-djmaze
3931c11255 Added extension info to Admin -> Extensions -> Popup 2024-09-24 16:53:46 +02:00
the-djmaze
85ac404722 Drop support for noembed and noframes
Also remove everything after `<` inside `<style>`
2024-09-24 16:09:38 +02:00
djmaze
3893849d21 Fix Sieve math-type and comparator handling 2024-09-24 11:44:40 +02:00
the-djmaze
4022d39f76 Some Sieve parser improvements 2024-09-23 16:50:52 +02:00
the-djmaze
61c2eefec1 Fix Sieve QuotedString handling 2024-09-23 13:43:24 +02:00
the-djmaze
257d9201f6 Improved Sieve parser validation 2024-09-23 11:23:48 +02:00
the-djmaze
c773b852a1 Improve sieve parser 2024-09-23 10:48:22 +02:00
the-djmaze
93cc623891 Bugfix for #1709 2024-09-22 18:55:19 +02:00
the-djmaze
3576c22401 Resolve #1726 2024-09-22 01:44:41 +02:00
the-djmaze
88a66d64f1 Resolve #1761 2024-09-22 01:28:23 +02:00
the-djmaze
33b509c0a6 Added Admin - Extensions search filter 2024-09-17 21:16:17 +02:00
the-djmaze
365392eefe Bugfix: Admin - Config search should be ko.observable() not ko.observableArray() 2024-09-17 21:12:28 +02:00
the-djmaze
cfbc47488a cleanHtml use allowedTags instead of disallowedTags and improved CSS handling 2024-09-16 14:37:26 +02:00
the-djmaze
12b6ed3dbb Improved SquireUI handling of pathChange and bugfix bold match 2024-09-15 17:40:00 +02:00
the-djmaze
8fb7067531 Added option to convert HTML to Markdown instead of plain, using Turndown #1604 2024-09-14 14:00:36 +02:00
the-djmaze
6ebf273390 Resolve #1724 2024-08-28 00:24:28 +02:00
the-djmaze
9e3d6c6e23 Show warning in Admin -> About when PHP runs in 32bit 2024-08-27 13:38:42 +02:00
the-djmaze
9e2b9a9fcd Show GnuPG version for #1560 2024-08-27 12:12:33 +02:00
the-djmaze
59652d2d61 Mark images with width=1 as tracking pixel 2024-08-26 13:22:41 +02:00