Commit Graph

2063 Commits

Author SHA1 Message Date
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
Ralf Becker
2a6168a1c2 * Addressbook: fixed sorting of category tree
fixes not displayed cat-tree and validation error introduced with r47575
2014-07-09 11:18:47 +00:00
Nathan Gray
48016d16c0 Fix category tree sorting 2014-07-08 23:15:49 +00:00
Nathan Gray
210ebb5706 - Add $$user/primary_group$$ common placeholder
- Add calendar_owner/<contact> sub-placeholders, including primary_group
2014-07-08 19:05:09 +00:00
Nathan Gray
b7a6e53163 * Added context menu to download all linked files in one zip file
As long as there are 2 or more files linked to the entry, you can download them all as a zip using the link list context menu.
2014-07-08 16:51:01 +00:00
Ralf Becker
2de7931700 * Admin: custom-fields were not loaded, account was edited from admin not addressbook 2014-07-08 15:05:20 +00:00
Nathan Gray
15ddeb2a24 - Avoid duplicate ID warning by only returning the value from the matching radio button
- Fix radiobuttons where the options/values were set in the template instead of sel_options
2014-07-07 16:19:37 +00:00
Nathan Gray
26f1e351f3 Apply missing font & size preferences 2014-06-30 21:28:03 +00:00
Ralf Becker
15fbd6bde8 fixed not working custom fields of type radio 2014-06-30 19:34:53 +00:00
Ralf Becker
d8b35e0a77 only join in extra table, if we really need it, to improve performance 2014-06-30 09:05:16 +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
febc2f8763 re-added validation for null as it is needed/used by widget-types other then duration 2014-06-12 07:51:41 +00:00
Ralf Becker
5a32a7d622 widgets should NEVER return null (eg. for empty), as server-side $preserv will overwrite it 2014-06-11 09:14:43 +00:00
Nathan Gray
0a1c0e5135 Do disabled check before grid name expansion, so disabled=!@grid_id will work 2014-06-09 19:24:48 +00:00