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

958 Коммитов

Автор SHA1 Сообщение Дата
Geoff Lankow 61a9cafb6f Bug 1795797 - Await CalDAVServer.putItemInternal wherever it is called. r=mkmelin
I missed one of these in a review comment. It turns out there are many calls which do not await, although it doesn't appear to make any difference.

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

--HG--
extra : moz-landing-system : lando
2022-10-24 22:35:42 +00:00
Geoff Lankow a699e74dc8 Bug 1795638 - Update timezones to 2022e. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D159489

--HG--
extra : amend_source : 84e6ed96af86f86116cf82870b24e9f8e7a0f33a
2022-10-24 21:31:26 +11:00
Sean Burke 9928839e0c Bug 1685414 - switch Thunderbird OAuth2 to desktop client auth. r=darktrojan,sancus
Differential Revision: https://phabricator.services.mozilla.com/D158588

--HG--
extra : amend_source : 78ba5271eed2551d41af5ddcc68c2d947ff4bd09
2022-10-23 21:16:38 +11:00
Geoff Lankow 2d4ede7228 Bug 1795797 - Test CalDAV with multiple requests needed to collect all items. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D159567

--HG--
extra : moz-landing-system : lando
2022-10-19 04:48:05 +00:00
Martin Giger 3855b92653 Bug 1796010 - Migrate toolkit/modules imports in calendar/ to ESM. r=mkmelin
Depends on D159645

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

--HG--
extra : moz-landing-system : lando
2022-10-19 04:48:04 +00:00
Martin Giger 8ab1088f3b Bug 1795307 - Migrate intl/locale imports to ESM. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D159394

--HG--
extra : amend_source : f86b60db40e0094a317c6028a087d87b0e1fc2dc
2022-10-15 21:16:35 +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
Geoff Lankow de9e8946a9 Bug 1794575 - Fix browser_utf8.js after HTML serialization changes. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D159109

--HG--
extra : moz-landing-system : lando
2022-10-11 21:59:46 +00:00
Sean Burke 243086e122 Bug 1791038 - eliminate stray ical.js-incompatible timezone def. r=#thunderbird-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158801
2022-10-10 18:33:31 +00:00
Lasana Murray 71a28e4b09 Bug 1791220 - Follow-up: Adjust test for platform specific clock format. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D158784
2022-10-07 17:28:08 +00:00
Geoff Lankow ec42480be1 Bug 1792287 - Update timezones to 2022d. r=mschroeder
Differential Revision: https://phabricator.services.mozilla.com/D158604

--HG--
extra : rebase_source : 96d098becd18214df0dbf79e3a68ec3057f3c2a4
2022-10-05 11:02:06 +13:00
Lasana Murray 0bcca834d4 Bug 1791220 - Use cal.dtz for formatting the duration of an invitation. r=aleca,leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D157570

--HG--
extra : absorb_source : 3ee4dfc3613b454bad4d628a6af8248c62fd54ad
2022-10-05 21:49:45 +13:00
Rob Lemley c098c97425 Bug 1792817 - Port bug 1792365: Migrate some toolkit module imports to ESM. r=mkmelin
../mach tb-esmify --upstream-imports calendar --prefix=toolkit/
../mach tb-esmify --upstream-imports chat --prefix=toolkit/
../mach tb-esmify --upstream-imports mail --prefix=toolkit/
../mach tb-esmify --upstream-imports mailnews --prefix=toolkit/

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

--HG--
extra : amend_source : e4e2791bd957bf16ed1907589c3c18ad5f0ec618
2022-09-30 20:44:14 +10:00
Geoff Lankow eb8fa81497 Bug 1792923 - Return early in CalDAV request handlers if the server sends an error code. r=#thunderbird-reviewers,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D158228

--HG--
extra : amend_source : da09a827e531a4c62db85a2e5e59442010f7daab
extra : histedit_source : aaec6ab8683e60301271ccb958d1c2245a3f10f6
2022-09-30 12:07:09 +13:00
Geoff Lankow a0c7dc2f0c Bug 1792124 follow-up - Fix broken test. rs=bustage-fix
Fixes the test by pretending to be offline before running it, and cleans up some names I missed when renaming things.

