Commit 048b1ec6b6c08f7ced033f795428e57cb7bfa05e

Authored by conradverm
1 parent 249fa1df

WSA-96

"Adding a document via web service should default to default document type if it does not exist. This is compatible with previous DWI operations"
Fixed.

Committed By: Conrad Vermeulen
Reviewed By: Megan Watson

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8044 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 18 additions and 0 deletions
config/config.ini
@@ -206,13 +206,31 @@ uiUrl = ${rootUrl}/presentation/lookAndFeel/knowledgeTree @@ -206,13 +206,31 @@ uiUrl = ${rootUrl}/presentation/lookAndFeel/knowledgeTree
206 stopwordsFile = ${fileSystemRoot}/config/stopwords.txt 206 stopwordsFile = ${fileSystemRoot}/config/stopwords.txt
207 207
208 [webservice] 208 [webservice]
  209 +; Directory to which all uploads via webservices are persisted before moving into the repository
209 uploadDirectory = ${varDirectory}/uploads 210 uploadDirectory = ${varDirectory}/uploads
  211 +
  212 +; Url which is sent to clients via web service calls so they can then download file via HTTP GET
210 downloadUrl = ${rootUrl}/ktwebservice/download.php 213 downloadUrl = ${rootUrl}/ktwebservice/download.php
  214 +
  215 +; Period indicating how long a file should be retained in the uploads directory.
211 uploadExpiry = 30 216 uploadExpiry = 30
  217 +
  218 +; Period indicating how long a download link will be available
212 downloadExpiry = 30 219 downloadExpiry = 30
  220 +
  221 +; Random text used to construct a hash. This can be customised on installations so there is less chance of overlap between installations.
213 randomKeyText = bkdfjhg23yskjdhf2iu 222 randomKeyText = bkdfjhg23yskjdhf2iu
  223 +
  224 +; Validating session counts can interfere with access. It is best to leave this disabled, unless very strict access is required.
214 validateSessionCount = false 225 validateSessionCount = false
215 226
  227 +; If the document type is invalid when adding a document, we can be tollerant and just default to the Default document type.
  228 +useDefaultDocumentTypeIfInvalid = true
  229 +
  230 +; The web service debugging if the logLevel is set to DEBUG. We can set the value to 4 or 5 to get more verbose web service logging.
  231 +; Level 4 logs the name of functions being accessed. Level 5 logs the SOAP XML requests and responses.
  232 +debug = false
  233 +
216 [session] 234 [session]
217 ; session timeout (in seconds) 235 ; session timeout (in seconds)
218 sessionTimeout = 1200 236 sessionTimeout = 1200