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

5145 Коммитов

Автор SHA1 Сообщение Дата
Sean Burke a5d312aec2 Backed out changeset d4568348a8b7 (bug 1927971) as no longer needed
--HG--
extra : amend_source : 10b9af6ff11bc48ad4d0d515d6d00c79308d034d
2024-11-19 14:10:20 -08:00
Geoff Lankow 4971d003a8 Bug 1930588 - Set agenda selection on modification only when the item was already selected. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D228626

--HG--
extra : rebase_source : 168230b9996d35ebc78aaacc88ea80ccacddea93
extra : amend_source : 96cb1fbb983f84a2ae404c6e24109ee02e5ec173
2024-11-12 20:26:13 +13:00
John Bieling 705a6ad0be Bug 1817769 - Enforce instant scroll to reduce intermittent timeouts when clicking on things after scroll. r=mkmelin,freaktechnik
While investigating the timeout in browser_timezone.js it was observed
that a synthesized mouse click on an object which was scrolled into view
does not have an effect sometimes. Enforcing instant scrolls seems to
fix it. The patch enforces instant scroll in similar test cases as well.

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

--HG--
extra : amend_source : 028ef1f2976f83176430117f538b8d3d5f2b048e
2024-11-11 17:00:04 +01:00
Geoff Lankow b022a46917 Bug 1929680 - Fix collection of boolean preferences on Glean. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D228269

