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

774 Коммитов

Автор SHA1 Сообщение Дата
Alessandro Castellani 6396ab509c Bug 381821 - Add a preference to allow horizontal scrolling on table view. r=tobyp,darktrojan
### How to test

- Use table view
- Resize columns until the elastic style pushed them back
- Access `Settings` > `General` > `Reading & Display`
- Toggle `Allow horizontal scroll` on

The message list should now have horizontal scrolling enabled
and only the columns that haven't been previously manually resized
should expand. The last column also should be resizable, allowing
more control on the layout.

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

--HG--
extra : amend_source : da2b8055924e754f3c581982ff932685a6c6180b
2024-09-26 22:37:51 +00:00
Kai Engert 13c73af5f8 Bug 1904578 - Increase timeout for cert error tests. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D222295

--HG--
extra : amend_source : 6c73bfd466f9a9104841ceba6f993aae188c94b1
2024-09-16 16:27:45 +02:00
Magnus Melin 443ddae2e7 Bug 1868517 - Remove deprecated trySTARTTLS and migrate any accounts using trySTARTTLS to alwaysSTARTTLS. r=leftmostcat
Very few users will have this, as it's not been shown in the UI for many many years.

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

--HG--
extra : moz-landing-system : lando
2024-09-12 20:44:48 +00:00
Geoff Lankow b64880963f Bug 1901962 - Fix some nits in the getMessages tests. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D220858

--HG--
extra : moz-landing-system : lando
2024-09-04 10:49:41 +00:00
Geoff Lankow 0c18ffab8c Bug 1901962 - Test message sending scenarios. r=mkmelin
These test sending messages from the compose window with a variety of connection/authentication
problems. They are closely related to the tests named browser_getMessages with the same suffixes.

Sending a message presents a variety of prompt windows to the user, particularly when something
goes wrong. I've tried to avoid writing tests that lock in this behaviour in the hope that one day
somebody will overhaul it.

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

--HG--
extra : moz-landing-system : lando
2024-09-04 10:49:40 +00:00
Geoff Lankow c206941a7b Bug 1915587 - Reset status bar meteors if they fail to stop in tests. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D220545

--HG--
extra : rebase_source : da5c6fb4307cf499042a3d00e7452fab868dd6ca
extra : amend_source : cb6d27547e1d0174be1f87ab1d3a8d72f49f0996
2024-08-29 20:21:21 +12:00
Geoff Lankow cdd7dfb0b1 Bug 1913328 - Clean up the display if the displayed folder gets deleted. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D220240

--HG--
extra : amend_source : 37a4f8e57d00b2fc23ed0c6e624b7dd7e1c83b4e
2024-08-29 07:52:39 +03:00
John Bieling 5e9b3fcf10 Backed out changeset 325ba50cc0c1 (Bug 1913328, D220240) for causing test failures. r=backout DONTBUILD
Failed build: https://treeherder.mozilla.org/jobs?repo=comm-central&revision=3920f93cc95dc3fea60352a9c967107d093cb440
Backout try: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=fddc4bb532b69f6a05f0291fc02e47fd7161bcaa

--HG--
extra : amend_source : 8f71afdcc262773a38d57356c78de175470175f3
2024-08-28 14:00:31 +02:00
welpy-cw eec75a13df Bug 1911891 - Disable test from browser_groupedBySortPersistence.js on win32 debug builds. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D219500

--HG--
extra : rebase_source : 3e3382563cd5f072820767058bb42c490169e19e
extra : amend_source : 1cac55ed801260e334ac2f3d21a340e48610121f
2024-08-28 09:56:22 +00:00
Geoff Lankow 9ace6ca1a5 Bug 1913328 - Clean up the display if the displayed folder gets deleted. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D220240

--HG--
extra : rebase_source : c1161f02563f6881b5f50b2e97d8216362984713
2024-08-28 00:27:53 +00:00
Geoff Lankow efc6cd3689 Bug 1913328 - Fix memory leak in browser_feedBodyDisplay.js. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D219248

--HG--
extra : moz-landing-system : lando
2024-08-16 12:33:31 +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
Geoff Lankow 456f2e2c69 Bug 1912723 - Fix OAuth window. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D219038

