Commit 03d734f7 authored by Bartek Górny's avatar Bartek Górny

fixed naming convention and other things

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12210 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ea835668
...@@ -32,17 +32,27 @@ class DocumentPreference: ...@@ -32,17 +32,27 @@ class DocumentPreference:
""" """
_properties = ( _properties = (
{ 'id' : 'preferred_ooodoc_server_address',
'description' : 'address of a server for converting docs (ip or domain)',
'type' : 'string',
'preference' :1,
'mode' : '' },
{ 'id' : 'preferred_ooodoc_server_port_number',
'description' : 'port number of a server for converting docs (ip or domain)',
'type' : 'int',
'preference' :1,
'mode' : '' },
{ 'id' : 'preferred_document_base_category', { 'id' : 'preferred_document_base_category',
'description' : 'list of categories to choose from while classifying', 'description' : 'list of categories to choose from while classifying',
'type' : 'lines', 'type' : 'lines',
'preference' : 1, 'preference' : 1,
'mode' : '' }, 'mode' : '' },
{ 'id' : 'preferred_document_reference_regexp', { 'id' : 'preferred_document_reference_regular_expression',
'description' : 'a regular expression to find and verify doc references', 'description' : 'a regular expression to find and verify doc references',
'type' : 'string', 'type' : 'string',
'preference' : 1, 'preference' : 1,
'mode' : '' }, 'mode' : '' },
{ 'id' : 'preferred_document_filename_regexp', { 'id' : 'preferred_document_file_name_regular_expression',
'description' : 'a regular expression to parse file names', 'description' : 'a regular expression to parse file names',
'type' : 'string', 'type' : 'string',
'preference' : 1, 'preference' : 1,
...@@ -59,6 +69,7 @@ class DocumentPreference: ...@@ -59,6 +69,7 @@ class DocumentPreference:
'preference' : 1, 'preference' : 1,
'mode' : '' }, 'mode' : '' },
# XXX-JPS. This is not a real property - it is somehow a hack. # XXX-JPS. This is not a real property - it is somehow a hack.
# BG: I was advised by somebody from Nexedi (I think it was Jerome)
{ 'id' : 'document_ingestion_email_notification_selection', { 'id' : 'document_ingestion_email_notification_selection',
'description' : 'List of possible values for preferred_document_ingestion_email_notification', 'description' : 'List of possible values for preferred_document_ingestion_email_notification',
'type' : 'lines', 'type' : 'lines',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment