Commit Graph

128 Commits

Author SHA1 Message Date
Felipe Gomes
7c0648d8c7 Bug 1429177 - Policy: Set network proxy settings. r=mixedpuppy 2018-03-16 21:02:22 -03:00
Felipe Gomes
4351746c37 Bug 1439443 - Policies: Don't create the default and smart bookmarks on the profile. r=mak 2018-03-16 21:02:05 -03:00
Michael Kaply
48281a135e Bug 1433870 - Policy: Tracking protection. r=felipe,bytesized 2018-03-16 15:36:58 -05:00
Kris Maglione
9d5b9190a5 Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
Yuki Hiroshi
c311f2d72b Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Brindusan Cristian
1726442983 Backed out changeset 83dffebb1536 (bug 1440573) for bc failures on browser_policy_disable_safemode.js CLOSED TREE 2018-03-16 05:15:39 +02:00
Yuki Hiroshi
d376aa72b6 Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00
Kirk Steuber
d2a4c1e81e Bug 1429160 - Create enterprise policy to disable PDF.js. r=dthayer,felipe 2018-03-07 13:17:07 -08:00
Yuki Hiroshi
db5a304800 Bug 1440574 - Policy: Disable commands to send feedback. r=felipe 2018-03-15 23:02:13 -03:00
Ciure Andrei
ad4bc48a6f Backed out 2 changesets (bug 1440574) for failing browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js on OS X a=backout on a CLOSED TREE
Backed out changeset f003e2175222 (bug 1440574)
Backed out changeset 1962477d8dc7 (bug 1440574)
2018-03-12 17:48:45 +02:00
Sebastian Hengst
2323548e2a Bug 1440574 - Policy: Disable commands to send feedback: Replace tab character with whitespaces. r=eslint-fix on a CLOSED TREE 2018-03-12 15:50:05 +02:00
YUKI Piro Hiroshi
d14726591e Bug 1440574 - "Policy: Disable commands to send feedback" r=Felipe 2018-03-12 05:58:00 +02:00
YUKI "Piro" Hiroshi
5b7775c8d7 Bug 1440578 - Policy: "block" under "cookies" should clear already-stored cookies r=felipc 2018-03-08 09:22:00 +02:00
Cosmin Sabou
2d25f0942c Backed out changeset 5521f4a9012d (bug 1440578) for ESlint failure on browser/components/enterprisepolicies/Policies.jsm 2018-03-08 06:17:19 +02:00
YUKI Piro Hiroshi
910c051f91 Bug 1440578 - Policy: "block" under "cookies" should clear already-stored cookies. r=felipc, r=jdm 2018-03-05 19:36:00 -05:00
Andreea Pavel
fabfa22f25 Backed out 2 changesets (bug 1440574) for failing browser chrome at browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js on a CLOSED TREE
Backed out changeset 3a87db9282d8 (bug 1440574)
Backed out changeset 7afca6992b72 (bug 1440574)
2018-03-07 17:43:04 +02:00
Sebastian Hengst
41f650437a Bug 1440574 - Policy: Disable commands to send feedback: Fix eslint errors by adding semicolons. r=eslint-fix 2018-03-07 17:24:28 +02:00
YUKI Piro Hiroshi
81f15132df Bug 1440574 - Policy: Disable commands to send feedback. r=felipc 2018-03-05 19:13:00 -05:00
Kirk Steuber
f7feb9cd1a Bug 1436851 - Add test for enterprise policy to disable system addon updates r=Felipe,rhelmer
MozReview-Commit-ID: K3NtpeVLFf4
2018-02-14 15:15:02 -08:00
Felipe Gomes
b1327a0095 Bug 1436840 - Policy engine: Add support for enterprise-only policies. r=mkaply
Policies annotated with enterprise_only in the schema will only be allowed to run on ESR or on pre-release channels (for testing)

