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

41568 Коммитов

Автор SHA1 Сообщение Дата
Geoff Lankow 486817bbad Bug 1898130 - Use separate attributes for <search-bar> placeholder and ARIA label. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211948

--HG--
extra : rebase_source : 04c5d5beec8af9c4a6d6f61ed41d5de67a0583b0
extra : amend_source : 5c8eedf5d9999f6228d18d7b8c0266b5d5349c89
2024-05-29 12:24:17 +12:00
Alessandro Castellani f30adda905 Bug 1847427 - Implement some simple density variations to the Address Book contacts panel. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D212074

--HG--
extra : amend_source : 08b3aaa5b2847ae5cfaaebf0e5b3c5f841e15deb
2024-05-30 01:39:55 +00:00
Geoff Lankow ca37c057f5 Bug 1810915 - Remove importers for Becky! Internet Mail. r=leftmostcat
The importers for accounts and mail can't have worked from Thunderbird 68 onwards, as they depend
on a component that was removed. The only useful part remaining is the address book importer, and
Becky stores address book data in vCard files. We have a vCard file importer.

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

--HG--
extra : rebase_source : 05924b50eb4ad3d5fa59590e8d458aaddfa53aa1
extra : amend_source : b5f84e9b83ea74865dc3718c2923abefebcc2a24
2024-05-29 21:14:45 +12:00
Thunderbird Updatebot ca5519e706 Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=aleca DONTBUILD
mozilla-central: fd0f25542804074c0a38ba6c7f273a36bf658127
comm-central: 1f0f92a57ece56543a1874bbfde09400a28eb4f1

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

--HG--
extra : moz-landing-system : lando
2024-05-29 23:11:52 +00:00
Rob Lemley cdac24fdb2 Bug 1894264 - Port bug 1894145: Update MSIX publisher attributes to match new signing certificate. r=dandarnell
Differential Revision: https://phabricator.services.mozilla.com/D209020

--HG--
extra : moz-landing-system : lando
2024-05-29 21:58:02 +00:00
Alessandro Castellani 5d7d510254 Bug 1192615 - Use native OS notifications by default. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D211957

--HG--
extra : moz-landing-system : lando
2024-05-29 21:58:02 +00:00
Kai Engert a9ee7a11c6 Bug 1581796 - Follow-up to avoid empty subject name in CSR if email address inclusion is allowed. r=rrelyea
Differential Revision: https://phabricator.services.mozilla.com/D211937

--HG--
extra : moz-landing-system : lando
2024-05-29 21:58:01 +00:00
welpy-cw ca6e5442e4 Bug 1899167 - Fix the order deferred scripts are loaded in EdLinkProps.xhtml. r=mkmelin,aleca
Differential Revision: https://phabricator.services.mozilla.com/D211748

--HG--
extra : moz-landing-system : lando
2024-05-29 21:58:01 +00:00
Thunderbird Updatebot 1aec38d4a6 Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=thunderbird-reviewers,john.bieling DONTBUILD
mozilla-central: e1da1893a0c56d2752be4e6eb1efa16c58723a55
comm-central: 6ecec7121bb0dcae1febeb41d0894c0f2b045b3b

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

--HG--
extra : moz-landing-system : lando
2024-05-29 10:45:32 +00:00
John Bieling c1a38c5284 Bug 1899314 - Rename MailTab.viewType to MailTab.groupType in Manifest V3. r=aleca
This is a cosmetic change. I implemented `viewType` as one of my first
tasks for the Thunderbird project and naming things is always difficult.
It turned out (and I was correctly called out on it), that the name is
not correct. The property which can be set to `ungrouped`,
`groupedByThread` and `groupedBySortType` should be named `groupType`.

I would like to correct that for Manifest V3.

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

--HG--
extra : rebase_source : 96d970d42fec6100051b0abf0b66a18d9a042d05
extra : amend_source : 97239550162fe05c9ca8a77c8f0f0f0b40b7af6b
2024-05-29 05:14:55 +00:00
Magnus Melin 3203350ac9 Bug 1890975 - When updating start time of recurring event series, should not move the time of event exceptions. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D211507

--HG--
extra : rebase_source : 6f91bdc1dcf966c5a6c62267dac6e4e10f0312cf
2024-05-29 07:47:25 +00:00
Geoff Lankow f4f17812f5 Bug 1851535 - Remove MsgHdrSyntheticView. r=aleca
We stopped using this with the mail tabs rebuild.

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