--HG--
extra : rebase_source : 7f5919a2af1551b597456dba5ac75fcb3c7dfbce
extra : amend_source : 2315bb72f5f55fa2121bc9e740f88dce983e55bd
2024-08-12 11:23:03 +01:00
welpy-cw 5917481a8c Bug 1910168 - Fix refreshing the view after a folder has been repaired. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D218663

--HG--
extra : amend_source : 40ef48f347691f3f38c5780b523006935a459dd0
2024-08-10 13:48:00 +03:00
Alessandro Castellani 8c6643b731 Backed out changeset 5b300499a027 (bug 1877326) for causing test failures. rs=backout DONTBUILD
--HG--
extra : rebase_source : 72e7068fb3e5ab02dee0b2b70c7db10deaf084ed
2024-08-06 11:41:34 -07:00
welpy-cw 0cc5158068 Bug 1908761 - Simplify and improve handling of secondary sorts in DBViewWrapper. r=aleca,babolivier
To set the secondary sort, `DBViewWrapper` lets the view sort itself twice in many cases such as
entering/leaving Quick Filter or leaving Grouped By Sort, as well as just changing the sort type
itself. Since `nsMsgDBView::Sort()` already takes the secondary sort into account, these
additional calls can be removed, which can significantly improve performance depending on the
individual sort types.

When leaving Grouped By Sort, the secondary sort type will always be set to Order Received, which
prevents having a comparably slow sort type such as by From, Recipient, or Correspondents as
secondary sort in place.

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

--HG--
extra : amend_source : 734d4576517f02968371cd35bad740906afabbfa
2024-08-06 17:15:01 +01:00
welpy-cw e9055b6f73 Bug 1909617 - Don't show "Mark Folder Read" for virtual folders with search terms. r=aleca
Without a view, there seems to be no reasonable way to mark as read only the searched messages in
the underlying folders. So I suggest this approach. The functionality is still provided by the
"Mark All Read" command when the folder is displayed (which should be fixed in bug 1909617).

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

--HG--
extra : amend_source : d5b0cd8343b7f12e0417f3566f96cca91fbd92e1
2024-08-06 17:14:10 +01:00
Alexander Schmitz 92467ea1f6 Bug 1877326 - Add resize-with-window option to pane splitter to reize the pane along with the window. r=aleca,freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D214293

--HG--
extra : moz-landing-system : lando
2024-07-31 17:44:59 +00:00
welpy-cw ddc650ee27 Bug 1905912 - Test persistance of "Grouped by Sort" in virtual folders. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D215500

--HG--
extra : moz-landing-system : lando
2024-07-31 17:44:57 +00:00
Martin Giger 2a59c6ac6a Bug 1906830 - Fix selected feed body variant in message header menu. r=arschmitz
Differential Revision: https://phabricator.services.mozilla.com/D217697

--HG--
extra : moz-landing-system : lando
2024-07-31 17:44:56 +00:00
Martin Giger a994b9af68 Bug 1909536 - Add tests for RSS feed body mode setting. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D217696

--HG--
extra : moz-landing-system : lando
2024-07-31 17:44:55 +00:00
stransky d72c53c74c Bug 1822463 - Don't use modifier key to guess D&D action but use system one. r=stransky,freaktechnik,aleca
Differential Revision: https://phabricator.services.mozilla.com/D216437

--HG--
extra : moz-landing-system : lando
2024-07-31 17:44:54 +00:00
Geoff Lankow 97a9a9ef48 Bug 1903135 - Allow adding an override for certificates with the wrong hostname. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D217353

--HG--
extra : moz-landing-system : lando
2024-07-24 10:28:58 +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
Geoff Lankow cdf4cd2967 Bug 1908303 - Fix browser_autoTreeView.js. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D216788

--HG--
extra : rebase_source : aab047deaedf03a8a334e5c6a18c98399e3773e5
2024-07-17 20:44:20 +12:00
Geoff Lankow 66f7cb7776 Bug 1908054 - Remember if the user has chosen to have the menu bar showing. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D216761