MozReview-Commit-ID: 4tF8t1ozyVp
2018-03-05 20:46:54 -03:00
Felipe Gomes
db353634cb Bug 1432906 - Display notice in about:preferences when Policies are in use. r=gandalf,jaws
MozReview-Commit-ID: 83UUY9DmK2K
2018-03-05 14:18:44 -03:00
Felipe Gomes
652588d608 Bug 1429151 - Policy: Disable Sync. r=markh
MozReview-Commit-ID: Eg6hg7GNMod
2018-03-04 22:12:15 -03:00
Mike Cooper
24be7408a3 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
MozReview-Commit-ID: 8i9Jrq8rj3W
2018-03-02 11:18:59 -08:00
Mike Cooper
8fa569ae7b Bug 1436113 - Part 1: Move browser/extensions/shield-recipe-client to toolkit/components/normandy r=Gijs
MozReview-Commit-ID: LidgzhI4Z7h
2018-02-28 14:55:47 -08:00
Kirk Steuber
7eb2c987a7 Bug 1429186 - Create an enterprise policy to set the homepage and, optionally, lock it r=Felipe
Also creates the runOncePerModification helper function in Policies.jsm and fixes a minor bug in the runOnce helper function also in Policies.jsm

MozReview-Commit-ID: HDgMmhHI1D0
2018-02-27 09:13:16 -08:00
Michael Kaply
97e2f5fdd4 Bug 1432355 - Add a policy to disable private browsing. r=Gijs
MozReview-Commit-ID: AprbL6usEv5
2018-03-01 10:20:38 -06:00
Narcis Beleuzu
4f1c6ef656 Backed out 2 changesets (bug 1436113) for bc failures on browser_about_studies.js
Backed out changeset 8ccf1c3f156f (bug 1436113)
Backed out changeset 18a7f08a6cdc (bug 1436113)
2018-03-01 06:44:44 +02:00
Mike Cooper
bc5e5186c7 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
This includes simplifiying the startup process, migrating to a new
pref namespace, renaming files, and updating references to the code.

MozReview-Commit-ID: A2cYpsjCOAE
2018-02-21 15:02:04 -08:00
Mike Cooper
9b926958fe Bug 1436113 - Part 1: Move browser/extensions/shield-recipe-client to toolkit/components/normandy r=Gijs
MozReview-Commit-ID: LidgzhI4Z7h
2018-02-28 14:55:47 -08:00
Narcis Beleuzu
cfe00b0218 Backed out 2 changesets (bug 1436113) for ESlint failure on Normandy.jsm. CLOSED TREE
Backed out changeset 0a2b1c60cec5 (bug 1436113)
Backed out changeset 88dd78f248e2 (bug 1436113)
2018-03-01 00:37:47 +02:00
Mike Cooper
98ab0ed263 Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
This includes simplifiying the startup process, migrating to a new
pref namespace, renaming files, and updating references to the code.

MozReview-Commit-ID: A2cYpsjCOAE
2018-02-21 15:02:04 -08:00
Mike Cooper
6752f721a3 Bug 1436113 - Part 1: Move browser/extensions/shield-recipe-client to toolkit/components/normandy r=Gijs
MozReview-Commit-ID: LidgzhI4Z7h
2018-02-28 09:40:47 -08:00
Sebastian Hengst
b120b7fb67 merge mozilla-inbound to mozilla-central. a=merge 2018-02-28 12:54:12 +02:00
Tooru Fujisawa
582b88b191 Bug 1441388 - Use BrowserTestUtils.waitForEvent in browser/components/enterprisepolicies/tests/browser/browser_policy_disable_masterpassword.js r=keeler 2018-02-28 10:36:44 +09:00
Kirk Steuber
31831b2f7d Bug 1438925 - Select "Never check for updates" in Preferences UI when DisableAppUpdate policy is active r=jaws
MozReview-Commit-ID: 51ZaamngdIP
2018-02-16 15:48:49 -08:00
Felipe Gomes
497c9604ed Bug 1433290 - Remove Block parameter for InstallAddons and Popup policies. r=bytesized
The Block parameters for the InstallAddons policy doesn't make sense because the addons install process has two behaviors:
- Allow
- Ask