--HG--
extra : amend_source : a4cbe7fdfe4d379eae65d2cd70658159d3650294
2024-05-29 04:50:43 +00:00
Geoff Lankow f2c4a1c334 Bug 1899235 - A few CSS tweaks in the address book. r=Paenglab
Differential Revision: https://phabricator.services.mozilla.com/D211810

--HG--
extra : rebase_source : ae1756d686e78c966db8f7931e20cd076bacf4ce
extra : amend_source : 73e79aeeb47ad378ffd971a592181eb859011a69
2024-05-20 22:30:41 +12:00
John Bieling ce02273f57 Bug 1899285 - Expose encryption capabilities in the MailIdentity. r=kaie
In order to find an identity which supports encryption, we are exposing
the encryption capabilities. This is a read-only property and cannot be
changed by extensions.

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

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:19 +00:00
Rob Lemley 8c2c07408b Bug 1896934 - Change Rustfmt to fail orange when formatting is needed. r=thunderbird-reviewers,babolivier
Differential Revision: https://phabricator.services.mozilla.com/D210845

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:19 +00:00
John Bieling 1ef6f495e1 Bug 1732669 - Expose encryption settings in ComposeDetails. r=kaie
This is adding methods to get and modify the encryption settings of a
given compose window.

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

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:18 +00:00
Geoff Lankow c82af42039 Bug 1863798 - Fix bringing the app to the foreground when clicking on native Windows notifications. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211808

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:18 +00:00
arschmitz 7c79c71af0 Bug 1853442 - Enable shortcut keys when dom content is attached in 3 pane. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211548

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:17 +00:00
Alessandro Castellani 5580539209 Bug 1899240 - Fix incorrect chat fluent string. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D211919

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:17 +00:00
Ben Campbell a0d8140c40 Bug 1898780 - Make sure gloda removes compacted messages. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D211811

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:16 +00:00
John Bieling 6951941e52 Bug 1898617 - Consider inline forwarded messages as attachments (again). r=mkmelin
This fixes an untested edge case, whose behavior has changed after
switching to the MimeTreeEmitter. Following Thunderbirds
behavior, messages which are forwared inline and do not have a dedicated
filename are named `ForwardedMessage.eml`.

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

--HG--
rename : mail/components/extensions/test/xpcshell/messages/nestedMessages.eml => mail/components/extensions/test/xpcshell/messages/nestedMessageInline.eml
extra : moz-landing-system : lando
2024-05-28 22:28:16 +00:00
Geoff Lankow da22315fde Bug 1851536 - Test that Thunderbird responds to command-line flags correctly. r=aleca
This is a basic test of only some of the command-line flags. It's more of an exploration of what I
can and can't do in a Marionette test.

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

--HG--
rename : calendar/test/browser/data/import.ics => mail/test/marionette/data/import.ics
rename : mail/components/addrbook/test/browser/data/import.vcf => mail/test/marionette/data/import.vcf
extra : moz-landing-system : lando
2024-05-28 22:28:16 +00:00
Geoff Lankow b7c732b8ce Bug 1851535 - Remove sample import data and status functions. r=mkmelin
These methods are unused.

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

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:15 +00:00
Geoff Lankow 51d46d0c64 Bug 1851535 - Remove nsIImportFieldMap. r=mkmelin
This code hasn't been used since we replaced the CSV address book importer, except for adding
fields to imported Outlook contacts, and it's unclear to me whether that was even working.

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

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:15 +00:00
Geoff Lankow 780f801b57 Bug 1851535 - Remove dead file importers and some other dead importer code. r=mkmelin
These files aren't used by any Thunderbird code.

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

--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:14 +00:00
Geoff Lankow 0d2f987844 Bug 1898444 - Stop automatically setting the default account to log in at start-up. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D211322

--HG--
extra : rebase_source : 20edd382a4f23ce1b42ac712019b0609ca6fd875
extra : amend_source : 2fd2344a5fe316ca151dd15c19e82eb47e16ff74
2024-05-23 17:01:22 +12:00
Thunderbird Updatebot cc61e9be0c Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=darktrojan
mozilla-central: 046da0f065e90bcf67ec9fd58aa8f84c1a8f80be
comm-central: a3e5c49b7b842c5d24092a0f07d979e603e5a23f

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

