Commit Graph

38 Commits

Author SHA1 Message Date
Ralf Becker
4a17d5e467 * all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields
r49491: missing egw_customfield changed from last commit
r49492: fix formatting for timestamp and quiten error_log
r49493: class var to enable/disable memory_usage reporting to error_log
2014-11-19 13:12:17 +00:00
Ralf Becker
fab4618bc6 fix fatal error if customfields contains widget with no validation method --> nothing to validate / return 2014-11-13 09:28:40 +00:00
Ralf Becker
ac0a2d0930 * 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:11:42 +00:00
Ralf Becker
d59493596e * Addressbook: fixed diverse problem with advanced search
r48511: Fix missed case of really
2014-09-09 08:43:54 +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