Commit graph

46 commits

Author SHA1 Message Date
Michael Kohler
28a650b6af Bug 1447952 - Use relative time format in the site data manager. r=johannh 2018-05-30 17:46:54 +03:00
Cosmin Sabou
5dc0c9ea8e Backed out changeset c3172bfa5d63 (bug 1447952) for frequent browser chrome failures on browser_siteData.js. CLOSED TREE 2018-05-29 22:01:04 +03:00
Michael Kohler
03f0b9dc47 Bug 1447952 - Use relative time format in the site data manager. r=johannh
Reviewers: johannh

Bug #: 1447952

Differential Revision: https://phabricator.services.mozilla.com/D1142
2018-05-26 18:10:01 +02:00
Trisha
0bb8ad97fc Bug 1451412 - Use a DocumentFragment to build the site data list r=johannh
MozReview-Commit-ID: 5TbwqwmW5Q1

--HG--
extra : rebase_source : 4c0beee0e90bb590ba5a91216fb39e951ff692a8
2018-05-24 03:49:33 +08:00
Zibi Braniecki
1c5fcde883 Bug 1453765 - Switch Fluent from warning to throwing errors when in debug/testing mode. r=Gijs
MozReview-Commit-ID: 1y7FTCPWRxb

--HG--
extra : rebase_source : fb4d20e383efd64bbdfce5ca1d78aca40716b57a
2018-05-22 20:49:29 -07:00
Zibi Braniecki
8b018a4aa5 Bug 1457021 - Migrate the JS of Preferences::SiteData to Fluent. r=flod,johannh
MozReview-Commit-ID: 5sYMU3dDTRy

--HG--
extra : rebase_source : 1c73e167c944757d3622e18a31a270084f705fb1
2018-04-23 10:12:21 -07:00
Michael Kohler
6abf9e3859 Bug 1453589 - Select next item in list when removing items in Site Data Manager. r=johannh
Select next item in list when removing items in Site Data Manager. When there
are multiple selected sites, it will select the next item after the last
previously selected item.

Differential Revision: https://phabricator.services.mozilla.com/D965
2018-04-19 13:36:11 -04:00
Margareta Eliza Balazs
db7e939b59 Backed out changeset 525f1fb9501e (bug 1453589) for ES lint failure in /builds/worker/checkouts/gecko/browser/components/preferences/in-content/tests/siteData/head.js on a CLOSED TREE 2018-04-19 16:57:30 +03:00
Michael Kohler
0b7144da8b Bug 1453589 - Select next item in list when removing items in Site Data Manager. r=johannh
Select next item in list when removing items in Site Data Manager. When there
are multiple selected sites, it will select the next item after the last
previously selected item.

Differential Revision: https://phabricator.services.mozilla.com/D965
2018-04-19 09:35:31 -04:00
Johann Hofmann
470c2e1592 Bug 1442183 - Allow multiple selection in the site data manager list. r=prathiksha
MozReview-Commit-ID: D1u3963xC6C

--HG--
extra : rebase_source : e6e04f7295c7fc354b1c4049d37f943354d6476c
2018-04-11 08:59:49 +02:00
Johann Hofmann
e8482a9496 Bug 1348223 - Part 2 - Move SiteDataManager.jsm to components and improve functionality for getting and removing by host. r=florian
This commit is in preparation of using SiteDataManager in the page info
window to display site data information for a individual hosts.

MozReview-Commit-ID: 3YmUZInvoAT

--HG--
rename : browser/components/preferences/SiteDataManager.jsm => browser/modules/SiteDataManager.jsm
extra : rebase_source : 2d48740a023f63a2ec7af06f4510ab9cbb91fc66
2018-03-22 17:48:13 +01:00
accakks
bc58be9238 Bug 1437880 -Disable "Remove Selected" button in the site data manager dialog if a website is deselected. r=prathiksha
MozReview-Commit-ID: 7YhXjg84QSx

--HG--
extra : rebase_source : 1d73d47dea437914cc9447a5d15916287308186c
2018-03-23 20:04:34 +05:30
Johann Hofmann
25f14b2ad4 Bug 1441198 - Part 1 - Use correct copy for cookies and site data in about:preferences. r=nhnt11
This mostly changes "cookies" to "cookies and site data" and amends a few
other details.

MozReview-Commit-ID: 97xTSQPw2DA

