Commit Graph

1413 Commits

Author SHA1 Message Date
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
7b78a1ac69 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-20 19:59:26 +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
446472c3b1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-01 13:50:43 +02:00
Uwe Steinmann
25f37fae7a much more reliable import of users 2020-07-30 17:34:06 +02:00
Uwe Steinmann
709d362b02 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-30 11:06:28 +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
096f9773dc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-27 15:33:40 +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
00d9a8c239 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-02 17:42:33 +02:00
Uwe Steinmann
fd0a362578 allow to disable task when creating 2020-07-01 15:52:12 +02:00
Uwe Steinmann
837f697d3b better import of users 2020-06-29 17:24:26 +02:00
Uwe Steinmann
505bf27d52 include ClassNotificationService and ClassEmailNotify 2020-06-24 21:13:22 +02:00
Uwe Steinmann
d56812f66d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-19 08:09:30 +02:00
Uwe Steinmann
7725a0b03b add configuration for authentication by key in rest api 2020-06-17 11:19:02 +02:00
Uwe Steinmann
bf1d8482d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-09 21:36:48 +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
579b561d9d add script to run scheduled tasks 2020-05-27 22:07:13 +02:00
Uwe Steinmann
16f8333e89 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-22 14:25:30 +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
df02d76e56 add removal of task 2020-05-19 08:06:42 +02:00
Uwe Steinmann
cdf29f754d remove spaces in empty line 2020-05-18 16:21:24 +02:00
Uwe Steinmann
d524c5f48c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-18 07:07:18 +02:00
Uwe Steinmann
0db86055ab check if version_comment is set 2020-05-15 17:26:39 +02:00
Uwe Steinmann
bf11f7cc87 clear revision date when all revisors have been deleted 2020-05-15 08:05:04 +02:00
Uwe Steinmann
8884b1b54d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-13 13:53:37 +02:00
Uwe Steinmann
d7dccfd299 check against maxuploadsize when uploading a new document 2020-05-13 09:25:30 +02:00
Uwe Steinmann
8ae40fbc9e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-08 07:44:49 +02:00
Uwe Steinmann
39a3e0dea3 obey maxUploadSize whenever a file is uploaded 2020-05-07 14:03:00 +02:00
Uwe Steinmann
6e89a180b1 fix upload from dropfolder 2020-04-14 17:13:32 +02:00
Uwe Steinmann
97f5f73730 process of user can be deleted again, instead of transfered to another user 2020-03-27 08:16:12 +01:00
Uwe Steinmann
7a8fffadfc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-25 09:19:54 +01:00
Uwe Steinmann
53521d25ff return error returned by RemoveDocument Controller 2020-03-25 08:07:43 +01:00
Uwe Steinmann
4ad398a01e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-23 06:47:48 +01:00
Uwe Steinmann
cf1e635c09 include Preview class 2020-03-23 06:47:18 +01:00
Uwe Steinmann
839607e1ca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-23 06:41:15 +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
0ed11fcb36 fix bug #458 2020-03-04 18:27:24 +01:00
Uwe Steinmann
756a86abe5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-02 09:26:41 +01:00
Uwe Steinmann
d508ef93db use new method ExtensionMgr::getExtensionFromRepository() 2020-03-02 09:18:16 +01:00
Uwe Steinmann
2eda020373 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-27 18:01:14 +01:00
Uwe Steinmann
ae2b7d4631 add debug mode 2020-02-27 17:58:31 +01:00
Uwe Steinmann
08c0507de2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-26 21:11:20 +01:00
Uwe Steinmann
f1ad164f44 allow application/x-zip-compressed for extensions 2020-02-26 21:07:48 +01:00
Uwe Steinmann
9733c44ef3 do not access SeedDMD_Document_Content::_version anymore
use SeedDMD_Document_Content::getVersion() instead
2020-02-26 20:59:26 +01:00
Uwe Steinmann
3d33c1d49c get rid of git merge errors 2020-02-26 20:57:40 +01:00
Uwe Steinmann
33c4f88636 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-25 17:14:36 +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
4d43097961 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-20 11:13:48 +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
6fc73a9a77 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-31 15:51:33 +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
7b1835774d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-15 08:03:36 +01:00
Uwe Steinmann
a0661536b3 move attribute validation into controller and call hook 2019-12-13 15:00:04 +01:00
Uwe Steinmann
df095c63a3 use getBaseUrl() 2019-11-28 10:06:48 +01:00
Uwe Steinmann
e9827b8701 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-28 10:05:12 +01:00
Uwe Steinmann
c3ab464890 use new function getBaseUrl() 2019-11-28 10:01:59 +01:00
Uwe Steinmann
809f224e7d processes can be transfered to a new user
currently only for reviews
2019-11-28 09:18:42 +01:00
Uwe Steinmann
ac570b09e9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-25 11:52:39 +01:00
Uwe Steinmann
28676c8065 show empty pic if no access 2019-11-25 11:52:14 +01:00
Uwe Steinmann
cbac16773d more checking for access rights 2019-11-25 09:36:32 +01:00
Uwe Steinmann
b3cc272941 check access 2019-11-25 09:33:13 +01:00
Uwe Steinmann
893a8d6d8d return json even in case of an error 2019-11-25 09:32:32 +01:00
Uwe Steinmann
572d776e55 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-28 12:08:43 +01:00
Uwe Steinmann
3c26142744 onePageMode can be turned on/off 2019-10-28 12:06:41 +01:00
Uwe Steinmann
ffcc53408f fix typo in enableRevisionOnVoteReject (must be 'One') 2019-10-18 07:24:58 +02:00
Uwe Steinmann
40ddfd3ea6 allow to set status S_NEEDS_CORRECTION 2019-10-18 07:24:33 +02:00
Uwe Steinmann
a870602324 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-17 07:22:16 +02: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
670597ea5f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-09-06 14:51:21 +02:00
Uwe Steinmann
88168d005e take over some changes from 5.1.x 2019-09-06 14:32:14 +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
37db957c41 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-19 15:41:05 +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
801f0f0ed2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-05 08:10:42 +02:00
Uwe Steinmann
10e419f7e3 eliminate duplicate mails to the same group 2019-07-02 15:20:11 +02:00
Uwe Steinmann
fa64bb3200 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-01 21:34:08 +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
5e8c34ad54 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-05-14 20:44:47 +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
469370cb42 new config option enableReceiptReject
enables rejection of receipts
2019-04-09 10:51:51 +02:00
Uwe Steinmann
d2c55cd685 fix translation string 2019-04-03 10:13:19 +02:00
Uwe Steinmann
ce3bb7d8ca fix typo in variable name 2019-02-27 15:40:21 +01:00
Uwe Steinmann
695c7c7c44 pass initial document status to verifyStatus() 2019-02-14 12:47:03 +01:00
Uwe Steinmann
ee88020054 check frequency 2019-02-14 12:35:18 +01:00
Uwe Steinmann
90f4c17533 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-11 15:45:24 +01:00
Uwe Steinmann
3d638b47a8 check if attribute definition exists 2019-02-11 14:08:57 +01:00
Uwe Steinmann
b27895e4ea Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-07 15:03:43 +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
6880901b4a subtree command isn't deprecated 2019-02-04 14:51:19 +01:00
Uwe Steinmann
22a4160a58 add comment that 'subtree' is deprecated 2019-02-04 08:42:06 +01:00
Uwe Steinmann
4b76b5e6ae Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-01 09:30:32 +01:00
Uwe Steinmann
4b1e933c76 add new config option $_allowChangeRevAppInProcess 2019-02-01 08:59:43 +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
48cf4b2ff3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 09:13:23 +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
e252af2df4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-12-18 06:19:18 +01:00
Uwe Steinmann
8aa750c035 use layout like categories, attributes 2018-12-03 07:40:58 +01:00
Uwe Steinmann
046d07bbf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-16 19:17:19 +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
a4ddbd6605 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-12 13:33:56 +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
Uwe Steinmann
166168e769 make sure list of notified users is unique (Closes #415) 2018-10-02 18:18:24 +02:00
Uwe Steinmann
fc030cd4e2 inform the subscribers of parent folder if a folder is deleted.
Till now, this only happend when document was deleted
2018-09-29 16:10:20 +02:00
Uwe Steinmann
39d7ed97b1 pass settings to EmailNotify service, closes #417 2018-09-29 16:01:34 +02:00
Uwe Steinmann
46f9d099a4 set creation date of document version from imported file 2018-09-25 08:54:25 +02:00
Uwe Steinmann
0f6d893c49 filemtime can be taken over when importing from filesystem 2018-09-18 18:31:15 +02:00