So a website that is not explictly in the allow list will always ask for permission before installing an addon. If a sysadmin wants to fully block addon install they can use a different policy.

Similarly, for Popups it's the same thing. There is a conceptually valid use case in that someone can change the _default_ behavior to always allow popups, and then the Block list becomes the allow exceptions to Ask. But that's a corner case that we don't need to support now, since allowing popups globally on the web is a pretty crazy choice.

MozReview-Commit-ID: EzclfLNDgUo
2018-02-26 17:09:43 -03:00
Julian Descottes
798dfbf6b9 Bug 1429185 - Implement policy for disabling devtools;r=Felipe
MozReview-Commit-ID: D6ZvP7vWg4O
2018-02-23 18:55:53 +01:00
Felipe Gomes
2e3183082c Bug 1440932 - Implement a runOnce helper function for policies. r=bytesized
MozReview-Commit-ID: HOTrRIfknmn
2018-02-26 15:42:40 -03:00
Felipe Gomes
365690c112 Bug 1428924 - Policy: Allow creation of bookmarks in the Bookmarks toolbar, Menu, or a folder inside them. r=mak
MozReview-Commit-ID: 7w8kKypShgj
2018-02-23 21:56:43 -03:00
Andreea Pavel
487427d3a4 Backed out changeset 771e1f428eea (bug 1428924) for failing mochitest browser chrome at browser/components/enterprisepolicies/tests/browser/browser_policy_bookmarks.js on a CLOSED TREE 2018-02-23 02:00:58 +02:00
Felipe Gomes
e549744c77 Bug 1428924 - Policy: Allow creation of bookmarks in the Bookmarks toolbar, Menu, or a folder inside them. r=mak
MozReview-Commit-ID: 2k2Cl10AV9C
2018-02-22 17:47:50 -03:00
Felipe Gomes
6728884cc5 Bug 1429163 - Policy: Disable Pocket. r=nateweiner 2018-02-22 00:46:48 -03:00
Felipe Gomes
b06ce05ebe Bug 1440194 - Sort list of policies alphabetically. r=me 2018-02-22 00:46:23 -03:00
Felipe Gomes
73d78de3ca Bug 1440030 - CamelCase existing policies to match industry standard. r=mkaply 2018-02-22 00:46:09 -03:00
Csoregi Natalia
3b435f7331 Merge inbound to mozilla-central. a=merge 2018-02-21 23:50:20 +02:00
Felipe Gomes
1352891432 Bug 1429148 - Policy: Don't let a Master Password to be set. r=keeler
MozReview-Commit-ID: 8Adqg0KU7cZ
2018-02-20 20:46:11 -03:00
Geoff Brown
7f25c62638 Bug 1433485 - Update test prefs for telemetry; r=mythmon,dexter
Set pref datareporting.healthreport.uploadEnabled=false during mochitests
and set pref toolkit.telemetry.server to a dummy server during reftests
(uploadEnabled was already false for reftest and the telemetry server was
already set for mochitests - now these prefs are consistent).

Some mochitests failed with this change; they are updated to
set datareporting.healthreport.uploadEnabled where required.
2018-02-21 10:57:04 -07:00
Felipe Gomes
3709020111 Bug 1429148 - Policy: Enforce choice for the Remember Passwords setting. r=MattN
MozReview-Commit-ID: 3acY4QwQWGb
2018-02-14 23:50:36 -02:00
Felipe Gomes
3bfa120599 Bug 1439418 - Policy engine - Properly support optional and required fields in the schema. r=mossop
MozReview-Commit-ID: 6nYX5FiKUxP
2018-02-19 16:27:55 -03:00
Kirk Steuber
16f5333211 Bug 1429123 - Create an enterprise policy to prevent access to the Add-ons manager (about:addons) r=bz,Felipe
MozReview-Commit-ID: KslHBo0kvvu
2018-02-06 10:08:13 -08:00