<commit_before><?xml version="1.0" encoding="UTF-8"?>

<!--
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see http://www.gnu.org/licenses/
-->

<xwikidoc version="1.1">
  <web>PhenoTips</web>
  <name>FamilyClass</name>
  <language/>
  <defaultLanguage/>
  <translation>0</translation>
  <creator>xwiki:XWiki.Admin</creator>
  <creationDate>1426189200000</creationDate>
  <parent>PhenoTips.WebHome</parent>
  <author>xwiki:XWiki.Admin</author>
  <contentAuthor>xwiki:XWiki.Admin</contentAuthor>
  <date>1426193123000</date>
  <contentUpdateDate>1426193123000</contentUpdateDate>
  <version>1.1</version>
  <title/>
  <comment/>
  <minorEdit>false</minorEdit>
  <syntaxId>xwiki/2.1</syntaxId>
  <hidden>false</hidden>
  <content>{{include reference="XWiki.ClassSheet"/}}</content>
  <class>
    <name>PhenoTips.FamilyClass</name>
    <customClass/>
    <customMapping/>
    <defaultViewSheet/>
    <defaultEditSheet/>
    <defaultWeb/>
    <nameField/>
    <validationScript/>
    <external_id>
      <customDisplay/>
      <disabled>0</disabled>
      <name>external_id</name>
      <number>2</number>
      <picker>0</picker>
      <prettyName>Identifier</prettyName>
      <size>30</size>
      <unmodifiable>0</unmodifiable>
      <validationMessage/>
      <validationRegExp/>
      <classType>com.xpn.xwiki.objects.classes.StringClass</classType>
    </external_id>
    <identifier>
      <customDisplay/>
      <disabled>0</disabled>
      <name>identifier</name>
      <number>1</number>
      <numberType>long</numberType>
      <prettyName>Internal identifier</prettyName>
      <size>30</size>
      <unmodifiable>0</unmodifiable>
      <validationMessage/>
      <validationRegExp/>
      <classType>com.xpn.xwiki.objects.classes.NumberClass</classType>
    </identifier>
    <members>
      <cache>0</cache>
      <classname/>
      <customDisplay/>
      <disabled>0</disabled>
      <displayType>select</displayType>
      <idField/>
      <multiSelect>1</multiSelect>
      <name>members</name>
      <number>3</number>
      <picker>0</picker>
      <prettyName>Family members</prettyName>
      <relationalStorage>1</relationalStorage>
      <separator> </separator>
      <separators/>
      <size>1</size>
      <sort>none</sort>
      <sql/>
      <unmodifiable>0</unmodifiable>
      <validationMessage/>
      <validationRegExp/>
      <valueField/>
      <classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
    </members>
    <reports>
      <cache>0</cache>
      <classname/>
      <customDisplay>{{velocity output="false"}}
#if (!$value)
  #set ($value = [])
#end
{{/velocity}}

{{include reference="PhenoTips.ImageDisplayer" /}}</customDisplay>
      <disabled>0</disabled>
      <displayType>checkbox</displayType>
      <idField/>
      <multiSelect>1</multiSelect>
      <name>reports</name>
      <number>4</number>
      <picker>0</picker>
      <prettyName>Reports</prettyName>
      <relationalStorage>1</relationalStorage>
      <separator> </separator>
      <separators/>
      <size>1</size>
      <sort>none</sort>
      <sql/>
      <unmodifiable>0</unmodifiable>
      <validationMessage>pdf</validationMessage>
      <validationRegExp>^application\/pdf$</validationRegExp>
      <valueField/>
      <classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
    </reports>
    <warning>
      <customDisplay/>
      <defaultValue/>
      <disabled>0</disabled>
      <displayFormType>checkbox</displayFormType>
      <displayType/>
      <name>warning</name>
      <number>5</number>
      <prettyName>Display sensitive information warning</prettyName>
      <unmodifiable>0</unmodifiable>
      <validationMessage/>
      <validationRegExp/>
      <classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
    </warning>
    <warning_message>
      <customDisplay/>
      <disabled>0</disabled>
      <editor>---</editor>
      <name>warning_message</name>
      <number>6</number>
      <picker>0</picker><commit_msg>PT-1548: Only allow simple text in the warning message<commit_after><?xml version="1.0" encoding="UTF-8"?>

<!--
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see http://www.gnu.org/licenses/
-->

