<?xml version="1.0" encoding="utf-8"?>
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n"
          i18n:domain="ploneintranet"
>
  <record name="ploneintranet.workspace.allow_video_uploads">
    <field type="plone.registry.field.Bool">
      <default>True</default>
      <title>Allow video uploads</title>
      <description>Offer the option to upload videos. If deactivated videos can still be uploaded as regular files limited by the web servers upload size restrictions. But there is no explicit option for uploading video files offered through the UI.</description>
      <required>False</required>
    </field>
    <value purge="false">True</value>
  </record>
  <record name="ploneintranet.workspace.allow_bulk_subscribe">
    <field type="plone.registry.field.Bool">
      <default>False</default>
      <title>Allow subscribe in workspace bulk action</title>
      <description>If checked, the user can subscribe to the selected objects</description>
      <required>False</required>
    </field>
    <value purge="false">False</value>
  </record>
  <record name="ploneintranet.workspace.case_manager.states">
    <field type="plone.registry.field.Tuple">
      <title i18n:translate="label_case_manager_states">Case Manager Workflow States</title>
      <description i18n:translate="help_case_manager_states">Only these States are shown for filtering</description>
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value purge="false">
      <element>new</element>
      <element>pending</element>
      <element>published</element>
      <element>rejected</element>
      <element>frozen</element>
    </value>
  </record>
  <record name="ploneintranet.workspace.externaleditor_always_activated">
    <field type="plone.registry.field.Bool">
      <default>False</default>
      <description i18n:translate="help_externaleditor_always_activated">When true, the isActivatedInMemberProperty() and isActivatedInSiteProperty() methods of the EnabledView always return True. Otherwise the normal behaviour as implemented in collective.externaleditor is used.</description>
      <required>False</required>
      <title i18n:translate="label_externaleditor_always_activated">External Editor always activated.</title>
    </field>
    <value purge="false">False</value>
  </record>
  <record name="ploneintranet.workspace.sort_options">
    <field type="plone.registry.field.Dict">
      <title i18n:translate="label_workspace_sort_options">Workspace sort options</title>
      <description i18n:translate="help_workspace_sort_options">Controls in which way we are able to sort the workspaces</description>
      <key_type type="plone.registry.field.TextLine" />
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value purge="false">
      <element key="activity"
               i18n:translate=""
      >Most active workspaces on top</element>
      <element key="alphabet"
               i18n:translate=""
      >Alphabetical</element>
      <element key="newest"
               i18n:translate=""
      >Newest workspaces on top</element>
    </value>
  </record>
  <record name="ploneintranet.workspace.my_workspace_sorting">
    <field type="plone.registry.field.TextLine">
      <default>title</default>
      <title i18n:translate="label_my_workspace_sorting">My workspace sorting.</title>
      <description i18n:translate="help_my_workspace_sorting">
        At the moment we are able to handle the values "active", "alphabet" and "newest".
      </description>
      <required>True</required>
    </field>
    <value purge="false">alphabet</value>
  </record>
  <record name="ploneintranet.workspace.workspace_type_filters">
    <field type="plone.registry.field.Dict">
      <title i18n:translate="label_workspace_type_filters">Workspace type filters</title>
      <description i18n:translate="help_workspace_type_filters">Workspace types which can be used for filtering on the workspaces view</description>
      <key_type type="plone.registry.field.TextLine" />
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value purge="false">
      <element key="ploneintranet.workspace.workspacefolder">Generic workspaces</element>
      <element key="ploneintranet.workspace.case">Cases</element>
    </value>
  </record>
  <record name="ploneintranet.workspace.workspace_types_css_mapping">
    <field type="plone.registry.field.Tuple">
      <title i18n:translate="label_workspace_types_css_mapping">Maps workspace portal types to css classes</title>
      <description i18n:translate="help_workspace_types_css_mapping">
        If a portal_type is not here it will default to regular.
        The values should be passed as "{type}|{css class}",
        e.g. "ploneintranet.workspace.case|type-case"
      </description>
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value purge="false">
      <element>ploneintranet.workspace.case|type-case</element>
      <element>ploneintranet.workspace.superspace|type-super</element>
    </value>
  </record>
  <record name="ploneintranet.workspace.sanitize_html">
    <field type="plone.registry.field.Bool">
      <default>True</default>
      <description i18n:translate="help_sanitize_html">If set to True, RichText content (HTML) in workspaces is sanitized before it gets stored. That means all open tags are properly closed, and inline styles and unwanted tags such as SPAN or BLOCKQUOTE get stripped. Multipe line breaks get reduced to a single line break.</description>
      <required>False</required>
      <title i18n:translate="label_sanitize_html">Sanitize HTML on saving.</title>
    </field>
    <value purge="false">True</value>
  </record>
  <record name="ploneintranet.workspace.autosave_portal_types">
    <field type="plone.registry.field.Tuple">
      <title i18n:translate="label_autosave_portal_types">Autosave portal types</title>
      <description i18n:translate="help_autosave_portal_types">Enable autosave for the selected portal types (works for edit forms inside workspaces)</description>
      <required>False</required>
      <default />
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value purge="false">True</value>
  </record>
  <record name="ploneintranet.workspace.autosave_delay">
    <field type="plone.registry.field.Int">
      <title i18n:translate="">Autosave delay</title>
      <description i18n:translate="">Number of ms the client will wait before submitting a document</description>
      <required>True</required>
      <default>2000</default>
      <min>1</min>
    </field>
  </record>
  <record name="ploneintranet.workspace.include_slcclicktracker">
    <field type="plone.registry.field.Bool">
      <title i18n:translate="label_include_slcclicktracker">Include an slcclicktracker element in the content default view templates</title>
      <default>False</default>
    </field>
    <value purge="false">False</value>
  </record>
  <record name="ploneintranet.workspace.default_grouping">
    <field type="plone.registry.field.TextLine">
      <title i18n:translate="label_workspace_default_grouping">Workspace default grouping</title>
      <required>False</required>
      <default>folder</default>
    </field>
    <value purge="false">folder</value>
  </record>
  <record name="ploneintranet.workspace.sidebar.folderish_types">
    <field type="plone.registry.field.Tuple">
      <title i18n:translate="label_workspace_sidebar_folderish_types">Types that are considered as containers in the document sidebar</title>
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value purge="false">
      <element>Folder</element>
    </value>
  </record>
  <record name="ploneintranet.workspace.sidebar.blacklisted_types">
    <field type="plone.registry.field.Tuple">
      <title i18n:translate="label_workspace_sidebar_blacklisted_types">Types that are blacklisted in the document sidebar</title>
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value purge="false">
      <element>Event</element>
      <element>todo</element>
    </value>
  </record>
  <record name="ploneintranet.workspace.rename_after_title_changed">
    <field type="plone.registry.field.Bool">
      <default>True</default>
      <title>Rename the content after the title changes</title>
      <description>If checked, the id of the document will be renamed after the title changes</description>
      <required>False</required>
    </field>
    <value purge="false">True</value>
  </record>
  <record name="ploneintranet.workspace.preserve_template_ownership">
    <field type="plone.registry.field.Bool">
      <title i18n:translate="label_preserve_template_ownership">Preserve templates ownership</title>
      <description i18n:translate="help_preserve_template_ownership">Check if we should preserve the templates ownership after a copy.</description>
      <default>False</default>
      <required>False</required>
    </field>
    <value purge="false">False</value>
  </record>
  <record name="ploneintranet.workspace.use_phase_due_dates">
    <field type="plone.registry.field.Bool">
      <default>False</default>
      <description i18n:translate="help_use_phase_due_dates">If set to True, cases will expose the due date management functionality. You need to have the quaive.app.milestones package installed.</description>
      <required>False</required>
      <title i18n:translate="label_use_phase_due_dates">Use phase due dates?</title>
    </field>
    <value purge="false">False</value>
  </record>
  <record name="ploneintranet.workspace.phase_due_dates_default">
    <field type="plone.registry.field.Bool">
      <default>False</default>
      <description i18n:translate="help_phase_due_dates_default">If set to True, workspaces will be created with due date support turned on by default. You need to have the quaive.app.milestones package installed.</description>
      <required>False</required>
      <title i18n:translate="label_phase_due_dates_default">Default Value for Phase Due Dates.</title>
    </field>
    <value purge="false">False</value>
  </record>
  <record name="ploneintranet.workspace.hide_private_nonmember_workspaces">
    <field type="plone.registry.field.Bool">
      <default>False</default>
      <title>Make the newly added private workspaces not visible in the workspace overview of the non members</title>
      <description>This means the workspace will have a security policy identical to the secret workspaces, anyway they will have different participation and join policies. By default this checkbox is unchecked.</description>
      <required>False</required>
    </field>
    <value purge="false">False</value>
  </record>
  <record name="plone.types_not_searched">
    <value purge="false">
      <element>ploneintranet.workspace.superspace</element>
      <element>ploneintranet.workspace.workspacecontainer</element>
    </value>
  </record>
  <record name="ploneintranet.workspace.mailin.folder.id">
    <field type="plone.registry.field.ASCIILine">
      <default />
      <title>ASCII id for the folder that incoming emails will be imported into.</title>
      <description>Emails and their attachments mailed into a workspace will be stored in a folder with this id. You may want to configure this to be equal to the ``ploneintranet.microblog.extract.folder.id`` incoming folder for stream attachments. If this record is not set, imported emails will be stored toplevel in the workspace.</description>
      <required>False</required>
    </field>
    <value purge="false" />
  </record>
  <record name="ploneintranet.workspace.mailin.folder.title">
    <field type="plone.registry.field.TextLine">
      <default />
      <title>Unicode title for the folder that emails will be imported into</title>
      <description>The title shown for the email import folder. This title will only be set on creation of the folder: an existing folder's title will be left unchanged. If not set, the folder id will be used.</description>
      <required>False</required>
    </field>
    <value purge="false" />
  </record>
  <record name="ploneintranet.workspace.video_conference_server">
    <field type="plone.registry.field.TextLine">
      <default />
      <title>The video conference server we can use to make video conference calls</title>
      <required>False</required>
    </field>
    <value purge="false" />
  </record>
  <record name="ploneintranet.workspace.hero_image_on_tile">
    <field type="plone.registry.field.Bool">
      <default>False</default>
      <title>Show a workspace's hero image on the workspace tile</title>
      <description>Showing the hero image as a background of the tile makes a workspace easier to recognize. On large sites with many workspaces, enabling this option might lead to performance issues. Use with care.</description>
      <required>False</required>
    </field>
    <value purge="false">False</value>
  </record>
</registry>
