From 42538f66d893b038730c55362bf2770ca04fec54 Mon Sep 17 00:00:00 2001 From: jensp Date: Thu, 24 Sep 2015 11:59:08 +0000 Subject: [PATCH] CCM NG: Copied several of parameter properties files for the config system git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3650 8810af33-2d31-482b-a856-94f89814c4df --- .../bebop/BebopConfig_parameter.properties | 44 ++++++++++++++ .../TemplatingConfig_parameter.properties | 16 +++++ .../web/WebConfig_parameter.properties | 59 +++++++++++++++++++ .../DateFormatterConfig_parameter.properties | 4 ++ 4 files changed, 123 insertions(+) create mode 100755 ccm-core/src/main/resources/com/arsdigita/bebop/BebopConfig_parameter.properties create mode 100755 ccm-core/src/main/resources/com/arsdigita/templating/TemplatingConfig_parameter.properties create mode 100755 ccm-core/src/main/resources/com/arsdigita/web/WebConfig_parameter.properties create mode 100755 ccm-core/src/main/resources/com/arsdigita/xml/formatters/DateFormatterConfig_parameter.properties diff --git a/ccm-core/src/main/resources/com/arsdigita/bebop/BebopConfig_parameter.properties b/ccm-core/src/main/resources/com/arsdigita/bebop/BebopConfig_parameter.properties new file mode 100755 index 000000000..f42f02df5 --- /dev/null +++ b/ccm-core/src/main/resources/com/arsdigita/bebop/BebopConfig_parameter.properties @@ -0,0 +1,44 @@ +waf.bebop.base_page.title=Bebop base page class +waf.bebop.base_page.purpose=Determines what implementation of BasePage is used to serve Bebop pages +waf.bebop.base_page.example=com.arsdigita.ui.SimplePage +waf.bebop.base_page.format=[classname] + +waf.bebop.presentation_manager.title=Bebop presentation manager class +waf.bebop.presentation_manager.purpose=Determines what implementation of PresentationManager is used to style Bebop pages +waf.bebop.presentation_manager.example=com.arsdigita.bebop.page.PageTransformer +waf.bebop.presentation_manager.format=[classname] + +waf.bebop.tidy_config_file.title=JTidy validation listener config file +waf.bebop.tidy_config_file.purpose=Points to the configuration file for the JTidy parameter validation listener +waf.bebop.tidy_config_file.example=com/arsdigita/bebop/parameters/tidy.properties +waf.bebop.tidy_config_file.format=[string] + +waf.bebop.fancy_xsl_errors.title=Fancy XSL errors +waf.bebop.fancy_xsl_errors.purpose=Always display fancy XSL error pages +waf.bebop.fancy_xsl_errors.example=true|false +waf.bebop.fancy_xsl_errors.format=[boolean] + +waf.bebop.dcp_on_buttons.title=Double Click protection for buttons +waf.bebop.dcp_on_buttons.purpose=Specify whether to apply javascript double click protection to form submits +waf.bebop.dcp_on_buttons.example=true|false +waf.bebop.dcp_on_buttons.format=[boolean] + +waf.bebop.dcp_on_links.title=Double Click protection for links +waf.bebop.dcp_on_links.purpose=Specify whether to apply javascript double click protection to anchor elements +waf.bebop.dcp_on_links.example=true|false +waf.bebop.dcp_on_links.format=[boolean] + +waf.bebop.dhtml_editor.title=DHTML editor implementation +waf.bebop.dhtml_editor.purpose=Select which DHTML text input widget is used for DHTMLEditor Bebop component. +waf.bebop.dhtml_editor.example=FCKeditor +waf.bebop.dhtml_editor.format=Xinha|FCKeditor|HTMLArea + +waf.bebop.dhtml_editor_src.title=Relative path to the source javascript file +waf.bebop.dhtml_editor_src.purpose=Relative path to the source javascript file +waf.bebop.dhtml_editor_src.example=/assets/xinha/XinhaLoader.js +waf.bebop.dhtml_editor_src.format=[String] + +waf.bebop.enable_tree_select_attribute.title=isSelected attribute for bebop.Tree nodes +waf.bebop.enable_tree_select_attribute.purpose=Specify whether to turn on isSelected XML attribute on bebop.Tree nodes (performance impact) +waf.bebop.enable_tree_select_attribute.example=true|false +waf.bebop.enable_tree_select_attribute.format=[boolean] diff --git a/ccm-core/src/main/resources/com/arsdigita/templating/TemplatingConfig_parameter.properties b/ccm-core/src/main/resources/com/arsdigita/templating/TemplatingConfig_parameter.properties new file mode 100755 index 000000000..774fce44c --- /dev/null +++ b/ccm-core/src/main/resources/com/arsdigita/templating/TemplatingConfig_parameter.properties @@ -0,0 +1,16 @@ +waf.templating.stylesheet_paths.title=Stylesheet paths file +waf.templating.stylesheet_paths.purpose=PatternStylesheetResolver uses this file to match a request to a stylesheet +waf.templating.stylesheet_paths.example=/WEB-INF/resources/stylesheet-paths.txt +waf.templating.stylesheet_paths.format=[string] +waf.templating.stylesheet_resolver.title=Stylesheet resolver class +waf.templating.stylesheet_resolver.purpose=Specifies a particular implementation of StylesheetResolver interface +waf.templating.stylesheet_resolver.example=com.arsdigita.templating.PatternStylesheetResolver +waf.templating.stylesheet_resolver.format=[classname] +waf.templating.stylesheet_cache_size.title=Stylesheet cache size +waf.templating.stylesheet_cache_size.purpose=Set the number of stylesheets cached +waf.templating.stylesheet_cache_size.example=10 +waf.templating.stylesheet_cache_size.format=[integer] +waf.templating.stylesheet_cache_age.title=Stylesheet cache age +waf.templating.stylesheet_cache_age.purpose=Set the duration of the stylesheet cache, in seconds +waf.templating.stylesheet_cache_age.example=3600 +waf.templating.stylesheet_cache_age.format=[integer] diff --git a/ccm-core/src/main/resources/com/arsdigita/web/WebConfig_parameter.properties b/ccm-core/src/main/resources/com/arsdigita/web/WebConfig_parameter.properties new file mode 100755 index 000000000..e5d683421 --- /dev/null +++ b/ccm-core/src/main/resources/com/arsdigita/web/WebConfig_parameter.properties @@ -0,0 +1,59 @@ +waf.web.default_scheme.title=Default scheme +waf.web.default_scheme.purpose=Determines what HTTP scheme prefix is used to generate URLs +waf.web.default_scheme.example=http +waf.web.default_scheme.format=http|https + +waf.web.server.title=Server +waf.web.server.purpose=Sets the name and port that users of a site will see in URLs generated by WAF +waf.web.server.example=example.com:80 +waf.web.server.format=[server hostname]:[port number] + +waf.web.secure_server.title=Secure server +waf.web.secure_server.purpose=Sets the name and port that users of a site will see in secure URLs generated by WAF +waf.web.secure_server.example=example.com:443 +waf.web.secure_server.format=[server hostname]:[port number] + +waf.web.site_name.title=Site name +waf.web.site_name.purpose=The name of your website, for use in page footers for example +waf.web.site_name.example=Joe's House of HTML +waf.web.site_name.format=[string] + +web.host.title=CCM host +waf.web.host.purpose=Sets the name and port of the machine on which the CCM instance is running +waf.web.host.example=frontend1.example.com:8080 +waf.web.host.format=[hostname]:[port] + +waf.web.secure_required.title=List of URLs where HTTPS is required +waf.web.secure_required.purpose=List of URLs which accessed by insecure (normal HTTP) connection produce a redirect to a HTTPS equivalent +waf.web.secure_required.example=/ccm/register/,/ccm/admin/ +waf.web.secure_required.format=url1,url2,... + +waf.web.secure_switchback.title=List of URLs that switch back to unsecure +waf.web.secure_switchback.purpose=List of URLs which accessed by secure (HTTPS) connection produce a redirect to a HTTP equivalent +waf.web.secure_switchback.example=/ccm/register/logout +waf.web.secure_switchback.format=url1,url2,... + +waf.web.dispatcher_servlet_path.title=Dispatcher servlet path +waf.web.dispatcher_servlet_path.purpose=Sets the servlet path to the WAF dispatcher servlet +waf.web.dispatcher_servlet_path.example=/ccm +waf.web.dispatcher_servlet_path.format=[url] + +waf.web.application_file_resolver.title=Application file resolver class +waf.web.application_file_resolver.purpose=Determines the implementation of ApplicationFileResolver used to dynamically resolve static files +waf.web.application_file_resolver.example=com.arsdigita.web.DefaultApplicationFileResolver +waf.web.application_file_resolver.format=[classname] + +waf.web.cache_policy.title=Default HTTP-header caching policy +waf.web.cache_policy.purpose=Sets the default policy for controlling browser-side caching via HTTP cache headers +waf.web.cache_policy.example=world +waf.web.cache_policy.format=none|disable|user|world + +waf.web.deactivate_cache_host_notifications.title=Deactivate Host Notification for Caches +waf.web.deactivate_cache_host_notifications.purpose=Whether Hosts should be notificed when a Cache needs to be cleared +waf.web.deactivate_cache_host_notifications.example=true +waf.web.deactivate_cache_host_notifications.format=[boolean] + +waf.web.dynamic_host_provider.title=Dynamic Host Provider +waf.web.dynamic_host_provider.purpose=Class name of the DynamicHostProvider to use +waf.web.dynamic_host_provider.example=com.arsdigita.web.ServerDynamicHostProvider +waf.web.dynamic_host_provider.format=[string] diff --git a/ccm-core/src/main/resources/com/arsdigita/xml/formatters/DateFormatterConfig_parameter.properties b/ccm-core/src/main/resources/com/arsdigita/xml/formatters/DateFormatterConfig_parameter.properties new file mode 100755 index 000000000..7c987b31a --- /dev/null +++ b/ccm-core/src/main/resources/com/arsdigita/xml/formatters/DateFormatterConfig_parameter.properties @@ -0,0 +1,4 @@ +waf.xml.formatters.locale.title=Locale language code (see http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt) +waf.xml.formatters.locale.purpose=If set will use this rather than the contexts locale. Useful for things that may be formatted differently in other locales, eg dates. +waf.xml.formatters.locale.example=en +waf.xml.formatters.locale.format=[string] \ No newline at end of file