<xwikidoc version="1.1">
  <web>PhenoTips</web>
  <name>FamilyClass</name>
  <language/>
  <defaultLanguage/>
  <translation>0</translation>
  <creator>xwiki:XWiki.Admin</creator>
  <creationDate>1426189200000</creationDate>
  <parent>PhenoTips.WebHome</parent>
  <author>xwiki:XWiki.Admin</author>
  <contentAuthor>xwiki:XWiki.Admin</contentAuthor>
  <date>1426193123000</date>
  <contentUpdateDate>1426193123000</contentUpdateDate>
  <version>1.1</version>
  <title/>
  <comment/>
  <minorEdit>false</minorEdit>
  <syntaxId>xwiki/2.1</syntaxId>
  <hidden>false</hidden>
  <content>{{include reference="XWiki.ClassSheet"/}}</content>
  <class>
    <name>PhenoTips.FamilyClass</name>
    <customClass/>
    <customMapping/>
    <defaultViewSheet/>
    <defaultEditSheet/>
    <defaultWeb/>
    <nameField/>
    <validationScript/>
    <external_id>
      <customDisplay/>
      <disabled>0</disabled>
      <name>external_id</name>
      <number>2</number>
      <picker>0</picker>
      <prettyName>Identifier</prettyName>
      <size>30</size>
      <unmodifiable>0</unmodifiable>
      <validationMessage/>
      <validationRegExp/>
      <classType>com.xpn.xwiki.objects.classes.StringClass</classType>
    </external_id>
    <identifier>
      <customDisplay/>
      <disabled>0</disabled>
      <name>identifier</name>
      <number>1</number>
      <numberType>long</numberType>
      <prettyName>Internal identifier</prettyName>
      <size>30</size>
      <unmodifiable>0</unmodifiable>
      <validationMessage/>
      <validationRegExp/>
      <classType>com.xpn.xwiki.objects.classes.NumberClass</classType>
    </identifier>
    <members>
      <cache>0</cache>
      <classname/>
      <customDisplay/>
      <disabled>0</disabled>
      <displayType>select</displayType>
      <idField/>
      <multiSelect>1</multiSelect>
      <name>members</name>
      <number>3</number>
      <picker>0</picker>
      <prettyName>Family members</prettyName>
      <relationalStorage>1</relationalStorage>
      <separator> </separator>
      <separators/>
      <size>1</size>
      <sort>none</sort>
      <sql/>
      <unmodifiable>0</unmodifiable>
      <validationMessage/>
      <validationRegExp/>
      <valueField/>
      <classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
    </members>
    <reports>
      <cache>0</cache>
      <classname/>
      <customDisplay>{{velocity output="false"}}
#if (!$value)
  #set ($value = [])
#end
{{/velocity}}

{{include reference="PhenoTips.ImageDisplayer" /}}</customDisplay>
      <disabled>0</disabled>
      <displayType>checkbox</displayType>
      <idField/>
      <multiSelect>1</multiSelect>
      <name>reports</name>
      <number>4</number>
      <picker>0</picker>
      <prettyName>Reports</prettyName>
      <relationalStorage>1</relationalStorage>
      <separator> </separator>
      <separators/>
      <size>1</size>
      <sort>none</sort>
      <sql/>
      <unmodifiable>0</unmodifiable>
      <validationMessage>pdf</validationMessage>
      <validationRegExp>^application\/pdf$</validationRegExp>
      <valueField/>
      <classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
    </reports>
    <warning>
      <customDisplay/>
      <defaultValue/>
      <disabled>0</disabled>
      <displayFormType>checkbox</displayFormType>
      <displayType/>
      <name>warning</name>
      <number>5</number>
      <prettyName>Display sensitive information warning</prettyName>
      <unmodifiable>0</unmodifiable>
      <validationMessage/>
      <validationRegExp/>
      <classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
    </warning>
    <warning_message>
      <contenttype>PureText</contenttype>
      <customDisplay/>
      <disabled>0</disabled>
      <editor>PureText</editor>
      <name>warning_message</name>
      <number>6</number>
      <picker>0</picker>
{'fraction_non_alphanumeric': 0.14038054968287528, 'fraction_numerical': 0.017970401691331923, 'mean_word_length': 3.2713318284424378, 'pattern_counts': {'":': 0, '<': 407, '<?xml version=': 2, '>': 407, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7393609', 'n_tokens_mistral': 3041, 'n_tokens_neox': 2926, 'n_words': 532}