Commit Graph

952 Commits

Author SHA1 Message Date
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
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
06db1ec603 session list can be turned on/off by settings 2017-04-11 08:33:33 +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
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
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
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
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
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
Uwe Steinmann
811a8f14d2 add hook addDocument::preIndexDocument 2017-02-23 09:00:40 +01:00
Uwe Steinmann
cbd9b8fa83 add hooks updateDocument::(postUpdateDocument|preUpdateDocument|preIndexDocument) 2017-02-23 08:59:56 +01:00
Uwe Steinmann
31074ab8e7 fix calling hook after uploading document 2017-02-23 08:58:01 +01:00
Uwe Steinmann
10e94af144 not needed anymore for a long time 2017-02-23 07:55:25 +01:00
Uwe Steinmann
6b2deaea5b add script for retrieving a pdf file 2017-02-23 07:07:15 +01:00
Uwe Steinmann
706465a971 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-22 09:41:08 +01:00
Uwe Steinmann
bd345fee35 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-21 17:42:00 +01:00
Uwe Steinmann
13f3a0f373 pass current user to constructor of Calendar class 2017-02-21 17:29:38 +01:00
Uwe Steinmann
1a74c45cae put all calendar operations into class 2017-02-21 17:26:16 +01:00
Uwe Steinmann
410b36870a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-20 17:22:26 +01:00
Uwe Steinmann
a6673fe908 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-20 17:21:24 +01:00
Uwe Steinmann
007f7c7f2c check if version is set 2017-02-20 15:34:23 +01:00
Uwe Steinmann
19f77a37c8 add missing changes which got lost during last rebase 2017-02-20 15:33:15 +01:00
Uwe Steinmann
6f0d9e5d5d move folders/documents propperly checks for access rights (Closes #309) 2017-02-18 07:55:40 +01:00
Uwe Steinmann
502b5c5414 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-16 15:26:46 +01:00
Uwe Steinmann
704fc28b34 comment, name must not be set, return json if requested 2017-02-16 14:54:55 +01:00
Uwe Steinmann
ba1d3c8c9b fix incluѕion of files 2017-02-08 16:38:04 +01:00
Uwe Steinmann
d5dc6b125d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-08 15:52:00 +01:00
Uwe Steinmann
04a241111f remove imported folder if requested 2017-02-03 12:21:51 +01:00
Uwe Steinmann
8516d23684 add support for fine uploader 2017-01-31 17:27:53 +01:00
Uwe Steinmann
05e163a39d add support for fine uploader 2017-01-31 17:27:33 +01:00
Uwe Steinmann
3dd94a9eac do not check if file was uploaded, as this fails for fine uploader files 2017-01-31 17:19:12 +01:00
Uwe Steinmann
196725042d add support for fine-uploader as a replacement for the old jumploader 2017-01-30 13:17:58 +01:00
Uwe Steinmann
cd745eb518 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 21:24:01 +01:00
Uwe Steinmann
6d9798753b set default access and owner 2017-01-18 20:58:52 +01:00
Uwe Steinmann
13973dd276 set default access for doc when uploading 2017-01-18 20:58:28 +01:00
Uwe Steinmann
88c06c2f37 add defaultAccessDocs 2017-01-18 20:58:03 +01:00
Uwe Steinmann
47db85c175 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 15:11:45 +01:00
Uwe Steinmann
b8a7917c12 add '-' to allowed char in mimetype 2017-01-18 14:23:16 +01:00
Uwe Steinmann
c37910e473 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-16 15:12:16 +01:00
Uwe Steinmann
905eddabce add new configuration enableUpdateRevApp 2017-01-16 13:00:22 +01:00
Uwe Steinmann
289e13b255 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-09 15:32:57 +01:00
Uwe Steinmann
60dd7f8516 check if preview and/or js cache is to be cleared 2017-01-09 10:56:32 +01:00
Uwe Steinmann
d529b2d4b2 fix syntax error (Closes #304) 2017-01-01 19:29:20 +01:00
Uwe Steinmann
8d20d39a07 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-22 09:36:15 +01:00
Uwe Steinmann
4147c29dd3 set availlanguages to empty array() if not set in configuration 2016-12-12 18:14:54 +01:00
Uwe Steinmann
7bf6ec003c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-12 16:25:54 +01:00
Uwe Steinmann
6c7e634213 fix cleanup of new mimetype 2016-12-12 16:25:34 +01:00
Uwe Steinmann
13bab66b6f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-08 18:21:08 +01:00
Uwe Steinmann
dfc0db8bc5 no longer send notif. to owner 2016-12-08 18:14:54 +01:00
Uwe Steinmann
902565fee4 merge notif. list to prevent duplicates 2016-12-08 18:14:24 +01:00
Uwe Steinmann
3f6f0dd818 do not send extra notif. to owner, send notif. of src and target forlder 2016-12-08 18:13:12 +01:00
Uwe Steinmann
30d85e03fc remove old, already commented code 2016-12-08 18:12:25 +01:00
Uwe Steinmann
5937d98cb3 do not send notif. to old owner, send notif. if access rights are inherited again 2016-12-08 18:11:35 +01:00
Uwe Steinmann
70a1a20070 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-08 15:43:07 +01:00
Uwe Steinmann
3ae469fd2b remove old notification code 2016-12-08 15:37:12 +01:00
Uwe Steinmann
edf32a9042 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-07 17:34:23 +01:00
Uwe Steinmann
af72e41cf3 check if mimetype has valid chars before saving new fulltext converter 2016-12-07 17:33:34 +01:00
Uwe Steinmann
d769ba37e6 save new mimetype and command in settings.xml 2016-12-07 17:24:20 +01:00
Uwe Steinmann
e9e0de4d2a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-07 15:32:54 +01:00
Uwe Steinmann
1ea96a5db7 propperly check for filesize when indexing document 2016-12-06 20:21:14 +01:00