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

25 Коммитов

Автор SHA1 Сообщение Дата
Kai Engert 4e034da386 Bug 1865647 - Compare S/MIME signature date with message date. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D194253

--HG--
extra : rebase_source : 1692c00fc51176de9c87ddbeaadacac868852050
extra : amend_source : b7977c9314b3687a929a29bfa4d09cac3411bb79
2023-11-21 00:05:03 +01:00
Alessandro Castellani aa951e8283 Bug 1854255 - Enforce prefer-const eslint rule in the whole mailnews/ directory. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D191006

--HG--
extra : amend_source : fcf7dfdeb120778e28649841631a92a2dfc57062
2023-10-26 10:32:05 +01:00
Geoff Lankow 7dbef9bba8 Bug 1813967 - Stop adding AttachmentMenuController and SecurityController to the top window. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D168333

--HG--
extra : rebase_source : 3c9ac1930b8493f2e87d274c854c7189c7939720
2023-01-31 12:34:43 +13:00
Geoff Lankow 86caf49bef Bug 1803255 - Fix and enable tests for OpenPGP and S/MIME. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D164012

--HG--
rename : mailnews/test/data/smime/Bob.p12 => mail/test/browser/openpgp/data/smime/Bob.p12
rename : mailnews/test/data/smime/alice.env.eml => mail/test/browser/openpgp/data/smime/alice.env.eml
extra : rebase_source : d57791cec042acac75e4cd9f745284c413e26f03
extra : amend_source : d4d97238a4b248812d97eaace65f0d14809213a1
2022-12-06 11:01:18 +13:00
Geoff Lankow 62a639ff9b Merge comm-central to ash
--HG--
rename : mail/base/content/mailContext.js => mail/base/content/mailCommon.js
rename : mail/base/content/msgMail3PaneWindow.js => mail/base/content/messenger.js
rename : mail/base/content/nsContextMenu.js => mail/base/content/widgets/browserPopups.js
extra : amend_source : f391831fa9bf18ddafd9f1b222984d5c6af9e5e0
2022-12-01 15:32:30 +13:00
Magnus Melin ce399a22e9 Bug 1803332 - Port bug 1801092 to Thunderbird - Add an ESLint rule to disallow single-argument use of Cu.reportError. rs=eslint DONTBUILD 2022-11-30 21:43:13 +11:00
Geoff Lankow 3a51339f4d Bug 1789774 - Remove messageDisplay.js and confine folderDisplay.js to the search dialog. r=aleca
This largely destroys the old UI by removing the `gFolderDisplay` and `gMessageDisplay` objects from everywhere except the search dialog and the shims in about:message.
A lot of code still expects these variables to exist so the following patch will deal with it.

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

--HG--
extra : rebase_source : ae5d7d3178477ce04cad4852ae7fc7b46ae84401
extra : intermediate-source : 5219d68951950c67a7573a4e95351b3870ebf73b
extra : source : e8355a886636f9175ecfd5889ec06d7df24562c6
2022-09-22 13:06:42 +12:00
Magnus Melin 658036deef Bug 1779145 - Port bug 1667455 to Thunderbird - Expose a "Services" property on all privileged JS scopes (like Cu/Cc/Ci). r=leftmostcat
Changed prettier printWidth to 100 to put Services.jsm on one line, prettified and then
   grep -rEl "/Services.jsm" --exclude-dir=.hg --exclude-dir=suite --include="*.js" --include="*.jsm" --exclude=".*" . | xargs xargs sed -i -e '/\/Services.jsm/d'

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

--HG--
extra : rebase_source : 43da2706d3b30f5062511cedd527e9fb65631f02
extra : amend_source : 863bfd4ad3930f4fe4ed0b3dba6061370118f9a5
2022-07-18 20:26:40 +10:00
Sean Burke 121378611f Bug 1761129 - remove misplaced Java modelines. r=#thunderbird-reviewers,john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D141898

Depends on D141897

