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

95 Коммитов

Автор SHA1 Сообщение Дата
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
Geoff Lankow 90171e45d9 Bug 1534155 - Stop ignoring no-undef linter rule in calendar; r=Fallen 2019-03-15 11:03:39 +13:00
Geoff Lankow 854b5cd72c Bug 1530532 - Minimise uses of Preferences.jsm; r=Fallen DONTBUILD 2019-03-05 21:58:09 +13:00
Geoff Lankow 0a77384a34 Bug 1520643 - Port bug 1514594: Change all call sites of ChromeUtils.import() to the "new" scheme; rs=bustage-fix DONTBUILD 2019-01-30 20:53:39 +13:00
Geoff Lankow aea48ffad0 Bug 1520643 - Port bug 1514594: Change import call sites using kmag's script (calendar/). rs=bustage-fix,jorgk 2019-01-29 11:24:57 +01:00
Martin Schroeder 957d0cd0bf Bug 1458367 - Mass replace the Components.interface/Components.utils uses with Ci/Cu in Calendar. r=MakeMyDay 2018-09-23 01:20:13 +02:00
aceman 2f33025190 Bug 342632 - Adapt callers to defaultAccount being possibly null - calendar/. r=Fallen 2018-11-19 00:56:50 +01:00
Geoff Lankow 3e7829922b Bug 1487572 - Rename mailServices.js to MailServices.jsm. r=mkmelin
--HG--
rename : mailnews/base/util/mailServices.js => mailnews/base/util/MailServices.jsm
extra : rebase_source : 7ecd648075015c893ae9c8e4860541744261557c
2018-08-31 12:43:20 +12:00
Geoff Lankow b641cb088b Bug 1480393 - Explicitly declare what is being imported with ChromeUtils.import; r=Fallen 2018-08-22 10:44:43 +12:00
MakeMyDay e5d45eac37 Bug 1238874 - Streamline email subject strings for imip transport. r=philipp 2018-07-04 13:36:47 +02:00
Philipp Kewisch aa45564f77 Bug 1457087 - Replace use of XPCOMUtils.generateQI where possible. r=MakeMyDay
MozReview-Commit-ID: 1kMFGQDeANj
2018-05-04 13:04:24 +02:00
Philipp Kewisch 9680905f50 Bug 1440490 - Move l10n related functions into calL10NUtils.jsm - part 4 - Migrate getLtnString. r=MakeMyDay
MozReview-Commit-ID: DRN181PLsSh

--HG--
extra : rebase_source : b7d2a0f86d7801cc029ce594e7c77b1e89291f13
2018-02-22 07:47:47 +01:00
Philipp Kewisch 092d91438f Bug 1439868 - Move email/scheduling related functions into calEmailUtils.jsm and calItipUtils.jsm - automatic changes itip. r=MakeMyDay
MozReview-Commit-ID: 80Hil54sz5u

--HG--
extra : rebase_source : db1906bc5ef393d31026496f26f03e23751ff149
2018-02-21 07:37:07 +01:00
Philipp Kewisch abade85d87 Bug 1439868 - Move email/scheduling related functions into calEmailUtils.jsm and calItipUtils.jsm - automatic changes email. r=MakeMyDay
MozReview-Commit-ID: If8I5zSBlax

--HG--
extra : rebase_source : 23847140d898132a9f57bee52526a31ea073d2a5
2018-02-21 07:35:35 +01:00
MakeMyDay 2f3cba9a33 Bug 463402 - Remove E-Mail notification dialogs - Part 2: imip bar;r=philipp
- providing the option to accept/decline an invitation from mail view with or
  without notifying the organizer
- re-introcunding separate buttons for accept and tentative in invitation emails
  (having a pref to switch to 3 button mode, disabled by default)

--HG--
extra : rebase_source : cd27387ee6fdb704145044714df0d2ee4655bea9
2018-03-03 16:49:41 +01:00
makemyday@gmx-topmail.de f65c0a39f9 Bug 463402 - Remove E-Mail notification dialogs - Part 1: processing;r=philipp
- adding support for processing in different response modes
- removing compatibility mode for OL 2002 and earlier

--HG--
extra : rebase_source : 20b8933d72ed6220a03d881a93c2dfdb8061a7fc
2018-03-11 13:59:42 +01:00
Philipp Kewisch 0922eb917e Bug 1436488 - Move window related functions into calWindowUtils.jsm - automatic changes. r=MakeMyDay
MozReview-Commit-ID: 1ruRja2emWp

--HG--
extra : rebase_source : c7834ff8ff00c6462c1000108b5ab3f91c43b117
2018-02-03 14:51:15 +01:00
Philipp Kewisch ffa3049d17 Bug 1434737 - Move to ChromeUtils.import() - Calendar part. r=MakeMyDay
MozReview-Commit-ID: 4ahbZ5P9Ad
2018-01-31 13:31:28 +01:00
Martin Schroeder 6aeb802c76 Bug 885910 - Remove comments and code specific to Sunbird from once shared files (part 2). r=MakeMyDay 2018-01-07 14:31:29 +01:00
eslint 6105d979dd Bug 1417450 - Fix eslint after upgrade to v4. r=MakeMyDay
MozReview-Commit-ID: Ao9ccbj1jQ8