--HG--
extra : rebase_source : 22fe56809c0633e952b9ec09a511007d93286051
extra : amend_source : a07d8de84b24559638edd209f96a6bf96ae5a760
2024-11-07 17:02:04 +13:00
John Bieling 56a389566e Bug 1817769 - Add more info output to better understand test timeouts of browser_timezones.js. r=arschmitz
This test fail is difficult to reproduce. Adding some more info output
to better understand where the timeout happens (it seems to always
happen in `add_setup()`.

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

--HG--
extra : moz-landing-system : lando
2024-11-08 16:54:38 +00:00
Magnus Melin 0050de548d Bug 1927760 - Make Tasks View -> Tasks operational. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D227322

--HG--
extra : rebase_source : 33d3746c97fbf3470df59cbd553d2cf112798dac
extra : amend_source : db5397d2dcbb365cbc2fb7a316112d4cf908e1aa
2024-11-01 12:23:07 +02:00
Sean Burke 9d33ad1822 Bug 1928506 - Port bug 1927706: Update our in-tree ICU to 76. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D227552

--HG--
extra : amend_source : f627cdbb8c5d49b4a0bcfa9c06045ecb905cce19
2024-10-31 19:56:19 +00:00
Geoff Lankow 46148a45a7 Bug 1927971 - Gather data on CalDAV OAuth tokens. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D227305

--HG--
extra : rebase_source : b66cd0f544e40546f70426fb90b880e0269a90c8
extra : amend_source : 4a9834575a5e6efcbaac1b22036eac704d5a3fb7
2024-10-31 02:59:50 +00:00
John Bieling 0a1f76feb7 Bug 1927813 - Do not ask for permission when opening http(s):// and webext protocol links. r=darktrojan
After the preference `security.external_protocol_requires_permission`
was removed and the app behaves now as that preference being set to
true, every usage of the external protocol service triggers a permission
prompt.

This patch stops using the external protocol service directly. Instead
we now always use `openLinkExternally()`, which was modified to add the
permission to use the associated application, so the user is not prompted.

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

--HG--
extra : rebase_source : 35f86de9e43f31e1039e2aa6b0e5c6c42e65fb9b
extra : amend_source : fa58c5f9ff9a4baef85f81ecb281ae3735b2d793
2024-10-30 15:43:35 +01:00
Geoff Lankow 13e9c44035 Bug 1927629 - Fix browser_eventDialog.js when run after 2200 UTC. r=tobyp
In most cases the string begins "Saturday, 19 October 2024, 01:00–", but if the event ends the next
day, the format is "Saturday, 19 October 2024 at 23:00 –". Note the comma changes to " at".
This test should pass in both cases.

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

--HG--
extra : rebase_source : f95e695484953aec09fcc11a6200d44870b3c15e
extra : amend_source : a13d4b1f4daa7c1de510868bd172855f64f6e6a2
2024-10-29 01:18:33 +00:00
Geoff Lankow b43c817969 Bug 1926836 - Include the time zone when formatting a time range. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D226859

--HG--
extra : amend_source : 97b4fb2a215e5b7b6355f1daec06a6a44fa17be9
2024-10-25 12:31:38 -04:00
Magnus Melin ec9bc48ffc Bug 1926845 - Fix "[fluent] Missing message in locale en-US: week-title-label" - in calendar-event-dialog-timezone.xhtml. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D226777

--HG--
extra : moz-landing-system : lando
2024-10-25 00:06:37 +00:00
Magnus Melin 2681feb3c0 Bug 1906381 - Fix intermittent comm/calendar/test/browser/views/browser_taskView.js | "\n " == "Needs Action". r=thunderbird-reviewers,babolivier
The Fluent id should have been set, but the translalation phase where the new content gets set in the DOM needs an await.

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

--HG--
extra : moz-landing-system : lando
2024-10-25 00:06:36 +00:00
Geoff Lankow f542454352 Bug 1757341 - Overhaul doMidnightUpdate so that the calendar tab gets updated at midnight. r=tobyp,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D225955

--HG--
extra : moz-landing-system : lando
2024-10-23 22:10:41 +00:00
Geoff Lankow 1e28774ac7 Bug 1922944 - Make all-day events draggable in the week view. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D226596

--HG--
extra : amend_source : 8ecef56e8c66df9fcaca0d5b2339003e97a94b96
2024-10-23 11:01:41 +01:00
Geoff Lankow e73068a2fd Bug 1901962 - Test calendar i18n with different OS settings. r=mkmelin
Using environment variables we can pretend the OS date/time settings are different from the default.

These tests check that various labels and styles are applied correctly in different locales:
- Matching the build locale (en-US).
- With the same language but in a different region (en-NZ).
- With very different weekday rules (ar-QA).
- Our most popular non-English locales (de-DE, ja-JP).

These tests only run on Linux.

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

--HG--
extra : amend_source : 522aa2287fe89a013acf643ced2816006df083f8
2024-10-22 09:08:02 +03:00
Alessandro Castellani d3c99d4cc1 Bug 1917752 - Migrate the calendar recurrence dialog to fluent. r=mkmelin,rjl,vineet
Differential Revision: https://phabricator.services.mozilla.com/D221579

--HG--
extra : amend_source : 71fe3eedfb1e2c0c98ef1501139c62d31ae7e566
2024-10-22 09:07:09 +03:00
Geoff Lankow 57782ef9cb Bug 1917411 - Stop assembling date, time, and interval strings from localised parts. r=aleca
This patch removes all (that I could find) attempts to assemble localised strings from their
various components (e.g. day + " " + monthName + " " + year) and replaces then with standard
methods using Intl.DateTimeFormatter.

After the change, the preference intl.regional_prefs.use_os_locales should behave as intended for
all calendar code. That is:
- if the pref is false, and the application and operating system use different languages (ignoring
  regional variations), the application's language will be used to format date and times.
- if the pref is true, or the both use the same language, that language will be used.

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

--HG--
extra : rebase_source : 5f2e9a6bad6df04c3cb54721a4a90d70c83c6814
2024-09-09 20:52:39 +12:00
Geoff Lankow 282f08f30a Bug 1921658 - Set CalendarBaseView.weekStartOffset after the default preferences. r=aleca
In the earliest case, `ensureInitialized` runs as tabs are restored, so always after
`setLocaleDefaultPreferences`. Unlike `connectedCallback` which runs as soon as the custom element
is defined and attached to the DOM.

It needs to happen after `setLocaleDefaultPreferences` to get the correct value if the correct
value is not 0.

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

--HG--
extra : amend_source : 493e0709b2f62a375c56ab3e31a69932401bd1c1
2024-10-18 10:26:57 +01:00
Richard Marti a144e67a10 Bug 1924437 - Simplify the styles for the old tree. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D225472

--HG--
extra : moz-landing-system : lando
2024-10-16 22:48:04 +00:00
Magnus Melin 8a975df0f0 Bug 1916063 - Don't break calendar data handling for missing start date. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D224583

--HG--
extra : amend_source : 70b366d2bbf5a19bd361ec996b7ec56ba0822c86
2024-10-09 18:51:13 +00:00
Magnus Melin a2f2951dd6 Bug 1912710 - Reinstate unifinder matching for "LOCATION", "DESCRIPTION", "URL". r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D224582
2024-10-09 17:49:06 +00:00
Magnus Melin 16337b85cd Bug 1918947 - Fix shadow/redeclare linting errors in comm/calendar. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D224640

--HG--
extra : rebase_source : 696d8f5c36cb6beb66d4909c5ff59646037f6202
extra : amend_source : d73147e6c721bed57116dece3733039765cf7a92
2024-10-08 13:03:18 +03:00
Richard Marti bf4f9ec8e8 Bug 1922998 - Fix the IMIP button dropmarker after bug 1919744. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D224694

--HG--
extra : moz-landing-system : lando
2024-10-07 21:36:05 +00:00
Magnus Melin 78c7b3bfb9 Bug 1919830 - Reinstate "All future events". r=aleca
Bug 1855900 only added All events, and Past events.
Many times you may need all future, but don't care about the past events. An all-view without past events can also be better performance.

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

--HG--
extra : rebase_source : 3bb554dba3b82e240ed6fb60d9d76c0861935703
extra : amend_source : d09e47eca4015027784ddfc1c6b950d29a26d2a0
2024-10-05 13:54:40 +03:00
Magnus Melin 004297a431 Bug 334657 - follow-up, fix linting. rs=lint DONTBUILD 2024-09-27 14:42:25 +03:00
Magnus Melin 5a7518ff13 Bug 334657 - make ics parsing more tolerant to non-utf8 data. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D223675

--HG--
rename : calendar/test/unit/data/import.ics => calendar/test/unit/data/importLatin1.ics
extra : rebase_source : 84382d48d1517b381fdbab641fb7d6315d614a0d
2024-09-27 10:34:18 +03:00
Stephan Raab 2339adbe65 Bug 1877640 - Fix Updating event doesn't always send notification to attendees r=mkmelin
If the attendee list contains the organizer of the calendar, the event is incorrectly recognized as an unanswered event and the event is updated before it is processed. This sets the dirty flag for the oldItem. When stampTime is checked, the timestamp is set to the same value so that no difference is recognized.

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

--HG--
extra : moz-landing-system : lando
2024-09-26 16:59:56 +00:00
Magnus Melin f5eb1bacb2 Bug 1915153 - let unifinder account for events that have no title. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D220518
2024-08-29 07:38:54 +00:00
Geoff Lankow a24a359679 Bug 1918010 - Fix updating the calendar views when the first day of the week pref changes. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D221908

--HG--
extra : amend_source : 14765fed576bf7cdfc542845024a661f73668bf0
2024-09-13 13:53:18 +03:00
Alessandro Castellani 1c543576ae Bug 1906593 - Ensure the calendar year is a string when displaying the interval description. r=darktrojan
### How to test

- Open Calendar
- Select the `Month` view
- Ensure the title of the view is "Month Year" without any unexpected formatting

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

--HG--
extra : moz-landing-system : lando
2024-09-06 11:08:45 +00:00
Geoff Lankow 77bf8e930d Bug 1916854 - Fix calendar printing. r=mkmelin
Fixed so that we actually print something, and some L10n nits.

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

--HG--
extra : moz-landing-system : lando
2024-09-06 11:08:44 +00:00
Magnus Melin 03004531ab Bug 1906077 - ICS calendar subscriptions should use the original URI for temporary redirects. r=aleca
To test, subscribe to https://github.com/othyn/go-calendar/releases/latest/download/gocal__community_day.ics

Also
* don't fail for cases there content-type is null
* accept for content-type=application/octet-stream where the Content-Disposition says it's an .ics

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

--HG--
extra : rebase_source : a3e7e2cc8f56bdf7e7968b1a2863bbfa8002b9a2
extra : absorb_source : 3e9d607dfd459e5ad8f87348838f9667711f8cd8
2024-09-05 13:42:16 +03:00
Magnus Melin cd1f37ff53 Bug 1733959 - There should be a button or checkbox to unselect all calendars in the Caldav wizard. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D221010

--HG--
extra : amend_source : c1bfb58b243d6e8bcef51fc3b25e3d3b0bf7adc4
2024-09-05 13:20:54 +12:00
Sergey Korablin 462d143ffc Bug 1587736 - [caldav] Choose the first email from calendar-user-address-set instead of the last one for mCalendarUserAddress;. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D218507
2024-08-04 20:58:40 +00:00
Magnus Melin bc70dfc148 Bug 1855900 - Add Past Events and All Events options to unifinder. r=aleca,leftmostcat
Parts by Geoff Lankow.

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

--HG--
extra : rebase_source : 26338545611a2facdb1e0ca6f9f489d4ffadefa6
extra : amend_source : 76944f98df4cec14db2900c50444d84f2da68d75
2024-09-02 17:09:47 +03:00
Magnus Melin daed10d50c Bug 1914792 - Port bug 1870226 to Thunderbird - Update eslint-plugin-jsdoc. r=freaktechnik
See https://hg.mozilla.org/mozilla-central/rev/06d1e6e91857

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

--HG--
extra : rebase_source : b40147a61da24053a546533aed08f0a830b082ed
2024-08-26 08:29:10 +00:00
Geoff Lankow e07a9c37b5 Bug 1909789 - Test that scopes modified during OAuth2 authentication are saved correctly. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D217668

--HG--
extra : rebase_source : dabf9c9a6941a2c5909f2a2c269962855606fe4b
extra : amend_source : 1783931cf3727c5688a5d18a9944c110cadf608e
2024-07-25 16:30:31 +12:00
Richard Marti 742308380a Bug 1912420 - Re-add the attendeerole attribute to show the correct role icon. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D219004

--HG--
extra : amend_source : 77220ea5a341d3bf0ff59c74e34a91c3a877d200
2024-08-11 13:39:20 +03:00
Alessandro Castellani a0b53129e9 Bug 1905496 - Fix incorrect unit strings for time based menuitems and add missing fluent files. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D217055

--HG--
extra : moz-landing-system : lando
2024-08-08 22:17:39 +00:00
Magnus Melin c86b3cb45a Bug 1908530 - Fix "calendar is null" error in adoptItemCallback. r=Fallen
Differential Revision: https://phabricator.services.mozilla.com/D218645

--HG--
extra : amend_source : fc27eaeb1199e257400ebf211b44ba9aea9c7aeb
2024-08-07 17:23:16 +01:00
Alessandro Castellani c9e20cee71 Backed out changeset d8300a0ffdb6 (Bug 1905496) for causing test failures. rs=bustage-fix DONTBUILD 2024-07-23 09:25:54 -07:00
Alessandro Castellani 81fdf4f8a7 Bug 1905496 - Fix incorrect unit strings for time based menuitems. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D217055

--HG--
extra : moz-landing-system : lando
2024-07-22 22:08:46 +00:00
Magnus Melin 0b09795f68 Bug 1899602 - Distribute metrics.yaml files to where they belong. r=aleca
Stop using the tb. prefix, and put the probes in component relative metrics.yaml files

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

--HG--
extra : rebase_source : ba46a84da2a78c3e00a36c94de63e45eb07afb6d
extra : amend_source : c3dc50206c65e5d3cf74605af24cf453d4dbc1e0
2024-07-20 13:38:18 +03:00
Magnus Melin ee7e203f17 Bug 1901384 - Add NAME to exported ics calendar. r=aleca,babolivier
Differential Revision: https://phabricator.services.mozilla.com/D214310

--HG--
extra : rebase_source : 93a18cac21203743b3046dbe9b7f8c4dd9da5287
extra : amend_source : 9d6ef8a6ab443fd0a01b07047f46a592ddd072dd
2024-07-18 13:43:54 +03:00
Richard Marti 5dd86d8570 Bug 1875054 - Don't rely on the system colors for the composer toolbars. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D216683

--HG--
extra : amend_source : 49c57509948bdbd5dfe6e461b590b839367c16be
extra : absorb_source : cec0057665d422c276273919727f3c886e79175e
2024-07-17 04:46:07 +00:00
Geoff Lankow 0dd0febc7a Bug 1906387 - Fix drag and drop of calendar view items. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D215829

--HG--
extra : rebase_source : ee1cd04b9727dd58bd8d7c2f8bcaaafcd316298f
extra : amend_source : ac1928464505ae925f69f6edf1c9a5fb5ea7b6d3
2024-07-05 12:17:08 +12:00
Martin Giger 357f10f63c Bug 1907249 - Fix calendar refresh dropdown. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D216283

--HG--
extra : amend_source : 74ab98c1dc7b571a26840fdfe128745aff781873
2024-07-15 14:47:01 -07:00
Geoff Lankow 91f0ac5a50 Bug 1905997 - Set day/week view header labels synchronously. r=aleca DONTBUILD CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D215991

--HG--
extra : rebase_source : 74fb2f2def16bad94e67f3e30af49b4215ac1642
extra : amend_source : 18917aa139cf28119af9dd2ab4c927594d2b67ba
2024-07-09 15:23:16 +12:00
Alessandro Castellani 8a9be8f63c Bug 1883041 - Use overflow auto instead of scroll to ensure no scrollbar is visible when the content doesn't need it. r=freaktechnik,arschmitz
#### How to test

This is more easily noticeable on Windows, but other OSs should be able to do the same.

- Enable "Always show scrollbars" in your OS.
- Ensure that the elements that require a scrollbar have it when there's real overflow.
- Ensure that an empty list or container without child elements doesn't show the scrollbar.
- Disable the "Always show scrollbars" in your OS.
- Ensure that modern overlay scrollbars are not affected by this and they appear normally when needed.

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

--HG--
extra : amend_source : 0a7640936aca39cf0741cf6795a8b6748ea52eaf
2024-07-09 15:15:15 -07:00