Commit Graph

2082 Commits

Author SHA1 Message Date
Ralf Becker
a534b96ca7 fix PHP Fatal error: Access to undeclared static property: customfields_widget::$non_printable_fields 2014-11-19 13:24:29 +00:00
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
4fe4c4ebc8 quiten permanent error_log on disabled cells and fixed IDE warnings
r49488: fix error introduced by previous commit
2014-11-19 09:23:39 +00:00
Ralf Becker
374bdb86a0 fix unknown modifier "n" warning caused by a "/" in replacement 2014-11-18 12:28:49 +00:00
Ralf Becker
aae7765a35 try to increase/double prce.backtrack_limit no failure to preg_replace up to 1/4 of memory_limit
previous code was adding max 10 time 10000 to default limit of 1000000, which increased it by 10% max, given we have now a default memory_limit of 128M
2014-11-17 17:27:16 +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
7cf323b3be remove upper limit of number of characters at last domain-part to allow new domain-names like .hamburg 2014-10-30 13:20:36 +00:00
Ralf Becker
8d8f89d171 * Filemanager: fix since PHP 5.5.18 not longer working non-ascii chars in filenames, eg. German umlauts or accents 2014-10-23 13:39:21 +00:00
Nathan Gray
8ef066f283 Prevent empty options being sent when selectbox is in a row.
Fixes unwanted numeric options in auto-repeat rows.
2014-10-16 22:50:09 +00:00
Ralf Becker
b6f628a66d fix non-fatal PHP Parse error, when $j was used eg. in onload 2014-10-13 12:22:11 +00:00
Ralf Becker
ff5c1e83a9 mtime postfix for WebDAV has to use "?download=", as our WebDAV treats everything else literal 2014-10-13 12:15:48 +00:00
Ralf Becker
28afa0994b Use a client-side setDetachedAttributes() to do needed data changes for dates.
r48920: do not convert empty values, otherwise we will get current date or 1970-01-01 instead
r48938: Fix bad logic breaking historylog
r48960: refactored code to always run Nathans fix (before it was only run for ajax requests, not for initial request)
2014-10-09 08:39:24 +00:00
Ralf Becker
7f619fe32d fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect 2014-10-08 20:06:30 +00:00
Ralf Becker
0d2cae7ade reverting accidently commited date+nextmatch widget 2014-10-08 09:12:09 +00:00
Ralf Becker
065f772302 * Mail: allow to enter name+mail eg. "Ralf Becker <rb@stylite.de>" in compose, automatic fix unquoted commas in entered mail addresses 2014-10-08 09:09:02 +00:00
Ralf Becker
a19fe17f45 revert r48946, as it break for some conditions 2014-10-08 09:07:26 +00:00
Nathan Gray
c10d926a54 Change email regex to allow email addresses of the form "Ralf Becker <rb@stylite.de" 2014-10-07 22:30:08 +00:00
Ralf Becker
8c2599d03a using a compiled list of timestamp column-names instead a regular expression, fixes duration columns like "info_used_time" get transformed too 2014-10-06 11:22:22 +00:00
Ralf Becker
0f5752bdd6 fixed row vanishes on refresh, eg. after editing an address in an already refreshed addressbook list, caused by row_modified no longer a timestamp when it get checked in ajax_get_rows 2014-10-02 15:00:42 +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
9057821241 * Preferences: opening forced preferences set selectboxes for not set values to first real value not "Users Choice"
caused by etemplate_widget_menupopup not being run, it is now run by etemplate_new::exec / etemplate_new::fix_sel_options for everything in sel_options
2014-09-30 14:27:47 +00:00
Ralf Becker
dcbf30d674 using egw_json_response::json_encode() for GET requests too, to work agains empty windows caused eg. by wrong encoding 2014-09-10 19:19:31 +00:00
Ralf Becker
6fa2cab7e2 Limit link search to 1000 results 2014-09-10 11:24:10 +00:00
Ralf Becker
f691946560 fixed date client/server protocol to always just append "Z" after seconds, so apps can compare date values 2014-09-10 10:25:06 +00:00
Ralf Becker
f817dc7606 fixed IE 11 names almost all files "blob" 2014-09-09 16:30:29 +00:00
Ralf Becker
1125c3f52c fixing the fix: now cat_id=1 got not lost with a 2nd default option set in addressbook (0=None) 2014-09-09 14:12:07 +00:00
Ralf Becker
614be1770d fixed category with cat_id=1 got lost in addressbook 2014-09-09 13:13:53 +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
a2cdef37ed fixed storing same password twice in admin makes account unusable:
caused by tabs and callbacks added multiple times and therefor passwords beforeSendToClient method was called twice causing password to be replaced with asterisks
2014-09-06 10:01:09 +00:00
Ralf Becker
3564a03529 fixed not working custom date filter 2014-09-02 16:26:58 +00:00
Ralf Becker
b9b279304f * Tracker/eTemplate: user could not empty CC field (taglist-email) 2014-09-02 12:23:02 +00:00
Ralf Becker
0a93f3dc0c backport of Nathans r48352: Fix history log widget no longer working 2014-08-27 17:28:07 +00:00
Hadi Nategh
739d2406bc Backport commit r48260, committed by Nathan Gray. Even more date fixes:
- Don't send a date (just 1970-01-01) with timeonly values
- Avoid infinite loop when setting timeonly with timepicker
2014-08-26 13:45:36 +00:00
Hadi Nategh
2acbdb84d6 Backport commit r48253, committed by Nathan Gray.
- validate filters when getting rows
- run method (beforeSendToClient, validate) needs to include all sub-templates (header_left, header_right, header_row, template) or those widgets get left out.
2014-08-26 13:40:15 +00:00
Ralf Becker
75cd8d2c39 Fix unable to have checkboxes with an unselected value that evaluates to false. 2014-08-22 12:27:31 +00:00
Ralf Becker
8c43c2847d Add an additional format to parse times in the formatY-m-dTHⓂ️s for insertion into spreadsheets, fixes warning when merge printing "Unable to parse date ... left as text" 2014-08-22 12:26:24 +00:00
Hadi Nategh
80cd11972a SelectAccount with type "none" should get sel_options but it should be readonly if user has no admin access. Fix infolog delegation for admin users with selectAccount type "none" selected 2014-08-22 11:48:18 +00:00
Ralf Becker
ba254be4fc * eTemplate2/all apps: fixing various timezone related issues
backport of Nathan and mine commits r47919, r48102, r48133, r48142, r48163, r48166 using now ISO time strings instead of timestamps for communication between client and server
2014-08-21 18:46:11 +00:00
Nathan Gray
b89c654d37 Fix double encoded & in merge functions 2014-08-18 20:33:40 +00:00
Nathan Gray
9bc4c4a38f Fix no longer working 'None' category option 2014-08-18 20:02:49 +00:00
Nathan Gray
6a8e85c3e1 Add drag&drop for email and link lists 2014-08-18 18:00:00 +00:00
Hadi Nategh
fd976ea1dc Backport commit r48051, committed by Nathan Gray. Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-14 07:41:24 +00:00
Ralf Becker
8d8b7b6d4a fix for somehow empty etemplate request content, giving an error when (or after) sending mail 2014-08-11 15:13:38 +00:00
Hadi Nategh
82fa583951 svn commit -m 'Backport commit 47925 committed by NathanGray. Handle num_rows set by application:
- Don\'t overwrite num_rows setting if the application sets it for some reason
- If num_rows is 0, don\'t get the initial rows server side
- If num_rows is 0 and the initial rows are missing, trigger an update right away to get them asyncronously.' etemplate
2014-08-04 09:39:44 +00:00
Hadi Nategh
67aa23f11b As we replace spaces with + for those account ids which contain spaces, therefore we need to do the same for getting request-id too. 2014-07-28 15:43:36 +00:00
Ralf Becker
a4f21dbf00 quiten permanennt error_log in etemplate_widget::run, if widget is disabled, and therefore not running 2014-07-24 09:39:27 +00:00
Ralf Becker
6a7258e98e Don't clear children if tabs attribute not provided 2014-07-23 09:15:00 +00:00
Ralf Becker
8eb1cb6ee6 Extend run() method for tabs:
- Apply additional tabs once in run() before applying the method, instead of in each method
- Apply tab readonlys to disable tabs, so they can be skipped
2014-07-23 09:06:51 +00:00
Nathan Gray
6dfd8c616b - Add special handling for ids like something[{}] to only send select options once
- Don't need to process or send options for account, it is done client side now.
2014-07-22 14:18:33 +00:00
Ralf Becker
994d10fcde * Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway 2014-07-18 10:03:18 +00:00