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

1332 Коммитов

Автор SHA1 Сообщение Дата
Yury Ivanovich d211615c05 Bug 1929845 - Remove more remaining needless Ci. abbreviations (except in calendar). r=mkmelin
Fixing https://searchfox.org/comm-central/search?q=var.*+%3D+Ci.&path=&case=true&regexp=true

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

--HG--
extra : amend_source : 22ae46b499f408cac949477ff6683c1d68919d94
2024-11-11 17:04:05 +01:00
Yury Ivanovich fd9aa6091d Bug 1929845 - Remove remaining needless Ci. appreviations (except in calendar). r=mkmelin,leftmostcat
Fixing https://searchfox.org/comm-central/search?q=const.*+%3D+Ci.&path=&case=true&regexp=true

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

--HG--
extra : moz-landing-system : lando
2024-11-08 10:38:19 +00:00
Geoff Lankow 948397bace Bug 1928157 - Stopgap bustage fix, adding MOZ_RUNINIT to Windows and Mac specific files. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D227418

--HG--
extra : amend_source : b897d3aef1352c807d05365462a28e482be88468
2024-10-31 12:20:45 +13:00
Sean Burke 2ae4c4fb60 Bug 1927002 - Port bug 1922838: Use std::size instead of mozilla::ArrayLength. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D226851

--HG--
extra : amend_source : 4a4758799c62901ceb1da5a73820937826f6d55f
2024-10-25 00:06:33 +00:00
Magnus Melin a7c69a0795 Backed out changeset 4c7ae9f1c0b0 (bug 1927002) due to m-c backout
--HG--
extra : amend_source : 815fc0159bdc5340c4dca86afb34de81cc61e734
2024-10-26 13:52:09 +03:00
Sean Burke 43d214123d Bug 1927002 - Port bug 1922838: Use std::size instead of mozilla::ArrayLength. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D226851

--HG--
extra : moz-landing-system : lando
2024-10-25 00:06:33 +00:00
Mark Banner 93d40ac0bd Bug 1899195 - Improve logging of exceptions in mailnews/. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D211794

--HG--
extra : amend_source : 1d1d7e94c7b79c9d73c8c21764d0445d65de4add
2024-10-05 09:04:35 +00:00
Magnus Melin 332b11a11d Bug 1915098 - Gracefully handle cards with _href undefined. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D220221

--HG--
extra : rebase_source : 292a54559ee9d2862a68e818c466b633efb4d431
extra : amend_source : b2c2785e99cf29671112410648945ab06331576a
2024-09-30 12:53:21 +03: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
Martin Giger 85ad8ae333 Bug 1918630 - Port bug 1575506: Fix some of the new eslint failures. r=kaie
Subset of the patch, excluding
- mailnews/test/resources/MailTestUtils.sys.mjs
- mail/test/browser/shared-modules/EventUtils.sys.mjs

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

--HG--
extra : rebase_source : 69e22acc3233034f4337548726d37ff1fe56fcc9
2024-09-13 16:32:33 +00:00
Rob Lemley 243e39b494 Bug 1908558 - Fix building with --disable-mapi. r=dandarnell
When --disable-mapi is set in mozconfig, the build fails with a Python KeyError due
to buildconfig.substs not having a "MOZ_MAPI_SUPPORT" key.

Using defined() here correctly handles non-present key.

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

--HG--
extra : amend_source : 1fb1ee525555ad9525ce07d96384692a0580d383
2024-07-17 22:54:48 +00:00
Richard Marti 899a38df06 Bug 1906497 - Fix the LDAP dialog background color with dark themes. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D215848

--HG--
extra : amend_source : b5007182b2a731b85cf9760b13716000e655c4ce
2024-07-09 15:17:20 -07:00
Patrick Cloke ba76a8e278 Bug 1583053 - Fix handling of DNS TXT records with multiple strings. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D210189

--HG--
extra : amend_source : 1a1b1a5e6fe0a8416385216a72ec71bbf2f2f768
2024-07-02 10:53:25 +01:00
Richard Marti f7b8ed234e Bug 1905839 - Use a by C-C owned loading icon. r=arschmitz
Differential Revision: https://phabricator.services.mozilla.com/D215468

--HG--
extra : amend_source : a444b0d7c89c060110f734e6ccba76097ff73d62
2024-07-02 10:52:50 +01:00
Alessandro Castellani eaa5327da8 Bug 1905519 - Port bug 1904040: Replace loading.png with loading.svg. r=Paenglab
Differential Revision: https://phabricator.services.mozilla.com/D215301

--HG--
extra : moz-landing-system : lando
2024-07-01 02:26:11 +00:00
Sean Burke ac9d5b1490 Bug 1888569 - Only include headers as needed. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D212592

--HG--
extra : rebase_source : a3cd8b6adb9f2e215e6228e922ea52ee199471d3
extra : amend_source : bc6be7a8dee1a5cbe6b6b45074c1c8f9b30a4eaf
2024-06-05 17:20:38 +00:00
Geoff Lankow 79cd314bbd Bug 1851535 - Remove dead code for converting nsIAbCard to XML. r=mkmelin
We used to use this code when printing address books. We don't do it that way any more.

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

--HG--
extra : rebase_source : d3689144ab3e9776a64774e6cadf1aa490a4fb42
extra : amend_source : fcca84ddcb9594a7d27aa66c6caa2b22439ccdee
2024-06-05 16:12:36 +12:00
Geoff Lankow 3874d17f00 Bug 1898136 - Don't sync cards with the CardDAV server if the vCard didn't change. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D211145

