Граф коммитов

6136 Коммитов

Автор SHA1 Сообщение Дата
Martin Giger 39ba631ba8 Bug 1916951 - Connect close button handling in in-app-notification-manager. r=arschmitz,tobyp
Differential Revision: https://phabricator.services.mozilla.com/D222640

--HG--
extra : moz-landing-system : lando
2024-09-28 20:52:23 +00:00
Martin Giger dcfcdb734c Bug 1916951 - Add CTA button handling to in-app-notification-manager. r=arschmitz
Differential Revision: https://phabricator.services.mozilla.com/D222639

--HG--
extra : moz-landing-system : lando
2024-09-28 20:52:23 +00:00
Vineet Deo a444f102c8 Bug 1914081 - Account Hub Notification Bar Styling. r=micahilbery
**How To Test**
- At the end of the function #initUI() in email.mjs add the following lines of code
``` this.#states[subview].subview.showErrorNotification(
      "account-hub-find-settings-failed",
      "account-hub-find-settings-failed",
      "error"
    );
```
- Switch between the different error types in your developer console by replacing the class error in the HTML element #emailFormNotification with either success, info, or warning to see the different styles.

Differential Revision: https://phabricator.services.mozilla.com/D223401

--HG--
extra : amend_source : d2527430491a8f33af1e5c587618e35805fe01a8
2024-09-28 13:24:55 +03:00
Alessandro Castellani ec0480e220 Bug 1920834 - Implement a nightly pref to toggle experimental conversation view. r=laurel,vineet
Differential Revision: https://phabricator.services.mozilla.com/D223442

--HG--
extra : moz-landing-system : lando
2024-09-27 21:50:14 +00:00
Magnus Melin f9189fceaf Bug 1917074 - disregard addServer from config file. r=babolivier
There seems little reason the config file should be able to decide on whether the server should be added or not.
This is an internal flag to opt out in certain situations.

Differential Revision: https://phabricator.services.mozilla.com/D223758

--HG--
extra : rebase_source : 926b3ba634afe6b3c14402623678fb09b24f4a28
2024-09-27 09:27:28 +03:00
Magnus Melin 5fb03bfae7 Bug 1917074 - Account setup: ignore useGlobalPreferredServer if there is no global server set up. r=babolivier
We got useGlobalPreferredServer from autoconfig, but with no server set up that's a no-go.

Differential Revision: https://phabricator.services.mozilla.com/D223756

--HG--
extra : rebase_source : e96c24f62f306af894ee40e4e29591146bf743cf
2024-09-26 15:33:09 +03:00
Alessandro Castellani 6396ab509c Bug 381821 - Add a preference to allow horizontal scrolling on table view. r=tobyp,darktrojan
### How to test

- Use table view
- Resize columns until the elastic style pushed them back
- Access `Settings` > `General` > `Reading & Display`
- Toggle `Allow horizontal scroll` on

The message list should now have horizontal scrolling enabled
and only the columns that haven't been previously manually resized
should expand. The last column also should be resizable, allowing
more control on the layout.

Differential Revision: https://phabricator.services.mozilla.com/D222886

--HG--
extra : amend_source : da2b8055924e754f3c581982ff932685a6c6180b
2024-09-26 22:37:51 +00:00
welpy-cw 2cfc004ff0 Bug 601447 - Disable "Remove All Shown" logins when filtered without results. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D223497

--HG--
extra : moz-landing-system : lando
2024-09-26 16:59:56 +00:00
Richard Marti f7e90f7991 Bug 1919471 - Update AB row height/density to be font size dependant. r=aleca,micahlibery,tobyp
Differential Revision: https://phabricator.services.mozilla.com/D222917

--HG--
extra : amend_source : c1594ee6cb5f2eb98607e513b75fee216348fc12
2024-09-26 09:57:24 +03:00
Geoff Lankow 6d76fe34a1 Backed out changeset 473d0c6cb531 (bug 1919471) for test failures. DONTBUILD
--HG--
extra : amend_source : ce56de6b66d379f49d7bea99db61a23285ba8ac0
2024-09-25 12:11:27 +12:00
Richard Marti e6a2047cc3 Bug 1919471 - Update AB row height/density to be font size dependant. r=tobyp,micahilbery
Differential Revision: https://phabricator.services.mozilla.com/D222917

--HG--
extra : moz-landing-system : lando
2024-09-24 21:55:16 +00:00
Martin Giger 4ae51d0ce6 Bug 1920551 - Explicitly set jsdoc name to avoid parsing issue. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D223281

