Commit Graph

42 Commits

Author SHA1 Message Date
Ralf Becker
8431629ed2 * All apps: nummeric custom-fields (float or new integer) sort nummeric in lists 2015-03-23 08:38:30 +00:00
Ralf Becker
39115a0985 fixed not shown custom-fields in infolog 2015-02-17 14:35:40 +00:00
Nathan Gray
dd30ac28f4 - Allow app attribute to be specified in the template file, not just at run-time
- Use app attribute to fix infolog customfields in addressbook CRM view
2015-02-10 00:13:31 +00:00
Ralf Becker
86eba3f137 for nextmatch filters we need to encode global nextmatch definition too 2015-01-12 14:10:40 +00:00
Ralf Becker
c633e0033b * all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields 2014-11-19 12:20:59 +00:00
Ralf Becker
8f713fe2f1 fix fatal error if customfields contains widget with no validation method --> nothing to validate / return 2014-11-13 09:28:22 +00:00
Ralf Becker
e316379373 * Mail/Calendar/eTemplate2: fix timezone problems of times in grid or lists, if server_timezone differs from php.ini date.timezone
- for grid this is a real fix by correctly expanding names in auto-repeated rows and therefor running widgets beforeSendToClient methods
- for nextmatch is is just a hack looking at get_rows content and converting everything "looking" like a timestamp to a "Y-m-d\TH:i:s\Z" string
2014-10-01 19:10:59 +00:00
Ralf Becker
b1f0448b6d fixed advanced search was always filtering by first option of custom-fields of type select or select-* 2014-09-09 08:36:34 +00:00
Ralf Becker
15fbd6bde8 fixed not working custom fields of type radio 2014-06-30 19:34:53 +00:00
Ralf Becker
ffae12e240 * all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized 2014-06-23 14:35:22 +00:00
Ralf Becker
92fddc9c51 fixed validation of private custom-fields using a different name, eg. addressbook 2014-06-02 13:29:26 +00:00
Ralf Becker
bdba288048 fix ide warning 2014-05-16 09:31:18 +00:00
Ralf Becker
ec667b9c41 also implement r46958 server-side: get customfield_list to respect readonlys of single fields 2014-05-16 09:29:10 +00:00
Nathan Gray
33594b565d Custom fields are not allowed to have a null value, since NULL is skipped by backend
Fixes bug where it was impossible to clear date cfs
2014-05-05 22:19:54 +00:00
Nathan Gray
d81adb1d82 Fix bugs in server side custom field validation
- Multiselects were always passing required check
- Validation errors were not properly set, so weren't displayed
2014-04-02 20:12:52 +00:00
Ralf Becker
2908b9466b fixed not working retransformation of date* custom fields to Y-m-d[ H:i:s] format, caused by not calling validation of implementing base-widget, also added options from file and sending available options from server, as for regular select options 2014-02-24 14:47:55 +00:00
Nathan Gray
69ab474f8c Another fix for private cf filtering, when filter is enabled/disabled via content 2013-11-28 18:32:36 +00:00
Nathan Gray
407f3d673e Fix private field filter 2013-11-27 17:17:37 +00:00
Ralf Becker
7180f78f00 setting default for optional 2. beforeSendToClient parameter to null 2013-11-04 15:41:58 +00:00
Ralf Becker
8c2bdf8d0f disable permanent error-log 2013-08-20 11:57:44 +00:00
Nathan Gray
ac45bd0625 Implement server side required check on custom fields 2013-06-25 20:49:13 +00:00
Nathan Gray
bcd52bb375 Better fix for some widgets not being properly initialized (that doesn't break others) 2013-06-19 18:11:30 +00:00
Nathan Gray
9bfdbfccaf Fix some customfields not getting pre-processed or losing value 2013-06-18 23:26:43 +00:00
Nathan Gray
8c20d825cb Fix private custom field filtering 2013-03-20 20:47:54 +00:00
Nathan Gray
60c350b55e Get private custom fields working 2012-07-24 16:37:24 +00:00
Nathan Gray
1f2ee8faf2 Add ckeditor as htmlarea widget 2012-06-06 04:13:19 +00:00
Nathan Gray
5bfd90e207 Fix validation of cf types - transformer only does server -> client 2012-05-24 21:12:26 +00:00
Ralf Becker
0d66dd98b7 fixed server-side valdation of autorepeated rows/columns
had to change signature of validate function to get information for autorepeating through
removed entity-encoding of square brackets, as they mess up validiation (havnt found any negative effects so far)
2012-05-03 14:17:47 +00:00
Nathan Gray
16dddb46db Avoid warning if no customfields 2012-04-24 19:46:24 +00:00
Nathan Gray
9d179df719 Avoid warning when input is not an array - caused by no cfs 2012-03-29 22:57:00 +00:00
Nathan Gray
282888715b Custom field value is never an array, just a string 2012-03-23 18:43:06 +00:00
Nathan Gray
6d594d970c Saves better if it does something with the data on submit 2012-03-22 23:36:31 +00:00
Nathan Gray
0c5c5ffb2c Handle custom field date formatting 2012-03-22 16:34:45 +00:00
Nathan Gray
93b51ddefe Fix customfield-type transformation 2012-03-20 22:37:52 +00:00
Nathan Gray
91c4a4de81 Fix missing delimiter, silence Invalid argument warning 2012-03-12 22:29:51 +00:00
Nathan Gray
8820bf0acf Whoops - revert accidental commit 2012-03-12 17:58:55 +00:00
Nathan Gray
c2d1edc754 Make button onclick work inside nextmatch again 2012-03-12 17:55:52 +00:00
Nathan Gray
a5e904faa1 Revert accidentally commited devel stuff 2011-12-23 16:29:09 +00:00
Nathan Gray
587418fca2 If hooked, keep app in extension_data to persist across etemplate loops. Fixes lost infolog custom fields in addressbook view when changing nm filters
- Attempt 2, see r36788.
2011-12-23 16:27:41 +00:00
Nathan Gray
3260c1cc81 Store common custom field settings globally, at top level. 2011-10-14 17:56:29 +00:00
Nathan Gray
06e03d2137 Make sure customfields widget has an ID, or it can't access settings client-side 2011-10-11 18:15:51 +00:00
Nathan Gray
575d21b962 Progress on custom fields widgets 2011-10-06 23:44:55 +00:00