--HG--
extra : rebase_source : 73b452a23434e5032e44875c4740d429f8b1690f
extra : amend_source : 96fb80f02a273c0a6babd4fe4623ca66602a3891
2024-05-22 16:32:00 +12:00
Geoff Lankow 6084266cdb Bug 1898136 - Make non-vCard properties survive a CardDAV sync. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D211144

--HG--
extra : rebase_source : deed3c9ffa3e07870d1798edec384e5d554ec763
extra : amend_source : bd45939a17b3688b43e74a5e79a5ffa158746f3e
2024-05-22 15:57:35 +12:00
Alessandro Castellani 7a60376027 Bug 1894048 - Remove the PreferDisplayName individual property from the contacts and only respect the global condensedAddress pref. r=mkmelin,darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D210886

--HG--
extra : moz-landing-system : lando
2024-05-22 22:06:41 +00:00
Magnus Melin feb3742036 Bug 1897884 - Port bug 1897770 - Improve sjs environment definitions in ESLint. r=aleca
The rule needed to move up now.

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

--HG--
extra : amend_source : 2d85494ad3305f8937c90239d54d05745d9e4e9b
2024-05-22 10:44:17 +12:00
Geoff Lankow 1f9e9fa424 Bug 1890731 - Replace XUL tree in contacts sidebar and search window with TreeViews. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D208449

--HG--
extra : moz-landing-system : lando
2024-05-21 04:33:24 +00:00
Magnus Melin 9bf80863e4 Bug 1896618 - BUG_COMPONENT annotations for thunderbird code. r=john.bieling,clokep,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D210437

--HG--
extra : amend_source : c9d4bf50d4653b24dc5fc1b51c4e67e021f760c1
2024-05-17 10:30:09 -07:00
Patrick Cloke aecde7619b Bug 1571076 - Fix DNS TXT lookups when the answer contains multiple records. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D209966

--HG--
extra : amend_source : 2920d0ed709de4e151ed27125cb075d50fc19f2c
2024-05-13 11:18:22 -07:00
Geoff Lankow 90ae0661e2 Bug 1895826 - Clean up LDAP address book properties dialog. r=aleca
Just a simple tidy up. No attempt has been made to replace XUL widgets with HTML ones, or any other maintenance of that sort.

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

--HG--
extra : amend_source : 4fd753f2e2b379ff2ae45101bac44e7ddb19d108
2024-05-10 13:08:22 +03:00
Magnus Melin c310f4a3c0 Bug 1895079 - Fix crash in [@ nsAbOutlookDirectory::GetChildCards]. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D209491

--HG--
extra : rebase_source : 0cc64ff1837602e20a972aeff42c03ffdc86ce34
extra : amend_source : 49a9537673b48381022453e1e89f6def41c18b50
2024-05-10 13:07:48 +03:00
Geoff Lankow 9f7ddd1a3e Bug 1851535 - Remove dead arguments for switching LDAP versions. r=aleca
LDAP version 3 has been defined as RFC4511 since 2006, and even if people were trying to use
version 2, Thunderbird stopped supporting it in v102.

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

--HG--
extra : rebase_source : f94ae06412663ff9096d405765561b7b31e25056
extra : amend_source : 4d05c1d8ec82e50e50ee0c9b784f8d57dca4f952
2024-05-08 21:05:30 +12:00
Alessandro Castellani ea000b438f Bug 243258 - Add a preference to always show the full name and email address for recipients in the message list. r=BenC,mkmelin,leftmostcat,ikey
**How to test this**
- Open Preferences > general > Formatting of recipients:
- Change between the various radio button options.
- Assert that the `From` and `Correspondents` column in the table view are respecting the chosen option.
- Assert that if a recipient is saved in the address book with a display name, it is not overwritten.
- Assert that also in Cards View the sender follows the same data format.

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

--HG--
extra : moz-landing-system : lando
2024-04-23 21:57:03 +00:00
Geoff Lankow af6b9ac74a Bug 1824264 - Update ical.js to ES6 version. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D205739

--HG--
extra : amend_source : 7500126b545d60f2fd1558bdf7e750fe0fbf333e
2024-04-22 10:57:29 +01:00
John Bieling 78e5dca01a Bug 1854779 - Support discovery of iCloud address books. r=darktrojan
I tend to officially sunset DAV-4-TbSync, and the only remaining
"feature" it supports which is not yet supported by Thunderbird is the
detection of iCloud calendars and address books.

Fixing iCloud CalDAV discovery is handled in D206253.

The reason CardDAV discovery currently fails is: iCloud returns a 207
response for `${url.origin}/.well-known/carddav`, but it does not
contain any useful information. The returned multi-response only
includes one entry, which has a 404 status. The actual good response is
retrievable from `${url.origin}`, but since we have a response already,
it is skipped.

This patch clears the response, if it has no useful information, and
that seems to be enough. One could of course also check for the 404 status
inside the multi-response. But I see no need for it. The code used in
this patch is already used a few lines earlier, probably to work around
a similar issue.

This patch has two unresolved issues (when it comes to iCloud):
- iCloud does not send a displayname and "card" is used. It should
  fall back to "contacts" or a similar name, if no displayname is found
- the original request was made to `https://icloud.com`, and the code
  is currently not smart enough to use the same provided password for
  the follow-up request to `https://p119-contacts.icloud.com` (in my
  case) and a second password prompt is shown.