--HG--
extra : amend_source : fbb8660ef14cdc3e37d4d3bf8f600e173ef1897f
2024-05-28 00:24:23 +00:00
Geoff Lankow ec08718039 Bug 1899199 follow-up - Also fix a test. rs=me 2024-05-28 12:28:23 +12:00
Geoff Lankow 290f4e7e9a Bug 1899199 - Port bug 1894995: Remove deprecated nsICacheEntry methods. rs=bustage-fix
--HG--
extra : rebase_source : 49afb0157f86cc067320904e1b61c0c3919525d9
2024-05-28 10:37:40 +12:00
Geoff Lankow aa580de2ef Bug 1851535 - Change importer tests to use the same code path as about:import does. r=mkmelin
These tests have been importing contacts using XPCOM to find an importer, then using it to do the
importing. Thunderbird doesn't actually import contacts in that way – it uses AddrBookFileImporter,
so the tests should do that too. The importers are dead code.

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

--HG--
extra : rebase_source : 46eff510cf6b0705e4690f1454be585ea6882d22
extra : amend_source : dcc8c872dea7b74f01ee1e128763c23b920958d9
2024-05-27 11:50:51 +12:00
Thunderbird Updatebot f50804ead6 Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=darktrojan
mozilla-central: 00f574fb9f0cde95935f22084807dc7bd60eae84
comm-central: baf3acadc707839386367ca525a3db9373a5bab9

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

--HG--
extra : amend_source : 22625a5ede39350d139052ad3366613905c54f63
2024-05-27 22:14:09 +00:00
Magnus Melin ec132c456b Bug 1898193 - add some missing fluent files to compose window customization. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211724

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:19 +00:00
Magnus Melin 3560699c63 Bug 1898890 - Port bug 1898558 - Switch the license linter to use an exclusion list for tests that is defined in the yaml rather than in the linter itself. r=aleca
With this, `./mach commlint -l license` works like its m-c counterpart.

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

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:19 +00:00
Richard Marti 321c6972f5 Bug 1898851 - Synchronize more colors in Addressbook. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211648

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:18 +00:00
Martin Giger f2ad11b371 Bug 1890375 - Hide all context menu items on special message contexts. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211627

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:18 +00:00
Martin Giger 08220884e0 Bug 1890374 - Hide empty submenus in mail context menu. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D211626

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:17 +00:00
Magnus Melin cec3c7f37f Bug 1869685 - avoid blank 3pane for hostname "2". r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D210809

--HG--
extra : moz-landing-system : lando
2024-05-27 22:03:17 +00:00
Geoff Lankow 154917daab Bug 1898775 - Force layout of a new tab before emitting TabOpen event. r=#thunderbird-reviewers
This test was failing because layout happened and the document was resized after the test started
clicking on things. I also refactored the test a bit.

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

--HG--
extra : rebase_source : 62b2fe264a75761904bcb86e21414abc92aa0164
2024-05-27 03:50:20 +00:00
John Bieling edd18e1d88 Bug 1892674 - Change documentation of folders API to reference folderIds for all folder input parameters in Manifest V3. r=#thunderbird-reviewers
We morphed the folders API into a true id-based API (deprecating the
usage of an object with `accountId` and `path` as input parameter) and
we enforce the new `folderId` as the only supported input parameter in
Manifest V3. This adjusts the documentation accordingly.

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

--HG--
extra : rebase_source : c8dfc80be4ee656b0618b21a3e5cc89ef471e425
2024-04-21 17:32:50 +02:00
John Bieling 82ffe6637d Bug 1894905 - Deprecate flat contact properties in Manifest V3 and only work with the vCard. r=#thunderbird-reviewers
This looks larger than it really is. For contacts, we currently return a
property bag, which includes flat properties like "PrimaryEmail" or
"FirstName", which is how the old address book stored contact data. We
kept supporting these properties even after the internal storage was
moved to vCard. The vCard was just another property in said property bag
and we applied some voodoo to allow extension developers to continue
to set the flat properties, or the vCard.

In MV3 we stop doing that and just work with the vCard. This affects
the functions `contacts.create()` and `contacts.update()`, and also the
events `contacts.onCreated` and `contacts.onUpdated`.

This patch is not changing MV2 behavior.

Since we no longer expose the internal property bag, this also removes
access to things like `preferDisplayName`, which is still a property of
the internal card. I believe it is bad practice to expose these
internals. If there is a request to be able to access such values,
they should be moved as X-Properties to the vCard (which would sync
these settings with the vCard between Thunderbird instances).

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

