Commit Graph

1083 Commits

Author SHA1 Message Date
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
Uwe Steinmann
da94f54294 start new version 5.1.25 2022-04-25 10:12:09 +02:00
Uwe Steinmann
7a0f2a784e add more extension in get_extension() 2022-04-12 08:14:53 +02:00
Uwe Steinmann
de31db0bec add new method getLogger() 2022-04-07 14:38:32 +02:00
Uwe Steinmann
b177e77389 addEvent() returns new event 2022-04-07 13:57:49 +02:00
Uwe Steinmann
38ea04c20d fix sql in getEventsInInterval() if user is taken into account 2022-03-31 06:52:27 +02:00
Uwe Steinmann
f0e05463af make methods public, add methods getUser() and setUser() 2022-03-31 06:48:32 +02:00
Uwe Steinmann
2134754e91 show only events of logged in user unless it is admin 2022-03-28 19:09:02 +02:00
Uwe Steinmann
35b8b9b703 images can be passed to toIndividual() for adding it to the html part 2022-02-02 21:36:27 +01:00
Uwe Steinmann
7fc1a62b75 fix error when sending notification after owner change (see 4dda2549c7) 2022-01-05 08:25:57 +01:00
Uwe Steinmann
4dda2549c7 fix error when sending notification after owner change 2022-01-05 07:29:23 +01:00
Uwe Steinmann
ad2ea73031 send mail to uploader of a version 2021-12-15 10:28:34 +01:00
Uwe Steinmann
7f61dbbcad new mail body for change of version comment 2021-12-15 10:28:00 +01:00
Uwe Steinmann
5ff285c745 start new version 5.1.25 2021-12-11 14:00:22 +01:00
Uwe Steinmann
6fdd3ea39d index document if max size is 0 2021-12-05 07:52:00 +01:00
Uwe Steinmann
f24badd9ce move send of notification mail in Notification class, do not inform approvers and reviewers anymore 2021-12-03 19:13:16 +01:00
Uwe Steinmann
7588fb8317 set mail to owner if doc status or owner changed or doc is transfered 2021-12-01 13:06:33 +01:00
Uwe Steinmann
47f77d9d4c send mails to owner of doc only if not logged or in list of notifiers 2021-11-30 17:18:43 +01:00
Uwe Steinmann
539b026d5e init $settings->_contentDir to data directory 2021-11-27 12:08:32 +01:00
Uwe Steinmann
582a85947f add method getService() 2021-11-19 13:34:55 +01:00
Uwe Steinmann
b7b92bcc57 replace rename() by exec('mv ..') 2021-11-08 09:01:15 +01:00
Uwe Steinmann
b6ed28b4ec extension mgr can now cache check result 2021-11-04 17:06:47 +01:00
Uwe Steinmann
4abdb104f0 iterate over all service until a working one is found 2021-10-29 19:55:01 +02:00
Uwe Steinmann
359be28912 catch imagemagick exception 2021-10-19 12:18:16 +02:00
Uwe Steinmann
d422927f87 do not pop service from services in convert(), use end() 2021-10-16 17:46:03 +02:00
Uwe Steinmann
e9ae9cce34 add conversion from image/svg+xml to png 2021-10-16 16:32:57 +02:00
Uwe Steinmann
54d4ebf872 check for settings.xml in conf dir not just the conf dir 2021-10-16 15:01:30 +02:00
Uwe Steinmann
3a81d22e8b backport addLogLine from 6.0.x 2021-10-15 13:53:16 +02:00
Uwe Steinmann
90555f9728 add method getInfo() 2021-10-08 13:11:20 +02:00
Uwe Steinmann
31db5f69fe add extension to temp file, because this is needed for programms like unoconv 2021-10-08 13:10:24 +02:00
Uwe Steinmann
96bff23919 fix add_log_line() if query string contains '/', log complete path to script 2021-10-08 12:14:42 +02:00
Uwe Steinmann
1d90291032 add fulltext converter 2021-10-08 12:14:05 +02:00
Uwe Steinmann
8d3815d7db add getAdditionalParams(), getInfo(), width and page can be passed to convert() 2021-10-08 12:13:31 +02:00
Uwe Steinmann
43c0f626ea add getAdditionalParams(), getInfo(), width of image can be passed 2021-10-08 12:12:37 +02:00
Uwe Steinmann
306555cd45 add getInfo(), getAdditionalParams() and handle output to stdout 2021-10-08 12:12:00 +02:00
Uwe Steinmann
1813ac32a0 add getAdditionalParams(), convert() returns false 2021-10-08 12:11:10 +02:00
Uwe Steinmann
1737d43cd3 add method getServices() 2021-10-08 10:03:27 +02:00
Uwe Steinmann
898943dd6e add new conversion manager and services 2021-10-06 15:03:03 +02:00
Uwe Steinmann
4e8bb56821 add support for new conversion service 2021-10-06 14:59:46 +02:00
Uwe Steinmann
ef2aaaf32c remove extra space 2021-09-30 07:57:47 +02:00
Uwe Steinmann
99efcac8bb fix line indenting 2021-09-30 07:52:47 +02:00
Uwe Steinmann
74035b6fde fix accessing settings 2021-09-29 14:59:28 +02:00
Uwe Steinmann
70d250cfea add configuration for defaultFolderPosition 2021-09-28 11:13:05 +02:00
Uwe Steinmann
cf30ad5ddd initialize path if not explicitly set in settings.xml 2021-09-27 15:56:50 +02:00
Uwe Steinmann
3e1dcc3c75 add new configuration noFolderFormFields 2021-09-22 09:53:53 +02:00
Uwe Steinmann
8e7d2547b4 remove constructor, because it was the same like in the parent class 2021-09-20 16:42:14 +02:00
Uwe Steinmann
63ae861257 many code style cleanups 2021-09-20 16:41:48 +02:00
Uwe Steinmann
c13756ac02 do not call $dms->setEnableConverting() and setViewOnlineFileTypes() 2021-09-16 16:19:19 +02:00
Uwe Steinmann
da0f5d3053 more settings to disable import and download of extensions 2021-09-09 11:42:38 +02:00
Uwe Steinmann
9f618c5437 remove titleDisplayHack configuration 2021-09-09 09:57:00 +02:00
Uwe Steinmann
4a5426a180 fix indention 2021-09-09 08:17:28 +02:00
Uwe Steinmann
df8e0c29e9 add methods to inform a user/group about adding/deleting as a reviewer/approver 2021-08-31 10:26:34 +02:00
Uwe Steinmann
cd10bcaea3 add sendApprovalRequestMail() and sendReviewRequestMail() 2021-08-30 19:40:43 +02:00
Uwe Steinmann
aadcbbd979 check if workflow exists in sendRequestWorkflowActionMail() 2021-08-30 19:40:10 +02:00
Uwe Steinmann
a4276a42a9 add and use sendRewindWorkflowMail() 2021-08-30 19:39:29 +02:00
Uwe Steinmann
96ca072528 add methods sendRequestWorkflowActionMail and sendTriggerWorkflowTransitionMail 2021-08-30 16:03:00 +02:00
Uwe Steinmann
33ad98bdfd replace $notifier-> by $this-> 2021-08-30 16:02:22 +02:00
Uwe Steinmann
45b51cb043 send notification to owner 2021-08-30 16:01:54 +02:00
Uwe Steinmann
0ac0ca5760 remove duplicate of sendRequestWorkflowActionMail() 2021-08-30 16:00:51 +02:00
Uwe Steinmann
b66e87b72d fix sending of notification mails to groups 2021-08-25 15:05:35 +02:00
Uwe Steinmann
6a8382747b start new version 5.1.24 2021-08-20 10:42:44 +02:00
Uwe Steinmann
0f79234012 show versions if database version doesn't match seeddms version 2021-08-05 08:41:16 +02:00
Uwe Steinmann
817433638b doNotCheckVersion must be doNotCheckDBVersion 2021-08-05 08:40:49 +02:00
Uwe Steinmann
401452767e get dir of config file even if config file is set in environment 2021-08-04 14:19:11 +02:00
Uwe Steinmann
cc9835e3a6 add pear dir to include path 2021-07-23 13:39:59 +02:00
Uwe Steinmann
6a72b3c0fa extra _extraPath if not empty, add rootDir.'../pear' to include path 2021-07-23 12:08:26 +02:00
Uwe Steinmann
e29976bf25 check for more php modules and > 7.2.5 2021-07-23 12:07:30 +02:00
Uwe Steinmann
f1358317ea remove all old methods not longer used 2021-07-21 15:45:24 +02:00
Uwe Steinmann
e0a12590da callHook merges strings and arrays returned from hook 2021-07-08 14:14:13 +02:00
Uwe Steinmann
8a7fb230da fix hasHook() which still had some old code 2021-07-08 11:05:27 +02:00
Uwe Steinmann
8b2b2a12e2 propperly update expire of cookie (do not take enableLargeFileUpload into account) 2021-07-07 09:46:29 +02:00
Uwe Steinmann
132cbf336a rename check_access to check_view_access, first param of html_url is no longer optional 2021-07-07 08:25:26 +02:00
Uwe Steinmann
378993782b do not create relative link 2021-07-06 18:15:00 +02:00
Uwe Steinmann
496c70c024 add methods check_access(), html_url(), html_link() backported from 6.0.x 2021-07-06 09:31:11 +02:00
Uwe Steinmann
6fccfd1d18 use _httpRoot for imagepath 2021-07-05 16:29:30 +02:00
Uwe Steinmann
00bbfff34d make $settings already in constructor of view class available 2021-07-05 16:28:51 +02:00
Uwe Steinmann
d6419d38ef add new config var enableRemoveRevApp 2021-07-01 12:14:55 +02:00
Uwe Steinmann
47aebfdb14 do not strip .php from uri in add_log_line() 2021-06-28 09:27:40 +02:00
Uwe Steinmann
cb383eb70b do not strip .php from uri in add_log_line() 2021-06-28 09:25:58 +02:00
Uwe Steinmann
ece38b9d22 store undelUserIds as array in settings class 2021-06-26 11:57:02 +02:00
Uwe Steinmann
61a5dbc2b9 check if latest content exists 2021-06-25 09:02:39 +02:00
Uwe Steinmann
ff9385bf1e change behaviour of mayEditComment and mayEditAttributes 2021-06-25 08:54:05 +02:00
Uwe Steinmann
97414a0971 just read hiddenConfFields but do not save 2021-06-24 22:32:04 +02:00
Uwe Steinmann
1c839fd26b pass depth of iterator to callback function 2021-06-24 09:26:17 +02:00
Uwe Steinmann
932835ef03 add field in configuration for hidden other fields in settings form 2021-06-23 16:27:09 +02:00
Uwe Steinmann
0d5ba3bc1e pass $logger to migrate() 2021-06-07 21:15:18 +02:00
Uwe Steinmann
3003d6d0d3 check for non empty workflow state 2021-06-01 10:50:55 +02:00
Uwe Steinmann
b12dbd8e02 move sending notification mail into Notification service 2021-05-21 09:14:55 +02:00
Uwe Steinmann
aa8f6250b3 move sending notification emails into notification service 2021-05-19 21:19:32 +02:00
Uwe Steinmann
5028f37acc move notification emails into notification service 2021-05-19 20:41:50 +02:00
Uwe Steinmann
acf85728c3 move sending notification mail into Notification Service 2021-05-19 16:18:03 +02:00
Uwe Steinmann
92ff13afc6 move notification mail into notification service 2021-05-19 15:13:49 +02:00
Uwe Steinmann
0852d10df4 add version to document update mail, add stub for remove version mail 2021-05-19 08:32:38 +02:00
Uwe Steinmann
97c001acbe move notification mail into notification service 2021-05-18 17:39:14 +02:00