Commit Graph

108 Commits

Author SHA1 Message Date
Uwe Steinmann
531cf570cc Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2023-01-17 08:39:20 +01:00
Uwe Steinmann
5438d95eb5 add SeedDMS_Core_Attribute::getParsedValue() and use it in SeedDMS_Core_Object:: getAttributeValue() 2022-11-09 10:26:08 +01:00
Uwe Steinmann
239487e198 fix sql error when deleting a folder attribute 2022-11-07 12:13:15 +01:00
Uwe Steinmann
7cba489f1a fix typo 2022-11-06 20:04:12 +01:00
Uwe Steinmann
d93f2ff929 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2022-06-27 17:13:13 +02:00
Uwe Steinmann
55126a689b add optional parameter $op to SeedDMS_Core_AttributeDefinition::getObjects(), SeedDMS_Core_AttributeDefinition::getObjects() will not filter by value if null is passed 2022-05-19 19:23:10 +02:00
Uwe Steinmann
ee8beb4a42 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2022-05-11 15:23:19 +02:00
Uwe Steinmann
8b4fc459ab fix validating multi value attributes 2022-04-28 13:29:44 +02:00
Uwe Steinmann
3ad44fac0b pass old value to onPostUpdateAttribute callback 2022-02-25 18:38:00 +01:00
Uwe Steinmann
c9fae356b3 add callbacks on onPostUpdateAttribute and onPostAddAttribute 2022-02-25 12:31:57 +01:00
Uwe Steinmann
f1b9b2e706 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2021-11-04 20:53:56 +01:00
Uwe Steinmann
b8763822d0 init possible values of attribute in getStatistic() 2021-09-28 16:19:25 +02:00
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
2061cde061 add support for custom attributes of categories 2021-07-12 18:21:41 +02:00
Uwe Steinmann
b47c01fdd8 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2021-07-12 10:20:45 +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
e38c8cad96 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2021-06-28 11:54:55 +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
ed8f6757ae Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2021-04-07 06:38:51 +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
880d0d8654 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2020-12-14 12:03:15 +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
c48ad87467 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2020-06-10 10:47:56 +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
593a12a5a6 Merge branch 'seeddms-6.0.x' into seeddms-6.1.x 2018-02-27 14:01:21 +01:00