Commit graph

26 commits

Author SHA1 Message Date
Michael Kaply
0748631f8f Bug 1545592 - Make SanitizeOnShutdown policy more granular. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D28145

--HG--
extra : moz-landing-system : lando
2019-04-19 18:32:15 +00:00
Ivan Yung
0f5eab5423 Bug 1497934 - When about:policies#active is empty, show a message. r=felipe,flod 2019-02-18 19:16:16 -03:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Kris Maglione
2fe0de01dc Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16377

--HG--
extra : rebase_source : 6c4311387d25de425806aeb6c4691e12c9fcb855
2019-01-11 16:59:23 -08:00
Adnan Bhuiyan
034d7904bf Bug 1485636 - Add icons to the about:policies sidebar. r=felipe
In addition to the visual improvement, these icons help the responsive design of the page, because if it becomes too narrow the sidebar labels will disappear and only the icons will be displayed
2018-12-24 14:51:32 -02:00
Yushan Lin
6f15b12651 Bug 1488411 - Respond to hash changes in about:policies. r=felipe 2018-12-20 17:44:24 -02:00
Ferenc Nagy
6aa31a60fc Bug 1494598 - Restore scroll position in about:policies when navigating between sections. r=felipe 2018-12-18 18:23:51 -02:00
Coroiu Cristina
10ead38199 Backed out 2 changesets (bug 1497928, bug 1494598) for browser-chrome failures at browser/components/enterprisepolicies/tests/browser/browser_policies_macosparser_unflatten.js on a CLOSED TREE
Backed out changeset 58cd47fe1774 (bug 1494598)
Backed out changeset 425ac2d14a27 (bug 1497928)
2018-12-19 00:02:14 +02:00
Ferenc Nagy
c2d044ad20 Bug 1494598 - Restore scroll position in about:policies when navigating between sections. r=felipe 2018-12-18 18:23:51 -02:00
Michael Kaply
9a2e704eb9 Bug 1507291 - Remove concept of machine_only policies. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D11942

--HG--
extra : moz-landing-system : lando
2018-11-15 20:30:03 +00:00
Narcis Beleuzu
0a243e03d4 Backed out changeset 49bac5821786 (bug 1507291) for Linting failure on WindowsGPOParser.jsm. CLOSED TREE 2018-11-15 22:23:32 +02:00
Michael Kaply
e9630827b4 Bug 1507291 - Remove concept of machine_only policies. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D11942

--HG--
extra : moz-landing-system : lando
2018-11-15 20:02:52 +00:00
Arshad Kazmi
6cbefd2a18 Bug 1485195 - Display array policies correctly in about:policies r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D9563

--HG--
extra : moz-landing-system : lando
2018-10-23 20:20:19 +00:00
Michael Kaply
785e828e8b Bug 1474683 - Add support for importing certificates. r=flod,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8286

--HG--
extra : moz-landing-system : lando
2018-10-17 16:08:25 +00:00
Arshad Kazmi
e198ffe488 Bug 1491268 - Bookmarks policy's last field is displayed in same color like all other rows r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D7238

--HG--
extra : moz-landing-system : lando
2018-10-02 14:17:29 +00:00
Stephen A Pohl
f115950b8e Bug 1445943: Add Enterprise Policy support for macOS. r=mstange,felipe,glandium 2018-09-27 23:08:07 -04:00
Francesco Lodolo (:flod)
58aaba43c4 Bug 1488398 - Fix a few nits in policies descriptions, add localization comments r=Felipe,Pike
Differential Revision: https://phabricator.services.mozilla.com/D4937

--HG--
extra : moz-landing-system : lando
2018-09-04 14:54:02 +00:00
Felipe Gomes
a5958404b0 Bug 1488229 - Make the documentation for policies translatable. r=flod
This changeset includes revised strings for some of the policies.

Differential Revision: https://phabricator.services.mozilla.com/D4870
2018-09-03 11:34:03 -03:00
Felipe Gomes
e8abb04333 Bug 1485200 - Make the hard-coded 'machine only' string translatable. r=flod 2018-08-30 14:55:47 -03:00
Soeren Hentzschel
abb07f84d7 Bug 1487557 - Make all rows of active policies to have the same number of columns. r=felipe 2018-08-30 20:49:01 -03:00
Soeren Hentzschel
dc23cb94dc Bug 1483431 - improve design of about:policies. r=felipe 2018-08-30 18:20:25 -03:00
Kanika Saini
b8dfc69c2a Bug 1472528 - Design and implementation of about:policies page r=flod,felipe 2018-07-02 12:55:31 +05:30
Kanika Saini
e5fda270a7 Bug 1465953 - Create the basic structure for an about:policies page. r=felipe 2018-06-26 18:13:37 +05:30
Coroiu Cristina
caf49f9745 Backed out changeset a21149d9d236 (bug 1465953) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js
--HG--
extra : rebase_source : 7ae744bf8fb568992e63fb5a15d1a64d69a3cb8e
2018-07-04 23:48:08 +03:00
Kanika Saini
a79aa16a78 Bug 1465953 - Create the basic structure for an about:policies page. r=felipe 2018-06-26 18:13:37 +05:30