<?xml version="1.0" encoding="utf-8"?>
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n"
          i18n:domain="ploneintranet"
>
  <record name="ploneintranet.microblog.whitelisted_types">
    <field type="plone.registry.field.Tuple">
      <title i18n:translate="label_whitelisted_types">List of the whitelisted types</title>
      <description i18n:translate="help_whitelisted_types">
        Content types which will automatically create an activity stream update of their creation.
      </description>
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value purge="false">
      <element>Document</element>
      <element>Event</element>
      <element>File</element>
      <element>Image</element>
      <element>News Item</element>
      <element>Link</element>
    </value>
  </record>
  <record name="ploneintranet.microblog.extract.auto">
    <field type="plone.registry.field.Bool">
      <default>False</default>
      <title>Enable automatic extraction of stream attachments</title>
      <description>If enabled, when posting a stream update with an attachment in a workspace, that attachment will be converted to a File stored in the `ploneintranet.microblog.autoextract.folder` folder of that workspace.</description>
      <required>False</required>
    </field>
    <value purge="false">False</value>
  </record>
  <record name="ploneintranet.microblog.extract.folder.id">
    <field type="plone.registry.field.ASCIILine">
      <default>INCOMING</default>
      <title>ASCII id for the folder that stream attachments will be extracted into</title>
      <description>Attachments to stream updates in a workspace will be stored here. Note that even if `ploneintranet.microblog.autoextract.enabled==False` this folder name will still be used if you run the admin `@@extract-attachments` view.</description>
      <required>False</required>
    </field>
    <value purge="false">INCOMING</value>
  </record>
  <record name="ploneintranet.microblog.extract.folder.title">
    <field type="plone.registry.field.TextLine">
      <default>INCOMING</default>
      <title>Unicode title for the folder that stream attachments will be extracted into</title>
      <description>The title shown for the stream attachments folder. This title will only be set on creation of the folder: an existing folder's title will be left unchanged.</description>
      <required>False</required>
    </field>
    <value purge="false">INCOMING</value>
  </record>
</registry>
