Commit Graph

97 Commits

Author SHA1 Message Date
Mark Banner
28e4ba7093 Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 43.2.0. r=frontend-codestyle-reviewers,credential-management-reviewers,issammani
This switches from the deprecated/removed jsdoc/newline-after-description rule to using the replacement jsdoc/tag-lines rule.

Differential Revision: https://phabricator.services.mozilla.com/D219512
2024-08-23 16:43:57 +00:00
Butkovits Atila
11a5a23896 Backed out 7 changesets (bug 1870226) for causing build bustages. CLOSED TREE
Backed out changeset 619244623dba (bug 1870226)
Backed out changeset e85a5647cae4 (bug 1870226)
Backed out changeset 21ea9baf83ea (bug 1870226)
Backed out changeset a506c0f0ce28 (bug 1870226)
Backed out changeset 77c78201a206 (bug 1870226)
Backed out changeset 7a98dfef087f (bug 1870226)
Backed out changeset f64ad89c2406 (bug 1870226)
2024-08-23 12:22:02 +03:00
Mark Banner
1ee70a0f13 Bug 1870226 - Upgrade eslint-plugin-jsdoc to version 43.2.0. r=frontend-codestyle-reviewers,credential-management-reviewers,issammani
This switches from the deprecated/removed jsdoc/newline-after-description rule to using the replacement jsdoc/tag-lines rule.

Differential Revision: https://phabricator.services.mozilla.com/D219512
2024-08-23 08:55:49 +00:00
Mike Kaply
c5865fe965 Bug 1911826 - Update UserMessaging policy for Firefox Labs. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D218651
2024-08-06 20:26:40 +00:00
Mike Kaply
3ba79c24af Bug 1675077 - Add policy for PrivateBrowsingModeAvailability. r=kcochrane,fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D216315
2024-07-15 15:58:18 +00:00
Jonas Jenwald
cd2b78c9b4 Bug 1905864 - Generate a PDF.js default-prefs file that can be used directly in mozilla-central. r=pdfjs-reviewers,geckoview-reviewers,frontend-codestyle-reviewers,calixte,ohall
Differential Revision: https://phabricator.services.mozilla.com/D215481
2024-07-03 19:51:41 +00:00
John Schanck
99387e9915 Bug 1892528 - part 3: update PostQuantumKeyAgreementEnabled enterprise policy. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D211300
2024-06-05 16:51:38 +00:00
Malte Juergens
26c5c041e3 Bug 1882559 - Expose Mixed Content Level 2 and GPC prefs to Enterprise Policies r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D210147
2024-05-14 10:51:10 +00:00
Mike Kaply
467bf65b00 Bug 1888548 - Add policies for HTTPS only mode. r=freddyb,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D208195
2024-05-09 15:18:00 +00:00
John Schanck
b60a6743c0 Bug 1894068 - add a policy for post-quantum key agreement. r=mkaply,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D208934
2024-05-03 04:01:25 +00:00
Tamas Szentpeteri
54f0c33033 Backed out changeset 47020ae49c1d (bug 1894068) for causing xpcshell failures in test_sorted_alphabetically.js. CLOSED TREE 2024-05-03 02:48:35 +03:00
John Schanck
4bbd34ab56 Bug 1894068 - add a policy for post-quantum key agreement. r=mkaply,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D208934
2024-05-02 22:58:49 +00:00
Greg Stoll
e0d5e408d0 Bug 1880314 - add a default warn setting to Content Analysis r=dlp-reviewers,handyman
Differential Revision: https://phabricator.services.mozilla.com/D208039
2024-04-26 22:51:55 +00:00
Emily McMinn
30c98bb978 Bug 1887038 - Clean up whatsNewPanel pref and policies outside Messaging System r=webdriver-reviewers,desktop-theme-reviewers,mkaply,pdahiya,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D207484
2024-04-26 15:31:30 +00:00
Dennis Jackson
38a91cc992 Bug 1891470 - Add an Enterprise Policy for Encrypted Client Hello. r=jschanck,mkaply,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D207436
2024-04-17 09:52:03 +00:00
Greg Stoll
3625ba8618 Bug 1869868 part 2 - do not consult DLP when copy/pasting items in the same tab r=edgar,dlp-reviewers,credential-management-reviewers,handyman,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D205744
2024-04-15 12:10:46 +00:00
Harshit Sohaney
b9ccb1eeff Bug 1888673 - Add new clearOnShutdown prefs to policy. r=pbz,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D206513
2024-04-05 18:28:47 +00:00
Greg Stoll
468f073606 Bug 1888662 - add a few missing policies for Content Analysis r=dlp-reviewers,mkaply,handyman
Differential Revision: https://phabricator.services.mozilla.com/D206112
2024-04-02 11:25:22 +00:00
Mike Kaply
cd701ace5a Bug 1885362 - Don't set/lock folderList when download dir is set. r=kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D206116
2024-04-02 05:02:29 +00:00
Mike Kaply
079a3b4994 Bug 1876555 - Locking Proxy policies should always lock prefs. r=kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D206011
2024-03-28 16:00:05 +00:00
Mike Kaply
d94b12d31e Bug 1886199 - Allow enabling containers via policy without the extension. r=sdk
Differential Revision: https://phabricator.services.mozilla.com/D205320
2024-03-26 12:54:32 +00:00
Gregory Pappas
eee57c321e Bug 1861325 - Implement TranslateEnabled enterprise policy r=mkaply,translations-reviewers,fluent-reviewers,bolsson,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D205157
2024-03-20 20:40:22 +00:00
Cristian Tuns
b1892a9d9a Backed out changeset 878905289052 (bug 1861325) for causing lint failures in policies-descriptions.ftl CLOSED TREE 2024-03-20 14:14:06 -04:00
Gregory Pappas
dbb15fe313 Bug 1861325 - Implement TranslateEnabled enterprise policy r=mkaply,translations-reviewers,fluent-reviewers,bolsson,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D205157
2024-03-20 17:42:06 +00:00
Dave Townsend
a0c83bc943 Bug 1864896: Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203005
2024-03-19 09:36:35 +00:00
Mark Banner
3284e4653e Bug 1884623 - Update Enterprise Policy related logging and modules to avoid jsm references. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D204181
2024-03-11 15:26:28 +00:00
David P
ffa612e427 Bug 1882601: Add content analysis config to enterprise policy r=gstoll,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D203339
2024-03-08 19:37:04 +00:00
David P
7c9f833074 Bug 1862066: Allow CA enabled when pref is set by enterprise policy or is set alongside command line arg r=gstoll,mkaply,fluent-reviewers,bolsson
Content analysis should not be turned on without an enterprise policy
requiring it or the -allow-content-analysis command-line argument is passed
(which is intended to be used for development).