--HG--
extra : rebase_source : 20da198c5e85eaef0c1fd8811e83337acdb26592
2017-11-15 15:24:49 +01:00
MakeMyDay 2a4a50bbfa Bug 1225784 - Deal properly with incoming counter proposals;r=philipp 2016-12-04 13:35:52 +01:00
eslint 8f4ac80114 Bug 1280898 - Set up eslint for calendar files - enable no-case-declarations rule. r=MakeMyDay
MozReview-Commit-ID: 4A9kFNothg2

--HG--
extra : rebase_source : f916757d3102b2fb9dd149fc461a5a4bfd8630ce
2016-07-08 18:36:48 +02:00
eslint 0e8ac31efa Bug 1280898 - Set up eslint for calendar files - enable id-length rule. r=MakeMyDay
MozReview-Commit-ID: 1eaufSiw4BF

--HG--
extra : rebase_source : 4648eff55c86b668618abe888e0fe9d4f02367cb
2016-07-16 02:20:06 +02:00
eslint b957f62914 Bug 1280898 - Set up eslint for calendar files - enable no-negated-condition rule. r=MakeMyDay
MozReview-Commit-ID: DPlHUl3VbHA

--HG--
extra : rebase_source : be8ae1f8a20a50731c63a00021fb607d5582f1a9
2016-07-08 14:11:31 +02:00
eslint 3f579eeb51 Bug 1280898 - Set up eslint for calendar files - enable func-names rule. r=MakeMyDay
MozReview-Commit-ID: DgsK9FXLRFz

--HG--
extra : rebase_source : 393016ec04b61637eb6f0da13a1f23fe6d9937e5
2016-07-08 14:09:04 +02:00
eslint 2830025be3 Bug 1280898 - Set up eslint for calendar files - enable quotes rule. r=MakeMyDay
MozReview-Commit-ID: HCcoCsa0u71

--HG--
extra : rebase_source : 6904202bdd7604ec3c39db9aa33f67a0de5fd227
2016-07-08 14:05:19 +02:00
eslint fefb69ed46 Bug 1280898 - Set up eslint for calendar files - (almost) enable no-extra-parens rule. r=MakeMyDay
MozReview-Commit-ID: AIxffiiJaCp

--HG--
extra : rebase_source : 22f55956c2faa4211a642e2c2a6e81ded0cab5a8
2016-07-08 14:03:51 +02:00
eslint ac050229e7 Bug 1280898 - Set up eslint for calendar files - enable no-fallthrough rule. r=MakeMyDay
MozReview-Commit-ID: 823Ytm7r5EJ

--HG--
extra : rebase_source : 144ebebce80ab58bb113b27f2decc69fcc9db882
2016-07-08 14:01:53 +02:00
eslint 0a3b9a5576 Bug 1280898 - Set up eslint for calendar files - enable no-unused-vars rule. r=MakeMyDay
MozReview-Commit-ID: 5RE9QCjTKpf

--HG--
extra : rebase_source : 8b6d0589d7303a76a42c2aed0c57c0f7f6086c69
2016-07-08 11:19:31 +02:00
eslint 4a9acce0d7 Bug 1280898 - Set up eslint for calendar files - enable semi rule. r=MakeMyDay
MozReview-Commit-ID: 6uLD7JQnPWh

--HG--
extra : rebase_source : adb46340594f046ef37bc702ce0569f5b34a1591
2016-07-08 11:19:24 +02:00
eslint ee144c880f Bug 1280898 - Set up eslint for calendar files - enable no-unreachable rule. r=MakeMyDay
MozReview-Commit-ID: GQjP6qIUviB

--HG--
extra : rebase_source : acb839bc8e142bf3219cbbf963bb3c05c73c4d33
2016-07-08 11:19:22 +02:00
eslint 0aa9d1f2cf Bug 1280898 - Set up eslint for calendar files - enable space-before-function-paren rule. r=MakeMyDay
MozReview-Commit-ID: EY2mfQpHGch

--HG--
extra : rebase_source : ff05243e39d5b6e41be0c9c8acec0340c9c310fb
2016-07-08 11:19:21 +02:00
eslint 3947ae56b1 Bug 1280898 - Set up eslint for calendar files - enable no-multi-spaces rule. r=MakeMyDay
MozReview-Commit-ID: KLQiUBzNctb

--HG--
extra : rebase_source : b1e2b96760b6059f0abe45c381767a4796c74ca4
extra : histedit_source : 1700c6fa53d87270f5811c95fd894cf70eb8b1e3
2016-07-08 11:19:05 +02:00
Fredrik de Vibe 39084907ab Bug 1251484 - Make it configurable whether to prefix subjects of emails with event invitations. r=MakeMyDay 2016-04-07 00:26:58 +02:00
MakeMyDay 17e9a1a979 Bug 1212072 - Add unit tests for invitation code;r=philipp 2015-11-17 14:43:49 +01:00
Magnus Melin 9d168e83df Bug 1209777 - part3: adapt comm-central for bug 589199 (top level const/let change). r=mconley, fallen, jcranmer, aleth. a=mkmelin on CLOSED TREE
Created by this script:
 find mail/ mailnews/ calendar/ chat/ im/ testing/ -type f -iname *.js* -exec sed -i -E 's/^(const|let) /var /g' {} \;
2015-10-11 00:23:56 +03:00