--HG--
extra : rebase_source : 63ceb2e11cad77441dbf11b298d6035081a29123
2018-02-28 09:37:48 +01:00
Johann Hofmann
eeca134ba3 Bug 1432745 - Merge the "persistent" column in the site data manager into the "usage" column. r=nhnt11
MozReview-Commit-ID: 6a2ZOhC7p3a

--HG--
extra : rebase_source : 86feb44ae8cf9852eae260c4c41cba10fe07fbfa
2018-02-21 11:06:29 +01:00
Johann Hofmann
24060848f3 Bug 1431029 - Show a "last accessed" column in the site data manager. r=Gijs
MozReview-Commit-ID: LidkPQ6kLfX

--HG--
extra : rebase_source : d26f75b949112ca19c689986fe3f142bb3007d16
2018-02-20 14:54:43 +01:00
Johann Hofmann
76c23ddfda Bug 1421737 - Part 3 - Simplify the "remove selected sites" dialog in site data management. r=Gijs
We are no longer implicitly deleting cookies when removing site data because
cookies are now listed as part of the site data manager. We're also no longer
deleting cookies based on the base domain, which makes most of the UI in the
removal dialog unnecessary. Instead of a tree box with sub domains we're now
showing a simple listbox domains to be deleted.

MozReview-Commit-ID: GWv5QVxEiiy

--HG--
extra : rebase_source : bc202a92d62ff8d4ddfd40ff4096c9ad1fdb0735
2018-02-05 17:42:54 +01:00
Johann Hofmann
0b02dd1d11 Bug 1421737 - Part 2 - Convert the siteListItem XBL binding to plain JS and add a cookies row. r=Gijs
This commit primarily intends to add cookies to the site data manager,
but while touching this code I transformed the siteListItem XBL binding to plain JS.

This also removes the #SiteDataRemoveSelectedDialog binding rule, because it is
unnecessary, <dialog> elements already have this binding.

MozReview-Commit-ID: EpTd2E0vPN9

--HG--
extra : rebase_source : 90e6666e565aaa74bd2545e13534bdebe8f090ee
2018-02-09 20:56:04 +01:00
Michael Kohler
6864cc973d Bug 1432759 - 'Remove selected' should be greyed out if no item is selected in the site data manager r=johannh
MozReview-Commit-ID: 5MejSmaVJeA

--HG--
extra : rebase_source : a4a116a9b1659ab6b4a80a7f676821530b2cf096
2018-02-05 20:39:28 +01:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Johann Hofmann
a379d5a467 Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay

--HG--
extra : rebase_source : efc9eb9a4669d9b6674c896bd6c4d5c710b73be4
2018-01-10 12:24:40 +01:00
Narcis Beleuzu
aff4a0ff80 Backed out 2 changesets (bug 1422163) for mochitest bc failure on /browser_clearSiteData.js. on a CLOSED TREE
Backed out changeset 7ab250439e7b (bug 1422163)
Backed out changeset 7eed1367d341 (bug 1422163)
2018-02-01 19:46:56 +02:00
Johann Hofmann
1dd2560f1b Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay

--HG--
extra : rebase_source : 045092865b7ad533174090a05e0282e5c1b30396
2018-01-10 12:24:40 +01:00
Narcis Beleuzu
3c03cb8435 Backed out 2 changesets (bug 1422163) for mochitest bc6 failure on /browser_clearSiteData.js. on a CLOSED TREE
Backed out changeset f8a8160484c8 (bug 1422163)
Backed out changeset 60cd03e9c5ac (bug 1422163)
2018-02-01 16:33:52 +02:00
Johann Hofmann
e4a63e7dd2 Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay

--HG--
extra : rebase_source : 045092865b7ad533174090a05e0282e5c1b30396
2018-01-10 12:24:40 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Fischer.json
a3fa59a6a0 Bug 1390675 - Preferences -> Site Data -> Settings cannot be closed with the Escape key, r=Gijs
MozReview-Commit-ID: Jb2YE6QFSMN

--HG--
extra : rebase_source : 156c61bd33a7ab7cf9e67175fed2fc52c847b982
2017-08-21 16:26:42 +08:00
Jared Wein
4837c778e7 Bug 1375883 - Replace 'sites' with 'websites' in strings for preferences since the Mozilla language guide prefers the full 'websites' term. r=mconley
MozReview-Commit-ID: GVB7wnjULL6