Differential Revision: https://phabricator.services.mozilla.com/D203331
2024-03-08 18:15:28 +00:00
Mike Kaply
19484d525c Bug 1677524 - Add policies for credit card and address autofill. r=sgalich,fluent-reviewers,bolsson,dimi
Differential Revision: https://phabricator.services.mozilla.com/D202733
2024-03-05 15:25:16 +00:00
Gregory Pappas
b8a57ea6f0 Bug 1708289 - Implement AllowFileSelectionDialogs policy r=fluent-reviewers,mkaply,emilio,Gijs,bolsson,win-reviewers,rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D199328
2024-02-01 00:48:24 +00:00
Mike Kaply
4c6c297a4d Bug 1868669 - Add Fallback to DOH policy. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D197666
2024-01-29 13:27:43 +00:00
Tom Schuster
694c3e8534 Bug 1872839 - Remove aMimeTypeGuess parameter from nsIContentPolicy. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D197794
2024-01-08 15:47:42 +00:00
Mike Kaply
64a15745de Bug 1872267 - Allow setting an explicit preference type in policy. r=kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D197534
2024-01-03 16:28:38 +00:00
Mike Kaply
8880cfe389 Bug 1855314 - Don't show translations first run if FeatureRecommendations policy is false. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D197079
2023-12-21 21:57:11 +00:00
Mike Kaply
e6dba2f53b Bug 1868137 - Allow setting alerts. prefs via policy. r=nrishel
Differential Revision: https://phabricator.services.mozilla.com/D195731
2023-12-07 13:45:11 +00:00
Mike Conley
4936b01244 Bug 1715158 - Remove Snippets enterprise policy support. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D195448
2023-12-06 16:15:17 +00:00
Mark Banner
5e07c3f484 Bug 1861865 - Fix ESLint valid-jsdoc issues in enterprise policy code. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D192156
2023-11-01 17:20:39 +00:00
Greg Stoll
56b1220f60 Bug 1811076: Part 2 - Create nsIContentAnalysis and command-line argument
Add the protocol buffer and client side of the SDK to the Gecko build.  This includes prefs to enable/disable/configure content analysis. In addition to the pref, content analysis requires a command-line argument "-allow-content-analysis" to be turned on; this is for security reasons until we make sure that the pref can only be turned on by enterprise policies.

