Commit Graph

1190 Commits

Author SHA1 Message Date
Uwe Steinmann
57839377f8 remove duplicate code 2018-02-07 22:36:26 +01:00
Uwe Steinmann
ab7776bdb9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-07 22:32:18 +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
dacacde524 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-05 15:14:45 +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
2ad6a04965 move some code at beginning of file 2018-02-05 08:50:39 +01:00
Uwe Steinmann
16e70a0cdd recipients may be set with read/write access 2018-02-05 08:50:15 +01:00
Uwe Steinmann
3ad9fe9743 do not add uploader and reviewer to recipients when added by group 2018-02-01 08:28:56 +01:00
Uwe Steinmann
89ad08a537 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-30 08:05:00 +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
593ba16c2d status may also be 6 (needs correction) 2018-01-29 11:41:40 +01:00
Uwe Steinmann
1ae8f58055 set converters as set in configuration (Closes #389) 2018-01-24 09:06:48 +01:00
Uwe Steinmann
b803c1d448 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-18 10:53:58 +01:00
Uwe Steinmann
4cfd9f222e use sendFile() instead of readfile(), clean up code 2018-01-18 08:49:17 +01:00
Uwe Steinmann
e97c3a4b25 allow to set receiver when uploading a document 2018-01-16 18:15:05 +01:00
Uwe Steinmann
fd770b5264 check access 2018-01-16 18:11:50 +01:00
Uwe Steinmann
e36fbd87d8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-18 11:10:14 +01:00
Uwe Steinmann
8784b1224b set ind. revisors by group 2017-12-18 08:42:13 +01:00
Uwe Steinmann
a1f98902a5 propperly set version in notification mail 2017-12-15 13:51:53 +01:00
Uwe Steinmann
dec3b44123 add configuration for number of entries on viewfolder page 2017-12-14 09:39:05 +01:00
Uwe Steinmann
6d8652f393 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-09 07:28:18 +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
c657dabcda Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-24 09:30:22 +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
909bfc4a30 remove old code, empty lines 2017-11-21 08:47:49 +01:00
Uwe Steinmann
c6e3aebc48 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-21 08:47:13 +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
f5a06f8e69 remove empty line 2017-11-21 08:35:30 +01:00
Uwe Steinmann
cc6f64a1a3 add dir separator to various install directories 2017-11-21 08:34:38 +01:00
Uwe Steinmann
4658db9c21 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-21 07:16:10 +01:00
Uwe Steinmann
cc8161e353 fix php warning when login fails 2017-11-07 17:50:58 +01:00
Uwe Steinmann
5149511aaa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-10-27 15:01:18 +02: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
5b2da28edd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-27 07:02:38 +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
d73071b38e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 17:00:14 +02:00
Uwe Steinmann
cdd6a494e2 get comment from post 2017-08-29 12:33:11 +02:00
Uwe Steinmann
f1b502b2f2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 06:21:53 +02:00
Uwe Steinmann
b3a41875b3 allow sending login data only if enableEmail is set 2017-08-24 08:39:58 +02:00
Uwe Steinmann
38f90b400d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-24 08:35:19 +02:00
Uwe Steinmann
329aa59012 add command sendlogindata 2017-08-24 08:15:12 +02:00
Uwe Steinmann
94b79fcd09 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-23 13:47:18 +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
9e4b80e25b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-02 12:14:14 +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
8f59babaad Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-01 08:37:31 +02:00
Uwe Steinmann
85cc7c017f send mails to reviewer and approver 2017-08-01 08:36:17 +02:00
Uwe Steinmann
e8b09b3f03 do not send notification to owner anymore
was sent when current user != owner
2017-08-01 08:04:46 +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
2de7d8931a set status[receipt] and status[revision] to empty array if not set 2017-07-31 14:22:12 +02:00
Uwe Steinmann
596cb2afd6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 14:18:18 +02:00
Uwe Steinmann
f307658290 do not remove from process when none is checked 2017-07-31 14:16:45 +02:00
Uwe Steinmann
afefe1d66c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 11:49:43 +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
e953d9dcbb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 15:12:00 +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
26cb15fe21 verify status after setting revisors 2017-07-21 11:48:32 +02:00
Uwe Steinmann
09dd448b40 set right message when removing revisor 2017-07-20 18:22:33 +02:00
Uwe Steinmann
a846bcf633 replace sql statement by function in SeedDMS_Core_Document 2017-07-20 18:21:24 +02:00
Uwe Steinmann
7c01cadb2f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-20 17:05:25 +02:00
Uwe Steinmann
2fe4724bfd set $indexconf to null if fulltext is disabled 2017-07-20 17:04:26 +02:00
Uwe Steinmann
b855389965 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-13 18:08:56 +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
d6e10dddd6 pass $content to controller, not $latestContent
$latestContent and $content are different objects. If $latestContent
is passed to the controller, its status will be updated in the object
but $content has still the old status. Getting the status later on
from $content, still returns the old content.
2017-07-13 14:55:51 +02:00
Uwe Steinmann
6e37e1ded6 fix check for new content status 2017-07-13 14:11:04 +02:00
Uwe Steinmann
f1cfa81c39 set splash messages after succesful saving the data 2017-07-13 08:49:50 +02:00
Uwe Steinmann
c26d13484f fix regex expression 2017-07-10 10:32:21 +02:00
Uwe Steinmann
99682a11d1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 07:50:33 +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
2a38d713b8 get approval status before sending notification mails
the approval status was simply not known because part of the code
went into the controller
2017-06-29 15:34:32 +02:00
Uwe Steinmann
919f4cb39c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-26 10:20:48 +02:00
Uwe Steinmann
31ed9a729f remove old code 2017-06-24 07:16:13 +02:00
Uwe Steinmann
b59b6a0cfb pass initial status from settings to updateDocument 2017-06-14 14:04:38 +02:00
Uwe Steinmann
652e7a82af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-13 14:48:55 +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
092967004a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-12 08:23:42 +02:00
Uwe Steinmann
8e69893e89 move updating document into controller 2017-05-04 13:48:07 +02:00
Uwe Steinmann
3cc572a1cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-02 06:47:42 +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
Uwe Steinmann
b1d5548853 also upload attachment if passed 2017-04-27 06:51:43 +02:00
Uwe Steinmann
d2fc9b534f add enableMultiUpload and enableAttachmentUpload 2017-04-27 06:50:12 +02:00
Uwe Steinmann
dae6b2afde fix parameter of hooks 2017-04-20 10:03:53 +02:00
Uwe Steinmann
5484c47ebd pass null as first parameter of hooks, will later be the controller 2017-04-20 10:01:15 +02:00
Uwe Steinmann
1a901f47f3 fix reges for mimetype 2017-04-20 09:59:23 +02:00
Uwe Steinmann
f33b70c0db fix regex for mimetypes 2017-04-20 09:58:46 +02:00
Uwe Steinmann
b67339a9c7 pass document to hooks 2017-04-20 09:56:37 +02:00
Uwe Steinmann
d70713d29e fix calling hooks 2017-04-20 09:55:46 +02:00
Uwe Steinmann
a04dac811e use new select menu for expiration date 2017-04-18 13:29:26 +02:00
Uwe Steinmann
a548710a55 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-04-11 17:08:59 +02:00
Uwe Steinmann
06db1ec603 session list can be turned on/off by settings 2017-04-11 08:33:33 +02:00
Uwe Steinmann
510067a714 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-04-11 06:42:27 +02:00
Uwe Steinmann
ca17bc0c8c pass null as first argument to all hooks (will later be the controller) 2017-04-05 22:08:25 +02:00
Uwe Steinmann
727f93eafa expiration date can be selected from list and entered by calendar 2017-04-05 22:00:54 +02:00
Uwe Steinmann
cb6dbd0c8d call hook 'approveDocument' after document has been approved or rejected 2017-04-05 21:59:45 +02:00
Uwe Steinmann
a65315c537 move all task output into own view 2017-03-20 12:41:21 +01:00
Uwe Steinmann
df27dcf878 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-20 11:54:55 +01:00
Uwe Steinmann
8afaf3c748 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-15 16:46:04 +01:00
Uwe Steinmann
c823981bd9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-15 16:45:02 +01:00
Uwe Steinmann
2e3b9f474b add maxUploadSize 2017-03-15 16:39:05 +01:00
Uwe Steinmann
479ee94fd8 take out command 'view', is now covered by view classes 2017-03-10 20:08:32 +01:00
Uwe Steinmann
3853f0010f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-08 13:17:29 +01:00
Uwe Steinmann
4c6ce8218a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-08 11:34:17 +01:00
Uwe Steinmann
a528a3ce57 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-08 11:33:05 +01:00
Uwe Steinmann
3268603794 use utf8_basename() instead of basename() 2017-03-08 10:34:46 +01:00
Uwe Steinmann
0a8261fdcb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-03 12:08:05 +01:00
Uwe Steinmann
44bfc43c47 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-03 10:35:20 +01:00
Uwe Steinmann
7d252d691b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-03 10:35:09 +01:00
Uwe Steinmann
02e016d74c use utf8_basename() instead of basename() 2017-03-03 10:34:46 +01:00
Uwe Steinmann
29c5ae0f51 pass null for controller when calling hook preIndexDocument 2017-03-03 10:32:41 +01:00
Uwe Steinmann
012d4d9f8d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-03 09:43:45 +01:00
Uwe Steinmann
b76448c3a4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-03 08:58:09 +01:00
Uwe Steinmann
2843913f08 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-03 08:55:43 +01:00
Uwe Steinmann
78e0f0e0b7 use utf8_basename() instead of basename() 2017-03-03 08:54:18 +01:00
Uwe Steinmann
7e59084b25 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-02 08:21:53 +01:00
Uwe Steinmann
fbfa2a2132 allow '*' in mimetype for preview command 2017-03-02 07:17:42 +01:00
Uwe Steinmann
ebb0c71a3f allow '*' in mimetype 2017-03-02 06:58:02 +01:00
Uwe Steinmann
fea676c1d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-24 19:07:23 +01:00
Uwe Steinmann
a4fdc3ad95 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-24 19:02:26 +01:00
Uwe Steinmann
1794a3a5a3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-24 14:16:11 +01:00
Uwe Steinmann
be40c980ba Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-24 12:15:27 +01:00
Uwe Steinmann
e85a9b83d7 pass null as first argument to preIndexDocument()
this will later be replaced by the controller
2017-02-24 12:14:22 +01:00
Uwe Steinmann
9802959e50 add command 'indexdocument' 2017-02-24 12:13:01 +01:00