--HG--
extra : rebase_source : 58411d25452813b003945d2ea8f5dc4008c351b8
extra : histedit_source : 112ebe4dca118c0bc158df9b531ab357d7ccd06d
2022-09-28 14:18:13 +13:00
Geoff Lankow e0d37e029e Bug 1792124 - Test for shared calendar database connections. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D158184

--HG--
extra : moz-landing-system : lando
2022-09-27 21:46:33 +00:00
Geoff Lankow ee23005738 Bug 1790339 - Unfold ICAL strings stored in calendar databases before use. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D157182

--HG--
extra : rebase_source : 852c06ced85c83f8bc3fd8aa6afbe5ca0f8bc896
extra : amend_source : f402f7a7fb19ca1d80968fcdeee16609fd21939b
extra : histedit_source : 7161e61788d557a4115b81fa42cc33c79a1f7851
2022-09-13 16:01:11 +12:00
Geoff Lankow 539a14f537 Bug 1791203 - Use the selected Today Pane date when creating new events from the Today Pane. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D157608

--HG--
extra : amend_source : fa39c6ed3a763cf7a9b19e013621bf559b67c1d1
2022-09-19 20:33:56 +10:00
Geoff Lankow c28571a650 Bug 1788828 - Stop using XPCOM to instantiate calendar classes. r=leftmostcat
Rather than replace every call to `cal.create...` (there are a LOT) it's easier just to replace what those functions do. The overhead of a single function call is negligible.

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

--HG--
extra : amend_source : fd4ec5e92ca38cd5fed5915309e3f267cfa56889
2022-09-12 17:54:04 +10:00
Geoff Lankow 29efbc9f8f Port Bug 1709150 - Linter rule to make `https` the default for all kind of tests we add. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D156806

--HG--
extra : rebase_source : 7f45adddcd7f3457807e5643568071199c530667
extra : amend_source : b5c7f54f6d748b969f43fb488ac5362f2c5e5c19
2022-09-08 21:52:37 +12:00
Sean Burke d84ea84248 Bug 1786971 - consolidate timezone provider and service interfaces. r=darktrojan,lasana
Differential Revision: https://phabricator.services.mozilla.com/D155541

--HG--
rename : calendar/base/public/calITimezoneProvider.idl => calendar/base/public/calITimezoneService.idl
2022-09-08 01:04:13 +00:00
Micah Ilbery b3f0046f92 Bug 1786417 - Drop unneeded items from App Menu. r=nicolai,aleca
Differential Revision: https://phabricator.services.mozilla.com/D155494

--HG--
extra : moz-landing-system : lando
2022-08-31 22:33:52 +00:00
Geoff Lankow fc256b5150 Bug 1787097 - Remove libical. r=leftmostcat
Differential Revision: https://phabricator.services.mozilla.com/D155539

--HG--
rename : calendar/base/backend/icaljs/calDateTime.js => calendar/base/src/CalDateTime.jsm
rename : calendar/base/backend/icaljs/calDuration.js => calendar/base/src/CalDuration.jsm
rename : calendar/base/backend/icaljs/calICSService.js => calendar/base/src/CalICSService.jsm
rename : calendar/base/backend/icaljs/calPeriod.js => calendar/base/src/CalPeriod.jsm
rename : calendar/base/backend/icaljs/calRecurrenceRule.js => calendar/base/src/CalRecurrenceRule.jsm
rename : calendar/base/src/calTimezone.js => calendar/base/src/CalTimezone.jsm
rename : calendar/base/backend/icaljs/calICSService-worker.js => calendar/base/src/calICSService-worker.js
rename : calendar/test/unit/head_consts.js => calendar/test/unit/head.js
rename : calendar/test/unit/xpcshell-shared.ini => calendar/test/unit/xpcshell.ini
extra : rebase_source : 8e25080fcc1e792d687e6bb49c69f65d3c8e07ba
2022-08-25 15:54:49 +12:00
Geoff Lankow 5bf021216a Bug 1783585 - Delay most calendar database read operations until after Thunderbird start-up. r=mkmelin
Depends on D153906

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