--HG--
extra : moz-landing-system : lando
2024-09-24 16:58:57 +00:00
welpy-cw e69b857558 Bug 1913600 - Adjust drag'n'drop handling of compose window after bug 1851536. r=mkmelin
Since https://phabricator.services.mozilla.com/D193762 has landed, multiple selected contacts with display names that are dragged into the compose window are treated as attachments. This patch excludes dragged items containing the "text/x-moz-address" flavor from being checked for valid attachments and handles them directly.

Differential Revision: https://phabricator.services.mozilla.com/D222539

--HG--
extra : moz-landing-system : lando
2024-09-24 16:58:56 +00:00
John Bieling 8463264f73 Bug 1918163 - Temporarily disabling test for opening an unknown protocol. r=tobyp
It seems that the test fails are due to a real regression introduced by
Bug 1911977. Test is disabled while the regression is reported to and
handled by upstream.

Differential Revision: https://phabricator.services.mozilla.com/D223311

--HG--
extra : moz-landing-system : lando
2024-09-24 16:58:56 +00:00
Martin Giger e3faa81cdc Bug 1919751 - Only fetch in-app notification updates on initialization if cache is too old. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D222776

--HG--
extra : rebase_source : dd6192ed0b6fc946d7ed3c4fc1c24189e6615758
2024-09-19 11:35:16 +00:00
John Bieling 74c334be34 Bug 1919244 - Remove usage of broken mime2DecodedRecipients and mime2DecodedAuthor. r=mkmelin
The values in `msgHdr.mime2DecodedRecipients` and `msgHdr.mime2DecodedAuthor`
should no longer be used. They will hold invalid values, if the decoded
value includes a comma, but not the encoded value. Since the encoded
value does not need to be quoted, and the decoded mailbox string is not
auto-quoted, it becomes invalid and unusable.

Differential Revision: https://phabricator.services.mozilla.com/D223208

--HG--
extra : rebase_source : bcfa1ed13baba8b58f79b11e76975ab364bed720
2024-09-24 09:44:09 +00:00
John Bieling c56d8be4f1 Bug 1920436 - Always handle forwarded messages as attachments, even if the content-disposition header is missing. r=tobyp
This is a continuation of Bug 1898617. Our attachment detection code
missed some edge cases and did not consider inline forwarded messages as
attachments (which is what Thunderbird itself is doing). However, we
also missed to consider forwarded messages as attachments, which do not
have a content-disposition header at all.

This also adds a test for this additional edge case.

Differential Revision: https://phabricator.services.mozilla.com/D223093

--HG--
rename : mail/components/extensions/test/xpcshell/messages/nestedMessageInline.eml => mail/components/extensions/test/xpcshell/messages/nestedMessageNoContentDispositionHeader.eml
extra : amend_source : 5c56c79e94750cd2f1567c99606ccb5ec051663e
2024-09-23 11:55:52 +00:00
welpy-cw ecb93ca9fc Bug 1918309 - Reset quick filter bar when setting special view. r=#thunderbird-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D222217

--HG--
extra : amend_source : fe3fd7fdf3ace9d3f053ce30bfc4d1a532974930
2024-09-23 12:05:35 -04:00
John Bieling 2cfb77b909 Bug 1905622 - Wait for load of extension panels, before opening them if Wayland is used. r=#thunderbird-reviewers
This is the result of multiple frustrating days spend on trial-and-error. I was able to
reproduce the issue on a Fedora Workstation 40 installation in a Hyper-V VM and this seems
to fix it for me.

I have absolutly no idea as to *why* this is needed, but it is telling that there actually
is a `isWaylandPopup`getter.

Differential Revision: https://phabricator.services.mozilla.com/D223049

--HG--
extra : amend_source : d916443e4cdf78384e5e159b237ca4b71d8320a4
2024-09-23 12:04:38 -04:00
John Bieling dcaaca5eb6 Bug 1882832 - Process encrypted MIME parts based on headers, minimize reading MIME parts. r=kaie
This is a performance improvement based on Kai's input to minimize the
computational work required to determine whether a message is encrypted.

This also fixes a bug where decrypted attachments where not
returned to the API (but the encrypted one), because a status flag was
not properly set.

This also adds tests.

Differential Revision: https://phabricator.services.mozilla.com/D202755

--HG--
rename : mail/components/extensions/test/xpcshell/test_ext_messages_encrypted_attachment.js => mail/components/extensions/test/xpcshell/test_ext_messages_encrypted.js
extra : amend_source : c1da773281b675f0df08627b2f496d92de295fa7
2024-09-23 12:03:56 -04:00
Martin Giger e769a6d36c Bug 1918831 - Implement in-app notification filtering based on displayed_notifications. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D222684

--HG--
extra : moz-landing-system : lando
2024-09-20 23:28:44 +00:00
Martin Giger 0250d6d206 Bug 1903230 - Add preference to bypass in-app notification filtering. r=arschmitz
Differential Revision: https://phabricator.services.mozilla.com/D222617