--HG--
extra : rebase_source : c4cfcce044e2ab3b4894698ccd01775ddc420fa3
2024-07-16 20:13:47 +12:00
Geoff Lankow 3e48244633 Bug 1903910 - Test that selection is restored correctly on folder switch or context menu closing. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D215462

--HG--
extra : rebase_source : a96a1bb061700e58116c325a8a6629fa088b0161
extra : amend_source : e60c04fca5b4431c7987d21a194768138f34e783
2024-06-17 16:27:12 +12:00
Geoff Lankow b02ed643e1 Bug 1903910 - Add cross-folder virtual folders to browser_mailContext.js. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D213916

--HG--
extra : rebase_source : 3f5c78b4d91d62829a0b048488cebe1fe090ef09
extra : amend_source : d86796141f320d912c8dc6041c4c7dfd9b3cff9a
2024-06-19 16:46:28 +12:00
Geoff Lankow c9381ff847 Bug 1884033 - Disable browser_tagsMenusAndKeys.js on macOS debug. rs=me
--HG--
extra : rebase_source : 3dabe6b67b3db24e9ade5c04ae1654a99ff6aa24
2024-07-17 16:36:48 +12:00
Geoff Lankow c3ed87f865 Bug 1897093 - Disable browser_mailContext.js on macOS debug. rs=me
--HG--
extra : rebase_source : c9384850f33737844b9b7740a9c5d2a0069b3f7c
2024-07-17 16:35:36 +12:00
Martin Giger b5fd6b411c Bug 1906705 - Fix message body as menu for feeds. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D216056

--HG--
extra : amend_source : 9653022da3d13799e6f8032b596d3b4c1420c603
2024-07-16 15:19:25 -07:00
Geoff Lankow 607615b8bc Bug 1845206 - Add message filters to the folder pane context menu. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D215718

--HG--
extra : rebase_source : 7bdd2fee721ac975c7f0c4710c8ea916b49d2cb8
extra : amend_source : 65f37a395d4f3993609ddf26182b3dcf041f2316
2024-07-04 14:13:31 +12:00
Alessandro Castellani 02839888b9 Bug 1906378 - Port bug 1893119: Separate nsIDragSession objects from nsIDragService. r=darktrojan
Differential Revision: https://phabricator.services.mozilla.com/D215824

--HG--
extra : moz-landing-system : lando
2024-07-04 23:30:45 +00:00
Brendan Abolivier 04bd2837db Bug 1902255 - Follow-up: fix eslint errors. rs=lint DONTBUILD 2024-07-02 17:24:29 +01:00
Alessandro Castellani a0598994e8 Bug 1902255 - Re-enable the unread and total counter in the dummy row subject line. r=babolivier
Differential Revision: https://phabricator.services.mozilla.com/D215271

--HG--
extra : moz-landing-system : lando
2024-07-02 15:45:46 +00:00
Magnus Melin 55a86ace71 Bug 1899602 - migrate tb.mails.folder_opened to glean. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D213124

--HG--
extra : rebase_source : 2624610d09681c415d0f2e185be6d3ec4caad938
2024-06-19 10:23:58 +03:00
Magnus Melin 86fcdfee99 Bug 1899602 - migrate tb.ui.configuration.pane_visibility to glean. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D213112

--HG--
extra : rebase_source : 2dec4e97792bf8f67f29c2c6277df216297e2bba
2024-06-28 12:39:54 +03:00
Magnus Melin 39c20e97e5 Bug 1899602 - migrate tb.ui.interaction probes to glean. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D213108

--HG--
extra : rebase_source : 5896eb7fbf682a099487d3f7b60de4614edcbb57
2024-06-19 12:22:32 +03:00
Magnus Melin 2da84bad9a Bug 1899602 - convert tb.websearch.usage to Glean. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D213104

--HG--
extra : rebase_source : f469b94d2506488388216c3cfe4a8bb0de00560b
2024-06-19 10:18:49 +03:00
welpy-cw c336e39b8d Bug 550286 - Try to preserve settings when repairing an IMAP folder. r=benc,darktrojan,mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D214309

