Commit Graph

1644 Commits

Author SHA1 Message Date
Uwe Steinmann
f4097c6831 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-05 13:47:14 +02:00
Uwe Steinmann
9092eeb0a3 comment of document, documentcontent and folder can be rendered as markdown 2023-04-04 17:46:08 +02:00
Uwe Steinmann
1f92a47c30 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-04 12:33:03 +02:00
Uwe Steinmann
d4fbae1a4c new version 5.1.31 2023-04-04 12:31:52 +02:00
Uwe Steinmann
dc642fa898 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-29 20:59:06 +02:00
Uwe Steinmann
476c726a45 improve password expiration 2023-03-29 20:57:48 +02:00
Uwe Steinmann
382e78855d do not force password change if in substitute user mode 2023-03-29 20:48:07 +02:00
Uwe Steinmann
d8e38c2825 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-24 16:33:45 +01:00
Uwe Steinmann
ed27dbcf4b add open office formats to get_extension 2023-03-24 16:33:17 +01:00
Uwe Steinmann
668ee243b2 actually send mail 2023-03-24 15:37:29 +01:00
Uwe Steinmann
f4ee945ab1 add new task for sending statistics 2023-03-24 11:17:32 +01:00
Uwe Steinmann
057abec09c fix sending calendar events 2023-03-24 11:17:16 +01:00
Uwe Steinmann
8218b752f5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-21 11:25:28 +01:00
Uwe Steinmann
882b87c885 check if logger is set before using it 2023-03-21 11:25:08 +01:00
Uwe Steinmann
b7b9acbe7e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-19 09:17:54 +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
c383ca0625 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-15 11:09:18 +01:00
Uwe Steinmann
1bad1d2aa5 use require_once instead of include("Log.php") 2023-03-15 11:08:51 +01:00
Uwe Steinmann
7ae5749bcf add new method mayCheckIn() 2023-03-13 10:18:14 +01:00
Uwe Steinmann
fe0fd30971 add fold marks 2023-03-12 09:18:30 +01:00
Uwe Steinmann
20686bccbd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-11 18:59:32 +01:00
Uwe Steinmann
da992a7bdd create 8-bit png instead of 16-bit 2023-03-11 18:59:02 +01:00
Uwe Steinmann
102a5603c0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-03 16:14:31 +01:00
Uwe Steinmann
39026ef4a8 new algo for contrast color based on lightness 2023-03-03 16:14:01 +01:00
Uwe Steinmann
61b7620ab0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-28 14:21:46 +01:00
Uwe Steinmann
258914e884 override action to 'show' when showing error msg 2023-02-28 12:54:56 +01:00
Uwe Steinmann
737e69876d fix nasty php error 2023-02-28 10:44:25 +01:00
Uwe Steinmann
4c3218bc0f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-23 07:18:42 +01:00
Uwe Steinmann
d8f79b846e pass correct depth in callback of SeedDMS_FolderTree 2023-02-23 07:17:17 +01:00
Uwe Steinmann
cb1cb46cfe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-22 10:11:37 +01:00
Uwe Steinmann
9e6e13a041 add method getContrastColor() 2023-02-22 09:59:45 +01:00
Uwe Steinmann
0ffc8c78f7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-21 14:21:13 +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
8cb7e22bf9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-15 08:27:51 +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
d86b2cc883 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-12 14:36:17 +01:00
Uwe Steinmann
6fd8d3e7f5 log error when execution of command fails 2023-02-09 07:16:50 +01:00
Uwe Steinmann
45e1d47e8f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x, start version 6.0.23 2023-02-09 06:51:31 +01:00
Uwe Steinmann
27b19f5c3a start version 5.1.30 2023-02-09 06:50:15 +01:00
Uwe Steinmann
458252f531 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-26 21:06:16 +01:00
Uwe Steinmann
2ab8cd5215 init $t and $ot 2023-01-26 21:05:53 +01:00
Uwe Steinmann
11030fad52 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-26 20:59:38 +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
23f17e291e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-26 13:31:08 +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
845317e27d better documentation 2023-01-26 13:16:18 +01:00
Uwe Steinmann
c56a92b395 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-22 19:15:32 +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
e34830a53e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-21 13:33:54 +01:00
Uwe Steinmann
fc61b3d759 include SQLiteFTS.php from vendor/seeddms/sqlitefts 2023-01-21 09:15:46 +01:00
Uwe Steinmann
97feb24466 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-21 09:10:29 +01:00
Uwe Steinmann
9b780bd883 include Lucene.php from vendor dir 2023-01-21 09:09:57 +01:00
Uwe Steinmann
c3e415ff7a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-20 12:22:22 +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
f6ae2c3868 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-19 15:02:19 +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
1506cef2ab Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-19 07:10:36 +01:00
Uwe Steinmann
9d69bd12eb fix text in comment 2023-01-19 07:05:41 +01:00
Uwe Steinmann
ace30334a8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-13 21:30:35 +01:00
Uwe Steinmann
cafc50ca4b pass logger to hooks 2023-01-13 21:21:41 +01:00
Uwe Steinmann
328cbd9eb9 fix indexing documents 2023-01-10 15:44:30 +01:00
Uwe Steinmann
41b2ae91e1 use authenticator 2023-01-10 15:43:06 +01:00
Uwe Steinmann
927e5acdc2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-09 15:40: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
8f07c2fd1f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-06 18:55:13 +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
99bb9e5e20 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-05 16:47:28 +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
12ffb0174e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-05 08:39:45 +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
2f868c4f44 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-03 16:38:57 +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
e141892934 fulltext index uses 'indexed' instead of 'created' 2022-12-15 12:46:54 +01:00
Uwe Steinmann
5694bf9501 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-12-10 14:23:43 +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
9e4eae8206 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-22 06:56:46 +01:00
Uwe Steinmann
3af5b0f943 new version 5.1.29 2022-11-22 06:52:44 +01:00
Uwe Steinmann
baa3010b43 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-18 17:17:38 +01:00
Uwe Steinmann
8d2becb0ca change namespace of iterators from SeedDMS to SeedDMS\Core 2022-11-18 11:20:38 +01:00
Uwe Steinmann
9dbe4e25aa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-17 17:44:05 +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
330073f52a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-17 15:24:32 +01:00
Uwe Steinmann
2c96fb5a1c remove getMimeType(), it has been moved to SeedDMS_Core 2022-11-17 11:34:28 +01:00
Uwe Steinmann
4888082cda Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-15 17:16:46 +01:00
Uwe Steinmann
83770f7521 fix getMimetype() 2022-11-15 16:15:24 +01:00
Uwe Steinmann
1667187613 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-15 16:08:32 +01:00
Uwe Steinmann
aa18d3f883 add new function getMimeType() 2022-11-15 16:05:06 +01:00
Uwe Steinmann
f0cd33d110 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-09 12:20:32 +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
dc6b153df8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-02 09:00:43 +01:00
Uwe Steinmann
68427394ae add new function uniqidReal() 2022-11-02 08:57:01 +01:00
Uwe Steinmann
6bb4eeb926 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-10-20 14:44:25 +02:00
Uwe Steinmann
3aca89e174 pass extension mgr to init() of extension 2022-10-20 14:43:58 +02:00
Uwe Steinmann
df659c52d9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-25 13:49:35 +02:00
Uwe Steinmann
83099dd422 start new version 5.1.28 2022-09-24 08:32:43 +02:00
Uwe Steinmann
a453c0e6ef Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-15 20:06:21 +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
56a0b14fe9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-13 20:04:31 +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
04ce8ea28f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-07 09:08:54 +02:00
Uwe Steinmann
56bbdefced add function getFilenameByDocname() 2022-09-07 08:56:08 +02:00
Uwe Steinmann
80067393f1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-31 20:39:43 +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
a0db4bcc6d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-12 10:53:32 +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
b8fd313e2d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-26 14:33:23 +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
6557d2edc9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-15 15:31:52 +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
3e45d6a13f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-15 12:10:15 +02:00
Uwe Steinmann
9fcebb898a finally got rid of ancient method sanitizeString() 2022-07-15 09:32:58 +02:00
Uwe Steinmann
16cdb8a323 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-06 14:01:30 +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