I can provide iCloud access credentials.

With this patch, I can enter my Apple-ID as username using a dedicated
app password created for Thunderbird, and the server `icloud.com`, to
get my address book discovered and added.

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

--HG--
extra : moz-landing-system : lando
2024-04-15 07:47:50 +00:00
Martin Giger 15e56c1ccb Bug 1889895 - Convert all usages of bool in IDL files with boolean. rs=bustage-fix
--HG--
extra : absorb_source : 2753868132828058fd86f4ef927d285ae792feac
2024-04-05 12:06:39 +02:00
Geoff Lankow b1ffae427d Bug 1851536 - Test the Address Book search window. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D206334

--HG--
extra : amend_source : 963df01e6be75355243795856275b68569ab2372
2024-04-04 09:53:59 +03:00
Geoff Lankow 6a7cb7b5ac Bug 1679711 follow-up - Fix getting an access token in CardDAVUtils.sys.mjs. rs=bustage-fix DONTBUILD 2024-04-03 12:22:48 +13:00
Brendan Abolivier 6099b5bc7d Bug 1679711 - Attempt OAuth2 against known providers with Exchange Autodiscover. r=ikey,leftmostcat
This patch does not implement Exchange's HTTP 401 Challenge described in bug 1679711, as more research is needed to figure out exactly how this can be done. Instead, it tries authenticating against known providers the "normal" way when possible, then using the resulting token against the Autodiscover endpoint. If it can't, then it tries falling back to Basic auth.

This patch does not support falling back to Basic auth if the Autodiscover endpoint responds with a 401 following an OAuth-authenticated request. This may be implemented in the future, but in the meantime being able to get an OAuth2 token but not being allowed to use it against the autodiscover endpoint should be unlikely enough that this is not an issue.

Differential Revision: https://phabricator.services.mozilla.com/D205762
2024-04-02 17:34:24 +00:00
John Bieling c6e7173d08 Bug 1886948 - Part 3: AutoFix for ./mailnews directory. r=mkmelin
Using D194522 for auto-fixing unused variables.

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

--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:04 +00:00
Magnus Melin bf0cc3ae17 Bug 1824260 - Update outdated .jsm references. r=freaktechnik
Update outdated .jsm references in the tree.

Depends on D204766

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

--HG--
extra : rebase_source : cdf8c1367702bb00c51a750cc712e156db65d371
extra : amend_source : 5f2256fc97ae8f3de2086ffbe99acde9fdef0473
2024-03-21 19:44:49 +02:00
Magnus Melin 2615cd2059 Bug 1824260 - remaining esmification of comm-central. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D204766

--HG--
extra : rebase_source : b4dd77adbe10cdafdcc28bbe14a499a1423ab48d
extra : amend_source : 522c351546a787d91f9a43cddb0e1eee114a4d0f
2024-03-21 19:44:13 +02:00
Geoff Lankow 42631dfa91 Bug 1851536 - Add tests for CardDAV address books with DNS discovery and OAuth2 authentication. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D204160

--HG--
extra : rebase_source : 1df4de11abb4d44efc602b17cd4fee4b88cb7bf0
extra : amend_source : 87cc944c605655ef96543e9c323c2b04fe9c4efe
2024-03-07 19:30:11 +13:00
Magnus Melin 1ae693417e Bug 1824260 - esmify mailnews/. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D204279

