summaryrefslogtreecommitdiffstats
path: root/chrome/app/policy
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix svn:executable permissions.thestig@chromium.org2010-07-191-0/+0
| | | | | | | | BUG=none TEST=checkperms.py is happy. Review URL: http://codereview.chromium.org/3042006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52951 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the application locale police that allows to enforce the ↵markusheintz@chromium.org2010-07-193-280/+312
| | | | | | | | | | | kApplicationLocale preference. bug=44504 test=none Review URL: http://codereview.chromium.org/2809058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52936 0039d316-1c4b-4281-b951-d872f2087c98
* Stuff the MCX policy file into the app bundle where it belongs.avi@chromium.org2010-07-161-4/+4
| | | | | | | | | BUG=http://crbug.com/45334 TEST=build chromium, open the package, look in the resources folder, see either "org.chromium.Chromium.manifest" or "com.google.Chrome.manifest" (depending on the build). Open the file, see either "Chromium" or "Google Chrome" at the top (again, depending on the build). Review URL: http://codereview.chromium.org/2809057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52710 0039d316-1c4b-4281-b951-d872f2087c98
* Implements policy to enable or disable the password manager, as found in the ↵danno@chromium.org2010-07-163-260/+295
| | | | | | | | | | | | | | Options dialog, in the Under the Personal Stuff section. xib changes: added an enabled binding to the policy-controlled checkboxes in the "Personal Stuff" preference pane so that they can be disabled when their value is overridden by policy. The methods for the bindings are in the preference window controller. BUG=44395 TEST=ConfigurationPolicyPrefStoreTest.* and ConfigurationPolicyProviderWinTest.* Manual tests: Set the policy externally. Check that the radio buttons and the "Show saved passwords" button in Options/Personal Stuff/Passwords are disabled. Also check that the check box is set/unset as done by the policy. Review URL: http://codereview.chromium.org/2848039 Patch from Jean-Luc Brouillet <jeanluc@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52637 0039d316-1c4b-4281-b951-d872f2087c98
* Implement disabling of plugins through policydanno@chromium.org2010-07-154-4/+59
| | | | | | | | | TEST=manual testing of plugins page, ConfigurationPolicyPrefStoreTest* BUG=45856 Review URL: http://codereview.chromium.org/2833034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52487 0039d316-1c4b-4281-b951-d872f2087c98
* Fix multiple issues with ADM/ADMX templatesdanno@chromium.org2010-06-303-102/+161
| | | | | | | | | | | | | | | Correct descriptions in ADM/ADMX template and change registry key to "Chrome" from "Google Chrome". Fix numerous punctuation, verbiage and wording issues. Fix HomepageIsNewTabPage so that not checking the checkbox actually forces the hompage to the homepage URL. BUG=none TEST=manual Review URL: http://codereview.chromium.org/2806040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51251 0039d316-1c4b-4281-b951-d872f2087c98
* [Win] Fix text in ADM/ADMX proxy mode configuration selectordanno@chromium.org2010-06-242-2/+2
| | | | | | | | | BUG=47385 TEST=none Review URL: http://codereview.chromium.org/2823029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50716 0039d316-1c4b-4281-b951-d872f2087c98
* Manifest file for Chromium.avi@chromium.org2010-06-221-0/+180
| | | | | | | | | BUG=http://crbug.com/45334 TEST=none yet Review URL: http://codereview.chromium.org/2838011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50485 0039d316-1c4b-4281-b951-d872f2087c98
* Correct polarity and disable value of boolean policies in ADM/ADMX filesdanno@chromium.org2010-06-223-0/+361
BUG=46646 TEST=manual tests Review URL: http://codereview.chromium.org/2817021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50447 0039d316-1c4b-4281-b951-d872f2087c98