--HG--
extra : moz-landing-system : lando
2022-08-28 22:58:27 +00:00
Geoff Lankow 79cb611ce6 Bug 1785971 - Fix and test calendar mini-month time zone awareness. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D155185

--HG--
extra : rebase_source : 4ed8d166155e1ac1ea049e0098c550343bbceeb2
extra : histedit_source : 04987c68539d6ef8712c5a82c9ad8b788395ad38
2022-08-18 22:42:13 -07:00
Magnus Melin 1de28ff4bf Bug 1781020 - For account setup show the found calendars and address books at first show. r=aleca
Also limit the list height so people who have 100s of calendars can find the connect all (or not).

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

--HG--
extra : rebase_source : 95e534761e2a0a9896e57230c4908380efc288d6
extra : amend_source : b05a2c464212a0c7a7de7d10fc338958689f91b0
2022-08-21 20:11:15 +10:00
Geoff Lankow 56aa17f11f Bug 1784230 - Update timezones to 2022b. r=mschroeder
Differential Revision: https://phabricator.services.mozilla.com/D154359

--HG--
extra : rebase_source : a21093b49b69f8b5c4c144c4861c93dd28db6ba2
extra : histedit_source : 8f19561cfa7e8499a2d68d655a43c0bf12f9d822
2022-08-11 20:26:57 +12:00
Magnus Melin 8928aa83cd Bug 1776851 - Q encoding should use uppercase characters according to RFC 2047. r=rnons
Differential Revision: https://phabricator.services.mozilla.com/D153556

--HG--
extra : rebase_source : 82d4f4edb48d5cba9227b5127f4fe4ea0c561cab
extra : amend_source : 90f2cfaba486cd0ef132b825d7c67f808554dd9c
2022-08-04 14:54:01 +10:00
Lasana Murray 9ca82eb836 Bug 1748449 - Part 4: Hide invitation display when switching tabs or folders. r=aleca
Also hides the message body when the invitation display is shown.

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

--HG--
extra : amend_source : 5d38d1ba72b8b8f1659a343676114f25e80de7c6
2022-07-28 20:30:56 +10:00
Geoff Lankow 5dce209722 Backed out changeset f6baa37ea7ae (bug 1748449) which landed with a broken test. 2022-07-27 22:22:30 +12:00
Lasana Murray efa2ae47c8 Bug 1748449 - Part 4: Hide invitation display when switching tabs or folders. r=aleca
Also hides the message body when the invitation display is shown.

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

--HG--
extra : histedit_source : 86d839553c7570a30f7cf6411caaeb21b981759b
2022-07-26 20:57:36 +00:00
Geoff Lankow 4bee93af72 Bug 1780993 - Move calendar Telemetry data collection to an idle task. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D152610

--HG--
extra : moz-landing-system : lando
2022-07-25 22:27:52 +00: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
Geoff Lankow fbd6ddff39 Bug 1779474 follow-up - Fix a broken test. rs=bustage-fix
--HG--
extra : rebase_source : eb5566aa9f2eda78edb42db486aad80276e65017
2022-07-15 15:32:50 +12:00
Micah Ilbery 309d4f911a Bug 1779474 - Implement Supernova icons in calendar view r=Paenglab
Differential Revision: https://phabricator.services.mozilla.com/D151760
2022-07-14 15:32:18 +00:00
Lasana Murray f589563d78 Bug 1759590 - Request longer timeout for browser_impipBarExceptionCancel.js r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D151603

--HG--
extra : amend_source : 3b2cb075c52b813970642694ff1b203d1edccb50
extra : absorb_source : 050e0ba4bb1f5e33afa4f8cf8bb11128fa1370e9
extra : histedit_source : a5746bbfe80100002a7e087f9f1411618954e458
2022-07-12 13:27:51 +00:00
Lasana Murray 734c818805 Bug 1759590 - Add tests for cancelling recurring event exceptions. r=#thunderbird-reviewers,darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D150415

