Commit Graph

1021 Commits

Author SHA1 Message Date
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
Uwe Steinmann
040793034b move notification mail into class NotificationService 2021-05-18 17:07:14 +02:00
Uwe Steinmann
3422e5a906 move sending notification mail in class NotificationService 2021-05-18 16:58:16 +02:00
Uwe Steinmann
abd52ea219 set version in sendChangedVersionCommentMail() 2021-05-17 07:01:03 +02:00
Uwe Steinmann
33c6436c16 move more emails into class NotificationService 2021-05-15 22:46:46 +02:00
Uwe Steinmann
7f417157f8 move sending mails into NotificationService 2021-05-15 12:17:07 +02:00
Uwe Steinmann
d6a296c071 add more methods for sending mails 2021-05-15 07:38:46 +02:00
Uwe Steinmann
c6a7460533 add missing case in getAttributeValidationError() 2021-05-15 07:37:21 +02:00
Uwe Steinmann
ca52671bac add method sendNewDocumentMail(), settings can be passed to construct 2021-05-14 21:55:48 +02:00
Uwe Steinmann
e40fcf1c2c add method sendNewDocumentMail(), settings can be passed to construct 2021-05-14 21:55:00 +02:00
Uwe Steinmann
c0120b0a1d do not call get_magic_quotes_gpc() anymore 2021-05-11 21:18:15 +02:00
Uwe Steinmann
bc4a1b5dac propperly check for translation of html body (Closes: #510) 2021-05-10 09:01:20 +02:00
Uwe Steinmann
543890e4eb add class SeedDMS_JwtToken 2021-05-07 13:22:57 +02:00
Uwe Steinmann
13001867be pass accessobject to exitError view 2021-04-30 14:48:13 +02:00
Uwe Steinmann
53af7e3173 add methods cmp_user_login() and cmp_user_fullname() 2021-04-30 07:57:27 +02:00
Uwe Steinmann
ffdc648292 use same way to check for hooks in hasHook() and callHook() 2021-04-23 09:56:25 +02:00
Uwe Steinmann
3d15736772 read property viewAliasName 2021-04-23 06:55:10 +02:00
Uwe Steinmann
6484094809 add missing file 2021-04-19 15:54:41 +02:00
Uwe Steinmann
91e4351ccc include inc.ClassAccessOperation.php 2021-04-18 19:40:13 +02:00
Uwe Steinmann
314a35b2d8 backport check_view_access and check_controller_access for smoother migration 2021-04-18 13:01:11 +02:00
Uwe Steinmann
6c0b544446 do not use session id in form key if not logged in 2021-04-18 07:02:53 +02:00
Uwe Steinmann
888d75953e use require_once for style classes, set 'theme' in view 2021-04-18 07:02:01 +02:00
Uwe Steinmann
ac85cfe26d fall back to bootstrap file, include theme style 2021-04-15 10:31:37 +02:00
Uwe Steinmann
5efc5802b7 start version 5.1.23 2021-04-13 08:39:07 +02:00
Uwe Steinmann
2ad4d1aac3 fixed Accept-Ranges and Content-Length when requesting partial content 2021-04-06 22:04:02 +02:00
Uwe Steinmann
67ab1e23e5 ensure the encryption key is alwasy set 2021-04-06 11:15:47 +02:00
Uwe Steinmann
20586c021d add new methods getMandatoryReviewers() and getMandatoryApprovers() 2021-02-24 13:22:03 +01:00
Uwe Steinmann
f9c6139bda do not add html part if body doesn't exists 2021-02-24 06:15:53 +01:00
Uwe Steinmann
d0f011827b propperly set html body 2021-02-23 11:49:55 +01:00
Uwe Steinmann
7c69ac348b fix setting body from param array 2021-02-23 08:43:03 +01:00
Uwe Steinmann
686a6b3ab7 add support for sending html mails 2021-02-21 11:50:42 +01:00
Uwe Steinmann
12ae492f54 move creating notification service into extra file 2021-02-16 21:47:07 +01:00
Uwe Steinmann
a495d315e5 use global $logger 2021-02-04 10:50:38 +01:00
Uwe Steinmann
15a4d3195b pass logger to contructor of SeedDMS_ExtBase 2021-02-04 10:41:16 +01:00
Uwe Steinmann
5f7ab50965 fix sending notifiations to list 2021-02-02 21:54:29 +01:00
Uwe Steinmann
83d54c3a36 do not send mail if receiver mail address is '' 2021-02-02 21:53:49 +01:00
Uwe Steinmann
cf9f159829 log recvtype 2021-02-01 13:42:16 +01:00
Uwe Steinmann
5f280ed7a2 fix wording of log message 2021-01-29 10:53:12 +01:00
Uwe Steinmann
eb29006e50 remove toGroup() and toList() 2021-01-29 10:51:01 +01:00
Uwe Steinmann
3a9bec69af log filtered out notifications 2021-01-29 10:34:01 +01:00
Uwe Steinmann
ae2eebd562 use new method SeedDMS_Core_User->isType() 2021-01-29 10:33:35 +01:00
Uwe Steinmann
8e2682dcf0 add type of receiver, do not call toList and toGroup anymore 2021-01-29 08:57:37 +01:00
Uwe Steinmann
e6790f6b2f add comment that toGroup and toList are deprecated 2021-01-29 08:56:01 +01:00
Uwe Steinmann
fdde3e29c5 pass logger to Authentication Service 2021-01-28 21:09:11 +01:00
Uwe Steinmann
d0c1b16332 pass logger to constructor, introduce type of receiver 2021-01-28 21:08:33 +01:00
Uwe Steinmann
4ad9638e33 toList() returns error 2021-01-28 21:07:04 +01:00
Uwe Steinmann
c4d00fb650 add method getTheme() 2021-01-13 09:05:19 +01:00
Uwe Steinmann
cb03dacf45 pass dms to SeedDMS_ExtBase 2021-01-12 22:07:01 +01:00
Uwe Steinmann
d8b8719d6b add method migrate() which calls the methode migrate() in the extension 2021-01-11 07:58:02 +01:00
Uwe Steinmann
4bc32501b8 some more documentation, use appropriate variable name 2021-01-08 10:06:42 +01:00
Uwe Steinmann
9bacd79374 start version 5.1.22 2021-01-08 09:23:04 +01:00
Uwe Steinmann
3b0eafd5aa sendFile() can handle partial downloads 2020-12-23 06:20:58 +01:00
Uwe Steinmann
405f1796e4 call each notification service 2020-12-18 14:36:51 +01:00
Uwe Steinmann
61a68f8325 check if home folder shall be used as root folder 2020-12-18 10:08:30 +01:00
Uwe Steinmann
4708e8b393 add new config var _useHomeAsRootFolder 2020-12-18 08:06:01 +01:00
Uwe Steinmann
d624b3c9ef parameter of getReadableDate() is optional, add makeTsFromDate() 2020-12-17 13:40:04 +01:00
Uwe Steinmann
b9ad6e250f add function getConvertDateFormat() 2020-12-17 11:42:20 +01:00
Uwe Steinmann
2cc6ca95e9 allow edit attributes in S_DRAFT_APP 2020-12-17 09:41:48 +01:00
Uwe Steinmann
a3be420b88 use class_parents() instead of get_class_parent() 2020-12-15 20:20:37 +01:00
Uwe Steinmann
bcb83d6942 set $nocontent to false when indexing a folder 2020-12-12 16:28:47 +01:00
Uwe Steinmann
f70973e80d translate phrases in getPeriodOfTime() 2020-12-07 20:43:27 +01:00
Uwe Steinmann
f2d5b160c5 add function getPeriodOfTime() and isAjax() 2020-12-07 10:24:30 +01:00
Uwe Steinmann
363ce485e3 get[Long]ReadableDate() takes argument as 'yyyy-mm-dd hh:ii:ss' 2020-12-01 18:33:30 +01:00