seeddms-code/conf/settings.xml.template

328 lines
15 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<site>
2016-02-05 13:48:02 +00:00
<!--
- siteName: Name of site used in the page titles. Default: SeedDMS
- footNote: Message to display at the bottom of every page
- printDisclaimer: if true the disclaimer message the lang.inc files will be print on the bottom of the page
- language: default language (name of a subfolder in folder "languages")
- theme: default style (name of a subfolder in folder "styles")
2016-02-05 13:48:02 +00:00
- previewWidthList: Preview image width in folder list
- previewWidthDetail: Preview image width in document view
-->
<display
siteName = "SeedDMS"
footNote = "SeedDMS free document management system - www.seeddms.org"
2016-02-05 13:48:02 +00:00
printDisclaimer = "true"
2013-02-27 19:39:32 +00:00
language = "en_GB"
2013-04-05 11:09:08 +00:00
theme = "bootstrap"
2016-02-05 13:48:02 +00:00
previewWidthList = "40"
previewWidthDetail = "100"
/>
<!--
- strictFormCheck: Strict form checking. If set to true, then all fields in the form will be checked for a value. If set to false, then (most) comments and keyword fields become optional. Comments are always required when submitting a review or overriding document status.
- viewOnlineFileTypes: files with one of the following endings can be viewed online (USE ONLY LOWER CASE CHARACTERS)
2021-09-28 09:12:45 +00:00
- enableConverting: enable/disable converting of files (deprecated)
- enableEmail: enable/disable automatic email notification
- enableUsersView: enable/disable group and user view for all users
- enableFullSearch: false to don't use fulltext search
2013-01-28 11:00:33 +00:00
- enableLanguageSelector: false to don't show the language selector after login
2013-06-13 12:57:53 +00:00
- enableClipboard: false to hide the clipboard
- enableFolderTree: false to don't show the folder tree
- expandFolderTree: 0 to start with tree hidden
- 1 to start with tree shown and first level expanded
2016-02-05 13:48:02 +00:00
- 2 to start with tree shown fully expanded
2013-01-28 11:00:33 +00:00
- stopWordsFile: path to stop word file for indexer
- sortUsersInList: how to sort users in lists ('fullname' or '' (default))
2021-09-28 09:12:45 +00:00
- enableDropUpload: enable/disable uploading files by drag&drop
- enableRecursiveCount: enable/disable counting docs and folder recursively
- maxRecursiveCount: after this number of docs/folders precise counting will stop
- enableThemeSelector: enable/disable the theme selector on the login page
2016-02-05 13:48:02 +00:00
- fullSearchEngine: Either "lucene" or "sqlitefts"
2021-09-28 09:12:45 +00:00
- sortFoldersDefault: how to sort forders by default. u=unsorted, s=sequence, n=name
- defaultDocPosition: Default position for a new document. 'start', 'end', or ''
- defaultFolderPosition: Default position for a new folder. 'start', 'end', or ''
2016-02-05 13:48:02 +00:00
-->
<edition
strictFormCheck = "false"
2016-02-05 13:48:02 +00:00
viewOnlineFileTypes = ".txt;.text;.html;.htm;.xml;.pdf;.gif;.png;.jpg;.jpeg;.mp4"
enableConverting = "true"
2016-02-05 13:48:02 +00:00
enableEmail = "true"
enableUsersView = "true"
2013-02-20 09:55:12 +00:00
enableFullSearch = "false"
2013-06-13 12:57:53 +00:00
enableClipboard = "false"
enableFolderTree = "true"
expandFolderTree = "1"
2013-01-28 11:00:33 +00:00
enableLanguageSelector = "true"
stopWordsFile = ""
sortUsersInList = ""
2016-02-05 13:48:02 +00:00
enableDropUpload = "false"
enableRecursiveCount = "false"
maxRecursiveCount = "0"
enableThemeSelector = "false"
fullSearchEngine = "lucene"
sortFoldersDefault = "u"
2021-09-28 09:12:45 +00:00
defaultDocPosition = "end"
defaultFolderPosition = "end"
2016-02-05 13:48:02 +00:00
/>
<!--
- enableCalendar: enable/disable calendar
- calendarDefaultView: calendar default view ("w" for week,"m" for month,"y" for year)
- firstDayOfWeek: first day of the week (0=sunday, 6=saturday)
2016-02-05 13:48:02 +00:00
-->
<calendar
enableCalendar = "true"
calendarDefaultView = "y"
firstDayOfWeek = "0"
2016-02-05 13:48:02 +00:00
/>
<webdav
enableWebdavReplaceDoc="true"
/>
</site>
<system>
2016-02-05 13:48:02 +00:00
<!--
- rootDir: Path to where SeedDMS is located
- httpRoot: The relative path in the URL, after the domain part. Do not include the
- http:// prefix or the web host name. e.g. If the full URL is
2016-02-05 13:48:02 +00:00
- http://www.example.com/seeddms/, set $_httpRoot = "/seeddms/".
- If the URL is http://www.example.com/, set $_httpRoot = "/".
- contentDir: Where the uploaded files are stored (best to choose a directory that
- is not accessible through your web-server)
2012-12-17 07:38:49 +00:00
- stagingDir: Where partial file uploads are saved
- luceneDir: Where the lucene fulltext index iѕ saved
- logFileEnable: set false to disable log system
- logFileRotation: the log file rotation (h=hourly, d=daily, m=monthly)
- enableLargeFileUpload: support for jumploader
2016-02-05 13:48:02 +00:00
- partitionSize: size of chunk uploaded by jumploader
2012-12-17 07:38:49 +00:00
- dropFolderDir: where files for document upload are located
- cacheDir: where the preview images are saved
2018-03-14 09:14:48 +00:00
- backupDir: where the backups are saved
-->
<server
rootDir = ""
2021-10-26 06:01:32 +00:00
httpRoot = "/_SHORT_VERSION_/"
contentDir = ""
stagingDir = ""
luceneDir = ""
logFileEnable = "true"
logFileRotation = "d"
enableLargeFileUpload = "true"
2011-07-21 13:27:12 +00:00
partitionSize = "2000000"
2012-12-17 07:38:49 +00:00
dropFolderDir = ""
cacheDir = ""
2018-03-14 09:14:48 +00:00
backupDir = ""
2016-02-05 13:48:02 +00:00
/>
<!--
- enableGuestLogin: If you want anybody to login as guest, set the following line to true
- note: guest login should be used only in a trusted environment
2016-02-05 13:48:02 +00:00
- enablePasswordForgotten: Allow users to reset their password
- restricted: Restricted access: only allow users to log in if they have an entry in the local database (irrespective of successful authentication with LDAP).
- enableUserImage: enable users images
- disableSelfEdit: if true user cannot edit his own profile
2021-09-10 07:37:07 +00:00
- passwordStrength: minimum strength of password, set to 0 to disable
- passwordStrengthAlgorithm: algorithm used to calculate password strenght (simple or advanced)
- passwordExpiration: number of days after password expires
- passwordHistory: number of remembered passwords
- loginFailure: maximum allowed login failures before an account is disabled
- autoLoginUser: id of user used if auto login is turned on
- quota: maximum allowed space on disc for each user
- undelUserIds: ids of users which cannot be deleted
- encryptionKey: arbitrary string used for creating form tokens
- cookieLifetime: lifetime of cookie in seconds, set to 0 for session cookies
2016-02-05 13:48:02 +00:00
-->
<authentication
enableGuestLogin = "false"
2011-10-10 14:34:29 +00:00
enablePasswordForgotten = "false"
restricted = "true"
enableUserImage = "false"
disableSelfEdit = "false"
2016-02-05 13:48:02 +00:00
passwordStrength = "0"
passwordStrengthAlgorithm = "simple"
passwordExpiration = "0"
passwordHistory = "0"
loginFailure = "0"
autoLoginUser = "0"
quota = "0"
undelUserIds = ""
encryptionKey = "b8c75fa53c0c7a18a84adb6ca815bd94"
cookieLifetime = "0">
<connectors>
<!-- ***** CONNECTOR LDAP *****
- enable: enable/disable connector
- type: type of connector ldap / AD
- host: hostname of the authentification server
- URIs are supported, e.g.: ldaps://ldap.host.com
- port: port of the authentification server
- baseDN: top level of the LDAP directory tree
- bindDN: use this dn for a first step bind, leave empty for annonymous bind
- bindPw: use this password for a first step bind
2016-01-19 14:30:54 +00:00
- filter: Additional filters which are to be checked
2016-02-05 13:48:02 +00:00
-->
<connector
enable = "false"
type = "ldap"
host = "ldaps://ldap.host.com"
port = "389"
baseDN = ""
2016-02-05 13:48:02 +00:00
bindDN = ""
bindPw = ""
filter = ""
/>
<!-- ***** CONNECTOR Microsoft Active Directory *****
- enable: enable/disable connector
- type: type of connector ldap / AD
- host: hostname of the authentification server
- port: port of the authentification server
- baseDN: top level of the LDAP directory tree
- bindDN: use this dn for a first step bind, leave empty for annonymous bind
- bindPw: use this password for a first step bind
- filter: Additional filters which are to be checked
- accountDomainName: sample: example.com
2016-02-05 13:48:02 +00:00
-->
<connector
enable = "false"
type = "AD"
host = "ldap.example.com"
port = "389"
baseDN = ""
accountDomainName = "example.com"
2016-02-05 13:48:02 +00:00
bindDN = ""
bindPw = ""
/>
</connectors>
</authentication>
2016-02-05 13:48:02 +00:00
<!--
- dbDriver: DB-Driver used by adodb (see adodb-readme)
- dbHostname: DB-Server
- dbDatabase: database where the tables for seeddms are stored (optional - see adodb-readme)
- dbUser: username for database-access
- dbPass: password for database-access
2016-02-05 13:48:02 +00:00
- doNotCheckVersion: Whether or not to check the database schema for its correct version.
-->
<database
2011-07-21 06:59:51 +00:00
dbDriver = "_DBC_DBTYPE_"
dbHostname = "_DBC_DBSERVER_"
dbDatabase = "_DBC_DBNAME_"
dbUser = "_DBC_DBUSER_"
dbPass = "_DBC_DBPASS_"
2016-02-05 13:48:02 +00:00
doNotCheckVersion = "false"
/>
<!--
- smtpServer: SMTP Server hostname
- smtpPort: SMTP Server port
- smtpSendFrom: Send from
2021-09-10 07:37:07 +00:00
- smtpUser: user name used for authenticating against smtp server
- smtpPassword: password used for authenticating against smtp server
2016-02-05 13:48:02 +00:00
-->
<smtp
smtpServer = "localhost"
smtpPort = "25"
smtpSendFrom = "seeddms@localhost"
2016-02-05 13:48:02 +00:00
smtpUser = ""
smtpPassword = ""
/>
</system>
<advanced>
2016-02-05 13:48:02 +00:00
<!--
-siteDefaultPage: Default page on login. Defaults to out/out.ViewFolder.php
- rootFolderID: ID of root-folder (mostly no need to change)
2021-09-10 07:37:07 +00:00
- showMissingTranslations: set true if missing translation shall be listed at end of page
2016-02-05 13:48:02 +00:00
-->
<display
2016-02-05 13:48:02 +00:00
siteDefaultPage = ""
rootFolderID = "1"
2016-02-05 13:48:02 +00:00
showMissingTranslations = "false"
/>
<!--
- guestID: ID of guest-user used when logged in as guest (mostly no need to change)
- adminIP: if enabled admin can login only by specified IP addres, leave empty to avoid the control
- NOTE: works only with local autentication (no LDAP)
2016-02-05 13:48:02 +00:00
-->
<authentication
guestID = "2"
2016-02-05 13:48:02 +00:00
adminIP = ""
/>
<!-- enableAdminRevApp: false to don't list administrator as reviewer/approver
- versioningFileName: the name of the versioning info file created by the backup tool
2013-01-28 11:00:33 +00:00
- workflowMode: 'traditional' or 'advanced'
- enableVersionDeletion: allow to delete versions after approval
- enableVersionModification: allow to modify versions after approval
- enableDuplicateDocNames: allow duplicate names in a folder
- enableDuplicateSubFolderNames: allow duplicate names in a folder
2021-09-10 07:37:07 +00:00
- enableOwnerRevApp: allow owner of a document to review and approve
- enableSelfRevApp: allow the user current logged in to add herself as a reviewer or approver
- presetExpirationDate: set to time period if each document shall expire
- overrideMimeType: set to true if the mimetype of a document version is determined by the server
2016-02-05 13:48:02 +00:00
-->
<edition
enableAdminRevApp = "false"
versioningFileName = "versioning_info.txt"
2013-01-28 11:00:33 +00:00
workflowMode = "advanced"
enableVersionDeletion = "true"
enableVersionModification = "true"
enableDuplicateDocNames = "true"
enableDuplicateSubFolderNames = "true"
2016-02-05 13:48:02 +00:00
enableOwnerRevApp = "false"
enableSelfRevApp = "false"
presetExpirationDate = ""
overrideMimeType = "false"
/>
<!--
- coreDir: Path to SeedDMS_Core (optional)
- luceneClassDir: Path to SeedDMS_Lucene (optional)
2016-02-05 13:48:02 +00:00
- contentOffsetDir: To work around limitations in the underlying file system, a new
- directory structure has been devised that exists within the content
- directory ($_contentDir). This requires a base directory from which
- to begin. Usually leave this to the default setting, 1048576, but can
- be any number or string that does not already exist within $_contentDir.
- maxDirID: Maximum number of sub-directories per parent directory. Default: 0.
- updateNotifyTime: users are notified about document-changes that took place within the last "updateNotifyTime" seconds
2021-09-10 07:37:07 +00:00
- extraPath: additional path which is added to php's include path
- maxExecutionTime: maximum script execution time, this cannot be larger than the value set in php.ini
- cmdTimeout: timeout in sec. for external commands
-->
<server
coreDir = ""
2011-07-21 12:54:02 +00:00
luceneClassDir = ""
contentOffsetDir = "1048576"
2012-08-28 06:22:28 +00:00
maxDirID = "0"
updateNotifyTime = "86400"
2016-02-05 13:48:02 +00:00
extraPath = ""
maxExecutionTime = "30"
cmdTimeout = "1"
/>
<!--
2021-09-10 07:37:07 +00:00
- enableNotificationAppRev: set to true if reviewers and approvers shall be informed about a pending review/approval
2016-02-05 13:48:02 +00:00
- enableOwnerNotification: XXX
2021-09-10 07:37:07 +00:00
- enableNotificationWorkflow: set to true if the users in the workflow shall be informed
2016-02-05 13:48:02 +00:00
-->
<notification
enableNotificationAppRev = "true"
enableOwnerNotification = "false"
enableNotificationWorkflow = "false"
2016-11-15 20:13:04 +00:00
/>
<converters target="fulltext">
2016-11-15 19:39:35 +00:00
<converter mimeType="application/pdf">pdftotext -nopgbrk %s - | sed -e 's/ [a-zA-Z0-9.]\{1\} / /g' -e 's/[0-9.]//g'</converter>
<converter mimeType="application/msword">catdoc %s</converter>
<converter mimeType="application/vnd.ms-excel">ssconvert -T Gnumeric_stf:stf_csv -S %s fd://1</converter>
<converter mimeType="audio/mp3">id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g'</converter>
<converter mimeType="audio/mpeg">id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g'</converter>
<converter mimeType="text/plain">cat %s</converter>
<converter mimeType="text/html">html2text %s</converter>
<converter mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document">docx2txt %s -</converter>
</converters>
2016-11-15 20:13:04 +00:00
<converters target="preview">
2016-11-15 19:39:35 +00:00
<converter mimeType="application/msword">unoconv -d document -e PageRange=1 -f pdf --stdout -v '%f'|gs -dBATCH -dNOPAUSE -sDEVICE=pngalpha -dPDFFitPage -r72x72 -sOutputFile=- -dFirstPage=1 -dLastPage=1 -q - | convert -resize %wx png:- '%o'</converter>
2016-11-15 20:13:04 +00:00
<converter mimeType="image/png">convert -resize %wx '%f' '%o'</converter>
<converter mimeType="image/jpg">convert -resize %wx '%f' '%o'</converter>
<converter mimeType="image/gif">convert -resize %wx '%f' '%o'</converter>
<converter mimeType="text/plain">a2ps -1 -a1 -R -B -o - '%f' | gs -dBATCH -dNOPAUSE -sDEVICE=pngalpha -dFirstPage=1 -dLastPage=1 -dPDFFitPage -r72x72 -sOutputFile=- -q - | convert -resize %wx png:- '%o'</converter>
2016-11-15 19:39:35 +00:00
</converters>
</advanced>
2021-09-27 14:03:36 +00:00
<extensions>
<extension name="example" disable="true">
<parameter name="__disable__">1</parameter>
</extension>
</extensions>
</configuration>