summaryrefslogtreecommitdiffstats
path: root/chrome/app/policy
Commit message (Collapse)AuthorAgeFilesLines
* Roll initial policy template translations to trunkgfeher@chromium.org2010-11-2952-51/+508
| | | | | | | | | | | There are only a few strings translated, but having the .xtb files allows to uncomment references to them in the .grd file. That is also included in this CL. BUG=59276 TEST=none Review URL: http://codereview.chromium.org/5303008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67597 0039d316-1c4b-4281-b951-d872f2087c98
* Fix example lists and untranslated text in generated policy documentationgfeher@chromium.org2010-11-291-0/+4
| | | | | | | | | | | | | Lists stored in Windows Registry should start numbering from 1 and not from 0. Strings displayed in the generated documentation should not be hard-coded, but come from the .grd file. BUG=64405,64213 TEST=python:DocWriterUnittest.* Review URL: http://codereview.chromium.org/5358004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67566 0039d316-1c4b-4281-b951-d872f2087c98
* Generate .reg files with example values of policiesgfeher@chromium.org2010-11-261-1/+2
| | | | | | | | | BUG=62532 TEST=python:RegWriterUnittest.* Review URL: http://codereview.chromium.org/5328004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67451 0039d316-1c4b-4281-b951-d872f2087c98
* Dynamically refresh pref-configured proxies.mnissler@chromium.org2010-11-241-4/+4
| | | | | | | | | BUG=63175,48930 TEST=unit tests Review URL: http://codereview.chromium.org/5005002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67261 0039d316-1c4b-4281-b951-d872f2087c98
* Add version information to the policy templatesgfeher@chromium.org2010-11-182-112/+85
| | | | | | | | | | | | | | Add for each policy the version number of Chrome when is was introduced. Update platform-based policy filtering to use the new template format (no new logic introduced.) Update the HTML documentation writer to use the new version numbers. BUG=62500 TEST=PolicyTemplateGeneratorUnittest.testPolicyFiltering,DocWriterUnittest.testAddPolicyDetails,DocWriterUnittest.testAddPolicySection Review URL: http://codereview.chromium.org/4704006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66601 0039d316-1c4b-4281-b951-d872f2087c98
* Support specifying the GSSAPI library that will be used.danno@chromium.org2010-11-122-0/+16
| | | | | | | | | | | | This preference can be set either via command-line or via group policy. BUG=53625 TEST=unittests: ConfigurationPolicyPrefStore*; net_unittests: HttpAuthHandlerNegotiateTest.*:HttpAuthGSSAPIPOSIXTest.*; manually: start Chrome with command-line switch --gssapi-library-name=XYZ and see if this results in the Chrome process loading /usr/lib/whatever/XYZ as soon as an authenticated HTTP site is encountered. Review URL: http://codereview.chromium.org/4560001 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65939 0039d316-1c4b-4281-b951-d872f2087c98
* Update autofill policy description text to be more precise.mnissler@chromium.org2010-11-111-8/+4
| | | | | | | | | BUG=62133 TEST=Check wording in the generated policy templates. Review URL: http://codereview.chromium.org/4679001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65785 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 65535danno@chromium.org2010-11-102-0/+108
| | | | | | | | | | | | Group Policy support for HTTP authentication, already had LGTM from http://codereview.chromium.org/3517018. BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/4733003 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65664 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 65535 - Group Policy support for HTTP authenticationdanno@chromium.org2010-11-092-108/+0
| | | | | | | | | | | | | BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/3517018 Patch from Jakob Kummerow <jkummerow@google.com>. TBR=danno@chromium.org Review URL: http://codereview.chromium.org/4643004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65537 0039d316-1c4b-4281-b951-d872f2087c98
* Group Policy support for HTTP authenticationdanno@chromium.org2010-11-092-0/+108
| | | | | | | | | | BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/3517018 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65535 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: move all the policy-template related targets into one gypi filegfeher@chromium.org2010-11-091-0/+180
| | | | | | | | | BUG=none TEST=build completes on all platforms Review URL: http://codereview.chromium.org/4644002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65510 0039d316-1c4b-4281-b951-d872f2087c98
* Templates for the 'silent extension install' policygfeher@chromium.org2010-11-052-5/+31
| | | | | | | | | BUG=59782 TEST=build of policy_templates completes Review URL: http://codereview.chromium.org/4488001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65211 0039d316-1c4b-4281-b951-d872f2087c98
* Generate example JSON policy configuration filesgfeher@chromium.org2010-11-021-1/+2
| | | | | | | | | | | Also fix filtering of single (non-groupped) policies by platforms. BUG=56531 TEST=JsonWriterUnittest.*,PolicyTemplateGeneratorUnittest.testPolicyFiltering Review URL: http://codereview.chromium.org/4164006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64748 0039d316-1c4b-4281-b951-d872f2087c98
* Update DisabledPlugins description text to mention wildcards.mnissler@chromium.org2010-10-281-0/+2
| | | | | | | | | BUG=61058 TEST=Policy templates and documentation have wildcard information. Review URL: http://codereview.chromium.org/4196004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64219 0039d316-1c4b-4281-b951-d872f2087c98
* Add ChromeOS to the list of valid platform names in the policy metafilegfeher@chromium.org2010-10-271-3/+3
| | | | | | | | | BUG=58498 TEST=none Review URL: http://codereview.chromium.org/4175001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64054 0039d316-1c4b-4281-b951-d872f2087c98
* Add 'DeveloperToolsDisabled' policy to the policy template.markusheintz@chromium.org2010-10-252-0/+19
| | | | | | | | | BUG=49600 TEST=manual Review URL: http://codereview.chromium.org/4005008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63725 0039d316-1c4b-4281-b951-d872f2087c98
* Add Group-Policy to disable the SPDY protocol.mbelshe@chromium.org2010-10-162-0/+17
| | | | | | | | | BUG=59105 TEST=Configuration* Review URL: http://codereview.chromium.org/3782007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62875 0039d316-1c4b-4281-b951-d872f2087c98
* Add a ChromeOsLockOnIdleSuspend policy for ChromeOs.xiyuan@chromium.org2010-10-142-1/+28
| | | | | | | | | | | The policy is wired with settings.enable_screen_lock. BUG=chromium-os:6546 TEST=Create a policy json file and verify the screen lock checkbox is managed in "Person stuff" options page. Review URL: http://codereview.chromium.org/3611012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62562 0039d316-1c4b-4281-b951-d872f2087c98
* Define the Default Search related policies so that the ADM, ADMX, and Mac ↵jeanluc@google.com2010-10-082-0/+133
| | | | | | | | | | | | related policy files are generated. BUG=49306 TEST=Install the ADM file using gpedit.msc. Look that the fields appear there and when filled modify the Basic pane of Options dialog. Do the same for the Mac: add it to Workgroup Manager and see that the values can be specified. Review URL: http://codereview.chromium.org/3613011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62031 0039d316-1c4b-4281-b951-d872f2087c98
* Update documentation in the json filegfeher@chromium.org2010-10-081-9/+9
| | | | | | | | | BUG=58131 TEST=none, only comments are changed Review URL: http://codereview.chromium.org/3561018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61972 0039d316-1c4b-4281-b951-d872f2087c98
* Support dynamic policy refresh for DNS prefetching.phajdan.jr@chromium.org2010-10-051-1/+1
| | | | | | | | | BUG=55423 TEST=none Review URL: http://codereview.chromium.org/3542005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61490 0039d316-1c4b-4281-b951-d872f2087c98
* Policy support for being able to specify a list of content types that Chrome ↵tommi@chromium.org2010-10-042-0/+23
| | | | | | | | | | | Frame should handle. TEST=This adds a new policy list for Chrome Frame, "ChromeFrameContentTypes", which can be used to specify a list of content types that should always be rendered in Chrome Frame. BUG=56543 Review URL: http://codereview.chromium.org/3611002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61432 0039d316-1c4b-4281-b951-d872f2087c98
* Policy to disable printinggfeher@chromium.org2010-10-012-0/+21
| | | | | | | | | | | | | Make Chrome refuse to print if the preference kPrintingEnabled is set to false. In this case, the 'Print...' option in the wrench menu is disabled, and if printing is invoked from JavaScript, then Chrome reports that no printer is installed. Changes to this preference after startup are also respected. BUG=54380 TEST=manual Review URL: http://codereview.chromium.org/3357011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61222 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for enabling/disabling browsing history.phajdan.jr@chromium.org2010-10-012-0/+21
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3432033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61169 0039d316-1c4b-4281-b951-d872f2087c98
* Shorten the name of policy groups and sort them by captiongfeher@chromium.org2010-10-011-82/+13
| | | | | | | | | | | Also add Chromium vs Google Chrome clarification at the beginning of the generated policy documentation and remove ADM outputs with pseudo-translations. BUG=None TEST=manual Review URL: http://codereview.chromium.org/3605003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61163 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up generated policy documentationgfeher@chromium.org2010-09-281-1/+1
| | | | | | | | | | | | Order policies alphabetically for all the generated templates. Show group descriptions in the generated documentation. BUG=56358,56654 TEST=DocWriterUnittest.testAddPolicySection,DocWriterUnittest.testAddPolicyRow, PolicyTemplateGenerator.testSorting Review URL: http://codereview.chromium.org/3431031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60789 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up the policy and message model of the template generatorgfeher@chromium.org2010-09-242-259/+247
| | | | | | | | | | | | | In the old model each policy had to be in a group, and messages could be inherited from groups to policies. In the new model single policies does not have to be in groups and there is no inheritance of messages across policies/groups. Instead of that, policies have now two captions for different purposes. (Documented in policy_templates.json.) This is a more simple concept. BUG=55722,56512 TEST=covered by policy template generator unit tests Review URL: http://codereview.chromium.org/3454017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60458 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for enabling/disabling JavaScript.phajdan.jr@chromium.org2010-09-232-5/+29
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3395011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60288 0039d316-1c4b-4281-b951-d872f2087c98
* Generate html documentation for enterprise policiesgfeher@chromium.org2010-09-212-10/+115
| | | | | | | | | | | Use the .json and .grd description of the policies to generate HTML markup that can be uploaded straight to dev.chromium.org. BUG=54712 TEST=DocWriterUnittest.* Review URL: http://codereview.chromium.org/3452006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60032 0039d316-1c4b-4281-b951-d872f2087c98
* Add annotations to the policy template metafilegfeher@chromium.org2010-09-151-23/+152
| | | | | | | | | | | The annotations include a list of supported platforms for each policy. Depending on this, only the supported policies are written for each template type. BUG=54665 TEST=PolicyTemplateGeneratorUnittest.testPolicyFiltering, {Adm,Plist,PlistStrings}WriterUnittest.testNonSupportedPolicy, {Admx,Adml}WriterUnittest.testPlatform Review URL: http://codereview.chromium.org/3303027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59483 0039d316-1c4b-4281-b951-d872f2087c98
* Cleans up some of the strings that appear in administrative templates, per ↵gwilson@google.com2010-09-151-20/+20
| | | | | | | | | | | | | feedback from tech writers. R=danno BUG=none TEST=Open generated ADM file, strings should be updated. Review URL: http://codereview.chromium.org/3450001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59471 0039d316-1c4b-4281-b951-d872f2087c98
* Add policy support for Chrome Frame. New Chrome Frame messages added to th ↵tommi@chromium.org2010-09-102-0/+75
| | | | | | | | | | | | | | json and grd files that are used to generate the policy templates. Added matching constants for the policy elements to the policy_constants files. Added support for a new template value, $3, that represents the Chrome Frame product name in policy templates. TEST=none BUG=29349 Review URL: http://codereview.chromium.org/3325011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59050 0039d316-1c4b-4281-b951-d872f2087c98
* Add policy to control 'show password' facility in the password manager.mnissler@chromium.org2010-09-072-0/+18
| | | | | | | | | BUG=49609 TEST=Manual Review URL: http://codereview.chromium.org/3299010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58692 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r57812 (Add the new Mac manifest to the application bundle) and ↵gfeher@chromium.org2010-09-022-484/+0
| | | | | | | | | | | | | | | remove dummy translations Add the policy templates generated from chrome/app/policy_templates.json to the Mac application bundle. (The template generator for Mac is implemented in CL 3116027) Also remove the old manifest file and references to translations that are not there yet. The problem with the previous landing attempt was that in Release mode build, the following script was looking for binary files that were not there: build/mac/strip_from_xcode BUG=49316 TEST=add Chromium to the managed applications' list in the OSX Workgroup Manager, and see if it shows the manageable preferences with English descriptions Review URL: http://codereview.chromium.org/3287003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58366 0039d316-1c4b-4281-b951-d872f2087c98
* Improve descriptions of Mac policy templatesgfeher@chromium.org2010-09-023-32/+137
| | | | | | | | | | | | | Add descriptions for each value in case of enumerated policies. Replace escaped newlines with newlines. Remove references for comma-separated lists in case of disabled plugins. Keeping the plist file up to date is only necessary until CL3287003 is landed. BUG=none TEST=manual Review URL: http://codereview.chromium.org/3302002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58340 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the Mac policy manifest (plist) with a generated filegfeher@chromium.org2010-09-013-255/+326
| | | | | | | | | | | | | | The plist file was generated from policy_templates.json and policy_templates.grd from r58025. This manual check-in is a temporary solution until the Mac policy template generator is also integrated in the build process. Also fix typo in a policy name. BUG=none TEST=manual Review URL: http://codereview.chromium.org/3291004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58152 0039d316-1c4b-4281-b951-d872f2087c98
* Since we are now able to auto generate ADM and ADMX/ADML templates, we do ↵markusheintz@chromium.org2010-08-315-726/+59
| | | | | | | | | | | not need any manually created and maintained policy-templates anymore. Therefor we delete them. BUG=none TEST=manual Review URL: http://codereview.chromium.org/3229010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58025 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests to adm_writergfeher@chromium.org2010-08-311-4/+0
| | | | | | | | | | | Add unit tests to adm_writer, clean up other writer unit tests and fix list policies generated by adm_writer. (Move KEYNAME into the PART structure.) BUG=none TEST=none Review URL: http://codereview.chromium.org/3284006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57995 0039d316-1c4b-4281-b951-d872f2087c98
* ADMX/ADML Writer to generate ADMX/ADMl templates.markusheintz@chromium.org2010-08-302-2/+52
| | | | | | | | | BUG=53315 TEST=manual Review URL: http://codereview.chromium.org/3162030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57858 0039d316-1c4b-4281-b951-d872f2087c98
* Review execute permissions on text filesdanno@chromium.org2010-08-282-5/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3243009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57795 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the policy to disable plugins to support TYPE_LIST valuesdanno@chromium.org2010-08-283-19/+9
| | | | | | | | | BUG=51897 TEST=ConfigurationPolicyProviderWinTest.* Review URL: http://codereview.chromium.org/3133012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57794 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a policy to specify which pages to restore at startup. The admin ↵mnissler@chromium.org2010-08-264-6/+125
| | | | | | | | | | | | | | can choose no restore, last opened windows, or specific pages to be opened. xib changes: Added an enabled binding to the policy-controlled "Restore on Startup" radiobox group in the "Basic" preference pane. They can be disabled when their value is overridden by policy. The methods for the bindings are in the preference window controller. BUG=49297 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Manual tests: Set the policies externally. Check that appropriate restore action is done at startup. Check that the Restore on Startup buttons are disabled. Review URL: http://codereview.chromium.org/3115021 Patch from Jean-Luc Brouillet <jeanluc@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57513 0039d316-1c4b-4281-b951-d872f2087c98
* Add Mac output for policy template generatorgfeher@chromium.org2010-08-252-118/+232
| | | | | | | | | | | Writer for plist manifest and string table files, and custom strings for the Mac templates. BUG=49316 TEST=plist_writer_unittest.*, plist_strings_writer_unittest.* (grit) Review URL: http://codereview.chromium.org/3116027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57307 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for disabling auto fill.mnissler@chromium.org2010-08-254-1/+46
| | | | | | | | | | | | | | | | | | This introduces a new policy setting named AutoFillEnabled that administrators can use to switch off the auto fill feature. The UI adjustments disable the autofill button and dialog in the preferences dialog appropriate. Preferences.xib change: Bind enabled state of the auto fill button to autoFillSettingsButtonEnabled @property. AutoFillDialog.xib change: Bind enabled state of the auto fill enabled checkbox and save button to the autoFillEnabledAvailable and saveEnabled @properties, respectively. BUG=49611 TEST=autofill_dialog_controller_mac_unittest.mm, manual testing Review URL: http://codereview.chromium.org/3140024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57302 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for controlling "Show Home Button" preference.mnissler@chromium.org2010-08-243-1/+33
| | | | | | | | | | | Preferences.xib changes: Connect the Enabled pin of the "Show home button" checkbox to PreferencesWindowController's showHomeButtonEnabled @property. BUG=49603 TEST=manual Review URL: http://codereview.chromium.org/3171022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57167 0039d316-1c4b-4281-b951-d872f2087c98
* Add list support to the policy template generator and prepare for Mac outputgfeher@chromium.org2010-08-242-140/+346
| | | | | | | | | | | | | Refactor the policy template generator in preparation for the Mac manifest and Windows ADMX output files. Replace dictionaries with lists in the input JSON file so that sequence of elements is preserved. Add a list data type for policies, and add extension whitelist/blacklist policy. Split homepage policy group into two. Previous CL: http://codereview.chromium.org/3068012/show. BUG=49316 TEST=tools/grit/grit/format/policy_templates/policy_template_generator.py and manual testing of output .adm files Review URL: http://codereview.chromium.org/3191021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57160 0039d316-1c4b-4281-b951-d872f2087c98
* Removing space from the VALUEPREFIX in the ADM/ADMX template.finnur@chromium.org2010-08-212-5/+5
| | | | | | | | | | | It is causing the extension blacklist and whitelist to be not found. BUG=47085 TEST=None Review URL: http://codereview.chromium.org/3125030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56988 0039d316-1c4b-4281-b951-d872f2087c98
* Auto-generate ADM filesdanno@chromium.org2010-08-132-0/+332
| | | | | | | | | | | | This is the first iteration of my work on the policy MCX/ADM/ADMX/HTML generator. I added chrome/app/policy/policy_templates.grd and a grit extension that parses this file and chrome/app/policy/policy_templates.json and then generates the en-US version of chrome.adm from them. The infrastructure is already in place for other languages and output formats. BUG=49316 TEST=policy_template_generator_unittest.py and manual tests of chrome.adm Review URL: http://codereview.chromium.org/3068012 Patch from Gabor Feher <gfeher@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56019 0039d316-1c4b-4281-b951-d872f2087c98
* Adding AMD and AMDX policy for configuring extension install blacklist and ↵finnur@chromium.org2010-08-113-1/+67
| | | | | | | | | | | whitelist. BUG=None TEST=None Review URL: http://codereview.chromium.org/3159005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55728 0039d316-1c4b-4281-b951-d872f2087c98
* [Win] Correct CRLF endings on .adm template and fix wordingdanno@chromium.org2010-07-202-262/+265
| | | | | | | | | BUG=49541 TEST=manual Review URL: http://codereview.chromium.org/2884028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53020 0039d316-1c4b-4281-b951-d872f2087c98