Update of /var/cvs/contributions/didactor2/src/core/config/builders/resources
In directory james.mmbase.org:/tmp/cvs-serv2113

Modified Files:
        attachments.xml images.xml urls.xml 
Removed Files:
        icaches.xml posrel.xml 
Log Message:
cleaned up dramaticly (also using fix for   MMB-1714)


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/config/builders/resources
See also: http://www.mmbase.org/jira/browse/MMB-1714


Index: attachments.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/config/builders/resources/attachments.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- attachments.xml     31 Jan 2008 13:15:41 -0000      1.3
+++ attachments.xml     3 Sep 2008 16:59:29 -0000       1.4
@@ -4,25 +4,7 @@
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="http://www.mmbase.org/xmlns/builder
                         http://www.mmbase.org/xmlns/builder.xsd";
-    name="attachments" maintainer="www.mmbase.org" version="0" 
extends="object">
-  <status>active</status>
-  <class>org.mmbase.module.builders.Attachments</class>
-
-  <searchage>31</searchage>
-  <names>
-    <singular xml:lang="en">Attachment</singular>
-    <singular xml:lang="nl">Bijlage</singular>
-    <singular xml:lang="eo">Aldono</singular>
-
-    <plural xml:lang="en">Attachments</plural>
-    <plural xml:lang="nl">Bijlagen</plural>
-    <plural xml:lang="eo">Aldonoj</plural>
-  </names>
-
-  <descriptions>
-    <description xml:lang="en">Attachment, such as a PDF file</description>
-    <description xml:lang="nl">Bijlage, zoals een PDF bestand</description>
-  </descriptions>
+    name="attachments" maintainer="www.mmbase.org" version="1000" 
extends="attachments">
 
   <properties>
     <property name="wizard">config/attachment/attachment</property>
@@ -30,151 +12,6 @@
   </properties>
 
   <fieldlist>
-    <field name="title">
-      <descriptions>
-        <description xml:lang="en">Title of the attachment</description>
-        <description xml:lang="nl">Titel van de bijlage</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Title</guiname>
-        <guiname xml:lang="nl">Titel</guiname>
-        <guiname xml:lang="eo">Titolo</guiname>
-        <guiname xml:lang="ro">Titlu</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>1</list>
-        </positions>
-      </editor>
-      <datatype base="line" xmlns="http://www.mmbase.org/xmlns/datatypes";>
-        <maxLength value="255" enforce="never"/>
-      </datatype>
-    </field>
-
-    <field name="description">
-      <descriptions>
-        <description xml:lang="en">Description of the attachment</description>
-        <description xml:lang="nl">Omschrijving van de bijlage</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Description</guiname>
-        <guiname xml:lang="nl">Omschrijving</guiname>
-        <guiname xml:lang="eo">Priskribo</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>2</list>
-        </positions>
-      </editor>
-      <datatype base="field" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-      <db>
-        <type state="persistent" size="64000" notnull="false" 
key="false">STRING</type>
-      </db>
-    </field>
-
-    <field name="mimetype">
-      <descriptions>
-        <description xml:lang="en">Mimetype of the attachment, default: 
application/octet-stream</description>
-        <description xml:lang="nl">Mimetype van de bijlage, standaard: 
application/octet-stream</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">MimeType</guiname>
-        <guiname xml:lang="nl">MimeType</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>3</list>
-        </positions>
-      </editor>
-      <datatype base="line" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-      <db>
-        <type state="persistent" size="128" notnull="true" 
key="false">STRING</type>
-      </db>
-    </field>
-
-    <field name="filename">
-      <descriptions>
-        <description xml:lang="en">Original filename of attachment if it was 
an uploaded file</description>
-        <description xml:lang="nl">Oorspronkelijke bestandsnaam als de bijlage 
een ge-uplaod bestand betreft</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Filename</guiname>
-        <guiname xml:lang="nl">Bestandsnaam</guiname>
-        <guiname xml:lang="eo">Dosiernomo</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>4</list>
-        </positions>
-      </editor>
-      <datatype base="filename" xmlns="http://www.mmbase.org/xmlns/datatypes"; 
/>
-      <db>
-        <type state="persistent" size="255" notnull="true" 
key="false">STRING</type>
-      </db>
-    </field>
-
-    <field name="size">
-      <descriptions>
-        <description xml:lang="en">Size of the attachment in 
bytes</description>
-        <description xml:lang="nl">Grootte van de bijlage in 
bytes</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Size</guiname>
-        <guiname xml:lang="nl">Grootte</guiname>
-        <guiname xml:lang="eo">Grando</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>4</list>
-        </positions>
-      </editor>
-      <datatype base="filesize" xmlns="http://www.mmbase.org/xmlns/datatypes"; 
/>
-      <db>
-        <type state="persistent" notnull="true" key="false">INTEGER</type>
-      </db>
-    </field>
-
-    <field name="handle">
-      <descriptions>
-        <description xml:lang="en">The attachment (which you can upload as a 
file)</description>
-        <description xml:lang="nl">De bijlage, up te loaden als een 
bestand</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">File</guiname>
-        <guiname xml:lang="nl">Bestand</guiname>
-        <guiname xml:lang="eo">Dosiero</guiname>
-        <guiname xml:lang="ro">Fisier</guiname>
-      </gui>
-      <db>
-        <type state="persistent" size="16777215" notnull="true" 
key="false">BINARY</type>
-      </db>
-    </field>
-
-    <field name="date" state="system">
-      <descriptions>
-        <description xml:lang="en">The date the attachment is 
created</description>
-        <description xml:lang="nl">De datum waarop de bijlage is 
gecreeerd</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Date</guiname>
-        <guiname xml:lang="nl">Datum</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>9</list>
-        </positions>
-      </editor>
-      <datatype base="datetime" xmlns="http://www.mmbase.org/xmlns/datatypes";>
-        <!-- cannot use 'created', because it is read-only -->
-        <getprocessor type="*">
-          <class name="org.mmbase.datatypes.processors.CreationTimeGuesser" />
-        </getprocessor>
-        <getprocessor type="string">
-          <class name="org.mmbase.datatypes.processors.CreationTimeGuesser" />
-          <class name="org.mmbase.datatypes.processors.FormatDateTime" />
-        </getprocessor>
-      </datatype>
-    </field>
 
     <field name="showtitle">
       <descriptions>