Differential Revision: https://phabricator.services.mozilla.com/D189568
2023-10-30 20:04:00 +00:00
Mike Kaply
690510c1ab Bug 1860856 - Allow cert/devices dialogs to be disabled by policy. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D191770
2023-10-25 12:49:40 +00:00
Mike Kaply
e91b38a068 Bug 1859595 - Allow preferences that begin with pref. in policy. r=kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D191209
2023-10-18 18:49:53 +00:00
Gregory Pappas
7fd84857a4 Bug 1854298 - Implement PrintingEnabled policy r=emilio,mkaply,Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188792
2023-10-03 21:48:34 +00:00
Molly Howell
ac135e9358 Bug 1852151 - Add a policy equivalent to DisableFirefoxAccounts but without being called Firefox. r=mkaply,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D187726
2023-09-12 18:14:08 +00:00
Mike Kaply
bd6e5e6c66 Bug 1749535 - Add policy for Firefox Suggest. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D186241
2023-08-16 21:08:06 +00:00
Mike Kaply
34b6897db6 Bug 1839442 - Add ssl negotiation pref to policy. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D185960
2023-08-15 19:08:29 +00:00
Mike Kaply
4d6cedeb24 Bug 1772409 - Allow setting xpinstall.whitelist.required via policy. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D185959
2023-08-11 15:16:50 +00:00
Gregory Pappas
e9950eccfd Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Mike Kaply
0b16097473 Bug 1772503 - Keep policy locked preferences locked. r=mhowell,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D181100
2023-06-20 12:17:49 +00:00
Sandor Molnar
5cd6d50a7b Backed out changeset 208ba0efbefb (bug 1772503) for causing xpc failures in netwerk/test/unit/test_trr_enterprise_policy.js CLOSED TREE 2023-06-15 21:06:56 +03:00
Mike Kaply
0350e1278c Bug 1772503 - Keep policy locked preferences locked. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D181100
2023-06-15 16:01:20 +00:00
Rob Wu
bad812f243 Bug 1836482 - Replace AddonManager.jsm imports with AddonManager.sys.mjs r=Standard8,webcompat-reviewers,twisniewski
This patch was generated as follows:

Run:
`./mach esmify --imports . --prefix=toolkit/mozapps/extensions/AddonManager`
In the output there are linter/prettifier errors due to unused
XPCOMUtils or separate importESModule calls. These have been fixed
manually and verified with `./mach lint --outgoing`.

The `esmify` script also inserts many unwanted newlines around imports
that are broken on two lines due to length. Due to the number of these,
I fixed them programatically.

1. Create patch from the changes so far.
2. From the patch, delete all lines that consist of "+" (i.e. added blank line).
3. Reset the working dir and apply the revised patch.
4. Verify that the diff between step 1 and 3 looks reasonable.
5. Verify that this patch as a whole looks reasonable.

Commands:

```
git diff > rename.diff
:%g/^+$/d
git commit -va -m WIP-rename
git revert HEAD
git apply --recount rename.diff
git diff HEAD^  # and verify that the removed lines are ok.
git commit -va  # one last review to verify correctness of whole patch.
git rebase -i HEAD~3  # drop the WIP + reverted commit, pick only the last.
```

`git apply` has the `--recount` option to force it to ignore mismatches
in line counts, which happens because we deleted added lines (^+$)
without fixing up the line counts in the file headers.

Differential Revision: https://phabricator.services.mozilla.com/D179874
2023-06-04 13:44:45 +00:00