Commit Graph

79 Commits

Author SHA1 Message Date
Uwe Steinmann
3b55c458c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-22 10:54:54 +02:00
Uwe Steinmann
16da190e06 setRegex() checks regex only if not '' 2021-09-16 17:10:41 +02:00
Uwe Steinmann
95b4bb9d22 init value set, separator, trim value set in setValue() 2021-09-16 16:14:51 +02:00
Uwe Steinmann
4aa4556df8 add more documentation 2021-09-16 16:14:21 +02:00
Uwe Steinmann
32dda4b3e9 return ',' as separator for most attr types, if value map is not set 2021-09-16 16:12:54 +02:00
Uwe Steinmann
c50be6d215 init separator and validation error in constructor 2021-09-16 16:12:27 +02:00
Uwe Steinmann
ffe4b50c7f many value validation improvements, use constants for validation errors 2021-09-16 16:11:13 +02:00
Uwe Steinmann
cd1800c19d add docs for var $separator 2021-09-16 16:09:18 +02:00
Uwe Steinmann
90074c3947 fix get value map separator 2021-09-16 16:07:31 +02:00
Uwe Steinmann
8c4e20e649 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-29 11:27:25 +02:00
Uwe Steinmann
8eb5882520 revert to regex for email validation 2021-06-29 10:20:31 +02:00
Uwe Steinmann
bfcad700af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-21 18:10:50 +02:00
Uwe Steinmann
369497ee3a fix validation of emails 2021-06-21 18:09:59 +02:00
Uwe Steinmann
347c740f1f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-06 16:27:48 +01:00
Uwe Steinmann
ceed62bf2b do not validate value in SeedDMS_Core_Attribute::setValue(), it should have been done before 2021-03-06 15:26:18 +01:00
Uwe Steinmann
6e2133747d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 18:47:11 +01:00
Uwe Steinmann
6e46e95702 pass current object and $new to validate() 2020-12-14 18:46:38 +01:00
Uwe Steinmann
f7bedcdbd8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 18:18:40 +01:00
Uwe Steinmann
55e0204054 new parameter 'new' of SeedDMS_Core_AttributeDefinition::validate() 2020-12-14 18:16:35 +01:00
Uwe Steinmann
f3cc82a780 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 17:20:37 +01:00
Uwe Steinmann
c4cdf7b92e add method getDMS() 2020-12-14 17:20:06 +01:00
Uwe Steinmann
a80f177691 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 15:00:31 +01:00
Uwe Steinmann
ec5a17f4f3 pass attribute value to callback 'onAttributeValidate' 2020-12-14 14:32:40 +01:00
Uwe Steinmann
a5994e3011 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-01 15:15:07 +02:00
Uwe Steinmann
ce2ee995fc getValueSetSeparator() returns ',' for type_user and type_group 2020-09-01 14:59:16 +02:00
Uwe Steinmann
1a9e7bde1b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-01 11:17:02 +02:00
Uwe Steinmann
051fac8281 add validation and parsing of new types (user, group, etc.) 2020-09-01 09:22:48 +02:00
Uwe Steinmann
9f491dce6d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-28 12:34:26 +02:00
Uwe Steinmann
9117f8f64a add new attribute types 'document', 'folder', 'user', 'group' 2020-08-28 11:45:37 +02:00
Uwe Steinmann
50fb928988 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-05 18:10:23 +02:00
Uwe Steinmann
3cf091099b fix many remaining todos (moѕtly wrong var names) 2020-06-05 18:06:27 +02:00
Uwe Steinmann
a575714218 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-23 09:06:03 +01:00
Uwe Steinmann
c4addcd4aa getStatistics() returns single values, add removeValue(), fix sql in getObjects() 2018-02-22 19:10:39 +01:00
Uwe Steinmann
5d51f18c5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-08 14:26:36 +01:00
Uwe Steinmann
3e5d744d6d Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x 2018-02-08 09:25:45 +01:00
Uwe Steinmann
544e151135 getStatistics() returns propper values for each single value in a valueset 2018-01-16 18:03:05 +01:00
Uwe Steinmann
62f5dd1a9f pass 0 as default to getObjects() 2018-01-09 15:29:31 +01:00
Uwe Steinmann
b6ce91c8ee fix validation return value 2017-11-21 11:27:17 +01:00
Jörg Neugebauer
61382afc7b inc.ClassAttribute.php 2017-10-24 12:44:22 +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
2471aab8cc check for callback onAttributeValidate 2017-06-27 17:06:32 +02:00
Uwe Steinmann
7d82b73208 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 12:12:07 +01:00
Uwe Steinmann
6e41c58beb add backticks around identifier in sql statements 2017-02-10 08:04:19 +01:00
Uwe Steinmann
c5a67874cf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-14 11:27:18 +01:00
Uwe Steinmann
046f33f2e1 validate() is less strict on multi value attributes
if the attribute has just one value the leading separator can be
omitted
2016-11-14 11:26:26 +01:00
Uwe Steinmann
a8f5892562 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-14 11:11:11 +01:00
Uwe Steinmann
7d7bff7b22 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-14 11:11:00 +01:00
Uwe Steinmann
530d75fdf0 getValueAsArray() checks if value starts with separator
new funtion parseValue()
2016-11-14 11:04:57 +01:00
Uwe Steinmann
e5016cf4f1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-03 19:46:07 +01:00
Uwe Steinmann
758ce0a24d validate() returns early if error was found 2016-10-27 17:47:47 +02:00