Depends on D150294

--HG--
extra : histedit_source : 6ad4d91e7e163623f1ea4eaf4837dbca3de515a1
2022-07-11 21:57:23 +00:00
Lasana Murray 50f934d610 Bug 1759590 - Add tests for repeat and non-repeat cancellations. r=#thunderbird-reviewers,darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D150294

--HG--
extra : histedit_source : d8fd40e5ad22be32e0c8cd4672f1dec025e646e8
2022-07-11 21:57:19 +00:00
Sean Burke 7612aa80c9 Bug 1606357 - allow adjusting timezone based on system timezone. r=darktrojan,aleca
Differential Revision: https://phabricator.services.mozilla.com/D149934

--HG--
extra : amend_source : 8386812c2e1661b7015ea08ea15479f0b85d4083
2022-07-07 16:35:30 +00:00
Geoff Lankow adfb9f5345 Bug 1776752 follow-up - Fix a broken test. r=#thunderbird-reviewers,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D150533

--HG--
extra : amend_source : b56985c2ab4fee5f30abe19aedc50e538cb27d34
extra : histedit_source : dd04c542b1a26e7912a673ed9e1fe2a31a7cf00c
2022-06-29 19:50:42 +12:00
Geoff Lankow 630bd80f17 Port bug 1773740 - Run `mach -l eslint --fix` with use-isInstance changes. rs=linting
--HG--
extra : histedit_source : 08c161ea96c22c0338311c7f7d09342fbbdc3b94
2022-06-29 16:22:22 +12:00
Lasana Murray e603416531 Bug 1774284 - Add unit tests for the CalTransactionManager and related classes. r=thunderbird-reviewers,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D149596

--HG--
extra : moz-landing-system : lando
2022-06-26 05:30:55 +00:00
Lasana Murray bbca45d3e7 Bug 1774284 - Remove nsITransactionManager usage from CalTransactionManager. r=thunderbird-reviewers,freaktechnik
Looking at the C++ code, I don't think `nsITransactionManager` provides any major benefits or features and we already
re-implement some of the functionality so I removed its use for a pure JS implementation.
This way we can better support the async nature of these operations.

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

--HG--
extra : moz-landing-system : lando
2022-06-26 05:30:55 +00:00
Magnus Melin 4e4c83d9ba Bug 1774152 - Remove Cu.importGlobalProperties from JSMs. r=freaktechnik
grep -rEl Cu.importGlobalProperties --exclude-dir=.hg --exclude-dir=suite --include="*.jsm" --exclude=".*" . | xargs xargs sed -i -e '/Cu.importGlobalProperties/d'

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

--HG--
extra : rebase_source : c348c4639f26a45abb43e4592e0d5c8ef5adeb25
2022-06-17 12:50:06 +03: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 3126f9c83e Bug 1770984 - Do not support "SECONDLY" or "MINUTELY" recurring events. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D148441

--HG--
extra : amend_source : 1eeabd4812d478c083f9df44cf6959d0be2cd150
2022-06-08 19:42:26 +03:00
Adrien RYBARCZYK a692da7ec2 Bug 1759486 - Invite Attendees interface issues, r=darktrojan.
Differential Revision: https://phabricator.services.mozilla.com/D141115

--HG--
extra : rebase_source : d53cdf8f3be81ac03ea908aba12c6117f36c6a67
extra : amend_source : bd74371923cef255e3231578d54971b7a9cee7a7
2022-06-01 22:21:53 +12:00
Lasana Murray 5ee52ff5d4 Bug 1752043 - Wait for calendar operations to complete in test_alarmservice.js. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D147108

--HG--
extra : amend_source : d5509d1c62ecbf0d3b8cf364b3ea8caf8c399a14
2022-05-26 20:32:40 +03:00
Lasana Murray c2ad00d12b Bug 1770233 - Exclude home calendar when disabled or not used. r=thunderbird-reviewers,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D146865

--HG--
extra : moz-landing-system : lando
2022-05-24 22:31:08 +00: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