paperless/conf.php

89 lines
3.3 KiB
PHP
Raw Normal View History

2022-12-10 10:25:22 +00:00
<?php
$EXT_CONF['paperless'] = array(
2023-01-17 12:11:51 +00:00
'title' => 'Paperless RestAPI',
'description' => 'This extension adds additional rest api routes to make it behave like a paperless server. Just use the regular paperless apps, .e.g paperless mobile to access SeedDMS.',
2022-12-10 10:25:22 +00:00
'disable' => false,
2024-07-16 06:42:14 +00:00
'version' => '1.2.3',
'releasedate' => '2024-07-16',
2022-12-10 10:25:22 +00:00
'author' => array('name'=>'Uwe Steinmann', 'email'=>'uwe@steinmann.cx', 'company'=>'MMK GmbH'),
'config' => array(
'rootfolder' => array(
'title'=>'Folder used as root folder',
2023-12-21 16:26:55 +00:00
'help'=>'This is the folder used as the base folder. Documens not below this folder will not be shown by the paperless mobile app. Uploaded documents will be saved into this folder, unless the dedicated upload folder is set.',
2022-12-10 10:25:22 +00:00
'type'=>'select',
'internal'=>'folders',
),
'usehomefolder' => array(
'title'=>'Use the home folder as root folder',
'type'=>'checkbox',
'help'=>"Enable, if the user's home folder shall be used instead of the configured root folder.",
2023-01-09 09:05:22 +00:00
),
'uploadfolder' => array(
'title'=>'Folder where new documents are uploaded',
'help'=>'This is the folder where new documents will be uploaded by the paperless mobile app.',
'type'=>'select',
'internal'=>'folders',
2022-12-10 10:25:22 +00:00
),
'jwtsecret' => array(
'title'=>'Secret for JSON Web Token',
2023-03-30 06:33:03 +00:00
'help'=>'This is used for creating a secret which is needed to authenticate by token',
2022-12-10 10:25:22 +00:00
'type'=>'password',
),
'tokenlivetime' => array(
'title'=>'Days before token expires',
'help'=>'If token based authentication is used, this is the time before the token expires. Once it has expired the user has to log in again.',
'type'=>'numeric',
),
2022-12-10 10:25:22 +00:00
'inboxtags' => array(
'title'=>'Categories treated as inbox tag',
'help'=>'These categories are marked as inbox tag when the list of tags is retrieved.',
'type'=>'select',
'multiple'=>true,
2022-12-10 10:25:22 +00:00
'internal'=>'categories',
'allow_empty'=>true,
2022-12-10 10:25:22 +00:00
),
2023-01-16 15:03:10 +00:00
'autocompletefield' => array(
'title'=>'Field used for autocompletion',
'help'=>'The terms in this field will be used when the autocomplete method is called.',
'type'=>'select',
'multiple'=>false,
'options'=>['title'=>'Title', 'content'=>'Content'],
'allow_empty'=>true,
),
2023-02-08 19:47:58 +00:00
'correspondentsattr' => array(
'title'=>'Attribute for storing the correspondent',
'help'=>'This attribute stores the correspondent of a document and must have a list of correspondents.',
'type'=>'select',
'internal'=>'attributedefinitions',
'objtype'=>'2',
'allow_empty'=>true,
),
2023-02-21 12:09:19 +00:00
'documenttypesattr' => array(
'title'=>'Attribute for storing the document type',
'help'=>'This attribute stores the document type of a document and must have a list of types.',
2023-02-08 19:47:58 +00:00
'type'=>'select',
'internal'=>'attributedefinitions',
'objtype'=>'2',
'allow_empty'=>true,
),
'converttopdf' => array(
'title'=>'Convert to PDF',
'type'=>'checkbox',
'help'=>"Enable, if you want non pdf documents to be converted to PDF if they are downloaded. Usually, this is only done for preview.",
),
2022-12-10 10:25:22 +00:00
),
'constraints' => array(
2024-03-15 09:45:19 +00:00
'depends' => array('php' => '7.4.0-', 'seeddms' => array('5.1.34-5.1.99', '6.0.27-6.0.99', '6.1.0-6.1.99')),
2022-12-10 10:25:22 +00:00
),
'icon' => 'icon.svg',
'changelog' => 'changelog.md',
'class' => array(
'file' => 'class.paperless.php',
'name' => 'SeedDMS_ExtPaperless'
),
'language' => array(
'file' => 'lang.php',
),
);
?>