--HG--
extra : rebase_source : c2075a8657eee795609319b78ad5a7ea3764dfd0
2024-05-03 09:28:53 +02:00
John Bieling 8624b64e89 Bug 1892890 - Change default value for `includeFolders` to false in Manifest V3. r=#thunderbird-reviewers
The methods to retrieve accounts and folders may return a lot of folder
and subfolder data. In review I saw that most add-ons do not use the
information and it may have unnecessary performance implications.

The initial implementation always returned all folders and the optional
flag was added only later after such performance implications have been
reported. We however could not change the default in Manifest V2 without
breaking add-ons. Doing that now for Manifest V3.

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

--HG--
extra : rebase_source : b82e5eada4906752ebd26f03e18637d0cfd7ee6a
2024-04-23 10:26:23 +02:00
Geoff Lankow 29cc9f4e0e Bug 1851535 - Remove dead ways of using nsIImportModule. r=aleca
We haven't used this code in production since the import UI was rebuilt in Thunderbird 102.

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

--HG--
extra : rebase_source : d553518ef699780f44ff8727cae6223c7e17f68a
extra : __touch-noise__ : 1298631866
extra : amend_source : 88c627256d825fc22f2a36a81ca4230c9f867b3e
2024-05-27 11:50:51 +12:00
John Bieling b14dcf8592 Bug 1897291 - Use selectedFolders in menus.OnClickData and menus.OnShowData. r=mkmelin
Introducing a `selectedFolders` property for the `OnShowData` and
`onClickData` of the `menus` API. Removing the old `selectedFolder`
property for Manifest V3.

The UI currently does not yet support to select multiple folders, but
the API is now ready to actually provide multiple values.

This also removes the `selectedAccount` property for Manifest V3, since
we return the rootFolder now.

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

--HG--
extra : moz-landing-system : lando
2024-05-26 21:48:50 +00:00
John Bieling 30736dee57 Bug 1898883 - Do not use const in file scope code for declaring parserUtils. r=#thunderbird-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D211659

--HG--
extra : rebase_source : 939692324f93a99487d31c5adf70cc83d0193539
2024-05-25 20:21:17 +02:00
John Bieling fe64f21547 Bug 1898892 - Use nsIDocumentEncoder.OutputFormatted as required by a Debug assert. r=#thunderbird-reviewers
I do not know why m-c requires using `OutputFormatted` in order to use
`OutputFormatFlowed`. To resolve the test fail, this fix is adding the
required flag. However, this is not really what I want, since
`OutputFormatted` translates `<b>` tags to `*` and `<i>` tags to `/`.

Will ask m-c if this requirement could be lifted.

See: https://searchfox.org/mozilla-central/rev/f967675ec87bb200b5b911b6fd0fb8c1e06c5167/dom/serializers/nsPlainTextSerializer.cpp#323-328

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

--HG--
extra : amend_source : 391d4f20af554997a34414b7f5b3876532c29276
2024-05-25 22:13:27 +02:00
John Bieling 343706f6a7 Bug 1898853 - Add function to convert html snippets to plaintext. r=mkmelin
This adds the function to convert HTML snippets to plain text. It was not
added as an option of `messages.listTextParts()`, because it can be used
in other scenarios as well. Introducing it as a stand-alone function
without being bound to a specific message increases its usefulness.

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

--HG--
extra : moz-landing-system : lando
2024-05-25 10:27:37 +00:00
John Bieling 02f296fa63 Bug 1898162 - Disable prompt code in MimeTreeDecrypter() when used by the WebExtension API. r=kaie
The MimeTreeDecrypter has some calls to `Services.prompt.*` which need
to be supressed when used from a WebExtension API (because they do not
interact with the UI).

This adds a new option `promptUser` which defaults to true, and is
disabled for the WebExtension API.

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

--HG--
extra : moz-landing-system : lando
2024-05-24 22:14:36 +00:00
Gene Smith 666b390a3e Bug 1893307 - Avoid POP3 server timeout processing LIST and UIDL lines. r=mkmelin,babolivier
Differential Revision: https://phabricator.services.mozilla.com/D210555

--HG--
extra : moz-landing-system : lando
2024-05-24 22:14:36 +00:00
Rob Lemley fb7653c27b Bug 1885353 - Set MIN_RNP_VERSION to 0.17.1. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D211549

--HG--
extra : moz-landing-system : lando
2024-05-24 16:22:26 +00:00
Rob Lemley cfbfc1fb1e Bug 1898715 - Port bug 1776255: Add 'when' to 'option's that call 'pkg_check_modules'. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D211540

--HG--
extra : moz-landing-system : lando
2024-05-24 16:22:26 +00:00