--HG--
rename : mailnews/addrbook/modules/AddrBookDirectory.jsm => mailnews/addrbook/modules/AddrBookDirectory.sys.mjs
rename : mailnews/addrbook/modules/AddrBookMailingList.jsm => mailnews/addrbook/modules/AddrBookMailingList.sys.mjs
rename : mailnews/addrbook/modules/AddrBookUtils.jsm => mailnews/addrbook/modules/AddrBookUtils.sys.mjs
rename : mailnews/addrbook/modules/CardDAVUtils.jsm => mailnews/addrbook/modules/CardDAVUtils.sys.mjs
rename : mailnews/addrbook/modules/LDAPClient.jsm => mailnews/addrbook/modules/LDAPClient.sys.mjs
rename : mailnews/addrbook/modules/LDAPListenerBase.jsm => mailnews/addrbook/modules/LDAPListenerBase.sys.mjs
rename : mailnews/addrbook/modules/LDAPMessage.jsm => mailnews/addrbook/modules/LDAPMessage.sys.mjs
rename : mailnews/addrbook/modules/QueryStringToExpression.jsm => mailnews/addrbook/modules/QueryStringToExpression.sys.mjs
rename : mailnews/addrbook/test/CardDAVServer.jsm => mailnews/addrbook/test/CardDAVServer.sys.mjs
rename : mailnews/addrbook/test/LDAPServer.jsm => mailnews/addrbook/test/LDAPServer.sys.mjs
rename : mailnews/base/src/ABQueryUtils.jsm => mailnews/base/src/ABQueryUtils.sys.mjs
rename : mailnews/base/src/FolderUtils.jsm => mailnews/base/src/FolderUtils.sys.mjs
rename : mailnews/base/src/JXON.jsm => mailnews/base/src/JXON.sys.mjs
rename : mailnews/base/src/LineReader.jsm => mailnews/base/src/LineReader.sys.mjs
rename : mailnews/base/src/MailAuthenticator.jsm => mailnews/base/src/MailAuthenticator.sys.mjs
rename : mailnews/base/src/MailCryptoUtils.jsm => mailnews/base/src/MailCryptoUtils.sys.mjs
rename : mailnews/base/src/MailServices.jsm => mailnews/base/src/MailServices.sys.mjs
rename : mailnews/base/src/MailStringUtils.jsm => mailnews/base/src/MailStringUtils.sys.mjs
rename : mailnews/base/src/MailnewsMigrator.jsm => mailnews/base/src/MailnewsMigrator.sys.mjs
rename : mailnews/base/src/MsgDBCacheManager.jsm => mailnews/base/src/MsgDBCacheManager.sys.mjs
rename : mailnews/base/src/MsgIncomingServer.jsm => mailnews/base/src/MsgIncomingServer.sys.mjs
rename : mailnews/base/src/MsgKeySet.jsm => mailnews/base/src/MsgKeySet.sys.mjs
rename : mailnews/base/src/OAuth2.jsm => mailnews/base/src/OAuth2.sys.mjs
rename : mailnews/base/src/OAuth2Providers.jsm => mailnews/base/src/OAuth2Providers.sys.mjs
rename : mailnews/base/src/TemplateUtils.jsm => mailnews/base/src/TemplateUtils.sys.mjs
rename : mailnews/base/src/VirtualFolderWrapper.jsm => mailnews/base/src/VirtualFolderWrapper.sys.mjs
rename : mailnews/base/src/WinUnreadBadge.jsm => mailnews/base/src/WinUnreadBadge.sys.mjs
rename : mailnews/base/src/hostnameUtils.jsm => mailnews/base/src/hostnameUtils.sys.mjs
rename : mailnews/base/src/mailstoreConverter.jsm => mailnews/base/src/mailstoreConverter.sys.mjs
rename : mailnews/compose/src/MimeEncoder.jsm => mailnews/compose/src/MimeEncoder.sys.mjs
rename : mailnews/compose/src/MimeMessage.jsm => mailnews/compose/src/MimeMessage.sys.mjs
rename : mailnews/compose/src/MimeMessageUtils.jsm => mailnews/compose/src/MimeMessageUtils.sys.mjs
rename : mailnews/compose/src/MimePart.jsm => mailnews/compose/src/MimePart.sys.mjs
rename : mailnews/compose/src/SmtpClient.jsm => mailnews/compose/src/SmtpClient.sys.mjs
rename : mailnews/db/gloda/modules/Collection.jsm => mailnews/db/gloda/modules/Collection.sys.mjs
rename : mailnews/db/gloda/modules/Everybody.jsm => mailnews/db/gloda/modules/Everybody.sys.mjs
rename : mailnews/db/gloda/modules/Facet.jsm => mailnews/db/gloda/modules/Facet.sys.mjs
rename : mailnews/db/gloda/modules/Gloda.jsm => mailnews/db/gloda/modules/Gloda.sys.mjs
rename : mailnews/db/gloda/modules/GlodaConstants.jsm => mailnews/db/gloda/modules/GlodaConstants.sys.mjs
rename : mailnews/db/gloda/modules/GlodaContent.jsm => mailnews/db/gloda/modules/GlodaContent.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDataModel.jsm => mailnews/db/gloda/modules/GlodaDataModel.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDatabind.jsm => mailnews/db/gloda/modules/GlodaDatabind.sys.mjs
rename : mailnews/db/gloda/modules/GlodaDatastore.jsm => mailnews/db/gloda/modules/GlodaDatastore.sys.mjs
rename : mailnews/db/gloda/modules/GlodaExplicitAttr.jsm => mailnews/db/gloda/modules/GlodaExplicitAttr.sys.mjs
rename : mailnews/db/gloda/modules/GlodaFundAttr.jsm => mailnews/db/gloda/modules/GlodaFundAttr.sys.mjs
rename : mailnews/db/gloda/modules/GlodaIndexer.jsm => mailnews/db/gloda/modules/GlodaIndexer.sys.mjs
rename : mailnews/db/gloda/modules/GlodaMsgIndexer.jsm => mailnews/db/gloda/modules/GlodaMsgIndexer.sys.mjs
rename : mailnews/db/gloda/modules/GlodaMsgSearcher.jsm => mailnews/db/gloda/modules/GlodaMsgSearcher.sys.mjs
rename : mailnews/db/gloda/modules/GlodaPublic.jsm => mailnews/db/gloda/modules/GlodaPublic.sys.mjs
rename : mailnews/db/gloda/modules/GlodaQueryClassFactory.jsm => mailnews/db/gloda/modules/GlodaQueryClassFactory.sys.mjs
rename : mailnews/db/gloda/modules/GlodaSyntheticView.jsm => mailnews/db/gloda/modules/GlodaSyntheticView.sys.mjs
rename : mailnews/db/gloda/modules/GlodaUtils.jsm => mailnews/db/gloda/modules/GlodaUtils.sys.mjs
rename : mailnews/db/gloda/modules/IndexMsg.jsm => mailnews/db/gloda/modules/IndexMsg.sys.mjs
rename : mailnews/db/gloda/modules/MimeMessage.jsm => mailnews/db/gloda/modules/MimeMessage.sys.mjs
rename : mailnews/db/gloda/modules/NounFreetag.jsm => mailnews/db/gloda/modules/NounFreetag.sys.mjs
rename : mailnews/db/gloda/modules/NounMimetype.jsm => mailnews/db/gloda/modules/NounMimetype.sys.mjs
rename : mailnews/db/gloda/modules/NounTag.jsm => mailnews/db/gloda/modules/NounTag.sys.mjs
rename : mailnews/db/gloda/modules/SuffixTree.jsm => mailnews/db/gloda/modules/SuffixTree.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaQueryHelper.jsm => mailnews/db/gloda/test/unit/resources/GlodaQueryHelper.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaTestHelper.jsm => mailnews/db/gloda/test/unit/resources/GlodaTestHelper.sys.mjs
rename : mailnews/db/gloda/test/unit/resources/GlodaTestHelperFunctions.jsm => mailnews/db/gloda/test/unit/resources/GlodaTestHelperFunctions.sys.mjs
rename : mailnews/export/modules/ProfileExporter.jsm => mailnews/export/modules/ProfileExporter.sys.mjs
rename : mailnews/extensions/newsblog/Feed.jsm => mailnews/extensions/newsblog/Feed.sys.mjs
rename : mailnews/extensions/newsblog/FeedItem.jsm => mailnews/extensions/newsblog/FeedItem.sys.mjs
rename : mailnews/extensions/newsblog/FeedParser.jsm => mailnews/extensions/newsblog/FeedParser.sys.mjs
rename : mailnews/extensions/newsblog/FeedUtils.jsm => mailnews/extensions/newsblog/FeedUtils.sys.mjs
rename : mailnews/imap/src/ImapChannel.jsm => mailnews/imap/src/ImapChannel.sys.mjs
rename : mailnews/imap/src/ImapClient.jsm => mailnews/imap/src/ImapClient.sys.mjs
rename : mailnews/imap/src/ImapIncomingServer.jsm => mailnews/imap/src/ImapIncomingServer.sys.mjs
rename : mailnews/imap/src/ImapMessageService.jsm => mailnews/imap/src/ImapMessageService.sys.mjs
rename : mailnews/imap/src/ImapProtocolHandler.jsm => mailnews/imap/src/ImapProtocolHandler.sys.mjs
rename : mailnews/imap/src/ImapProtocolInfo.jsm => mailnews/imap/src/ImapProtocolInfo.sys.mjs
rename : mailnews/imap/src/ImapResponse.jsm => mailnews/imap/src/ImapResponse.sys.mjs
rename : mailnews/imap/src/ImapService.jsm => mailnews/imap/src/ImapService.sys.mjs
rename : mailnews/imap/src/ImapUtils.jsm => mailnews/imap/src/ImapUtils.sys.mjs
rename : mailnews/import/modules/AddrBookFileImporter.jsm => mailnews/import/modules/AddrBookFileImporter.sys.mjs
rename : mailnews/import/modules/AppleMailProfileImporter.jsm => mailnews/import/modules/AppleMailProfileImporter.sys.mjs
rename : mailnews/import/modules/BaseProfileImporter.jsm => mailnews/import/modules/BaseProfileImporter.sys.mjs
rename : mailnews/import/modules/BeckyProfileImporter.jsm => mailnews/import/modules/BeckyProfileImporter.sys.mjs
rename : mailnews/import/modules/CalendarFileImporter.jsm => mailnews/import/modules/CalendarFileImporter.sys.mjs
rename : mailnews/import/modules/OutlookProfileImporter.jsm => mailnews/import/modules/OutlookProfileImporter.sys.mjs
rename : mailnews/import/modules/SeamonkeyProfileImporter.jsm => mailnews/import/modules/SeamonkeyProfileImporter.sys.mjs
rename : mailnews/import/modules/ThunderbirdProfileImporter.jsm => mailnews/import/modules/ThunderbirdProfileImporter.sys.mjs
rename : mailnews/jsaccount/modules/JSAccountUtils.jsm => mailnews/jsaccount/modules/JSAccountUtils.sys.mjs
rename : mailnews/jsaccount/modules/JaBaseUrl.jsm => mailnews/jsaccount/modules/JaBaseUrl.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/testJaBaseIncomingServer.jsm => mailnews/jsaccount/test/unit/resources/testJaBaseIncomingServer.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/testJaBaseMsgFolder.jsm => mailnews/jsaccount/test/unit/resources/testJaBaseMsgFolder.sys.mjs
rename : mailnews/local/src/Pop3Channel.jsm => mailnews/local/src/Pop3Channel.sys.mjs
rename : mailnews/local/src/Pop3Client.jsm => mailnews/local/src/Pop3Client.sys.mjs
rename : mailnews/mime/src/jsmime.jsm => mailnews/mime/src/jsmime.sys.mjs
rename : mailnews/mime/src/mimeParser.jsm => mailnews/mime/src/mimeParser.sys.mjs
rename : mailnews/news/src/NntpChannel.jsm => mailnews/news/src/NntpChannel.sys.mjs
rename : mailnews/news/src/NntpClient.jsm => mailnews/news/src/NntpClient.sys.mjs
rename : mailnews/news/src/NntpNewsGroup.jsm => mailnews/news/src/NntpNewsGroup.sys.mjs
rename : mailnews/news/src/NntpUtils.jsm => mailnews/news/src/NntpUtils.sys.mjs
rename : mailnews/search/src/PeriodicFilterManager.jsm => mailnews/search/src/PeriodicFilterManager.sys.mjs
extra : rebase_source : 0d95b8d8e0eb6134fe513fab1793e34bab974206
2024-03-12 17:01:01 +02:00
Geoff Lankow 090d60f96c Bug 1882701 - Port bug 1878401 - Always pass BrowsingContext to nsIFilePicker::Init. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203092

