Commit Graph

2076 Commits

Author SHA1 Message Date
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
Ralf Becker
d810ea5132 removed not used setting of application via GET parameter 2014-07-18 08:49:04 +00:00
Ralf Becker
bd2a9c6f45 fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker 2014-07-17 17:26:25 +00:00
Klaus Leithoff
5b6913baf3 use self::get_id on multiple selects and radio AND regard its output-format 2014-07-17 12:40:08 +00:00
Ralf Becker
5a6221ee63 fixed problems reported by LFRZ 2014-07-16 12:18:43 +00:00
Ralf Becker
3557cd4ac8 fixed PHP Strict Standards: Declaration of etemplate_widget_*::set_attrs() should be compatible with etemplate_widget::set_attrs() 2014-07-16 06:51:33 +00:00
Nathan Gray
051befced5 Don\t 2014-07-14 14:18:32 +00:00