Commit Graph

1083 Commits

Author SHA1 Message Date
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
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
Uwe Steinmann
d519990d5e do not set default theme for user anymore, redirect to login page
if the user didn't have a theme set, it used to be set by the default
theme. This has been turned off.
2018-09-05 07:15:12 +02:00
Uwe Steinmann
b99795da12 add log line before calling controller
that allows to redirect in the controller, with skipping the logging
2018-08-17 14:40:10 +02:00
Uwe Steinmann
45615be207 pass context to getAccessMode() 2018-07-12 22:36:44 +02:00
Uwe Steinmann
0be0ffdbe5 make sure cache dir is a directory before running exec command 2018-06-27 18:54:08 +02:00
Uwe Steinmann
384d1f58b5 remove all chars not in [0-9a-f-] from post var qquuid 2018-06-27 18:53:13 +02:00
Uwe Steinmann
0a841b22aa use post, use formField() for form fieldѕ 2018-06-20 20:40:13 +02:00
Uwe Steinmann
e8c1c71018 init $oldattributes with empty array 2018-06-20 20:38:23 +02:00
Uwe Steinmann
da2696869b do not pass $user to controllor factory 2018-04-23 15:27:23 +02:00
Uwe Steinmann
7005305a08 fix typo in variable 2018-04-19 19:47:20 +02:00
Uwe Steinmann
dfe2e3f167 add new option for configuring replacement of documents in webdav 2018-04-12 06:41:51 +02:00
Uwe Steinmann
5571fc4385 add note when document content was not indexed 2018-04-11 16:35:26 +02:00
Uwe Steinmann
9fb899a61a better error reporting when indexing fails 2018-04-11 15:32:35 +02:00
Uwe Steinmann
ea99276a9c 2FA will come in 6.0.x 2018-04-06 16:36:09 +02:00
Uwe Steinmann
bfc59dc90c use ErrorDlg view for error messages
this will also fix the js errors when the error page was shown
2018-04-06 16:34:01 +02:00
Uwe Steinmann
c539693288 fix name for log files 2018-04-03 10:57:29 +02:00
Uwe Steinmann
5c48206311 use utf8_basename() instead of php basename() 2018-03-31 14:38:27 +02:00
Uwe Steinmann
06efeae431 do not remove user when transfering objects 2018-03-23 17:52:07 +01:00
Uwe Steinmann
0ad2303511 fix typo in function name 2018-03-22 08:43:21 +01:00
Uwe Steinmann
cc12a00db9 replace hard coded repository url 2018-03-21 15:24:45 +01:00
Uwe Steinmann
16d9cb5c1e move code for downloading new extension list into controller 2018-03-21 13:39:38 +01:00
Uwe Steinmann
150b9975d3 send mail if attributes are changed, fix setting comment in email 2018-03-19 12:13:18 +01:00
Uwe Steinmann
0563636b7d attribute_changed_email is now document_attribute_changed_email 2018-03-19 12:12:46 +01:00
Uwe Steinmann
e9c9b48140 fix sending notification when attributes have been changed 2018-03-19 11:31:09 +01:00
Uwe Steinmann
9b525b10a2 check diff of attributes after all changes have been saved 2018-03-19 11:30:21 +01:00
Uwe Steinmann
a8576bef66 set old and new attribute value in notification 2018-03-19 08:31:39 +01:00
Uwe Steinmann
15d1e7ef2a send email if attributes have changed 2018-03-19 08:31:05 +01:00
Uwe Steinmann
a685d4498b show same tab after installing an extension from a repository 2018-03-14 18:56:28 +01:00
Uwe Steinmann
db3990b8b7 make repository for extensions configurable 2018-03-14 18:43:01 +01:00
Uwe Steinmann
b1a9ade799 check if extension directory is writable 2018-03-14 11:47:06 +01:00
Uwe Steinmann
ba53d01096 no need to instanciate Extension Mgr, as it is done inc.Extension.php 2018-03-13 18:38:30 +01:00
Uwe Steinmann
52fc4cbe69 add import from repository 2018-03-13 14:38:49 +01:00
Uwe Steinmann
b223344af9 set dms and user in controller
was previously taken from global variables
2018-03-12 18:34:17 +01:00
Uwe Steinmann
5cfc52f1fc add download/upload of extensions to extension mgr 2018-03-12 18:33:30 +01:00
Uwe Steinmann
7f0a8d1094 no need to include Init.php twice 2018-03-07 12:25:16 +01:00
Uwe Steinmann
cf64a440da init $indexconf 2018-03-07 12:24:59 +01:00
Uwe Steinmann
7c867932c7 add configuration allowReviewerOnly 2018-02-26 08:09:10 +01:00
Uwe Steinmann
69a9f43add add allowReviewerOnly configuration
if set a document in traditioanl workflow may be uploaded with a
reviewer only
2018-02-26 08:07:51 +01:00
Uwe Steinmann
fe6d4d67be add action removeattrvalue 2018-02-22 19:12:14 +01:00
Uwe Steinmann
000d2b39f1 set splash msg 2018-02-15 12:56:34 +01:00
Uwe Steinmann
9a23619f18 pass $dms to postAddService() and preAddService() 2018-02-07 19:02:09 +01:00
Uwe Steinmann
5b19253131 set sequence according to default position in configuration 2018-02-07 09:52:23 +01:00
Uwe Steinmann
987025331d set default position of new documents/folders (Closes #381) 2018-02-07 08:43:46 +01:00
Uwe Steinmann
4e9d241108 include autoload.php instead of robthree classes 2018-02-05 15:12:18 +01:00
Uwe Steinmann
25657c2f64 save missing translations into cachedir 2018-02-05 14:27:54 +01:00
Uwe Steinmann
94efc33ec5 send error msg if indexing failed
the error is taken from stderr of the converter
2018-01-30 06:32:22 +01:00
Uwe Steinmann
1ae8f58055 set converters as set in configuration (Closes #389) 2018-01-24 09:06:48 +01:00
Uwe Steinmann
4cfd9f222e use sendFile() instead of readfile(), clean up code 2018-01-18 08:49:17 +01:00
Uwe Steinmann
dec3b44123 add configuration for number of entries on viewfolder page 2017-12-14 09:39:05 +01:00
Uwe Steinmann
7d4a0488ec add controller for AttributeMgr 2017-12-07 18:23:07 +01:00
Uwe Steinmann
d0cef58ca7 add url to notification mail 2017-12-06 16:06:24 +01:00
Uwe Steinmann
8a26b51ff3 documents can be transfered to another user
include document links, attachments, locks
2017-12-05 18:38:06 +01:00
Uwe Steinmann
795b6c52e2 add scripts for modifying attachments 2017-12-05 08:26:40 +01:00