--HG--
extra : rebase_source : ee222beb6d290b01de2b08600d80d3fb2c47e5e4
extra : histedit_source : 1d3416cb5fab73a9ae0889aa5bb008334b28af29
2022-03-23 22:21:20 +00:00
Magnus Melin 1bd54a23a2 Bug 1727522 - follow-up to fix linting. rs=eslint 2021-10-24 13:35:12 +03:00
Lasana Murray 0f02080d4d Bug 1727522 - Separate openpgp strings from smime strings. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D126426

--HG--
extra : amend_source : 839060d242b41e76b19e35bbb06e7abf93e67be3
2021-10-23 13:43:30 +03:00
Lasana Murray 43374329ec Bug 1727522 - Use Services.strings.createBundle() instead of xul in some places. r=mkmelin
This changes handles:

* bundle_read_smime
* bundle_offlinePrompts
* bundle_editContact
* bundle_places
* bundle_dateformat:
* bundle_chat
* bundle_search

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

--HG--
extra : rebase_source : 513ff1a178a94512d3e077c28558a66158e321c3
extra : amend_source : b0119ae5c667c550fc99b262b438db69f6c7220c
2021-09-16 20:15:51 +00:00
Alessandro Castellani d272073cfe Bug 1692497 - Resize the message security popup and enable overflow for content scrolling. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D125483

--HG--
extra : amend_source : 0384fca438d8735e2825820c4499b498e3de5a44
2021-09-15 13:31:21 +03:00
Henry Wilkes 7765d132f5 Bug 1683865 - Replace xul:image usage in message encryption header. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D115475

--HG--
extra : amend_source : 5e8562c3468bcb82ced36d398d3015e8f013774b
2021-06-04 13:53:58 +03:00
Alessandro Castellani 9527e7c66c Bug 1693138 - Make the key and signature parts of the message security popup selectable. r=KaiE
Differential Revision: https://phabricator.services.mozilla.com/D107349
2021-03-05 20:22:23 +00:00
Geoff Lankow 0d39495b2e Bug 1634341 - Try to avoid errors from synchronous loading of L10n files. r=mkmelin
This is a series of hacks to prevent the NS_ERROR_FILE_UNRECOGNIZED_PATH error. A number of
Services.intl functions throw this error the first time they are called when they load .ftl
files synchronously. Where possible, this patch loads the files asynchronously first and
avoids the error.

The same thing happens in OTRUI.jsm, which should ultimately be fixed to avoid sync L10n.

In some places I've managed to avoid the error by converting the L10n calls to async and/or
delaying the loading of the .ftl file until it is needed.

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

--HG--
extra : rebase_source : 4188f7b88d6be0a17176ab7b6fa23ac10f856eea
2021-01-07 12:47:43 +02:00
Alessandro Castellani b6112cf44e Bug 1675721 - Implement tooltip and keyboard shortcut for message security info. r=mkmelin 2020-11-25 20:15:53 -08:00
Mark Banner 45e64c2f99 Bug 1664701 - Delay loading Enigmail files in UI until they are needed. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D90043

