John Bieling
621fded4c5
Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik
...
Using D194522 for auto-fixing unused variables.
Differential Revision: https://phabricator.services.mozilla.com/D205426
--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
6a784829d2
Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat
...
Ical.jsm doesn't want to be converted over so leaving it for now.
Will figure out how to resolve the issues there, or take bug 1824264 in next step.
Differential Revision: https://phabricator.services.mozilla.com/D204606
--HG--
rename : calendar/base/modules/calCalendarDeactivator.jsm => calendar/base/modules/calCalendarDeactivator.sys.mjs
rename : calendar/base/modules/calExtract.jsm => calendar/base/modules/calExtract.sys.mjs
rename : calendar/base/modules/calHashedArray.jsm => calendar/base/modules/calHashedArray.sys.mjs
rename : calendar/base/modules/calRecurrenceUtils.jsm => calendar/base/modules/calRecurrenceUtils.sys.mjs
rename : calendar/base/src/calCachedCalendar.js => calendar/base/src/CalCachedCalendar.sys.mjs
rename : calendar/base/src/CalMetronome.jsm => calendar/base/src/CalMetronome.sys.mjs
rename : calendar/base/src/CalReadableStreamFactory.jsm => calendar/base/src/CalReadableStreamFactory.sys.mjs
rename : calendar/base/src/CalTimezone.jsm => calendar/base/src/CalTimezone.sys.mjs
rename : calendar/base/src/CalTransactionManager.jsm => calendar/base/src/CalTransactionManager.sys.mjs
rename : calendar/extract/CalExtractParser.jsm => calendar/extract/CalExtractParser.sys.mjs
rename : calendar/extract/CalExtractParserService.jsm => calendar/extract/CalExtractParserService.sys.mjs
rename : calendar/itip/CalItipMessageSender.jsm => calendar/itip/CalItipMessageSender.sys.mjs
rename : calendar/itip/CalItipOutgoingMessage.jsm => calendar/itip/CalItipOutgoingMessage.sys.mjs
rename : calendar/providers/caldav/CalDavProvider.jsm => calendar/providers/caldav/CalDavProvider.sys.mjs
rename : calendar/providers/caldav/modules/CalDavRequest.jsm => calendar/providers/caldav/modules/CalDavRequest.sys.mjs
rename : calendar/providers/caldav/modules/CalDavRequestHandlers.jsm => calendar/providers/caldav/modules/CalDavRequestHandlers.sys.mjs
rename : calendar/providers/caldav/modules/CalDavSession.jsm => calendar/providers/caldav/modules/CalDavSession.sys.mjs
rename : calendar/providers/caldav/modules/CalDavUtils.jsm => calendar/providers/caldav/modules/CalDavUtils.sys.mjs
rename : calendar/providers/ics/CalICSProvider.jsm => calendar/providers/ics/CalICSProvider.sys.mjs
rename : calendar/providers/storage/CalStorageCachedItemModel.jsm => calendar/providers/storage/CalStorageCachedItemModel.sys.mjs
rename : calendar/providers/storage/CalStorageDatabase.jsm => calendar/providers/storage/CalStorageDatabase.sys.mjs
rename : calendar/providers/storage/CalStorageItemModel.jsm => calendar/providers/storage/CalStorageItemModel.sys.mjs
rename : calendar/providers/storage/CalStorageMetaDataModel.jsm => calendar/providers/storage/CalStorageMetaDataModel.sys.mjs
rename : calendar/providers/storage/CalStorageModelBase.jsm => calendar/providers/storage/CalStorageModelBase.sys.mjs
rename : calendar/providers/storage/CalStorageModelFactory.jsm => calendar/providers/storage/CalStorageModelFactory.sys.mjs
rename : calendar/providers/storage/CalStorageOfflineModel.jsm => calendar/providers/storage/CalStorageOfflineModel.sys.mjs
rename : calendar/providers/storage/CalStorageStatements.jsm => calendar/providers/storage/CalStorageStatements.sys.mjs
rename : calendar/providers/storage/calStorageHelpers.jsm => calendar/providers/storage/calStorageHelpers.sys.mjs
rename : calendar/providers/storage/calStorageUpgrade.jsm => calendar/providers/storage/calStorageUpgrade.sys.mjs
rename : calendar/test/CalDAVServer.jsm => calendar/test/CalDAVServer.sys.mjs
rename : calendar/test/CalendarTestUtils.jsm => calendar/test/CalendarTestUtils.sys.mjs
rename : calendar/test/CalendarUtils.jsm => calendar/test/CalendarUtils.sys.mjs
rename : calendar/test/ICSServer.jsm => calendar/test/ICSServer.sys.mjs
rename : calendar/test/ItemEditingHelpers.jsm => calendar/test/ItemEditingHelpers.sys.mjs
extra : amend_source : 180eac675e4893d841f439bd0f6e1d4ed292c783
2024-03-15 17:45:58 -07: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
Alessandro Castellani
37a1c0c3ff
Bug 1854255 - Enforce prefer-const eslint rule globally. r=john.bieling,ikey
...
Differential Revision: https://phabricator.services.mozilla.com/D192298
--HG--
extra : moz-landing-system : lando
2023-11-21 11:02:13 +00:00
Brendan Abolivier
9406e5818b
Bug 1846837 - Use the FQDN identity attribute to generate Message-Id headers, if set. r=mkmelin
...
Also update the message ID generation to use nsACString instead of raw strings.
Differential Revision: https://phabricator.services.mozilla.com/D191842
--HG--
extra : amend_source : c19f9f6703a28a24ba3010f1e0f1172a840bfbff
2023-11-03 12:02:51 +02:00
Magnus Melin
91e0f92d72
Bug 1861355 - Event cancellation should not be sent for ones own events. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D192214
--HG--
extra : rebase_source : d89b05f85c8f872f188e55eea8bf441b24a847c4
extra : amend_source : a56b272e722f1b886010a192b682166ee9dda667
2023-11-03 08:53:19 +02:00
Sean Burke
38b9c6416a
Bug 1847658 - Account for organizer as attendee of sent invite in iTIP. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D189023
--HG--
extra : amend_source : 0b68acfae8702e1e669b68faf4845b5ac30b1474
2023-09-30 12:49:13 +03:00
Sean Burke
151cb9e647
Bug 1847647 - ESMify calendar utility modules. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D185875
--HG--
rename : calendar/base/modules/calUtils.jsm => calendar/base/modules/calUtils.sys.mjs
rename : calendar/base/modules/utils/calACLUtils.jsm => calendar/base/modules/utils/calACLUtils.sys.mjs
rename : calendar/base/modules/utils/calAlarmUtils.jsm => calendar/base/modules/utils/calAlarmUtils.sys.mjs
rename : calendar/base/modules/utils/calAuthUtils.jsm => calendar/base/modules/utils/calAuthUtils.sys.mjs
rename : calendar/base/modules/utils/calCategoryUtils.jsm => calendar/base/modules/utils/calCategoryUtils.sys.mjs
rename : calendar/base/modules/utils/calDataUtils.jsm => calendar/base/modules/utils/calDataUtils.sys.mjs
rename : calendar/base/modules/utils/calDateTimeFormatter.jsm => calendar/base/modules/utils/calDateTimeFormatter.sys.mjs
rename : calendar/base/modules/utils/calDateTimeUtils.jsm => calendar/base/modules/utils/calDateTimeUtils.sys.mjs
rename : calendar/base/modules/utils/calEmailUtils.jsm => calendar/base/modules/utils/calEmailUtils.sys.mjs
rename : calendar/base/modules/utils/calInvitationUtils.jsm => calendar/base/modules/utils/calInvitationUtils.sys.mjs
rename : calendar/base/modules/utils/calItemUtils.jsm => calendar/base/modules/utils/calItemUtils.sys.mjs
rename : calendar/base/modules/utils/calIteratorUtils.jsm => calendar/base/modules/utils/calIteratorUtils.sys.mjs
rename : calendar/base/modules/utils/calItipUtils.jsm => calendar/base/modules/utils/calItipUtils.sys.mjs
rename : calendar/base/modules/utils/calL10NUtils.jsm => calendar/base/modules/utils/calL10NUtils.sys.mjs
rename : calendar/base/modules/utils/calPrintUtils.jsm => calendar/base/modules/utils/calPrintUtils.sys.mjs
rename : calendar/base/modules/utils/calProviderDetectionUtils.jsm => calendar/base/modules/utils/calProviderDetectionUtils.sys.mjs
rename : calendar/base/modules/utils/calProviderUtils.jsm => calendar/base/modules/utils/calProviderUtils.sys.mjs
rename : calendar/base/modules/utils/calUnifinderUtils.jsm => calendar/base/modules/utils/calUnifinderUtils.sys.mjs
rename : calendar/base/modules/utils/calViewUtils.jsm => calendar/base/modules/utils/calViewUtils.sys.mjs
rename : calendar/base/modules/utils/calWindowUtils.jsm => calendar/base/modules/utils/calWindowUtils.sys.mjs
rename : calendar/base/modules/utils/calXMLUtils.jsm => calendar/base/modules/utils/calXMLUtils.sys.mjs
extra : amend_source : c2e9643e8c3f953786dd86e61743c299214d5c48
2023-08-15 11:08:52 +01:00
Brendan Abolivier
afb10a9c42
Bug 1727181 - Generate the Message-ID header using the From address when sending a message from the composer. r=leftmostcat
...
Loosely inspired by the patch from @lkkmpn.
Differential Revision: https://phabricator.services.mozilla.com/D182347
--HG--
extra : amend_source : bc36b297b144db56c22b681480a66a5c99e98f24
2023-07-13 15:48:27 +03:00
Rob Lemley
58f2dc08f0
Bug 1833949 - Port bug 1826062: Automatic reformatting for Prettier 2.0.5. r=leftmostcat
...
Differential Revision: https://phabricator.services.mozilla.com/D178537
--HG--
extra : amend_source : 4c543c3aeea4bb0a59407f358166956d9026e6a2
2023-05-21 15:05:24 +10:00
Magnus Melin
2bf0ec9488
Bug 1803405 - Port bug 1793463: Make NS_URIChainHasFlags (mostly) threadsafe. rs=bustage-fix
...
Differential Revision: https://phabricator.services.mozilla.com/D163578
--HG--
extra : rebase_source : 14bfdd08b948d08d661771763c4a19f8c5ac6b61
2022-12-02 21:55:30 +11:00
Magnus Melin
fe9d2f7246
Bug 1801529 - mozilla/valid-jsdoc automatic fixups across the Thunderbird codebase. r=aleca
...
This is the automatic fixes + whitespace fixup:
find . -type f -not -path "./suite/*" -name "*.js" -exec sed -i -E 's/\* @returns +/* @returns /g' {} \;
find . -type f -not -path "./suite/*" -name "*.jsm" -exec sed -i -E 's/\* @returns +/* @returns /g' {} \;
find . -type f -not -path "./suite/*" -name "*.js" -exec sed -i -E 's/\* (@returns \{.+\}) +/* \1 /g' {} \;
find . -type f -not -path "./suite/*" -name "*.jsm" -exec sed -i -E 's/\* (@returns \{.+\}) +/* \1 /g' {} \;
find . -type f -not -path "./suite/*" -name "*.js" -exec sed -i -E 's/\*( @param)( \S+ \S+ ) +/*\1\2- /g' {} \;
find . -type f -not -path "./suite/*" -name "*.jsm" -exec sed -i -E 's/\*( @param)( \S+ \S+ ) +/*\1\2- /g' {} \;
find . -type f -not -path "./suite/*" -name "*.js" -exec sed -i -E 's/\*( @param[^-]*)( - - )/*\1 - /g' {} \;
find . -type f -not -path "./suite/*" -name "*.jsm" -exec sed -i -E 's/\*( @param[^-]*)( - - )/*\1 - /g' {} \;
Differential Revision: https://phabricator.services.mozilla.com/D162704
--HG--
extra : rebase_source : 4307935e658ce38943af522b17ce6b1c0d99dfdd
2022-11-23 15:43:25 +11:00
Martin Giger
991dd9c8c9
Bug 1792869 - Convert XPCOMUtils imports to esm in calendar/. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D159062
--HG--
extra : rebase_source : 429365bbdeeef5397e980129520584b9ec78c9ec
extra : amend_source : 699a99eb93b34ca31ea1aca788bdf0b7949470d8
2022-10-12 21:41:24 +11: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
Magnus Melin
fe4e2fd124
Bug 1774362 - Changes needed for bug 1607331 - Reject global this usage in JSM. calendar/ part. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D149363
--HG--
extra : amend_source : d6ca973ad20fa0136c3e1e488fa911df18eb9b78
2022-06-15 13:57:58 +03:00
Lasana Murray
676d0c5404
Bug 1770486 - Remove aListener where not used and fix typo in calItipUtils. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D146940
--HG--
extra : amend_source : def4c53470a15c4d4c3b7e96eb8327523d6dd8f8
2022-05-24 12:35:15 +03:00
Lasana Murray
f4ce329ca5
Bug 1765879 - Use the invited attendee from the occurrence attendee list. r=#thunderbird-reviewers,darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D144741
--HG--
extra : rebase_source : f90f67782c48433d9e3390a3fe55660e059ff567
extra : amend_source : b99b0980cf4130bfdc708f294330537ec2618791
2022-05-09 13:31:42 +00:00
Rachel Martin
3e752a1f76
Bug 1766974 - Fix typos in calendar found with codespell. r=lasana
2022-05-02 16:20:38 -04:00
Lasana Murray
5fd7226493
Bug 1759590 - Add tests for repeating and non-repeating events. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D142085
--HG--
extra : amend_source : 90b8abd539e1bda8ff4e04fc97fecb11de9e1ffd
2022-04-20 11:30:46 +02:00
Sean Burke
48350ef5e2
Bug 1759768 - use standard lazy getters for cal services. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D141897
--HG--
extra : rebase_source : 04fa44e10268a8a15d1672f3c567ab773d25d7eb
extra : histedit_source : 42ebdf5ffc87b7d2a0167d4a2ee020687e7955be
2022-03-23 20:15:31 +00:00
Geoff Lankow
53bb0a95a4
Bug 1710548 - Move invitation utils from ltn. to cal. r=lasana
...
Differential Revision: https://phabricator.services.mozilla.com/D118902
--HG--
rename : calendar/base/content/lightning-invitation.xhtml => calendar/base/content/invitation-template.xhtml
rename : calendar/base/modules/ltnInvitationUtils.jsm => calendar/base/modules/utils/calInvitationUtils.jsm
rename : calendar/test/unit/test_ltninvitationutils.js => calendar/test/unit/test_invitationutils.js
extra : rebase_source : c8882d7b18e82e53cdd34a680a0663e7a3d52210
2021-06-28 14:23:46 +12:00
Lasana Murray
b3e5782168
Bug 1711583 - Add mochitest for itip identity prompt. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D115296
--HG--
extra : rebase_source : c85c8176b20534b7800c1867a4b2b489b136edd0
extra : histedit_source : 521229c821dfbb5d1266c6ea195205dfabeb0621
2021-05-17 22:20:35 +00:00
Lasana Murray
bd6242c408
Bug 1711134 - Add unit tests for CalItipMessageSender for incoming invitations. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D115099
2021-05-15 12:52:52 +03:00
Lasana Murray
5f913f8b30
Bug 1710172 - Retrieve calIItipTransport in checkAndSend(). r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D114658
--HG--
extra : moz-landing-system : lando
2021-05-13 23:03:45 +00:00
Lasana Murray
7010356576
Bug 1707997 - Make getInvitedAttendee() check for the X-MOZ-INVITED-ATTENDEE property. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D114641
--HG--
extra : moz-landing-system : lando
2021-05-13 23:03:45 +00:00
Geoff Lankow
b83d4b1340
Bug 1710548 - Move everything out of calendar/lightning. r=mkmelin
...
This removes the calendar/lightning directory from the source and lightning.jar from the packaging. The chrome://lightning/content namespace also disappears here.
Some of this will move again in a few revisions' time, but it is too time-consuming to backport the second moves.
Differential Revision: https://phabricator.services.mozilla.com/D114942
--HG--
rename : calendar/lightning/content/lightning.js => calendar/base/calendar.js
rename : calendar/lightning/content/calendar-appmenu-panelviews.inc.xhtml => calendar/base/content/calendar-appmenu-panelviews.inc.xhtml
rename : calendar/lightning/content/calendar-buttons-mail-toolbar.inc.xhtml => calendar/base/content/calendar-buttons-mail-toolbar.inc.xhtml
rename : calendar/lightning/content/calendar-commands.inc.xhtml => calendar/base/content/calendar-commands.inc.xhtml
rename : calendar/lightning/content/calendar-context-menus-and-tooltips.inc.xhtml => calendar/base/content/calendar-context-menus-and-tooltips.inc.xhtml
rename : calendar/lightning/content/calendar-keys.inc.xhtml => calendar/base/content/calendar-keys.inc.xhtml
rename : calendar/lightning/content/calendar-menu-events-tasks.inc.xhtml => calendar/base/content/calendar-menu-events-tasks.inc.xhtml
rename : calendar/lightning/content/calendar-status-bar.inc.xhtml => calendar/base/content/calendar-status-bar.inc.xhtml
rename : calendar/lightning/content/calendar-tab-panels.inc.xhtml => calendar/base/content/calendar-tab-panels.inc.xhtml
rename : calendar/lightning/content/calendar-today-pane.inc.xhtml => calendar/base/content/calendar-today-pane.inc.xhtml
rename : calendar/lightning/content/calendar-view-menu.inc.xhtml => calendar/base/content/calendar-view-menu.inc.xhtml
rename : calendar/lightning/content/lightning-calendar-properties.js => calendar/base/content/dialogs/lightning-calendar-properties.js
rename : calendar/lightning/content/imip-bar-overlay.inc.xhtml => calendar/base/content/imip-bar-overlay.inc.xhtml
rename : calendar/lightning/content/imip-bar.js => calendar/base/content/imip-bar.js
rename : calendar/lightning/content/lightning-invitation.xhtml => calendar/base/content/lightning-invitation.xhtml
rename : calendar/lightning/content/lightning-item-iframe.js => calendar/base/content/lightning-item-iframe.js
rename : calendar/lightning/content/lightning-item-iframe.xhtml => calendar/base/content/lightning-item-iframe.xhtml
rename : calendar/lightning/content/lightning-item-panel.inc.xhtml => calendar/base/content/lightning-item-panel.inc.xhtml
rename : calendar/lightning/content/lightning-item-panel.js => calendar/base/content/lightning-item-panel.js
rename : calendar/lightning/content/lightning-item-toolbar.inc.xhtml => calendar/base/content/lightning-item-toolbar.inc.xhtml
rename : calendar/lightning/content/lightning-utils.js => calendar/base/content/lightning-utils.js
rename : calendar/lightning/content/messenger-overlay-preferences.inc.xhtml => calendar/base/content/preferences/calendar-preferences.inc.xhtml
rename : calendar/lightning/content/messenger-overlay-preferences.js => calendar/base/content/preferences/calendar-preferences.js
rename : calendar/lightning/modules/ltnInvitationUtils.jsm => calendar/base/modules/ltnInvitationUtils.jsm
rename : calendar/lightning/components/CalMimeConverter.jsm => calendar/base/src/CalMimeConverter.jsm
rename : calendar/lightning/components/CalItipProtocolHandler.jsm => calendar/itip/CalItipProtocolHandler.jsm
extra : rebase_source : 482ed4926fcf7998979bd835a20c679c379a24b9
extra : histedit_source : c0f31f7cfeb62810922807654558ab385da03040
2021-05-11 14:45:05 +12:00
Lasana Murray
625f65ef27
Bug 1702782 - Allow identity selection when the calendar's identity is not on the attendees list. r=mkmelin,darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D113389
--HG--
extra : moz-landing-system : lando
2021-05-05 04:24:44 +00:00
Lasana Murray
14556d582e
Bug 1707637 - Get reply attendee from parameter instead of calendar in CalItipEmailTransport. r=mkmelin,darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D113384
--HG--
extra : moz-landing-system : lando
2021-05-05 04:24:44 +00:00
Lasana Murray
373f756cf7
Bug 1707613 - Source invitedAttendee from parameter if target calendar identity is not on attendee list. r=mkmelin,darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D113372
--HG--
extra : moz-landing-system : lando
2021-05-05 04:24:43 +00:00
Lasana Murray
dcca4b853f
Bug 1705766 - Make CalItipEmailTransport extendable. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D112397
--HG--
extra : moz-landing-system : lando
2021-04-25 10:55:20 +00:00
Lasana Murray
c03b5adc9d
Bug 1705516 - Allow alternate transport to be specified in CalItipOutgoingMessage.send. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D112254
--HG--
extra : moz-landing-system : lando
2021-04-25 10:55:19 +00:00
Lasana Murray
37cade2976
Bug 1705471 - Put send() logic into own class. r=darktrojan
...
This removes the need for sendCancellations() by turning the sendMessage() logic into its own object.
The detectChanges() method now adds these objects to a queue that will all be sent via send()
upon the callers request.
Differential Revision: https://phabricator.services.mozilla.com/D112234
--HG--
extra : moz-landing-system : lando
2021-04-25 10:55:19 +00:00
Lasana Murray
0b9884d944
Bug 1704952 - Move checkAndSend logic into a class. r=darktrojan
...
This is the first part of some refactoring in this area. This only moves
the logic into a class with a few changes but overall preserves the current
logic for easier review.
Next step will be to refactor CalItipMessageSender to not need sendCancellations().
Differential Revision: https://phabricator.services.mozilla.com/D112130
--HG--
extra : moz-landing-system : lando
2021-04-25 10:55:18 +00:00
Rob Lemley
74c6535302
Bug 1672798 - Run black formatting on mozbuild and mozconfigure files. r=mkmelin
...
Bringing some sanity to our Python scripts.
Differential Revision: https://phabricator.services.mozilla.com/D95402
--HG--
extra : rebase_source : 7eed46d79663fa1f261bd64d9bc1c83c4867bfc4
extra : histedit_source : b8b700c76ab2fee92eb426b5a5b69dc86376e60f
2020-10-30 14:28:33 -04:00
Ping Chen
b5a07fc993
Bug 862292 - Use UTF-8 for all outgoing email. r=mkmelin
...
--HG--
extra : amend_source : 74c7415aa16fbeecc4c01403747f0bef5c435549
2020-08-10 13:51:54 +09:00
Geoff Lankow
c5db9accc0
Bug 1655687 - Port bug 1620537 - Fix no-setter-return ESLint errors. r=pmorris
...
--HG--
extra : rebase_source : 52e8ef443440a08e35c7a8fc11286463ead170b7
extra : amend_source : 6a14cf180c6603955893401c2b5938ad7937a90b
extra : histedit_source : ca6fd64f1f165c92523e82ccc26f5d72fc8477d0
2020-07-28 12:54:32 +12:00
Geoff Lankow
0a60d34265
Bug 1652371 - Port bug 1649221 and bug 1649554. rs=bustage-fix CLOSED TREE
...
--HG--
extra : amend_source : cfc6361ee102cb0ee2e0c5b3497ec4a9b71688ca
2020-07-13 11:45:03 +12:00
Geoff Lankow
ba527aea7b
Port bug 1536556 - Replace new Error(Cr.ERROR) with new Component.Exception. rs=linting DONTBUILD
...
This was done automatically with `mach eslint --fix`
2020-05-06 11:10:50 +12:00
Ben Campbell
a1f9609134
Bug 1614846 - remove nsIArray use in nsIMsgAccountManager.allIdentities. r=mkmelin,pmorris
2020-03-30 13:56:24 +03:00
Khushil Mistry
cc1231e87d
Bug 1562313 - Convert most calendar JavaScript components (not calBackendLoader) to static registration. r=pmorris DONTBUILD
...
--HG--
rename : calendar/base/src/calAlarm.js => calendar/base/src/CalAlarm.jsm
rename : calendar/base/src/calAlarmMonitor.js => calendar/base/src/CalAlarmMonitor.jsm
rename : calendar/base/src/calAlarmService.js => calendar/base/src/CalAlarmService.jsm
rename : calendar/base/src/calAttachment.js => calendar/base/src/CalAttachment.jsm
rename : calendar/base/src/calAttendee.js => calendar/base/src/CalAttendee.jsm
rename : calendar/base/src/calCalendarManager.js => calendar/base/src/CalCalendarManager.jsm
rename : calendar/base/src/calCalendarSearchService.js => calendar/base/src/CalCalendarSearchService.jsm
rename : calendar/base/src/calDateTimeFormatter.js => calendar/base/src/CalDateTimeFormatter.jsm
rename : calendar/base/src/calDefaultACLManager.js => calendar/base/src/CalDefaultACLManager.jsm
rename : calendar/base/src/calDeletedItems.js => calendar/base/src/CalDeletedItems.jsm
rename : calendar/base/src/calEvent.js => calendar/base/src/CalEvent.jsm
rename : calendar/base/src/calFreeBusyService.js => calendar/base/src/CalFreeBusyService.jsm
rename : calendar/base/src/calIcsParser.js => calendar/base/src/CalIcsParser.jsm
rename : calendar/base/src/calIcsSerializer.js => calendar/base/src/CalIcsSerializer.jsm
rename : calendar/base/src/calItipItem.js => calendar/base/src/CalItipItem.jsm
rename : calendar/base/src/calProtocolHandler.js => calendar/base/src/CalProtocolHandler.jsm
rename : calendar/base/src/calRecurrenceDate.js => calendar/base/src/CalRecurrenceDate.jsm
rename : calendar/base/src/calRecurrenceInfo.js => calendar/base/src/CalRecurrenceInfo.jsm
rename : calendar/base/src/calRelation.js => calendar/base/src/CalRelation.jsm
rename : calendar/base/src/calSleepMonitor.js => calendar/base/src/CalSleepMonitor.jsm
rename : calendar/base/src/calStartupService.js => calendar/base/src/CalStartupService.jsm
rename : calendar/base/src/calTimezoneService.js => calendar/base/src/CalTimezoneService.jsm
rename : calendar/base/src/calTodo.js => calendar/base/src/CalTodo.jsm
rename : calendar/base/src/calTransactionManager.js => calendar/base/src/CalTransactionManager.jsm
rename : calendar/base/src/calWeekInfoService.js => calendar/base/src/CalWeekInfoService.jsm
rename : calendar/import-export/calHtmlExport.js => calendar/import-export/CalHtmlExport.jsm
rename : calendar/import-export/calIcsImportExport.js => calendar/import-export/CalIcsImportExport.jsm
rename : calendar/import-export/calListFormatter.js => calendar/import-export/CalListFormatter.jsm
rename : calendar/import-export/calMonthGridPrinter.js => calendar/import-export/CalMonthGridPrinter.jsm
rename : calendar/import-export/calOutlookCSVImportExport.js => calendar/import-export/CalOutlookCSVImportExport.jsm
rename : calendar/import-export/calWeekPrinter.js => calendar/import-export/CalWeekPrinter.jsm
rename : calendar/itip/calItipEmailTransport.js => calendar/itip/CalItipEmailTransport.jsm
rename : calendar/lightning/components/calItipProtocolHandler.js => calendar/lightning/components/CalItipProtocolHandler.jsm
rename : calendar/lightning/components/lightningTextCalendarConverter.js => calendar/lightning/components/CalMimeConverter.jsm
rename : calendar/providers/caldav/calDavCalendar.js => calendar/providers/caldav/CalDavCalendar.jsm
rename : calendar/providers/composite/calCompositeCalendar.js => calendar/providers/composite/CalCompositeCalendar.jsm
rename : calendar/providers/ics/calICSCalendar.js => calendar/providers/ics/CalICSCalendar.jsm
rename : calendar/providers/memory/calMemoryCalendar.js => calendar/providers/memory/CalMemoryCalendar.jsm
rename : calendar/providers/storage/calStorageCalendar.js => calendar/providers/storage/CalStorageCalendar.jsm
2020-02-25 12:48:44 +02:00
Geoff Lankow
63baa60279
Bug 1616608 - Remove separate ESLint rules in calendar. r=mkmelin,pmorris,fallen
...
--HG--
extra : rebase_source : 5042b09cb7b5a489b73252a65c64fabc0b8d7eb3
extra : histedit_source : 4a89a83e1f054e061bec9f7a1fb78c1925c0a728
2020-02-20 11:24:47 +13:00
Paul Morris
9d5775e45b
Bug 1608610 - Update 'modules' paths. r=darktrojan
...
--HG--
extra : rebase_source : 49552a947fa8c03751c369e7d206d54c4f08439d
2020-01-10 22:41:34 -05:00
Geoff Lankow
24fb5a41e9
Bug 1605845 - Change all references to .xul files to .xhtml instead; rs=bustage-fix
...
--HG--
extra : rebase_source : f9df1b5f1d278b881373ffc7580aac1aabef2fa6
2019-12-24 22:30:36 +13:00
Khushil Mistry
14385c885e
Bug 1557504 - remove [array] use in xpidl from calIIcsSerializer.idl. r=pmorris
2019-11-21 11:05:15 +13:00
Khushil Mistry
aae516e304
Bug 1557504 - remove [array] use in xpidl from calIItipTransport.idl and calIPrintFormatter.idl. r=pmorris
2019-11-14 08:05:00 +01:00
Khushil Mistry
28a3c65e22
Bug 1557504 - remove [array] use in xpidl from calIItipItem.idl. r=pmorris
2019-11-14 21:03:07 +05:30
Paul Morris
b96706a8d8
Bug 1577606 - Fix 'no-useless-concat' eslint errors. r=darktrojan
2019-08-29 16:13:25 -04:00
Paul Morris
ebeef1abf8
Bug 1577606 - Reformat calendar code with eslint and Prettier. r=darktrojan
...
# ignore-this-changeset
These changes were achieved by:
1. Using eslint to re-indent calendar code with 2 space
indent instead of 4.
Done by temporarily adding the following rule to the
calendar/.eslintrc.js file:
"indent-legacy": [2, 2, { SwitchCase: 1, }],
Then temporarily turning off Prettier by adding to that
file the rule:
"prettier/prettier": "off",
Then running |mach eslint calendar/ --fix|
2. Reformatting the calendar code using Prettier.
Done by removing those two temporary additions from the
calendar/.eslintrc.js file and running
|mach eslint calendar/ --fix|.
2019-08-29 15:15:53 -04:00
Jorg K
75df2487ad
Bug 1480919 - fix typos in calendar/itip and calendar/lightning using codespell. r=darktrojan DONTBUILD
2019-03-27 19:27:30 +01:00