--HG--
extra : rebase_source : 5878d116d8873025ba64fc47fbdbb149c5e4f3be
2024-02-29 12:03:40 +02:00
Geoff Lankow 990daa6277 Bug 1880211 - Convert the OAuth2 code to use Promises instead of callbacks. r=leftmostcat,mkmelin
This is a prerequisite for the next patch (and a tidy up of some quite ugly code, frankly) – using
Promises instead of callbacks, it's much easier to have two things waiting on the same result.

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

--HG--
extra : rebase_source : 2f0eaac2bba5302588bfa540143b53e5ba9fd0c1
extra : amend_source : e6e96f0ea3f1eddf664ff3865ab1bafdbc9cffab
2024-02-14 12:06:09 +13:00
Magnus Melin 2e0cd2b03b Bug 1882129 - Port bug 1881266 - Enable ESLint recommended rules no-constant-condition and no-case-declarations, warning for existing failures. r=eslint
Differential Revision: https://phabricator.services.mozilla.com/D202792

--HG--
extra : rebase_source : 3f0f630e695d2c7a43b1619e14bcdc6b149d6e8f
extra : amend_source : 3fa45df6a944a9e32b3a6fbf058d65f71db03923
2024-02-27 12:56:36 +02:00
Martin Giger 9ef60e63ff Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D202578