--HG--
extra : moz-landing-system : lando
2020-11-01 21:39:21 +00:00
Alessandro Castellani 46783bbb45 Bug 1647039 - Follow-up: Fix wrong notifications in message security popup. r=mkmelin
--HG--
extra : histedit_source : 97f5a3ab88dd42e42b4b9182ec76cbf18ff7509b
2020-10-09 10:48:52 -07:00
Kai Engert 9edddc56bf Bug 1662279 - Simplify UI element enabling and OpenPGP init code. r=PatrickBrunschwig (relanding) 2020-10-03 13:08:48 +02:00
Kai Engert 34c83d3253 Bug 1662279 - Backed out changeset e14a1d568179 for breaking OpenPGP init logic. r=me 2020-10-03 02:13:54 +02:00
Kai Engert 09c6df94ee Bug 1662279 - Simplify UI element enabling and OpenPGP init code. r=PatrickBrunschwig 2020-10-02 20:02:59 +02:00
Alessandro Castellani 8d5bb3fb6d Bug 1662890 - Reload message pane after changes to signature acceptance in Message Security Info dialog. r=mkmelin 2020-10-01 09:20:48 -07:00
Alessandro Castellani 068a825006 Bug 1647039 - [OpenPGP] Improve the UI and UX of the notification in the Message Pane. r=mkmelin, ui-r=Paenglab
* * *
Bug 1647039 - Convert the OpenPGP message security pane into an arrowpopup. r=mkmelin, ui-r=Paenglab
2020-09-16 15:53:15 -07:00
Joshua Cranmer 8cba0fa9e6 Bug 875059, part 4: Flatten mailnews/extensions/* directories. r=mkmelin
Depends on D85672

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

--HG--
rename : mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp => mailnews/extensions/bayesian-spam-filter/nsBayesianFilter.cpp
rename : mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.h => mailnews/extensions/bayesian-spam-filter/nsBayesianFilter.h
rename : mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilterCID.h => mailnews/extensions/bayesian-spam-filter/nsBayesianFilterCID.h
rename : mailnews/extensions/bayesian-spam-filter/src/nsIncompleteGamma.h => mailnews/extensions/bayesian-spam-filter/nsIncompleteGamma.h
rename : mailnews/extensions/dsn/src/DSNService.jsm => mailnews/extensions/dsn/DSNService.jsm
rename : mailnews/extensions/dsn/content/am-dsn.js => mailnews/extensions/dsn/am-dsn.js
rename : mailnews/extensions/dsn/content/am-dsn.xhtml => mailnews/extensions/dsn/am-dsn.xhtml
rename : mailnews/extensions/dsn/src/components.conf => mailnews/extensions/dsn/components.conf
rename : mailnews/extensions/dsn/content/dsn.js => mailnews/extensions/dsn/dsn.js
rename : mailnews/extensions/fts3/src/Normalize.c => mailnews/extensions/fts3/Normalize.c
rename : mailnews/extensions/fts3/src/README.mozilla => mailnews/extensions/fts3/README.mozilla
rename : mailnews/extensions/fts3/src/fts3_porter.c => mailnews/extensions/fts3/fts3_porter.c
rename : mailnews/extensions/fts3/src/fts3_tokenizer.h => mailnews/extensions/fts3/fts3_tokenizer.h
rename : mailnews/extensions/fts3/src/moz.build => mailnews/extensions/fts3/moz.build
rename : mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp => mailnews/extensions/fts3/nsFts3Tokenizer.cpp
rename : mailnews/extensions/fts3/src/nsFts3Tokenizer.h => mailnews/extensions/fts3/nsFts3Tokenizer.h
rename : mailnews/extensions/fts3/src/nsFts3TokenizerCID.h => mailnews/extensions/fts3/nsFts3TokenizerCID.h
rename : mailnews/extensions/fts3/src/nsGlodaRankerFunction.cpp => mailnews/extensions/fts3/nsGlodaRankerFunction.cpp
rename : mailnews/extensions/fts3/src/nsGlodaRankerFunction.h => mailnews/extensions/fts3/nsGlodaRankerFunction.h
rename : mailnews/extensions/fts3/public/nsIFts3Tokenizer.idl => mailnews/extensions/fts3/nsIFts3Tokenizer.idl
rename : mailnews/extensions/mailviews/content/mailViews.dat => mailnews/extensions/mailviews/mailViews.dat
rename : mailnews/extensions/mailviews/src/moz.build => mailnews/extensions/mailviews/moz.build
rename : mailnews/extensions/mailviews/public/nsIMsgMailView.idl => mailnews/extensions/mailviews/nsIMsgMailView.idl
rename : mailnews/extensions/mailviews/public/nsIMsgMailViewList.idl => mailnews/extensions/mailviews/nsIMsgMailViewList.idl
rename : mailnews/extensions/mailviews/src/nsMsgMailViewList.cpp => mailnews/extensions/mailviews/nsMsgMailViewList.cpp
rename : mailnews/extensions/mailviews/src/nsMsgMailViewList.h => mailnews/extensions/mailviews/nsMsgMailViewList.h
rename : mailnews/extensions/mailviews/src/nsMsgMailViewsCID.h => mailnews/extensions/mailviews/nsMsgMailViewsCID.h
rename : mailnews/extensions/mdn/src/MDNService.jsm => mailnews/extensions/mdn/MDNService.jsm
rename : mailnews/extensions/mdn/content/am-mdn.js => mailnews/extensions/mdn/am-mdn.js
rename : mailnews/extensions/mdn/content/am-mdn.xhtml => mailnews/extensions/mdn/am-mdn.xhtml
rename : mailnews/extensions/mdn/src/components.conf => mailnews/extensions/mdn/components.conf
rename : mailnews/extensions/mdn/content/mdn.js => mailnews/extensions/mdn/mdn.js
rename : mailnews/extensions/mdn/src/nsMsgMdnCID.h => mailnews/extensions/mdn/nsMsgMdnCID.h
rename : mailnews/extensions/mdn/src/nsMsgMdnGenerator.cpp => mailnews/extensions/mdn/nsMsgMdnGenerator.cpp
rename : mailnews/extensions/mdn/src/nsMsgMdnGenerator.h => mailnews/extensions/mdn/nsMsgMdnGenerator.h
rename : mailnews/extensions/newsblog/content/Feed.js => mailnews/extensions/newsblog/Feed.js
rename : mailnews/extensions/newsblog/content/FeedItem.js => mailnews/extensions/newsblog/FeedItem.js
rename : mailnews/extensions/newsblog/content/FeedUtils.jsm => mailnews/extensions/newsblog/FeedUtils.jsm
rename : mailnews/extensions/newsblog/content/NewsBlog.jsm => mailnews/extensions/newsblog/NewsBlog.jsm
rename : mailnews/extensions/newsblog/content/am-newsblog.js => mailnews/extensions/newsblog/am-newsblog.js
rename : mailnews/extensions/newsblog/content/am-newsblog.xhtml => mailnews/extensions/newsblog/am-newsblog.xhtml
rename : mailnews/extensions/newsblog/content/feed-parser.js => mailnews/extensions/newsblog/feed-parser.js
rename : mailnews/extensions/newsblog/content/feed-subscriptions.js => mailnews/extensions/newsblog/feed-subscriptions.js
rename : mailnews/extensions/newsblog/content/feed-subscriptions.xhtml => mailnews/extensions/newsblog/feed-subscriptions.xhtml
rename : mailnews/extensions/newsblog/content/feedAccountWizard.js => mailnews/extensions/newsblog/feedAccountWizard.js
rename : mailnews/extensions/newsblog/content/feedAccountWizard.xhtml => mailnews/extensions/newsblog/feedAccountWizard.xhtml
rename : mailnews/extensions/newsblog/content/newsblogOverlay.js => mailnews/extensions/newsblog/newsblogOverlay.js
rename : mailnews/extensions/smime/content/certFetchingStatus.js => mailnews/extensions/smime/certFetchingStatus.js
rename : mailnews/extensions/smime/content/certFetchingStatus.xhtml => mailnews/extensions/smime/certFetchingStatus.xhtml
rename : mailnews/extensions/smime/content/certpicker.js => mailnews/extensions/smime/certpicker.js
rename : mailnews/extensions/smime/content/certpicker.xhtml => mailnews/extensions/smime/certpicker.xhtml
rename : mailnews/extensions/smime/content/msgCompSecurityInfo.js => mailnews/extensions/smime/msgCompSecurityInfo.js
rename : mailnews/extensions/smime/content/msgCompSecurityInfo.xhtml => mailnews/extensions/smime/msgCompSecurityInfo.xhtml
rename : mailnews/extensions/smime/content/msgReadSMIMEOverlay.js => mailnews/extensions/smime/msgReadSMIMEOverlay.js
rename : mailnews/extensions/smime/content/msgReadSecurityInfo.js => mailnews/extensions/smime/msgReadSecurityInfo.js
rename : mailnews/extensions/smime/content/msgReadSecurityInfo.xhtml => mailnews/extensions/smime/msgReadSecurityInfo.xhtml
rename : mailnews/extensions/smime/src/nsCMS.cpp => mailnews/extensions/smime/nsCMS.cpp
rename : mailnews/extensions/smime/src/nsCMS.h => mailnews/extensions/smime/nsCMS.h
rename : mailnews/extensions/smime/src/nsCMSSecureMessage.cpp => mailnews/extensions/smime/nsCMSSecureMessage.cpp
rename : mailnews/extensions/smime/src/nsCMSSecureMessage.h => mailnews/extensions/smime/nsCMSSecureMessage.h
rename : mailnews/extensions/smime/src/nsCertPicker.cpp => mailnews/extensions/smime/nsCertPicker.cpp
rename : mailnews/extensions/smime/src/nsCertPicker.h => mailnews/extensions/smime/nsCertPicker.h
rename : mailnews/extensions/smime/src/nsEncryptedSMIMEURIsService.cpp => mailnews/extensions/smime/nsEncryptedSMIMEURIsService.cpp
rename : mailnews/extensions/smime/src/nsEncryptedSMIMEURIsService.h => mailnews/extensions/smime/nsEncryptedSMIMEURIsService.h
rename : mailnews/extensions/smime/public/nsICMSDecoder.idl => mailnews/extensions/smime/nsICMSDecoder.idl
rename : mailnews/extensions/smime/public/nsICMSEncoder.idl => mailnews/extensions/smime/nsICMSEncoder.idl
rename : mailnews/extensions/smime/public/nsICMSMessage.idl => mailnews/extensions/smime/nsICMSMessage.idl
rename : mailnews/extensions/smime/public/nsICMSMessageErrors.idl => mailnews/extensions/smime/nsICMSMessageErrors.idl
rename : mailnews/extensions/smime/public/nsICMSSecureMessage.idl => mailnews/extensions/smime/nsICMSSecureMessage.idl
rename : mailnews/extensions/smime/public/nsICertPickDialogs.idl => mailnews/extensions/smime/nsICertPickDialogs.idl
rename : mailnews/extensions/smime/public/nsIEncryptedSMIMEURIsSrvc.idl => mailnews/extensions/smime/nsIEncryptedSMIMEURIsSrvc.idl
rename : mailnews/extensions/smime/public/nsIMsgSMIMEHeaderSink.idl => mailnews/extensions/smime/nsIMsgSMIMEHeaderSink.idl
rename : mailnews/extensions/smime/public/nsISMimeJSHelper.idl => mailnews/extensions/smime/nsISMimeJSHelper.idl
rename : mailnews/extensions/smime/public/nsIUserCertPicker.idl => mailnews/extensions/smime/nsIUserCertPicker.idl
rename : mailnews/extensions/smime/src/nsMsgComposeSecure.cpp => mailnews/extensions/smime/nsMsgComposeSecure.cpp
rename : mailnews/extensions/smime/src/nsMsgComposeSecure.h => mailnews/extensions/smime/nsMsgComposeSecure.h
rename : mailnews/extensions/smime/src/nsMsgSMIMECID.h => mailnews/extensions/smime/nsMsgSMIMECID.h
rename : mailnews/extensions/smime/src/nsSMimeJSHelper.cpp => mailnews/extensions/smime/nsSMimeJSHelper.cpp
rename : mailnews/extensions/smime/src/nsSMimeJSHelper.h => mailnews/extensions/smime/nsSMimeJSHelper.h
extra : moz-landing-system : lando
2020-08-04 20:14:18 +00:00