Commit Graph

1140 Commits

Author SHA1 Message Date
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
Uwe Steinmann
1d2b44a8d9 the subtree command from op.Ajax.php has been moved into the views 2019-08-08 09:32:42 +02:00
Uwe Steinmann
ce420a78eb use backup dir for backup archives and sql dumps 2019-07-30 06:39:25 +02:00
Uwe Steinmann
90baea95f0 use host name in redirect to prevent redirecting to arbitrary pages 2019-07-30 06:36:34 +02:00
Uwe Steinmann
3d5812c86d file containing meta data can be specified 2019-07-30 06:34:16 +02:00
Uwe Steinmann
3471835d0a do not check for named formtoken in op/op.Ajax.php anymore, use new statusbox-container for last file uploads 2019-07-12 16:45:28 +02:00
Uwe Steinmann
16e9d3748c new command transferdocument and linkdocument
transferdocument moves the version of one document to another document
linkdocument creates a link between on document and another document
2019-07-11 17:15:40 +02:00
Uwe Steinmann
10e419f7e3 eliminate duplicate mails to the same group 2019-07-02 15:20:11 +02:00
Uwe Steinmann
7fc98be1be check for duplicate names if this is turn on in the settings 2019-07-01 20:40:21 +02:00
Uwe Steinmann
ad86df5fc5 check for duplicate folder names 2019-07-01 11:48:53 +02:00
Uwe Steinmann
b1a895fb27 new config options for disallowing duplicate subfolder names 2019-07-01 10:50:40 +02:00
Uwe Steinmann
b540f4a1b7 fix uploaded documents from drop folder 2019-06-28 08:43:37 +02:00
Uwe Steinmann
e6b9b15605 init $oldattributes in order to prevent php warnings 2019-06-27 14:19:24 +02:00
Uwe Steinmann
b0e3c816ff fix typo in comment 2019-06-13 08:50:13 +02:00
Uwe Steinmann
f8ac8aa74f take out patches accidentially taken over from demo 2019-05-07 08:05:19 +02:00
Uwe Steinmann
367d1b52a7 do not allow download of extensions 2019-05-02 16:57:31 +02:00
Uwe Steinmann
0f38a3dff6 propperly evaluate lang from REQUEST 2019-04-17 08:29:19 +02:00
Uwe Steinmann
43c15ff399 index document even if hook preIndexDocument is not set 2019-04-17 08:28:46 +02:00
Uwe Steinmann
3d638b47a8 check if attribute definition exists 2019-02-11 14:08:57 +01:00
Uwe Steinmann
211eae5587 pass version nr to controller instead content object 2019-02-06 13:11:14 +01:00
Uwe Steinmann
8db66fa33b add controller 2019-02-06 13:10:33 +01:00
Uwe Steinmann
dcb0a746a0 new parameter xsendfile 2019-01-18 13:07:39 +01:00
Uwe Steinmann
ba49c866cb do not index document if preIndexDocument returns false 2019-01-17 18:28:58 +01:00
Uwe Steinmann
61549c0455 log failed login 2019-01-14 10:11:50 +01:00
Uwe Steinmann
b7ffaa878e move most of the login code into a controller 2019-01-11 15:07:20 +01:00
Uwe Steinmann
73e1df3ad8 make it work with slim notfound handler 2019-01-09 09:19:46 +01:00
Uwe Steinmann
8aa750c035 use layout like categories, attributes 2018-12-03 07:40:58 +01:00
Uwe Steinmann
e6cc38cb22 set splash messages, inform users only once 2018-11-16 11:35:56 +01:00
Uwe Steinmann
2d8e8a606c pass timeout SeedDMS_Preview_PdfPreviewer 2018-11-16 08:17:12 +01:00
Uwe Steinmann
307afbc1ea set messages on successful modification 2018-11-12 11:48:40 +01:00
Uwe Steinmann
92641e9cea fix check for errors 2018-11-09 19:15:27 +01:00
Uwe Steinmann
fc0d7e22e5 get error msg from controller if set 2018-11-09 17:31:53 +01:00
Uwe Steinmann
ff2a815b6c show debug msg when test mail is send, use controller for RemoveDocument 2018-11-09 17:21:47 +01:00
Uwe Steinmann
710fbc9b5a check if the current pwd is the new pw and pwd history is > 0 (Closes #424) 2018-11-07 21:03:30 +01:00
Uwe Steinmann
025ff6dc2c remove code for converting files in SeedDMS_Core, also remove old js files 2018-10-11 12:32:39 +02:00