--HG--
extra : amend_source : 99a7581db239769b48d12d74cd3ccd95ba0fa481
2024-06-27 10:37:27 +01:00
Alessandro Castellani c15d42a67d Bug 1901386 - On drag-n-drop only interact with the dragged folder if outside the current selection map. r=darktrojan
#### How to test

- Create multiple folders (folderA, folderB, folderC)
- Select folderA.
- Click and drag (without selecting) folderB and drop it somewhere else.
- Ensure only folderB was moved and the selection remains on the unmoved folderA.

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

--HG--
extra : amend_source : e1acc57a694a6416300eac858089bd9cb3c4beb9
2024-06-27 10:36:49 +01:00
welpy-cw cbad8b7f16 Bug 1904191 - Fix availability of cmd_markReadByDate. r=freaktechnik
This makes cmd_markReadByDate available under the same circumstances as cmd_markAllRead, i.e. whenever a folder with some unread messages is selected.

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

--HG--
extra : amend_source : 03335b55a4198482c6f7d4361d5fe7a19b7d35a7
2024-06-27 10:34:38 +01:00
Martin Giger 2a6ae34d44 Bug 1901154 - Add test for AccountManagerUtils. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D214556

--HG--
extra : moz-landing-system : lando
2024-06-24 22:21:18 +00:00
Martin Giger 5812c7990e Bug 1904035 - Add unit tests for LinkHelper. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D214547

--HG--
extra : amend_source : 32520d44a0d06921d832370a90df41820d6396f9
2024-06-24 15:54:06 +01:00
Geoff Lankow 14260887e2 Bug 1904266 - Port bug 1835983: Fix tests that would break with dom.security.https_first enabled. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D214680

--HG--
extra : moz-landing-system : lando
2024-06-23 23:25:51 +00:00
Geoff Lankow 60cd50fde8 Bug 1902549 - Fix saving and restoring the selection of a synthetic view. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D213704

--HG--
extra : rebase_source : be3d147c3ca6866c2f28dedb2fa6d634dd47fbec
extra : amend_source : 90a388f333c8485f26e4d5c01e094cfb537be468
2024-06-14 13:02:58 +12:00
Geoff Lankow fe272d5380 Bug 1881153 - Wait for status bar meteors to stop when waiting for connection idle. r=mkmelin
This waits until the status bar progress meter is not active and not about to become active
whenever promiseServerIdle is called. That should help prevent the status bar getting confused by
multiple connections coming and going.

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

--HG--
extra : rebase_source : e4e7e7736d2b5f643ac3fdad67d3765d13e74c56
extra : amend_source : 4b73b582bdb1d9481d31e7a0e68a77f377dd4c46
2024-06-19 22:40:02 +12:00
Alessandro Castellani a561dfc7af Bug 1903090 - Don't mark a message with hasUnread or hasNew if only the parent message is unread/new. r=mkmelin
#### How to test

- Have a threaded message and expand it.
- Mark the parent message as **unread**.
  - Ensure the "Replies" button in the parent message doesn't show the unread indicator.
- Mark the parent message as **read**.
- Mark a child message as **unread**.
  - Ensure the "Replies" button in the parent message shows the unread indicator.
  - Ensure the parent message doesn't get styled as unread.

In cards view is more visually obvious but it also matches the logic for table view.
Child unread in table view are represented with an underline style on the parent message.

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

--HG--
extra : moz-landing-system : lando
2024-06-20 22:10:55 +00:00
Geoff Lankow 9ec5c2321c Bug 1830262 - Stop preventing thread pane sort by a hidden column. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D214057

--HG--
extra : rebase_source : 34ee36cdb52ae6a15464fa65f6413ea96224ef90
extra : amend_source : 06b05f798a38c9915e928aa7766fc2f3f35fa0dc
2024-06-18 12:25:33 +12:00
Geoff Lankow 58b68266cf Bug 1902942 - Repair browser_mailContext.js data. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D213903

--HG--
extra : rebase_source : 4a7c79aafece46fff71d76cb058eac1f9144dc8c
extra : amend_source : 8c68f49fdb2331bef2e0e59ef365fc445868af41
2024-06-14 17:23:58 +12:00