Commit Graph

1038 Commits

Author SHA1 Message Date
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
Uwe Steinmann
26d8c08ce9 add converters for pdf output 2017-11-21 18:12:58 +01:00
Uwe Steinmann
1d21c18aa3 commands for creating previews can be set 2017-11-21 17:34:24 +01:00
Uwe Steinmann
1d8743fd7f handle 'from' propperly, even if it contains a time 2017-11-21 17:12:58 +01:00
Uwe Steinmann
545cdb4e32 backup dir can be set in configuration 2017-11-21 11:51:45 +01:00
Uwe Steinmann
53b0d98fa5 init index 2017-11-21 08:48:29 +01:00
Uwe Steinmann
0421b2f0ac add fold marks 2017-11-21 08:47:00 +01:00
Uwe Steinmann
51228b5a8f init index 2017-11-21 08:46:48 +01:00
Uwe Steinmann
64f7e9be10 call notification hooks before and after setting up email notification 2017-11-21 08:41:10 +01:00
Uwe Steinmann
cc6f64a1a3 add dir separator to various install directories 2017-11-21 08:34:38 +01:00
Uwe Steinmann
cc8161e353 fix php warning when login fails 2017-11-07 17:50:58 +01:00
Uwe Steinmann
e31ce5d8c3 move code into controller 2017-10-18 06:50:15 +02:00
Uwe Steinmann
f6aa3bfc94 move most of the code into the controller 2017-10-12 15:39:28 +02:00
Uwe Steinmann
e0038f25d9 add more hooks before and after setting access rights and owner 2017-10-11 14:35:23 +02:00
Uwe Steinmann
c9d01565ba Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-09-20 09:24:00 +02:00
Uwe Steinmann
ca2c9c8f93 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-09-20 09:23:46 +02:00
Uwe Steinmann
3e2d6e3f74 add preview width for dropfolder lists 2017-09-20 09:20:56 +02:00
Uwe Steinmann
f666996f20 remove default icon if preview could not be created 2017-09-18 10:23:40 +02:00
Uwe Steinmann
bb3071bdae use cmd timeout when indexing document (Closes 344) 2017-09-11 08:21:28 +02:00
Uwe Steinmann
cdd6a494e2 get comment from post 2017-08-29 12:33:11 +02:00
Uwe Steinmann
b3a41875b3 allow sending login data only if enableEmail is set 2017-08-24 08:39:58 +02:00
Uwe Steinmann
329aa59012 add command sendlogindata 2017-08-24 08:15:12 +02:00
Uwe Steinmann
fa9e8d9d66 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-23 13:47:04 +02:00
Uwe Steinmann
99fe3a4ff7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-23 13:46:52 +02:00
Uwe Steinmann
6858b98558 do not redirect with host and port (Closes #336) 2017-08-23 13:46:07 +02:00
Uwe Steinmann
5ec13f02af Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 10:57:20 +02:00
Uwe Steinmann
efbc30c0dd Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 10:57:10 +02:00
Uwe Steinmann
c54faf8f90 regard mandatory reviewers/approvers
the owner of the document may not remove mandatory reviewers/approvers
anymore. Only admin may do that, it he/she is not the owner.
2017-08-02 10:54:40 +02:00
Uwe Steinmann
05671428e1 file in drop folder can be shown in menu as item 2017-07-31 20:30:59 +02:00
Uwe Steinmann
f307658290 do not remove from process when none is checked 2017-07-31 14:16:45 +02:00
Uwe Steinmann
2d2dd8f1bf docs, folders etc. can be transferred 2017-07-31 11:28:39 +02:00
Uwe Steinmann
67f2d70ce4 fix uploading of attachments 2017-07-31 11:24:42 +02:00
Uwe Steinmann
d8ae673270 finish removal from process 2017-07-28 14:57:17 +02:00
Uwe Steinmann
dee74c96e6 add new action 'removefromprocesses' 2017-07-28 12:34:37 +02:00
Uwe Steinmann
2fe4724bfd set $indexconf to null if fulltext is disabled 2017-07-20 17:04:26 +02:00
Uwe Steinmann
a0651239dd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-13 18:03:15 +02:00
Uwe Steinmann
e029e8e55a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-13 17:56:31 +02:00
Uwe Steinmann
f1cfa81c39 set splash messages after succesful saving the data 2017-07-13 08:49:50 +02:00
Uwe Steinmann
258c3fae0b change field name of attributes to 'attributes_version'
makes much more sense because the attributes are version attributes.
2017-06-29 16:32:42 +02:00
Uwe Steinmann
31ed9a729f remove old code 2017-06-24 07:16:13 +02:00
Uwe Steinmann
778f94f0d1 use AddDocument controller when uploading a document
this will make sure all hooks are being called
2017-06-09 12:29:20 +02:00
Uwe Steinmann
b406d31ea0 add menu tasks including checkbox in settings for enabling it 2017-05-12 18:09:53 +02:00
Uwe Steinmann
add8c5ae2e propperly set status in reject mail 2017-05-12 13:25:58 +02:00
Uwe Steinmann
8e69893e89 move updating document into controller 2017-05-04 13:48:07 +02:00
Uwe Steinmann
fe13c6cee1 move code into controller 2017-04-27 17:21:05 +02:00
Uwe Steinmann
6ee6e3fde2 take out enableAttachmentUpload 2017-04-27 17:19:49 +02:00