Commit Graph

114 Commits

Author SHA1 Message Date
Uwe Steinmann
652e7a82af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-13 14:48:55 +02:00
Uwe Steinmann
7a1c4b495c set error msg only if not already set 2017-06-13 14:47:04 +02:00
Uwe Steinmann
d64a662aed get name and comment after preAddDocument hook, set generic err msg only if hook hasn't set one 2017-06-09 12:28:17 +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
cdbb70f3b9 take out method addAttachments() 2017-04-28 13:09:56 +02:00
Uwe Steinmann
73ecd55974 move code into controller 2017-04-27 17:20: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
10b62bc7fb call hook 'rawcontent' 2017-04-04 07:11:51 +02: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
fea676c1d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-24 19:07:23 +01:00
Uwe Steinmann
efa316dbf8 propperly set defaultaccess 2017-01-25 15:09:51 +01:00
Uwe Steinmann
b90d1a6be5 pass comment to finishRevision() 2017-01-25 14:51:38 +01:00
Uwe Steinmann
40956e9501 paѕs owner to controller 2017-01-25 12:24:47 +01:00
Uwe Steinmann
27247438f5 call new hook finishReviseDocument 2017-01-24 14:20:10 +01:00
Uwe Steinmann
e280a6afa9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-20 15:02:27 +01:00
Uwe Steinmann
865ac3b424 set Content-Disposition even if file type not in list of online file types 2017-01-10 08:48:05 +01:00
Uwe Steinmann
05f1919e3c set Content-Disposition even if file type not in list of online file types 2017-01-10 08:45:21 +01:00
Uwe Steinmann
b27b8ba7fd check access rights in controller, not before 2017-01-10 06:58:07 +01:00
Uwe Steinmann
662d9d0d85 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-22 10:34:15 +01:00
Uwe Steinmann
d70deddd2f check if hook returns null
in that case run the default operation
2016-11-22 09:20:12 +01:00
Uwe Steinmann
87bbb6bf44 use orig file, set filename in utf-8 2016-11-09 19:54:53 +01:00
Uwe Steinmann
ba5a73df45 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-27 11:19:45 +02:00
Uwe Steinmann
b8fa88b674 check for min number of attribute values 2016-10-27 10:55:33 +02:00
Uwe Steinmann
cc387a1f52 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-27 09:39:08 +02:00
Uwe Steinmann
02d641786b use same attribute validation
based on SeedDMS_Core::AttributeDefinition->validate() and getAttributeValidationText()
2016-10-27 09:19:35 +02:00
Uwe Steinmann
dc2edaca25 move more code into controller class 2016-08-11 22:56:12 +02:00
Uwe Steinmann
138a6ce408 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-03 09:30:53 +02:00
Uwe Steinmann
7e24402671 place code into controller 2016-04-13 18:31:28 +02:00
Uwe Steinmann
fe8e1d2b52 proper check of return value of setStatus() 2016-03-24 15:41:23 +01:00
Uwe Steinmann
aa836a8954 fix syntax error 2016-02-18 20:35:56 +01:00
Uwe Steinmann
bd7868cfc7 Merge branch 'seeddms-5.0.x' into develop 2016-02-18 20:35:11 +01:00
Uwe Steinmann
6b88d116ad fix syntax error 2016-02-18 20:34:16 +01:00
Uwe Steinmann
bc608eff07 Merge branch 'seeddms-5.0.x' into develop 2016-02-15 20:45:05 +01:00
Uwe Steinmann
202d994e1c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-02-15 17:08:01 +01:00
Uwe Steinmann
c22b22f49a Merge branch 'seeddms-5.0.x' into develop 2015-11-15 17:36:45 +01:00
Uwe Steinmann
3d42b3eab5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-11-15 17:35:54 +01:00
Uwe Steinmann
aa49c5b0b1 Merge branch 'seeddms-5.0.x' into develop 2015-08-10 21:58:16 +02:00
Uwe Steinmann
65fda6daee Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-08-10 21:53:27 +02:00
Uwe Steinmann
da7c04d250 actually use uploaded file 2015-06-12 12:56:17 +02:00
Uwe Steinmann
394a23fa57 add download of documents 2015-06-09 21:31:13 +02:00
Uwe Steinmann
46dc4ea6e3 add code for downloading file into contoller 2015-06-08 21:59:56 +02:00
Uwe Steinmann
944b059abe set initial document status 2015-06-02 10:03:09 +02:00
Uwe Steinmann
c460c9e674 pass content not document to hooks 2015-06-01 17:34:52 +02:00
Uwe Steinmann
45d3ebab3d place business login into controller class 2015-06-01 16:05:03 +02:00
Uwe Steinmann
34bd22f40e separate busines logic into controller 2015-06-01 14:01:56 +02:00
Uwe Steinmann
5246c3a329 place code for updating document content into controller 2015-06-01 07:21:16 +02:00
Uwe Steinmann
19b9888d34 place business logic into controller 2015-06-01 07:16:21 +02:00
Uwe Steinmann
220fa8a8fc split file into stub and controller 2015-05-29 20:44:16 +02:00
Uwe Steinmann
5b931afefb split AddDocument into stub and controller 2015-05-29 20:43:37 +02:00
Uwe Steinmann
4c74bda247 add files to download content of transmittal 2015-05-12 19:06:23 +02:00
Uwe Steinmann
dbc7ffb4f6 validate attribute values and set error msg 2015-04-15 16:12:11 +02:00
Uwe Steinmann
1be9052c85 put controller code into controller/class.EditFolder.php 2014-12-08 14:43:04 +01:00
Uwe Steinmann
2c918eabe7 move operation into new controller 2014-01-10 08:22:25 +01:00
Uwe Steinmann
b6e5acca3c read settings propperly, clear output buffer, always issue content type 2014-01-10 07:51:50 +01:00
Uwe Steinmann
d1c11c04aa call the hook and let it do everything
only if the hook returns null, than proceed with the regular removal
2014-01-10 07:50:36 +01:00
Uwe Steinmann
25a38e27a3 move most of functionality into controller 2013-09-20 13:44:47 +02:00
Uwe Steinmann
baca06fbae add controller for Logout 2013-09-11 18:42:58 +02:00
Uwe Steinmann
c5a7ff83f0 do not output splash msg after postLogin hook
It should be done by the hook itself
2013-08-11 08:30:55 +02:00
Uwe Steinmann
7d40205af7 after an engl. message if login hook returns true 2013-07-29 08:52:30 +02:00
Uwe Steinmann
f793ee8a28 move delivery of document into controller
done for being able to call a viewOnline::version hook
2013-07-23 17:35:46 +02:00
Uwe Steinmann
2d08f870c7 use controller after login
currently just used to run the postLogin hook
2013-07-23 17:33:40 +02:00
Uwe Steinmann
317021a283 new controller class for downloading document version 2013-07-21 11:51:59 +02:00