Commit Graph

35 Commits

Author SHA1 Message Date
Uwe Steinmann
7d4a0488ec add controller for AttributeMgr 2017-12-07 18:23:07 +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
e31ce5d8c3 move code into controller 2017-10-18 06:50:15 +02:00
Uwe Steinmann
bd4b85d15e fix syntax error (Closes: #358) 2017-10-16 09:04:01 +02:00
Uwe Steinmann
578bb7c896 check if preRemove[Folder|Document] hook succeeds 2017-10-12 15:41:31 +02:00
Uwe Steinmann
9720703c37 get parameters from view right before used
allows to modify those parameters in preEditFolder hook
2017-10-12 15:40:38 +02:00
Uwe Steinmann
7563ebdbf7 do not pass name and comment to preAddDocument hook 2017-10-12 15:40:09 +02:00
Uwe Steinmann
0e9179a9e5 move most of the logic into the controller 2017-10-12 15:38:41 +02:00
Uwe Steinmann
500bade66a get name and comment from parameters after preUpdateDocument has been called 2017-06-23 12:58:36 +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
8e69893e89 move updating document into controller 2017-05-04 13:48:07 +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
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
d70deddd2f check if hook returns null
in that case run the default operation
2016-11-22 09:20:12 +01:00
Uwe Steinmann
b8fa88b674 check for min number of attribute values 2016-10-27 10:55:33 +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
6b88d116ad fix syntax error 2016-02-18 20:34:16 +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
3d42b3eab5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-11-15 17:35:54 +01: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
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