Commit Graph

25 Commits

Author SHA1 Message Date
Ivan Yung
22fc9fae31 Bug 1497934 - When about:policies#active is empty, show a message. r=felipe,flod 2019-02-18 19:16:16 -03:00
Myk Melez
5ecc2c1225 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
2019-01-30 17:26:25 +00:00
Kris Maglione
856fa07b17 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
2019-01-17 10:18:31 -08:00
Kris Maglione
f498964d86 Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16377
2019-01-11 16:59:23 -08:00
Adnan Bhuiyan
473112e15a 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
c2b59f6616 Bug 1488411 - Respond to hash changes in about:policies. r=felipe 2018-12-20 17:44:24 -02:00
Ferenc Nagy
65e03d15ea Bug 1494598 - Restore scroll position in about:policies when navigating between sections. r=felipe 2018-12-18 18:23:51 -02:00
Coroiu Cristina
6e31a6fd5a 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
c688f48021 Bug 1494598 - Restore scroll position in about:policies when navigating between sections. r=felipe 2018-12-18 18:23:51 -02:00
Michael Kaply
2e76682567 Bug 1507291 - Remove concept of machine_only policies. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D11942
2018-11-15 20:30:03 +00:00
Narcis Beleuzu
6ebe1dfa22 Backed out changeset 49bac5821786 (bug 1507291) for Linting failure on WindowsGPOParser.jsm. CLOSED TREE 2018-11-15 22:23:32 +02:00
Michael Kaply
4cc52db164 Bug 1507291 - Remove concept of machine_only policies. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D11942
2018-11-15 20:02:52 +00:00
Arshad Kazmi
36c0acb8f0 Bug 1485195 - Display array policies correctly in about:policies r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D9563
2018-10-23 20:20:19 +00:00
Michael Kaply
ad50cd0dad Bug 1474683 - Add support for importing certificates. r=flod,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8286
2018-10-17 16:08:25 +00:00
Arshad Kazmi
7f58f9012f 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
2018-10-02 14:17:29 +00:00
Stephen A Pohl
d6736fdb75 Bug 1445943: Add Enterprise Policy support for macOS. r=mstange,felipe,glandium 2018-09-27 23:08:07 -04:00
Francesco Lodolo (:flod)
152a1df3ca Bug 1488398 - Fix a few nits in policies descriptions, add localization comments r=Felipe,Pike
Differential Revision: https://phabricator.services.mozilla.com/D4937
2018-09-04 14:54:02 +00:00
Felipe Gomes
4bc09a8e18 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
077f12e2a3 Bug 1485200 - Make the hard-coded 'machine only' string translatable. r=flod 2018-08-30 14:55:47 -03:00
Soeren Hentzschel
c50d6e169b 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
348cd5204e Bug 1483431 - improve design of about:policies. r=felipe 2018-08-30 18:20:25 -03:00
Kanika Saini
b1191ee1db Bug 1472528 - Design and implementation of about:policies page r=flod,felipe 2018-07-02 12:55:31 +05:30
Kanika Saini
8cd149eb53 Bug 1465953 - Create the basic structure for an about:policies page. r=felipe 2018-06-26 18:13:37 +05:30
Coroiu Cristina
527d80195f Backed out changeset a21149d9d236 (bug 1465953) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js 2018-07-04 23:48:08 +03:00
Kanika Saini
925f544365 Bug 1465953 - Create the basic structure for an about:policies page. r=felipe 2018-06-26 18:13:37 +05:30