Commit Graph

1174 Commits

Author SHA1 Message Date
Uwe Steinmann
f8d81bd734 theme can be set in user manager 2021-06-23 14:49:53 +02:00
Uwe Steinmann
e21ef794c4 add access control 2021-06-23 08:58:55 +02:00
Uwe Steinmann
0b9435d362 append referuri to base url to prevent redirects to arbitraty sites 2021-06-21 08:58:22 +02:00
Uwe Steinmann
a38f7fd408 secure locking/inlocking documents with security token 2021-06-16 14:23:53 +02:00
Uwe Steinmann
ab546099f1 fix possible CSRF attack by setting document name 2021-06-14 09:09:36 +02:00
Uwe Steinmann
54b403882e fix downloading log file 2021-06-08 07:07:34 +02:00
Uwe Steinmann
0d5ba3bc1e pass $logger to migrate() 2021-06-07 21:15:18 +02:00
Uwe Steinmann
d3b8202086 set message after successful folder/document deletion 2021-05-28 10:35:39 +02:00
Uwe Steinmann
386a18be09 check for name, email and comment, remove duplicate quota code 2021-05-27 21:52:01 +02:00
Uwe Steinmann
9575090fdd check if name and comment is set 2021-05-27 19:52:13 +02:00
Uwe Steinmann
8b69d859a4 check if comment is set 2021-05-27 19:51:50 +02:00
Uwe Steinmann
b12dbd8e02 move sending notification mail into Notification service 2021-05-21 09:14:55 +02:00
Uwe Steinmann
a9d912bce2 better error checking, send notification mail via notification service 2021-05-21 08:54:07 +02:00
Uwe Steinmann
eacd59c2ef issue splash messages 2021-05-21 08:53:43 +02:00
Uwe Steinmann
477d1a69b8 issue splash message 2021-05-21 08:51:47 +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
4d84aa2ce2 remove old commented code 2021-05-19 16:11:18 +02:00
Uwe Steinmann
92ff13afc6 move notification mail into notification service 2021-05-19 15:13:49 +02:00
Uwe Steinmann
6feb6d7121 remove already commented code 2021-05-19 08:34:31 +02:00
Uwe Steinmann
ba381d8e85 use controller RemoveDocument, send mail with notification class 2021-05-19 08:33:15 +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
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
07b8ab9706 use methods in notification service for sending mails 2021-05-15 07:39:18 +02:00
Uwe Steinmann
64c6c21592 fix error in creating list of notifier 2021-05-15 07:38:04 +02:00
Uwe Steinmann
423f42c1f4 use new method sendNewDocumentMail() to send notification mail 2021-05-14 21:56:37 +02:00
Uwe Steinmann
5a74c3debf add mandatory group reviewer/approver 2021-05-14 12:37:37 +02:00
Uwe Steinmann
9a2ebf80cc fix sending notification mail to group, add mandatory group rev/app 2021-05-14 12:37:10 +02:00
Uwe Steinmann
9a417a9460 include inc/inc.ClassAccessOperation.php 2021-05-12 09:37:48 +02:00
Uwe Steinmann
a4935f608b remove old magic_quote code for compatibility with php 8 2021-05-12 08:43:09 +02:00
Uwe Steinmann
4be72880a8 typeahead search for folders can search in subfolders 2021-05-04 09:03:10 +02:00
Uwe Steinmann
570df730e8 fix typo in comment 2021-05-03 13:52:19 +02:00
Uwe Steinmann
43a280bc6d set sequence of document when moving 2021-04-26 12:24:55 +02:00
Uwe Steinmann
9b19d25b29 check if keywords are actually set 2021-04-08 10:56:27 +02:00
Uwe Steinmann
e480fb6c6f do not send email to owner, if owner is logged in user 2021-03-23 17:43:29 +01:00
Uwe Steinmann
5a212cc784 get workflow, reviewers, approvers from controller after update 2021-03-10 09:15:23 +01:00
Uwe Steinmann
27aefc26c9 just a comment why the workflow is taken from the controller 2021-03-10 09:14:04 +01:00
Uwe Steinmann
1f1fe940f8 use same user selection as on UsrMgr page 2021-03-01 18:37:49 +01:00
Uwe Steinmann
3ae98b7af3 use new methods getMandatoryReviewers() and getMandatoryApprovers() 2021-02-24 13:44:04 +01:00
Uwe Steinmann
a7917dad35 use new methods getMandatoryReviewers() and getMandatoryApprovers() 2021-02-24 13:23:08 +01:00
Uwe Steinmann
89ca0adc7d add currenttab=revapp to url in notification mail 2021-02-15 11:55:24 +01:00
Uwe Steinmann
8543d62ce4 pass status code as parameter to document_status_changed_email 2021-02-05 10:50:28 +01:00
Uwe Steinmann
5210d756e9 remove second include of LogInit.php 2021-02-02 21:57:26 +01:00
Uwe Steinmann
79ed5b94ae add missing LogInit 2021-02-02 20:52:29 +01:00
Uwe Steinmann
7c6ab4027a set url in notification mail 2021-02-02 13:08:55 +01:00
Uwe Steinmann
7ebd3a4a0a get reviewers, approvers, workflow from controller before sending notifications 2021-02-02 10:21:02 +01:00
Uwe Steinmann
fc437c2e77 get reviewers, approvers, workflow from controller 2021-02-01 13:15:14 +01:00
Uwe Steinmann
899d89a2a9 pass $logger to notification service 2021-01-30 15:08:40 +01:00
Uwe Steinmann
862f8dffb3 pass type of notification receiver in each call of notification service 2021-01-29 08:58:21 +01:00
Uwe Steinmann
cb4cd22caf add csrf protection 2021-01-25 10:04:45 +01:00
Uwe Steinmann
dc3cd2e1de add csrf protection 2021-01-25 10:00:20 +01:00
Uwe Steinmann
44813338b1 add csrf protection 2021-01-25 09:08:40 +01:00
Uwe Steinmann
ef20172f57 add csrf protection 2021-01-25 09:08:12 +01:00
Uwe Steinmann
0638dab4f8 add csrf protection 2021-01-25 09:07:49 +01:00
Uwe Steinmann
c5694c21b4 add csrf protection, check if target is equal source folder 2021-01-25 09:07:12 +01:00
Uwe Steinmann
64152e0d0b add csrf protection 2021-01-25 09:00:28 +01:00
Uwe Steinmann
6dbcd3362f add csrf protection 2021-01-25 09:00:03 +01:00
Uwe Steinmann
3fa952c5cb fix possible csrf attack due to missing form token 2021-01-24 17:05:13 +01:00
Uwe Steinmann
d3887dcf44 user translation phrases 2021-01-12 22:02:29 +01:00
Uwe Steinmann
717cfcb615 add missing foldmarks, fix comment 2021-01-11 07:58:37 +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
f6af24c2ab fix saving _useHomeAsRootFolder 2020-12-18 08:11:40 +01:00
Uwe Steinmann
4708e8b393 add new config var _useHomeAsRootFolder 2020-12-18 08:06:01 +01:00
Uwe Steinmann
56627d8df0 do not redirect to a specific folder 2020-12-18 06:32:44 +01:00
Uwe Steinmann
924a125d88 remove old scripts for searching 2020-12-18 06:24:28 +01:00
Uwe Steinmann
7746fb72db replace rootFolderId with $dms->getHomeFolder() 2020-12-17 21:31:03 +01:00
Uwe Steinmann
d9fa867582 add support for configurable date format 2020-12-17 13:41:00 +01:00
Uwe Steinmann
efe6fe085d add support for using configured date format 2020-12-17 11:44:19 +01:00
Uwe Steinmann
6e46e95702 pass current object and $new to validate() 2020-12-14 18:46:38 +01:00
Uwe Steinmann
df29339c28 call hook postAddSubfoder, add folder to fulltext index 2020-12-14 07:55:34 +01:00
Uwe Steinmann
6b77e914d6 pass fulltextservice to controller 2020-12-14 07:53:51 +01:00
Uwe Steinmann
efed9f2b9c add support for indexing folders 2020-12-12 16:29:56 +01:00
Uwe Steinmann
46264c49d6 pass fulltextservice to controller 2020-12-10 13:47:44 +01:00
Uwe Steinmann
063b950b3a add fold marks 2020-12-09 19:54:58 +01:00
Uwe Steinmann
4b4595181b move preview of attachments into controller 2020-12-09 19:54:31 +01:00
Uwe Steinmann
6bb4218e44 initial support customizable date format 2020-12-01 18:25:22 +01:00
Uwe Steinmann
0124f6cc74 use require_once instead of include 2020-12-01 18:23:48 +01:00
Uwe Steinmann
768ea3544c theme in configuration can override theme of each user 2020-11-09 15:14:09 +01:00
Uwe Steinmann
4f9f5cb3a9 check if metadata is set before using it 2020-10-15 13:30:34 +02:00
Uwe Steinmann
4bdb3c7061 put fulltext search into central service 2020-09-29 16:42:09 +02:00
Uwe Steinmann
df313d316c export users of a group as csv file 2020-09-23 11:39:19 +02:00
Uwe Steinmann
34c88aadd3 fix setting quota when importing users 2020-09-23 10:35:57 +02:00
Uwe Steinmann
83fc0a59b1 add expiration in 3 years 2020-09-22 10:03:30 +02:00
Uwe Steinmann
3d5aec62ce add redirect again, which was removed by accident 2020-09-17 09:23:06 +02:00
Uwe Steinmann
3efc584177 add some more mimetypes 2020-09-17 09:13:29 +02:00
Uwe Steinmann
3945ae54b9 import of users does not issue an error if a group column isn't set 2020-09-14 10:40:00 +02:00
Uwe Steinmann
84a849a28f check if $_POST["undelUserIds"] is set at all 2020-09-08 13:44:56 +02:00
Uwe Steinmann
c6d0a1d345 allow inline editing on document details page 2020-09-07 16:20:37 +02:00
Uwe Steinmann
ab0dfee213 init $colmap early 2020-09-06 07:46:31 +02:00
Uwe Steinmann
1eee3f1335 check if group was found when rendering groups 2020-09-06 07:32:08 +02:00
Uwe Steinmann
973ef339bb disregard group if not exists but issue error msg 2020-09-06 07:26:45 +02:00
Uwe Steinmann
7a886b9693 fix import of users, add groups 2020-09-03 14:17:40 +02:00
Uwe Steinmann
a328984b3d add version by ->version() instead of ->_number 2020-08-31 12:59:39 +02:00
Uwe Steinmann
b9ea04658b check for existence of paramter command 2020-08-31 12:58:48 +02:00
Uwe Steinmann
af792b52ad add support for new attribute types 2020-08-28 11:46:46 +02:00
Uwe Steinmann
b34486d701 two more specific error msg when uploading new extension 2020-08-27 12:15:21 +02:00
Uwe Steinmann
1fb30caf25 fix getting group for notification when transition has fired (Closes: #483) 2020-08-27 08:00:49 +02:00
Uwe Steinmann
6d881fed60 take out authentication and secure script with a token 2020-08-26 11:40:04 +02:00
Uwe Steinmann
92b049ee6d pass referuri to controller 2020-08-26 11:39:42 +02:00
Uwe Steinmann
ad8a501506 go to right url after deleting a document version 2020-08-21 12:35:06 +02:00
Uwe Steinmann
991268a18b put ClearCache into controller, add hooks when clearing the cache 2020-08-21 10:03:22 +02:00
Uwe Steinmann
1726d1f1f2 configuring a user id in the settings uses a list of existing users 2020-08-19 13:21:51 +02:00
Uwe Steinmann
25f37fae7a much more reliable import of users 2020-07-30 17:34:06 +02:00
Uwe Steinmann
9c2dae9d44 use new functions seed_pass_hash() and seed_pass_verify() 2020-07-30 10:57:29 +02:00
Uwe Steinmann
f655060ca4 unencrypted password can be imported 2020-07-30 10:55:40 +02:00
Uwe Steinmann
add540c476 plain/encrypted password can be imported 2020-07-28 12:53:39 +02:00
Uwe Steinmann
40a6de0353 fix output of log lines 2020-07-27 15:30:30 +02:00
Uwe Steinmann
076535bf7d a script for export users as csv 2020-07-27 14:17:11 +02:00
Uwe Steinmann
837f697d3b better import of users 2020-06-29 17:24:26 +02:00
Uwe Steinmann
7725a0b03b add configuration for authentication by key in rest api 2020-06-17 11:19:02 +02:00
Uwe Steinmann
514002f877 import users from csv file 2020-06-09 21:07:47 +02:00
Uwe Steinmann
a15c968d72 use getBoolValue() to get onePageMode from _POST 2020-06-08 12:08:18 +02:00
Uwe Steinmann
46d392f71f fix wrong var name in addLogLine() 2020-06-08 12:05:50 +02:00
Uwe Steinmann
e718520baa fix creating preview images in drop folder 2020-05-22 14:25:07 +02:00
Uwe Steinmann
8c19c652b5 override mimetype only if mimetype != 'applicatin/octet-stream' 2020-05-20 21:13:17 +02:00
Uwe Steinmann
0db86055ab check if version_comment is set 2020-05-15 17:26:39 +02:00
Uwe Steinmann
d7dccfd299 check against maxuploadsize when uploading a new document 2020-05-13 09:25:30 +02:00
Uwe Steinmann
39a3e0dea3 obey maxUploadSize whenever a file is uploaded 2020-05-07 14:03:00 +02:00
Uwe Steinmann
53521d25ff return error returned by RemoveDocument Controller 2020-03-25 08:07:43 +01:00
Uwe Steinmann
cf1e635c09 include Preview class 2020-03-23 06:47:18 +01:00
Uwe Steinmann
f17b120126 move code into controller and add hooks 2020-03-22 09:31:31 +01:00
Uwe Steinmann
41b9ca549e fix bug #458 2020-03-04 18:28:28 +01:00
Uwe Steinmann
d508ef93db use new method ExtensionMgr::getExtensionFromRepository() 2020-03-02 09:18:16 +01:00
Uwe Steinmann
ae2b7d4631 add debug mode 2020-02-27 17:58:31 +01:00
Uwe Steinmann
f1ad164f44 allow application/x-zip-compressed for extensions 2020-02-26 21:07:48 +01:00
Uwe Steinmann
3448734024 set callback removePreviews() when removing a folder 2020-02-25 17:08:38 +01:00
Uwe Steinmann
c28a7dd081 callback removePreviews() muss return null 2020-02-25 17:06:55 +01:00
Uwe Steinmann
4675c785db set configuration for http proxy 2020-02-21 10:01:09 +01:00
Uwe Steinmann
453da9ce00 metadata file may have data for custom attributes 2020-02-21 09:59:58 +01:00
Uwe Steinmann
7ed771dba8 some improvements (still unfinished) 2020-02-18 09:45:59 +01:00
Uwe Steinmann
6e2dd6c159 check for presetexpdate and sequence in $_POST 2020-01-16 17:48:23 +01:00
Uwe Steinmann
f1599906d0 check if $_POST["reqversion"] is empty 2020-01-16 13:07:43 +01:00
Uwe Steinmann
b3ffdd3b7d extension are disabled in the settings
the configuration of the extension will no longer work for disabling an
extension
2019-12-20 17:20:15 +01:00
Uwe Steinmann
c332e0393b add new config variable noDocumentFormFields
used for hiding some fields like comment, keywords, categories, ...
2019-12-19 09:03:59 +01:00
Uwe Steinmann
a0661536b3 move attribute validation into controller and call hook 2019-12-13 15:00:04 +01:00
Uwe Steinmann
c3ab464890 use new function getBaseUrl() 2019-11-28 10:01:59 +01:00
Uwe Steinmann
28676c8065 show empty pic if no access 2019-11-25 11:52:14 +01:00
Uwe Steinmann
3c26142744 onePageMode can be turned on/off 2019-10-28 12:06:41 +01:00
Uwe Steinmann
721aaed1c1 init variable $workflow to prevent php warning 2019-09-16 08:32:50 +02:00
Uwe Steinmann
875dea5708 do not set mandatory reviewer if workflow is traditional_no_review 2019-09-10 17:43:32 +02:00
Uwe Steinmann
177e3c571a fix php error when removing versions of a document 2019-09-05 08:34:11 +02:00
Uwe Steinmann
4145b67dd6 fix for determine fileType
didn't work if the file didn't have a file extension but the path
contains a dot.
2019-08-27 21:47:05 +02:00
Uwe Steinmann
140926be96 log creation of preview files 2019-08-27 21:46:40 +02:00
Uwe Steinmann
4b2b536fdb allow status override if the new status is 'obsoleted' 2019-08-17 08:00:06 +02:00
Uwe Steinmann
65703c1862 add url to notification mail 2019-08-12 08:11:12 +02:00
Uwe Steinmann
5fc0d5667f do not send notification to owner
other operations on documents don't do neither
2019-08-12 08:09:53 +02:00