1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-16 22:30:09 -07:00

27 Commits

Author SHA1 Message Date
Andrew Van Tassel
07410ef5b3
Merge pull request #36 from Ionic/feature/rework-received-spf
Rework Received-SPF header parsing.
2024-07-24 16:24:09 -06:00
Andrew Van Tassel
7afd1173de
Merge pull request #35 from Ionic/feature/prepare-aux-data
Prepare for showing additional information.
2024-07-24 16:23:17 -06:00
Andrew Van Tassel
75349a7922
Merge pull request #34 from Ionic/feature/debug-auth-data
Add debugging to auth data output.
2024-07-24 16:22:39 -06:00
Andrew Van Tassel
03665ad943 Bump version 4.4.2 2024-07-24 16:17:35 -06:00
Andrew Van Tassel
df433e6038 Bump 4.4.1 2024-07-24 15:33:05 -06:00
Mihai Moldovan
889b4b6e63 js/mailhops.js: rework Received-SPF header parsing.
Instead of just extracting the state itself, we'll also fetch the reason
(typically parenthesis-enclosed) and use the rest of the header as
additional data, which is only shown if the extrainfo preference has
been turned on.
2024-04-17 12:21:17 +02:00
Mihai Moldovan
d921758406 js/mailhops.js: lower case Received-SPF state.
Some MTAs pass a non-lowercase state, so make sure we sanitize it before
we select the icon or the description.
2024-04-17 12:05:59 +02:00
Mihai Moldovan
72ac705df2 {content/preferences.html,js/{mailhops,preferences}.js}: prepare option for extra information.
The current code only shows the basic auth status and a description of
what it means. Some users (i.e., me) would like to see more information,
typically the whole header part that is responsible for the decision, so
prepare to show this information.

This commit does NOT hook it up just yet. This will be done in a later
commit.
2024-04-17 11:47:59 +02:00
Mihai Moldovan
50ca444c6b js/mailhops_details.js: add debugging to auth data output. 2024-04-17 11:11:12 +02:00
Mihai Moldovan
37546872f9 js/mailhops_details.js: move auth data out of routes calculation.
Auth data needs only be processed once and is independent from the
actual route data.

This has the added benefit that auth data, which is entirely local, is
shown even if the API returned an error.
2024-04-17 10:53:49 +02:00
Mihai Moldovan
9638412388 js/mailhops_details.js: prepare to show local data even on error.
Currently, on error (rate limit, unable to reach Mailhops API), an error
message is shown and all additional information is bypassed.

This also means that the theme is not being applied.

Change the code to show local data even in error cases, and also apply
the theme option.
2024-04-17 10:34:01 +02:00
Mihai Moldovan
7835ac3e96 js/mailhops.js: sync version number with manifest.json. 2024-04-17 08:33:37 +02:00
Mihai Moldovan
08f3706432 js/mailhops_details.js: fix inverted logic for links containing a comma character.
Actually, links containing a comma character are just multiple links,
the current code wants to fetch the first element and drop all others.

We'll change this at a later time, but for now, just fix the bug at
hand.
2024-04-17 08:33:00 +02:00
John Bieling
995bb7a9af remove Experiment and make mailHop multi-tab-aware 2023-04-07 16:36:27 +02:00
Andrew Van Tassel
37b85a025c Updated max version to work with Thunderbird 102 2022-06-30 14:42:13 -06:00
Andrew Van Tassel
2b06d7cbde minor code cleanup 2021-09-10 15:38:57 -06:00
Andrew Van Tassel
867648513a Bump 4.3.0
- Added support for Thunderbird 93
- Added country filter option
- Fixes map launching on cached messages
2021-09-10 12:11:57 -06:00
Andrew Van Tassel
c5110a6681 Added parsing check for message date bump 4.2.1 2021-03-29 14:38:27 -06:00
Andrew Van Tassel
3b26c08e07 4.2.0 2021-03-23 01:51:47 -06:00
Andrew Van Tassel
8b12a00e11 Bump 4.1.1 2020-11-16 12:54:48 -07:00
Andrew Van Tassel
8076bd77da Removed debug 2020-11-13 15:54:23 -07:00
Andrew Van Tassel
0ea5fea11f Added Caching, resend API key 2020-11-13 15:52:02 -07:00
Andrew Van Tassel
060979276c Fixed km option 2020-11-12 16:58:13 -07:00
Andrew Van Tassel
db95a7f59b Removed debug 2020-11-11 15:32:08 -07:00
Andrew Van Tassel
1d1c88ce27 refactor message init, fixed spf dkim auth issue 2020-11-11 15:25:33 -07:00
Andrew Van Tassel
e15efff0b6 Added options, time travel junk, fixed dkim, spf auth display, added unsubscribe 2020-11-11 08:41:02 -07:00
Andrew Van Tassel
e026c919b6 TB78 Update 2020-11-10 22:28:24 -07:00