Index: images.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/config/builders/resources/images.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- images.xml  31 Jan 2008 13:15:41 -0000      1.3
+++ images.xml  3 Sep 2008 16:59:29 -0000       1.4
@@ -4,236 +4,11 @@
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="http://www.mmbase.org/xmlns/builder
                         http://www.mmbase.org/xmlns/builder.xsd";
-    name="images" maintainer="mmbase.org" version="0" extends="object">
+    name="images" maintainer="mmbase.org" version="1000" extends="images">
 
-  <class>org.mmbase.module.builders.Images</class>
-
-  <searchage>31</searchage>
-  <names>
-    <singular xml:lang="en">Image</singular>
-    <singular xml:lang="fr">Image</singular>
-    <singular xml:lang="nl">Afbeelding</singular>
-    <singular xml:lang="eo">Bildo</singular>
-    <singular xml:lang="it">Immagine</singular>
-
-    <plural xml:lang="en">Images</plural>
-    <plural xml:lang="fr">Images</plural>
-    <plural xml:lang="nl">Afbeeldingen</plural>
-    <plural xml:lang="eo">Bildoj</plural>
-    <plural xml:lang="it">Immagini</plural>
-  </names>
-
-
-  <descriptions>
-    <description xml:lang="en">Images</description>
-    <description xml:lang="fr">Images</description>
-    <description xml:lang="nl">Afbeeldingen</description>
-    <description xml:lang="eo">Bildoj</description>
-    <description xml:lang="it">Immagini</description>
-  </descriptions>
-
-
-
-  <properties>
-    <property name="wizard">config/image/image</property>
-    <property name="orderby">title</property>
-
-     <!-- convert using JAI 
http://java.sun.com/products/java-media/jai/index.html
-    NOTE: not all features provided by ImageMagic are implemented in the JAI 
converter -->
-    <!-- <property 
name="ImageConvertClass">org.mmbase.util.images.JAIImageConverter</property> -->
-
-    <!-- convert using ImageMagick -->
-    <property 
name="ImageConvertClass">org.mmbase.util.images.ImageMagickImageConverter</property>
-
-    <property name="ImageConvert.DefaultImageFormat">asis</property> <!-- The 
default format of icache-objects. Defaults to jpeg if this option is missing 
here. 'asis' means, same format as the images object -->
-
-    <property 
name="ImageInformerClass">org.mmbase.util.images.DummyImageInformer</property>
-
-    <!-- generic properties for all converters -->
-    <property name="MaxConcurrentRequests">3</property>
-    <property name="DefaultImageType">jpg</property><!-- used if determination 
of image-type failed -->
-
-    <!-- Whether to check for 'legacy' CKeys (that is where the +ses are 
removed) Not needed for new
-         sites. Probably also not needed for old sites, certainly not if they 
runned for a while
-         with LegacyCKey on true.
-    -->
-    <property name="LegacyCKey">false</property>
-  </properties>
 
   <fieldlist>
 
