Commit Graph

1001 Commits

Author SHA1 Message Date
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