Commit Graph

75 Commits

Author SHA1 Message Date
Uwe Steinmann
6e2dd6c159 check for presetexpdate and sequence in $_POST 2020-01-16 17:48:23 +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
92641e9cea fix check for errors 2018-11-09 19:15:27 +01:00
Uwe Steinmann
45615be207 pass context to getAccessMode() 2018-07-12 22:36:44 +02:00
Uwe Steinmann
e8c1c71018 init $oldattributes with empty array 2018-06-20 20:38:23 +02: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
15d1e7ef2a send email if attributes have changed 2018-03-19 08:31:05 +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
f6aa3bfc94 move most of the code into the controller 2017-10-12 15:39:28 +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
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
e526b94a74 check for min number of attribute values 2016-10-27 10:58:02 +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
ffab03a8b8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-09 07:55:35 +02:00
Uwe Steinmann
6303973618 fix copyright in header 2016-08-09 07:34:30 +02:00
Uwe Steinmann
10d5a2dca1 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-22 12:39:27 +02:00
Uwe Steinmann
258b58efd2 trim various fields from post request 2016-04-22 12:39:04 +02:00
Uwe Steinmann
250400a9cb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-11-25 17:01:52 +01:00
Uwe Steinmann
eda80242ea some reorganization of email notification 2015-11-25 16:49:09 +01:00
Uwe Steinmann
50e0d2a885 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-10-30 08:41:40 +01:00
Uwe Steinmann
15b1414d6e set format in date field to yyyy-mm-dd 2015-10-30 08:02:57 +01:00
Uwe Steinmann
9fee411f3f explicitly check for false returned by SeedDMS_Core_DMS::inList() 2015-07-15 08:22:39 +02:00
Uwe Steinmann
84a1879c85 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-07-06 22:18:23 +02:00
Uwe Steinmann
a94614c39a fix setting expire date (Closes: #225) 2015-07-06 22:17:16 +02:00
Uwe Steinmann
94b3b8e6ee remove print_r() 2015-06-30 18:12:24 +02:00
Uwe Steinmann
65aa3eca27 check if expires and sequence is set 2015-06-18 17:32:19 +02:00
Uwe Steinmann
31d0c49412 check if expires and sequence is set 2015-06-18 17:31:56 +02:00
Uwe Steinmann
0d19b2d52e check if keywords, name, comment was posted 2015-06-18 17:29:01 +02:00
Uwe Steinmann
0ff5ade2b3 check if keywords, name, comment was posted 2015-06-18 17:28:32 +02:00
Uwe Steinmann
be990463bd validate attribute values 2015-04-15 16:13:22 +02:00
Uwe Steinmann
9c61ede57a remove old print_r() 2015-04-14 19:37:33 +02:00
Uwe Steinmann
cb81eb7db4 Merge branch 'seeddms-4.3.16' into develop
Conflicts:
	Makefile
	views/bootstrap/class.UsrMgr.php
2015-03-20 08:32:29 +01:00
Uwe Steinmann
78cb252e9d do not send email twice to a user, do not send email if expiration
hasn't changed
2015-03-17 17:45:53 +01:00
Uwe Steinmann
1aa08781b2 Merge branch 'seeddms-4.3.14' into develop
Conflicts:
	Makefile
	SeedDMS_Core/Core/inc.ClassFolder.php
2015-01-29 18:22:19 +01:00
Uwe Steinmann
f79f9acc78 reseting expiration date works again 2015-01-23 13:38:52 +01:00
Uwe Steinmann
e486254d80 include inc/inc.Init.php, new order of include files 2014-12-08 14:47:32 +01:00
Uwe Steinmann
03359ca620 fix checking for attribute values
checking for the number of values of a multi value attribute
disregards the maximum number of values if it is 0
2014-11-19 17:00:55 +01:00
Uwe Steinmann
834a8118e6 check for propper number of attribute values 2014-11-17 07:03:57 +01:00
Uwe Steinmann
51b84868a6 check if document is locked 2014-06-03 17:50:20 +02:00
Uwe Steinmann
7f8d35bb38 check for empty attributes array (Bug #150) 2014-04-09 21:29:13 +02:00
Uwe Steinmann
374250f344 replace ',' in $ѕequence by '.' 2014-03-03 14:42:58 +01:00
Uwe Steinmann
90bea9a2fb fix handling of multivalue attributes 2014-02-20 21:05:22 +01:00
Uwe Steinmann
06e06a4ac0 add checking of attribute values against regular expression 2013-05-28 09:03:21 +02:00
Uwe Steinmann
a43720f378 show splash msg when document is saved 2013-05-22 20:52:21 +02:00
Uwe Steinmann
058c5f2749 expiration date of document can be set 2013-04-30 17:02:03 +02:00
Uwe Steinmann
34b72a17a1 reworked notification system
The notifaction will now be send in the language as specified in the
user's profile
2013-03-06 12:53:25 +01:00