--HG--
extra : histedit_source : cf86a38881db2e15fa5665e86a444ac9091357a0
2024-02-23 13:54:58 +00:00
Martin Giger ff911384e3 Bug 1881745 - Convert all registered components from JSM to ESM. r=thunderbird-reviewers,ikey
Differential Revision: https://phabricator.services.mozilla.com/D202568

--HG--
rename : calendar/base/src/CalAlarm.jsm => calendar/base/src/CalAlarm.sys.mjs
rename : calendar/base/src/CalAlarmMonitor.jsm => calendar/base/src/CalAlarmMonitor.sys.mjs
rename : calendar/base/src/CalAlarmService.jsm => calendar/base/src/CalAlarmService.sys.mjs
rename : calendar/base/src/CalAttachment.jsm => calendar/base/src/CalAttachment.sys.mjs
rename : calendar/base/src/CalAttendee.jsm => calendar/base/src/CalAttendee.sys.mjs
rename : calendar/base/src/CalCalendarManager.jsm => calendar/base/src/CalCalendarManager.sys.mjs
rename : calendar/base/src/CalDateTime.jsm => calendar/base/src/CalDateTime.sys.mjs
rename : calendar/base/src/CalDefaultACLManager.jsm => calendar/base/src/CalDefaultACLManager.sys.mjs
rename : calendar/base/src/CalDeletedItems.jsm => calendar/base/src/CalDeletedItems.sys.mjs
rename : calendar/base/src/CalDuration.jsm => calendar/base/src/CalDuration.sys.mjs
rename : calendar/base/src/CalEvent.jsm => calendar/base/src/CalEvent.sys.mjs
rename : calendar/base/src/CalFreeBusyService.jsm => calendar/base/src/CalFreeBusyService.sys.mjs
rename : calendar/base/src/CalICSService.jsm => calendar/base/src/CalICSService.sys.mjs
rename : calendar/base/src/CalIcsParser.jsm => calendar/base/src/CalIcsParser.sys.mjs
rename : calendar/base/src/CalIcsSerializer.jsm => calendar/base/src/CalIcsSerializer.sys.mjs
rename : calendar/base/src/CalItipItem.jsm => calendar/base/src/CalItipItem.sys.mjs
rename : calendar/base/src/CalMimeConverter.jsm => calendar/base/src/CalMimeConverter.sys.mjs
rename : calendar/base/src/CalPeriod.jsm => calendar/base/src/CalPeriod.sys.mjs
rename : calendar/base/src/CalProtocolHandler.jsm => calendar/base/src/CalProtocolHandler.sys.mjs
rename : calendar/base/src/CalRecurrenceDate.jsm => calendar/base/src/CalRecurrenceDate.sys.mjs
rename : calendar/base/src/CalRecurrenceInfo.jsm => calendar/base/src/CalRecurrenceInfo.sys.mjs
rename : calendar/base/src/CalRecurrenceRule.jsm => calendar/base/src/CalRecurrenceRule.sys.mjs
rename : calendar/base/src/CalRelation.jsm => calendar/base/src/CalRelation.sys.mjs
rename : calendar/base/src/CalStartupService.jsm => calendar/base/src/CalStartupService.sys.mjs
rename : calendar/base/src/CalTimezoneService.jsm => calendar/base/src/CalTimezoneService.sys.mjs
rename : calendar/base/src/CalTodo.jsm => calendar/base/src/CalTodo.sys.mjs
rename : calendar/base/src/CalWeekInfoService.jsm => calendar/base/src/CalWeekInfoService.sys.mjs
rename : calendar/import-export/CalHtmlExport.jsm => calendar/import-export/CalHtmlExport.sys.mjs
rename : calendar/import-export/CalIcsImportExport.jsm => calendar/import-export/CalIcsImportExport.sys.mjs
rename : calendar/itip/CalItipEmailTransport.jsm => calendar/itip/CalItipEmailTransport.sys.mjs
rename : calendar/itip/CalItipProtocolHandler.jsm => calendar/itip/CalItipProtocolHandler.sys.mjs
rename : calendar/providers/caldav/CalDavCalendar.jsm => calendar/providers/caldav/CalDavCalendar.sys.mjs
rename : calendar/providers/composite/CalCompositeCalendar.jsm => calendar/providers/composite/CalCompositeCalendar.sys.mjs
rename : calendar/providers/memory/CalMemoryCalendar.jsm => calendar/providers/memory/CalMemoryCalendar.sys.mjs
rename : calendar/providers/storage/CalStorageCalendar.jsm => calendar/providers/storage/CalStorageCalendar.sys.mjs
rename : mail/components/AboutRedirector.jsm => mail/components/AboutRedirector.sys.mjs
rename : mail/components/MailGlue.jsm => mail/components/MailGlue.sys.mjs
rename : mail/components/StartupRecorder.jsm => mail/components/StartupRecorder.sys.mjs
rename : mail/components/activity/Activity.jsm => mail/components/activity/Activity.sys.mjs
rename : mail/components/activity/ActivityManager.jsm => mail/components/activity/ActivityManager.sys.mjs
rename : mail/components/activity/ActivityManagerUI.jsm => mail/components/activity/ActivityManagerUI.sys.mjs
rename : mail/components/devtools/devtools-loader.jsm => mail/components/devtools/devtools-loader.sys.mjs
rename : mail/components/migration/src/ThunderbirdProfileMigrator.jsm => mail/components/migration/src/ThunderbirdProfileMigrator.sys.mjs
rename : mail/components/prompts/PromptCollection.jsm => mail/components/prompts/PromptCollection.sys.mjs
rename : mail/extensions/am-e2e/AME2E.jsm => mail/extensions/am-e2e/AME2E.sys.mjs
rename : mailnews/addrbook/modules/AddrBookCard.jsm => mailnews/addrbook/modules/AddrBookCard.sys.mjs
rename : mailnews/addrbook/modules/AddrBookManager.jsm => mailnews/addrbook/modules/AddrBookManager.sys.mjs
rename : mailnews/addrbook/modules/CardDAVDirectory.jsm => mailnews/addrbook/modules/CardDAVDirectory.sys.mjs
rename : mailnews/addrbook/modules/LDAPConnection.jsm => mailnews/addrbook/modules/LDAPConnection.sys.mjs
rename : mailnews/addrbook/modules/LDAPDirectory.jsm => mailnews/addrbook/modules/LDAPDirectory.sys.mjs
rename : mailnews/addrbook/modules/LDAPDirectoryQuery.jsm => mailnews/addrbook/modules/LDAPDirectoryQuery.sys.mjs
rename : mailnews/addrbook/modules/LDAPOperation.jsm => mailnews/addrbook/modules/LDAPOperation.sys.mjs
rename : mailnews/addrbook/modules/LDAPProtocolHandler.jsm => mailnews/addrbook/modules/LDAPProtocolHandler.sys.mjs
rename : mailnews/addrbook/modules/LDAPReplicationService.jsm => mailnews/addrbook/modules/LDAPReplicationService.sys.mjs
rename : mailnews/addrbook/modules/LDAPService.jsm => mailnews/addrbook/modules/LDAPService.sys.mjs
rename : mailnews/addrbook/modules/LDAPSyncQuery.jsm => mailnews/addrbook/modules/LDAPSyncQuery.sys.mjs
rename : mailnews/addrbook/modules/LDAPURLParser.jsm => mailnews/addrbook/modules/LDAPURLParser.sys.mjs
rename : mailnews/addrbook/modules/SQLiteDirectory.jsm => mailnews/addrbook/modules/SQLiteDirectory.sys.mjs
rename : mailnews/addrbook/modules/VCardUtils.jsm => mailnews/addrbook/modules/VCardUtils.sys.mjs
rename : mailnews/addrbook/src/AbAutoCompleteMyDomain.jsm => mailnews/addrbook/src/AbAutoCompleteMyDomain.sys.mjs
rename : mailnews/addrbook/src/AbAutoCompleteSearch.jsm => mailnews/addrbook/src/AbAutoCompleteSearch.sys.mjs
rename : mailnews/addrbook/src/AbLDAPAttributeMap.jsm => mailnews/addrbook/src/AbLDAPAttributeMap.sys.mjs
rename : mailnews/addrbook/src/AbLDAPAutoCompleteSearch.jsm => mailnews/addrbook/src/AbLDAPAutoCompleteSearch.sys.mjs
rename : mailnews/base/src/FolderLookupService.jsm => mailnews/base/src/FolderLookupService.sys.mjs
rename : mailnews/base/src/MailNotificationManager.jsm => mailnews/base/src/MailNotificationManager.sys.mjs
rename : mailnews/base/src/MailNotificationService.jsm => mailnews/base/src/MailNotificationService.sys.mjs
rename : mailnews/base/src/MsgAsyncPrompter.jsm => mailnews/base/src/MsgAsyncPrompter.sys.mjs
rename : mailnews/base/src/OAuth2Module.jsm => mailnews/base/src/OAuth2Module.sys.mjs
rename : mailnews/compose/src/MailtoProtocolHandler.jsm => mailnews/compose/src/MailtoProtocolHandler.sys.mjs
rename : mailnews/compose/src/MessageSend.jsm => mailnews/compose/src/MessageSend.sys.mjs
rename : mailnews/compose/src/SMTPProtocolHandler.jsm => mailnews/compose/src/SMTPProtocolHandler.sys.mjs
rename : mailnews/compose/src/SmtpServer.jsm => mailnews/compose/src/SmtpServer.sys.mjs
rename : mailnews/compose/src/SmtpService.jsm => mailnews/compose/src/SmtpService.sys.mjs
rename : mailnews/db/gloda/components/GlodaAutoComplete.jsm => mailnews/db/gloda/components/GlodaAutoComplete.sys.mjs
rename : mailnews/db/gloda/components/MimeMessageEmitter.jsm => mailnews/db/gloda/components/MimeMessageEmitter.sys.mjs
rename : mailnews/extensions/mdn/MDNService.jsm => mailnews/extensions/mdn/MDNService.sys.mjs
rename : mailnews/extensions/newsblog/NewsBlog.jsm => mailnews/extensions/newsblog/NewsBlog.sys.mjs
rename : mailnews/extensions/offline-startup/OfflineStartup.jsm => mailnews/extensions/offline-startup/OfflineStartup.sys.mjs
rename : mailnews/imap/src/ImapModuleLoader.jsm => mailnews/imap/src/ImapModuleLoader.sys.mjs
rename : mailnews/import/src/SeamonkeyImport.jsm => mailnews/import/src/SeamonkeyImport.sys.mjs
rename : mailnews/import/src/ThunderbirdImport.jsm => mailnews/import/src/ThunderbirdImport.sys.mjs
rename : mailnews/jsaccount/test/unit/resources/TestJaMsgProtocolInfoComponent.jsm => mailnews/jsaccount/test/unit/resources/TestJaMsgProtocolInfoComponent.sys.mjs
rename : mailnews/local/src/Pop3IncomingServer.jsm => mailnews/local/src/Pop3IncomingServer.sys.mjs
rename : mailnews/local/src/Pop3ProtocolHandler.jsm => mailnews/local/src/Pop3ProtocolHandler.sys.mjs
rename : mailnews/local/src/Pop3ProtocolInfo.jsm => mailnews/local/src/Pop3ProtocolInfo.sys.mjs
rename : mailnews/local/src/Pop3Service.jsm => mailnews/local/src/Pop3Service.sys.mjs
rename : mailnews/mime/src/MimeJSComponents.jsm => mailnews/mime/src/MimeJSComponents.sys.mjs
rename : mailnews/news/src/NewsAutoCompleteSearch.jsm => mailnews/news/src/NewsAutoCompleteSearch.sys.mjs
rename : mailnews/news/src/NntpIncomingServer.jsm => mailnews/news/src/NntpIncomingServer.sys.mjs
rename : mailnews/news/src/NntpMessageService.jsm => mailnews/news/src/NntpMessageService.sys.mjs
rename : mailnews/news/src/NntpProtocolHandler.jsm => mailnews/news/src/NntpProtocolHandler.sys.mjs
rename : mailnews/news/src/NntpProtocolInfo.jsm => mailnews/news/src/NntpProtocolInfo.sys.mjs
rename : mailnews/news/src/NntpService.jsm => mailnews/news/src/NntpService.sys.mjs
rename : mailnews/search/src/MsgTraitService.jsm => mailnews/search/src/MsgTraitService.sys.mjs
extra : moz-landing-system : lando
2024-02-23 12:50:48 +00:00
Magnus Melin a5d07b844b Bug 1873158 - Fix Thunderbird linting errors noticed by newer linter versions. rs=lint DONTBUILD
Unnecessary return statement. (no-useless-return)