--HG--
extra : rebase_source : 9a9405c30202f842c60f641af8d04189de57fb69
2017-07-31 16:06:12 -04:00
Fischer.json
90c33909cd Bug 1364852 - Handle error from Services.eTLD.getBaseDomainFromHost, r=Gijs
Quota Manager could return origin which being set to eTLD (see bug 1365892 for more details) or in ipv4/ipv6. That could cause error while calling Services.eTLD.getBaseDomainFromHost. This patch handles these expected errors.

MozReview-Commit-ID: qlfb8nh8cV

--HG--
extra : rebase_source : 4072be4379c2228210eba1d643846cc2175c19bc
2017-05-18 00:29:31 +08:00
Fischer.json
41a6ce397e Part 2: Bug 1348733 - Update tests for site data manager now that we use quota storage manager, r=Gijs
The patch does
- update both the in-content and in-content-old tests
- add the offline test page for appcache testing case
- update tests for switching to Quota Manager from Permission Manager to get sites list
- add one test case of grouping sites across scheme, port and origin attributes by host
- add one test case of list site using quota usage or site using appcache

MozReview-Commit-ID: 6brLVwzmSgf

--HG--
extra : rebase_source : 81ec407bbfd9bb97828db97b2244dee19dbe7eee
2017-05-10 09:46:46 -04:00
Fischer.json
16d62f01d9 Part 1: Bug 1348733 - List sites using quota storage or appcache in Settings of Site Data, r=Gijs
This patch does:
- remove codes about counting and removing http cache per site
- group and list sites based on host across scheme, port and origin attributes
- list sites using quota usage or appcache
- sort sites descending by usage by default

MozReview-Commit-ID: 29zZTzOsC7c

--HG--
extra : rebase_source : 72788954efc917ca95e6749ba81ea90cc098e88c
2017-04-11 22:47:48 +08:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Fischer.json
a08651e908 Part 1: Bug 1354530 - Update the strings about Storage Manager according to the latest v1 specs, r=jaws
MozReview-Commit-ID: H9gCEZS7U3N

--HG--
extra : rebase_source : 95c23a122fa2c3830f9671334eb686d6a456bd6f
2017-04-07 21:04:49 +08:00
Fischer.json
613e459869 Bug 1338757 - "Remove All Shown" and button in about:preferences should use its own accesskey, r=jaws
MozReview-Commit-ID: 2ucF0GqOCJV

--HG--
extra : rebase_source : 5c1899f808ff287365e6621199b865516224a2d8
2017-02-13 11:43:37 +08:00
Fischer.json
6fba9fc139 Bug 1338036 - Switch button label from "Remove All" to "Remove All Shown" when filtering by keyword in about:preferences, r=jaws
MozReview-Commit-ID: 8iK6bg8i0uT

--HG--
extra : rebase_source : 9f44d7ba2df0cb4017d4164dd5bdd5233de9400e
2017-02-09 12:00:12 +08:00
Fischer.json
de1a3cc0dd Bug 1312380 - Should be able to remove data of all sites visible on the list in Settings of Site Data, r=jaws
MozReview-Commit-ID: 5hkmYLGGkue

--HG--
extra : rebase_source : 64c7fc7743066198c1bfd617e306412b59d48b86
2017-01-31 21:34:08 +08:00
Fischer.json
32d84fe236 Bug 1312377 - Remove selected site data in Settings of Site Data, r=jaws
MozReview-Commit-ID: 2MlnZfajM4t

--HG--
extra : rebase_source : 95468bcdfb884eec93f93274a4597173cd105a78
2016-12-19 16:57:34 +08:00
Fischer.json
144fe84987 Bug 1312374 - Search sites listed in Settings of Site Data on host, r=Gijs
MozReview-Commit-ID: J74Jg3xkJNe

--HG--
extra : rebase_source : f210762a50ec02fc3e80449b3bdc6408b0613f48
2017-01-09 11:54:14 +08:00
Fischer.json
0f6622a9e9 Bug 1323391 - Sort sites listed in Settings of Site Data, r=Gijs
MozReview-Commit-ID: ExHvd6OJNF7

--HG--
extra : rebase_source : b2db5d0fffebdd83ed118c1e09004404d4d6345a
2016-12-19 14:26:21 +08:00
Fischer.json
2684951bfc Bug 1312372 - List sites using storage in Settings of Site Data, r=jaws
MozReview-Commit-ID: HqaiLW5R8Qv

--HG--
extra : rebase_source : 24f1fbe0db943b721ada9b698e36fd769fd5a776
2016-11-25 17:35:25 +08:00