--HG--
extra : moz-landing-system : lando
2024-09-19 22:00:57 +00:00
Micah Ilbery b02c2f74a0 Bug 1918727 - Style in-app-notification with donation styles. r=freaktechnik,laurel
Differential Revision: https://phabricator.services.mozilla.com/D222300

--HG--
extra : moz-landing-system : lando
2024-09-19 22:00:56 +00:00
Geoff Lankow 6ddc777114 Bug 1919469 - Throw an exception when a certificate error is encountered during account set-up. r=#thunderbird-reviewers
There's an exception thrown here for other types of connection errors. The error handler logs a
message to the console which can be useful for debugging setup errors.

Differential Revision: https://phabricator.services.mozilla.com/D222592
2024-09-18 09:31:54 +00:00
Alexander Schmitz baf0d06128 Bug 1918168 - Updated connection of l10n root and fix timeout in test. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D222520

--HG--
extra : rebase_source : 412d1a1431b94f59bd377c9d44c00eba052aafba
extra : amend_source : 641c20bb186f2b9999c64e5fff0201b280ee21b0
2024-09-18 05:10:14 +00:00
Martin Giger 1b15266634 Bug 1904308 - Implement fetching in-app notifications from server. r=arschmitz,tobyp
Differential Revision: https://phabricator.services.mozilla.com/D222148

--HG--
extra : amend_source : 0367b3359ea8a73daa399a398c4864143b3c9dce
2024-09-18 12:31:40 +00:00
Martin Giger c8dd971359 Bug 1909677 - Add test for in app notification button. r=arschmitz!,micahilbery
Differential Revision: https://phabricator.services.mozilla.com/D221030
2024-09-18 12:50:50 +00:00
Alexander Schmitz 0f44457bc4 Bug 1918699 - Insert in-app-notification-manager into dom based on prefrence. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D222541
2024-09-18 20:11:49 +00:00
Magnus Melin 5e8e75f9c6 Bug 1918774 - Fix inserting image into compose window to respect pref mail.compose.attach_http_images. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D222429

--HG--
extra : amend_source : e253c92ac2c6d7c91e6718e3e2fdbbe0c43ce355
2024-09-17 09:35:03 +00:00
Geoff Lankow a90ae6467b Bug 1919181 - Port bug 1917003: Prevent using await await in JS. rs=me DONTBUILD
--HG--
extra : amend_source : 4abacd72d56ac7d082aa331a91891ef892568be0
2024-09-17 13:24:07 +12:00
Martin Giger 129cd1f3ad Bug 1918832 - Support donations_old in-app notification type. r=arschmitz
Differential Revision: https://phabricator.services.mozilla.com/D222303

--HG--
extra : amend_source : d5b8e015660f5a3a07903a776bfd6d5dbb41f3d2
2024-09-16 21:37:31 +00:00
Alexander Schmitz e50ce2b733 Bug 1918168 - Create in-app-notification component. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D221903
2024-09-16 14:12:06 +00:00
Martin Giger 1974d148d4 Bug 1918335 - Only allow in-app notifications with a https URL as CTA. r=arschmitz
Differential Revision: https://phabricator.services.mozilla.com/D221932

--HG--
extra : rebase_source : 9cdd60a71a8b3268de827633f84d56031dc53e83
2024-09-13 12:35:44 +00:00
Martin Giger daee29e03e Bug 1918062 - Handle clear notification event in in-app-notification-manager. r=arschmitz!,micahilbery
Differential Revision: https://phabricator.services.mozilla.com/D221835

--HG--
extra : rebase_source : b3c6cf505d5e3bc82cc39538be0a9b02bb260b5f
2024-09-13 11:22:51 +00:00
Martin Giger be4dba287a Bug 1917624 - Hook up new notification event in in-app-notification-manager. r=arschmitz!,micahilbery
Differential Revision: https://phabricator.services.mozilla.com/D221664

--HG--
extra : rebase_source : e3bfcdb1f58479f3160ffb8c960b96f3b37e9897
2024-09-13 11:22:47 +00:00
Vineet Deo 42c851b3b6 Bug 1911119 - Account Hub Form Animated Text Input Styling. r=aleca,micahilbery
**How to Test**
- Open account hub through developer console
- Compare the input fields, and check animation
- Check correct icons show up for input statuses

Differential Revision: https://phabricator.services.mozilla.com/D218354

--HG--
extra : moz-landing-system : lando
2024-09-13 04:40:56 +00:00
Magnus Melin 443ddae2e7 Bug 1868517 - Remove deprecated trySTARTTLS and migrate any accounts using trySTARTTLS to alwaysSTARTTLS. r=leftmostcat
Very few users will have this, as it's not been shown in the UI for many many years.