--HG--
extra : amend_source : 89ce9291bea8b68349392e24ae1ddfb80f90463b
2024-01-07 15:05:00 +02:00
Magnus Melin 9bc4e38b29 Bug 1872942 - Replace XPCOMUtils.defineLazyGetter with ChromeUtils.defineLazyGetter in comm-central. r=aleca
```
grep -rEl "XPCOMUtils.defineLazyGetter\(" --exclude-dir=.hg --exclude-dir=suite --exclude-dir=rust --include="*.js" --include="*.jsm" --include="*.mjs" --exclude=".*" . | xargs xargs sed -i -E 's/XPCOMUtils.defineLazyGetter\(/ChromeUtils.defineLazyGetter(/g'
```

+ linting and fixing that up.

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

--HG--
extra : rebase_source : fb2048af7f476cfc48dd36dd6a8293ae1fa56446
extra : amend_source : 0296fe25ba954f764f6e8dde8b81d0e0874cdd05
2024-01-05 09:04:08 +02:00
Magnus Melin aa63dafadb Bug 1873008 - add/fix wrong and missing doctypes. r=freaktechnik
No functional change.

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

--HG--
extra : rebase_source : 7aa92b311d56f5a537878390a28cf02758a53f05
2024-01-04 14:28:11 +02:00
Geoff Lankow 7fc2f09755 Bug 1870187 - ESMify Ldapd.jsm and Binaryd.jsm. r=mkmelin
Depends on D196523

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

--HG--
rename : mailnews/test/fakeserver/Binaryd.jsm => mailnews/test/fakeserver/Binaryd.sys.mjs
rename : mailnews/test/fakeserver/Ldapd.jsm => mailnews/test/fakeserver/Ldapd.sys.mjs
extra : moz-landing-system : lando
2023-12-18 23:09:28 +00:00
welpy-cw ec0e85f24e Bug 1799368 - Remove duplicate addresses before adding to mailing list. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D196682

--HG--
extra : amend_source : 854763596ab124588a985e8578b4854047353463
2023-12-18 12:59:30 +02:00
Magnus Melin 20293ca81e Bug 1870014 - Port bug 1869051 - use our own string for "Remember password". r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D196420

--HG--
extra : amend_source : 0e1fec15c87797b6818b62bec44ad8a1d165a181
2023-12-14 12:29:24 +00:00