-    <field name="title">
-      <descriptions>
-
-        <description xml:lang="en">Title of the image</description>
-        <description xml:lang="nl">Titel van de afbeelding</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Title</guiname>
-        <guiname xml:lang="fr">Titre</guiname>
-        <guiname xml:lang="nl">Titel</guiname>
-        <guiname xml:lang="eo">Titolo</guiname>
-        <guiname xml:lang="it">Titolo</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>1</list>
-        </positions>
-      </editor>
-      <datatype base="line" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-      <db>
-        <type state="persistent" size="255" notnull="true" 
key="false">STRING</type>
-      </db>
-    </field>
-
-    <field name="description">
-      <descriptions>
-        <description xml:lang="en">Description of the image</description>
-        <description xml:lang="nl">Omschrijving van de afbeelding</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Description</guiname>
-        <guiname xml:lang="fr">Description</guiname>
-        <guiname xml:lang="nl">Omschrijving</guiname>
-        <guiname xml:lang="eo">Priskribo</guiname>
-        <guiname xml:lang="it">Descrizione</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>3</list>
-        </positions>
-      </editor>
-      <datatype base="line" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-      <db>
-        <type state="persistent" size="1024" notnull="false" 
key="false">STRING</type>
-      </db>
-    </field>
-
-    <field name="handle">
-      <descriptions>
-        <description xml:lang="en">The image itself (binary data)</description>
-        <description xml:lang="nl">De afbeelding zelf (binaire 
data)</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Image</guiname>
-        <guiname xml:lang="fr">Image</guiname>
-        <guiname xml:lang="nl">Plaatje</guiname>
-        <guiname xml:lang="eo">Bildo</guiname>
-        <guiname xml:lang="it">Immagine</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>2</list>
-        </positions>
-      </editor>
-      <datatype xmlns="http://www.mmbase.org/xmlns/datatypes";>
-        <pattern value="image/.*" />
-      </datatype>
-      <db>
-        <type state="persistent" size="16777215" notnull="true" 
key="false">BINARY</type>
-      </db>
-    </field>
-
-    <field name="itype">
-      <descriptions>
-        <description xml:lang="en">Mimetype of the image</description>
-        <description xml:lang="nl">Mimetype van de afbeelding</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">ImageType</guiname>
-        <guiname xml:lang="fr">ImageTapent</guiname>
-        <guiname xml:lang="nl">PlaatjesType</guiname>
-        <guiname xml:lang="eo">Bildotipo</guiname>
-        <guiname xml:lang="it">ImmagineTipo</guiname>
-      </gui>
-      <datatype base="eline" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-      <db>
-        <type state="system" size="32" notnull="true" key="false">STRING</type>
-      </db>
-    </field>
-
-    <field name="filesize" state="system">
-      <descriptions>
-        <description xml:lang="en">Filesize of the image</description>
-        <description xml:lang="nl">Filegrootte van het plaatje</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Size</guiname>
-        <guiname xml:lang="nl">Grootte</guiname>
-          <guiname xml:lang="fr">Taille</guiname>
-          <guiname xml:lang="eo">Grando</guiname>
-          <guiname xml:lang="it">Dimensione</guiname>
-        </gui>
-        <editor>
-          <positions>
-             <list>5</list>
-          </positions>
-        </editor>
-        <datatype base="filesize" 
xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-     </field>
-    <field name="width" state="system">
-      <descriptions>
-        <description xml:lang="en">Width of the image in pixels</description>
-        <description xml:lang="nl">Breedte van het plaatje in 
pixels</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Width</guiname>
-        <guiname xml:lang="nl">Breedte</guiname>
-        <guiname xml:lang="eo">Lar??o</guiname>
-      </gui>
-      <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-    </field>
-
-    <field name="height" state="system">
-      <descriptions>
-        <description xml:lang="en">Height of the image in pixels</description>
-        <description xml:lang="nl">Hoogte van het plaatje in 
pixels</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Height</guiname>
-        <guiname xml:lang="nl">Hoogte</guiname>
-        <guiname xml:lang="eo">Alto</guiname>
-      </gui>
-      <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-    </field>
-
-    <field name="filename">
-      <descriptions>
-        <description xml:lang="en">Original filename of attachment if it was 
an uploaded file</description>
-        <description xml:lang="nl">Oorspronkelijke bestandsnaam als de bijlage 
een ge-upload bestand betreft</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Filename</guiname>
-        <guiname xml:lang="nl">Bestandsnaam</guiname>
-        <guiname xml:lang="eo">Dosiernomo</guiname>
-      </gui>
-      <datatype base="filename" xmlns="http://www.mmbase.org/xmlns/datatypes"; 
/>
-      <db>
-        <type state="persistent" size="255" notnull="true" 
key="false">STRING</type>
-      </db>
-    </field>
-
-    <!--
-        If you use this field, then you ensure that no duplicate images can be 
uploaded.
-    -->
-    <!--
-    <field>
-      <descriptions>
-        <description xml:lang="en">Checksum of byte array, which allows for 
uniqueness checking</description>
-        <description xml:lang="nl">Checksum van de bytes, hiermee kan men 
controleren of een plaatje al bestaat</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Checksum</guiname>
-        <guiname xml:lang="nl">Checksum</guiname>
-      </gui>
-      <datatype base="checksum" xmlns="http://www.mmbase.org/xmlns/datatypes"; 
/>
-      <db>
-        <name>checksum</name>
-        <type state="system" size="255" unique="true" notnull="false" 
key="false">STRING</type>
-      </db>
-    </field>
-    -->
-
     <field name="showtitle">
       <descriptions>
         <description xml:lang="nl">Titel laten zien van het 
