Commit Graph

1076 Commits

Author SHA1 Message Date
Uwe Steinmann
882b87c885 check if logger is set before using it 2023-03-21 11:25:08 +01:00
Uwe Steinmann
197a6e8824 set various callbacks to reindex document when it has changed 2023-03-19 09:17:08 +01:00
Uwe Steinmann
1bad1d2aa5 use require_once instead of include("Log.php") 2023-03-15 11:08:51 +01:00
Uwe Steinmann
da992a7bdd create 8-bit png instead of 16-bit 2023-03-11 18:59:02 +01:00
Uwe Steinmann
39026ef4a8 new algo for contrast color based on lightness 2023-03-03 16:14:01 +01:00
Uwe Steinmann
258914e884 override action to 'show' when showing error msg 2023-02-28 12:54:56 +01:00
Uwe Steinmann
d8f79b846e pass correct depth in callback of SeedDMS_FolderTree 2023-02-23 07:17:17 +01:00
Uwe Steinmann
9e6e13a041 add method getContrastColor() 2023-02-22 09:59:45 +01:00
Uwe Steinmann
a7b00ae22a add new key 'attrcallback' to configuration of fulltext engine 2023-02-20 16:07:22 +01:00
Uwe Steinmann
44d043ef21 add fold marks 2023-02-20 16:06:43 +01:00
Uwe Steinmann
535de29e7d check return value of postInitDMS 2023-02-18 15:49:55 +01:00
Uwe Steinmann
dc868bd83b getBaseUrl() checks for HTTP_X_FORWARDED_HOST and HTTP_X_FORWARDED_PROTO 2023-02-18 15:49:04 +01:00
Uwe Steinmann
4e08744631 addDirSep() can check for arbitrary chars at end of string 2023-02-17 16:10:59 +01:00
Uwe Steinmann
3e5497a7fd add more error checking when including extensions.php 2023-02-17 06:57:42 +01:00
Uwe Steinmann
d45f050e46 conversion from pdf to png replaces alpha channel with white 2023-02-15 08:27:37 +01:00
Uwe Steinmann
6fd8d3e7f5 log error when execution of command fails 2023-02-09 07:16:50 +01:00
Uwe Steinmann
27b19f5c3a start version 5.1.30 2023-02-09 06:50:15 +01:00
Uwe Steinmann
2ab8cd5215 init $t and $ot 2023-01-26 21:05:53 +01:00
Uwe Steinmann
d30ba981be add functions to return type of object type of attribute definitions 2023-01-26 20:55:42 +01:00
Uwe Steinmann
b495fd248b add baseUrl for those cases where seeddms cannot determine the host and protocol itself 2023-01-26 13:29:46 +01:00
Uwe Steinmann
e87d7546a3 handle proxy settings and _baseUrl in settings in getBaseUrl() 2023-01-26 13:18:40 +01:00
Uwe Steinmann
5c985f32b1 do not include SeedDMS/Preview.php anymore because it is included in inc.FulltextInit.php already 2023-01-22 19:15:11 +01:00
Uwe Steinmann
fc61b3d759 include SQLiteFTS.php from vendor/seeddms/sqlitefts 2023-01-21 09:15:46 +01:00
Uwe Steinmann
9b780bd883 include Lucene.php from vendor dir 2023-01-21 09:09:57 +01:00
Uwe Steinmann
9df57ebe67 no longer include Core.php from SeedDMS, use vendor/seeddms/core instead 2023-01-20 12:21:14 +01:00
Uwe Steinmann
b197639dd2 add wasSuccessful() to check if last conversion was successful 2023-01-19 15:01:43 +01:00
Uwe Steinmann
872c66158b conversion service gets reference to conversion mgr when service is added 2023-01-19 12:10:33 +01:00
Uwe Steinmann
9d69bd12eb fix text in comment 2023-01-19 07:05:41 +01:00
Uwe Steinmann
cafc50ca4b pass logger to hooks 2023-01-13 21:21:41 +01:00
Uwe Steinmann
0686cfecf5 init only fulltext service which was selected in configuration 2023-01-09 15:30:18 +01:00
Uwe Steinmann
67163324bb set end of conversion in any case, not just if iptc data was found 2023-01-05 16:57:18 +01:00
Uwe Steinmann
292ade83e7 return empty text if image has no iptc data 2023-01-05 09:35:13 +01:00
Uwe Steinmann
735fe4235f set $success to false if exec of command failed 2023-01-05 09:34:39 +01:00
Uwe Steinmann
a8474b08c6 use method wasSuccessful() to check if conversion succeeded 2023-01-05 09:34:09 +01:00
Uwe Steinmann
f48f649249 call constructor of parent 2023-01-05 08:05:46 +01:00
Uwe Steinmann
4540f85745 add var $success which is set to false if the conversion fails 2023-01-05 08:04:07 +01:00
Uwe Steinmann
a9aa87332d add comment that converters are deprecated 2023-01-04 14:33:36 +01:00
Uwe Steinmann
dd65fe2e35 add conversion service from text to png 2023-01-04 14:33:11 +01:00
Uwe Steinmann
a80702e7b8 add more documentation 2023-01-04 14:32:52 +01:00
Uwe Steinmann
dbe7f36eb0 add conversion service from text to image 2023-01-04 14:30:45 +01:00
Uwe Steinmann
e54874c3ff some more documentation 2023-01-03 14:07:38 +01:00
Uwe Steinmann
29310e7c43 pass text previewer to fulltext service 2023-01-03 14:06:24 +01:00
Uwe Steinmann
98e7c58b74 fulltext service can use new text previewer to create a cached txt file of a document 2023-01-03 14:05:32 +01:00
Uwe Steinmann
e30032f028 move init of notification into DBInit.php 2023-01-01 19:59:29 +01:00
Uwe Steinmann
5bd69596c9 add slim middleware for authenticating with session 2023-01-01 19:58:28 +01:00
Uwe Steinmann
f4b8eb05b7 set timeout of SeedDMS_ConversionServiceExec 2023-01-01 09:22:11 +01:00
Uwe Steinmann
8940a3b338 timeout can be passed to constructor 2023-01-01 09:18:52 +01:00
Uwe Steinmann
56bd5c00e4 set resolution of pdf to 72dpi, using 36dpi will not allow previes wider than 298px 2022-12-08 14:45:31 +01:00
Uwe Steinmann
e40f7e6a25 fix typo 2022-12-05 09:18:36 +01:00
Uwe Steinmann
de61d9f1f3 set error msg if extension list cannot be fetched 2022-11-29 21:46:07 +01:00
Uwe Steinmann
f7ebe88822 add authentication service 2022-11-28 21:40:42 +01:00
Uwe Steinmann
28a4a24613 add constructor, authenticate() returns null if authentication fails 2022-11-28 21:36:40 +01:00
Uwe Steinmann
0f0ba03449 remove constructor and class vars from abstract class 2022-11-28 21:35:41 +01:00
Uwe Steinmann
3af5b0f943 new version 5.1.29 2022-11-22 06:52:44 +01:00
Uwe Steinmann
8d2becb0ca change namespace of iterators from SeedDMS to SeedDMS\Core 2022-11-18 11:20:38 +01:00
Uwe Steinmann
2e4b19e4ef fix counting of login failures if both ldap and db authentication is done 2022-11-17 17:43:55 +01:00
Uwe Steinmann
2c96fb5a1c remove getMimeType(), it has been moved to SeedDMS_Core 2022-11-17 11:34:28 +01:00
Uwe Steinmann
83770f7521 fix getMimetype() 2022-11-15 16:15:24 +01:00
Uwe Steinmann
aa18d3f883 add new function getMimeType() 2022-11-15 16:05:06 +01:00
Uwe Steinmann
3571d97f2f fix inclusion of php files 2022-11-09 09:25:45 +01:00
Uwe Steinmann
17673db914 use getLogger() to retrieve logger 2022-11-08 20:07:39 +01:00
Uwe Steinmann
a9f3b7a6a6 add optional parameter $mask to getLogger() 2022-11-08 20:07:08 +01:00
Uwe Steinmann
68427394ae add new function uniqidReal() 2022-11-02 08:57:01 +01:00
Uwe Steinmann
3aca89e174 pass extension mgr to init() of extension 2022-10-20 14:43:58 +02:00
Uwe Steinmann
83099dd422 start new version 5.1.28 2022-09-24 08:32:43 +02:00
Uwe Steinmann
aaf7733ab2 add conversion service from jpeg to text based on iptc data 2022-09-15 13:09:20 +02:00
Uwe Steinmann
ad3ecdd586 image conversion falls back to gd library if imagick extension is not loaded 2022-09-13 13:23:48 +02:00
Uwe Steinmann
56bbdefced add function getFilenameByDocname() 2022-09-07 08:56:08 +02:00
Uwe Steinmann
4ac560c8d1 value of extracols can be an array 2022-08-31 20:32:51 +02:00
Uwe Steinmann
8f4c2f454b user uid instead of cn in distinguished name to auth. user 2022-08-30 18:11:00 +02:00
Uwe Steinmann
cac7608e0b backport export of search result from 6.0.x 2022-08-18 13:49:27 +02:00
Uwe Steinmann
014bcc009d first check if parameter 'action' is set, return false if preRun fails 2022-08-01 12:43:56 +02:00
Uwe Steinmann
5378d6e7d9 pass class name to preRun, invoke() returns false if preRun fails 2022-08-01 12:11:51 +02:00
Uwe Steinmann
1051f669f4 create request 2022-07-29 21:41:43 +02:00
Uwe Steinmann
8b75ffaea1 call hook preRun and check result 2022-07-29 21:41:12 +02:00
Uwe Steinmann
718d922950 make some methods public 2022-07-29 21:40:32 +02:00
Uwe Steinmann
8ceb8d1e6a get action from request, run hook preRun and check for return value 2022-07-29 21:37:59 +02:00
Uwe Steinmann
1cce969ba7 pass request to controller 2022-07-29 21:36:40 +02:00
Uwe Steinmann
7bf671c20a pass request to view 2022-07-29 21:36:22 +02:00
Uwe Steinmann
6421aa94ed pass array passed to __invoke() to hooks preRun and postRun 2022-07-26 11:33:12 +02:00
Uwe Steinmann
607dcc41b9 skip internal conversion service for images if imagick extension is missing 2022-07-15 15:27:15 +02:00
Uwe Steinmann
9fcebb898a finally got rid of ancient method sanitizeString() 2022-07-15 09:32:58 +02:00
Uwe Steinmann
0799f908f1 remove old get_magic_quotes code 2022-07-01 09:51:30 +02:00
Uwe Steinmann
f8b78c7212 include vendor/autoload.php after setting include path 2022-07-01 09:50:37 +02:00
Uwe Steinmann
65801f1181 start version 5.1.27 2022-06-28 17:08:45 +02:00
Uwe Steinmann
c3f5a637f6 getHookObjects() takes parent classes into account 2022-06-16 12:43:50 +02:00
Uwe Steinmann
199f26703c set default of $class to 'Style' 2022-06-16 12:42:53 +02:00
Uwe Steinmann
9eae4c4863 make getConfigDir() public, because it is used in install/install.php 2022-06-10 08:51:33 +02:00
Uwe Steinmann
fce2ba2bd7 fix getLongReadableDate() 2022-05-31 20:05:38 +02:00
Uwe Steinmann
0d5536f198 add conversion service from tiff, gif to png 2022-05-30 09:41:02 +02:00
Uwe Steinmann
a11bba23e4 check if logger is set before using it 2022-05-30 09:15:08 +02:00
Uwe Steinmann
f852ae0827 log type of receiver 2022-05-21 10:58:22 +02:00
Uwe Steinmann
49a1b33df4 check extension dependency on shell commands 2022-05-16 15:54:04 +02:00
Uwe Steinmann
395e60ca71 logger can be set 2022-05-12 09:03:27 +02:00
Uwe Steinmann
e67dce277e make getLongReadableDate() behave like getReadableDate() 2022-05-02 11:45:32 +02:00
Uwe Steinmann
bcd15517eb make setViewOnlineFileTypesFromString() and setEditOnlineFileTypesFromString() public 2022-04-30 14:19:56 +02:00
Uwe Steinmann
2194c92801 - use more icons in status column of document/folder list, fix getReadableDate() 2022-04-30 14:10:51 +02:00
Uwe Steinmann
af6f48db48 use new method getMaximumUploadSize() 2022-04-29 18:30:46 +02:00
Uwe Steinmann
03cc220380 getReadableDate() returns empty string if emptry string or null is passed 2022-04-29 18:29:17 +02:00
Uwe Steinmann
8d4492164d add method getMaximumUploadSize(), make various methods protected 2022-04-29 18:27:49 +02:00