Differential Revision: https://phabricator.services.mozilla.com/D221865

--HG--
extra : moz-landing-system : lando
2024-09-12 20:44:48 +00:00
Magnus Melin d73e7357dd Bug 1917461 - Fix checkbox "Attach this image to the message" state. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D221584

--HG--
extra : rebase_source : e22f67310b41c8656eaa887f64de6b96f8f52ad5
2024-09-12 10:24:55 +12:00
Alexander Schmitz bbee2a1926 Bug 1910944 - Add in-app-notification-container. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D221578

--HG--
rename : mail/locales/en-US/messenger/in-app-notifications.ftl => mail/locales/en-US/messenger/inAppNotifications.ftl
extra : rebase_source : bef7e0f19ee95bffb9f32ae442dfa1937a43b64b
2024-09-12 10:24:16 +12:00
Martin Giger 580e102f9d Bug 1909631 - Trigger in-app notification update when app locale changes. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D221349

--HG--
extra : amend_source : 77ac5f49719b3891ea96fefa424dd24e5fbf10d0
2024-09-10 15:24:28 +12:00
Martin Giger b452f9ac75 Bug 1916948 - Create in-app-notification-manager. r=arschmitz,micahilbery
Differential Revision: https://phabricator.services.mozilla.com/D221329

--HG--
extra : amend_source : f1ba6de41a3d49e09f989259036ef45a95ed7b23
2024-09-10 15:22:35 +12:00
Geoff Lankow 7648cf48f0 Bug 1916564 - Port bug 71895: Remove Hidden Window from Linux and Windows builds. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D221006

--HG--
extra : rebase_source : 5c3f6de10d9aab9aa179c164e73dde701d2e9718
extra : amend_source : 236aaf404a0d44c09770ab4268a1a466d8d734ef
2024-09-04 21:58:32 +12:00
Magnus Melin f230156743 Bug 1915199 - Matrix E2EE tab in account settings is shown for XMPP account. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D221360

--HG--
extra : moz-landing-system : lando
2024-09-08 03:32:45 +00:00
Martin Giger de3bd1b3be Bug 1909677 - Add in-app-notification-button. r=arschmitz
Differential Revision: https://phabricator.services.mozilla.com/D218759

--HG--
extra : amend_source : 8b803d24f16715f2c4d10a49e1ad19fc613733d8
2024-09-06 10:36:35 +12:00
Vineet Deo 3aefb1b23c Bug 1917015 - Add new response SMTP response string to test_guessConfig.js. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D221204

--HG--
extra : amend_source : 6230013d0003571b363f4bc67f27dffa5fafda7f
2024-09-06 10:28:41 +12:00
Magnus Melin 4d94e7caa3 Bug 1908866 - Don't request EWS permissions for non EWS accounts as EWS permissions may not be granted for security reasons. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D220925

--HG--
extra : amend_source : 8ec57e6cbacb728f2bd7c2795b49d571c7d43244
2024-09-05 13:24:14 +12:00
Geoff Lankow 0c18ffab8c Bug 1901962 - Test message sending scenarios. r=mkmelin
These test sending messages from the compose window with a variety of connection/authentication
problems. They are closely related to the tests named browser_getMessages with the same suffixes.

Sending a message presents a variety of prompt windows to the user, particularly when something
goes wrong. I've tried to avoid writing tests that lock in this behaviour in the hope that one day
somebody will overhaul it.

Differential Revision: https://phabricator.services.mozilla.com/D220857

--HG--
extra : moz-landing-system : lando
2024-09-04 10:49:40 +00:00
Richard Marti 6ffe0b2d89 Bug 1915826 - Don't hide the badge when the AppButton is pressed/open. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D220679

--HG--
extra : amend_source : ec462ef088d664d92df6ae786b8dcbb7673e8811
2024-08-30 11:31:56 +00:00
John Bieling fbcb3faf0c Bug 1915338 - Add info about tabs.create() resolving as soon as the tab has been created, not after it has finished loading. r=aleca
See https://github.com/thunderbird/webext-docs/pull/65

A similar question has surfaced in recent matrix discussions.

Depends on D220364

Differential Revision: https://phabricator.services.mozilla.com/D220366

--HG--
extra : moz-landing-system : lando
2024-08-30 22:59:24 +00:00
John Bieling 12dd117216 Bug 1915330 - Move choice into the definition of the SpaceButtonProperty type. r=aleca
This is a cosmetic change. Instead of having two different button types
for Manifest V2 and Manifest V3 and using `choice` to use one or the
other, we move the `choice` into the definition itself.

Differential Revision: https://phabricator.services.mozilla.com/D220364

--HG--
extra : moz-landing-system : lando
2024-08-30 22:59:24 +00:00