attachment</description>


Index: urls.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/config/builders/resources/urls.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- urls.xml    31 Jan 2008 13:15:41 -0000      1.2
+++ urls.xml    3 Sep 2008 16:59:29 -0000       1.3
@@ -4,24 +4,7 @@
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="http://www.mmbase.org/xmlns/builder
                         http://www.mmbase.org/xmlns/builder.xsd";
-    name="urls" maintainer="www.mmbase.org" version="0" extends="object">
-  <status>active</status>
-  <class>org.mmbase.module.builders.Urls</class>
-  <searchage>14</searchage>
-  <names>
-    <singular xml:lang="en">URL</singular>
-    <singular xml:lang="nl">URL</singular>
-
-    <plural xml:lang="en">URLs</plural>
-    <plural xml:lang="nl">Links</plural>
-    <plural xml:lang="bg">????????????</plural>
-    <plural xml:lang="ro">Leg??turi</plural>
-  </names>
-
-  <descriptions>
-    <description xml:lang="en">Urls to external sites</description>
-    <description xml:lang="nl">Urls naar externe sites</description>
-  </descriptions>
+    name="urls" maintainer="mmbase.org" version="1000" extends="urls">
 
   <properties>
     <property name="wizard">config/url/urls</property>
@@ -30,61 +13,6 @@
 
   <fieldlist>
 
-    <field name="name">
-      <descriptions>
-        <description xml:lang="en">The name of the site or page this url links 
to</description>
-        <description xml:lang="nl">De naam van de pagina of website waar deze 
link naar wijst</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Name</guiname>
-        <guiname xml:lang="nl">Naam</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>2</list>
-        </positions>
-      </editor>
-      <datatype base="line" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-      <db>
-        <type state="persistent" size="255" notnull="true" 
key="false">STRING</type>
-      </db>
-    </field>
-
-    <field name="url">
-      <descriptions>
-        <description xml:lang="en">The link or site internet 
address</description>
-        <description xml:lang="nl">Het internet adres avnd e link of 
website</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Url</guiname>
-        <guiname xml:lang="nl">Url</guiname>
-      </gui>
-      <editor>
-        <positions>
-          <list>3</list>
-        </positions>
-      </editor>
-      <datatype base="line" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-      <db>
-        <type state="persistent" size="255" notnull="true" 
key="false">STRING</type>
-      </db>
-    </field>
-
-    <field name="description">
-      <descriptions>
-        <description xml:lang="en">A short description of the website of 
page</description>
-        <description xml:lang="nl">Een korte omschrijving van de website of 
pagina</description>
-      </descriptions>
-      <gui>
-        <guiname xml:lang="en">Description</guiname>
-        <guiname xml:lang="nl">Omschrijving</guiname>
-      </gui>
-     <datatype base="field" xmlns="http://www.mmbase.org/xmlns/datatypes"; />
-      <db>
-        <type state="persistent" size="255" notnull="true" 
key="false">STRING</type>
-      </db>
-    </field>
-
     <field name="showtitle">
       <descriptions>
         <description xml:lang="nl">Titel laten zien van het 
attachment</description>




_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to