Commit Graph

4142 Commits

Author SHA1 Message Date
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
Nathan Gray
bf51e940b0 Remove auto refresh options for 30 seconds and 1 minute, as apparently they cause problems with mail.
Add auto refresh options for 15 and 30 minutes.
2014-10-08 17:29:40 +00:00
Nathan Gray
2623a9410b Fix broken relative width calculation after r48947. 2014-10-08 17:13:58 +00:00
Ralf Becker
e1799cac7d * all apps: custom fields of type "float" allow to specify maxlength,size,min,max comma-separated in length field 2014-10-08 10:46:24 +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
302e7c8d8c Fix relative columns width preference not saved as relative width 2014-10-07 23:04:53 +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
Hadi Nategh
856db31c66 Complement to commit 48899, fixes error in IE11 2014-10-07 11:40:19 +00:00
Ralf Becker
d65b786b26 backport of Nathans r48904: trim email addresses to avoid validation errors 2014-10-07 06:40:22 +00:00
Ralf Becker
1fcc8cb801 backport of Nathans r48905: fix typo resulting in all not being processed 2014-10-07 06:38:13 +00:00
Nathan Gray
a6ac5155ac - Apply 'none' user selection preference (with admin consideration)
- Avoid potential infinite loop with no select options
2014-10-06 22:11:27 +00:00
Hadi Nategh
0db144feb9 Make sure options are available before getting access to its properties
-Avoid error while saving tracker using IE 11
2014-10-06 15:56:47 +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
Nathan Gray
d3ef2618cb Check that options are there before using.
Hopefully fixes bug in IE11.
2014-10-03 16:52:33 +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
Nathan Gray
15be410487 Make sure to use correct parent ObjectManager when destroying.
Should fix "Action object with id ... does not exist" errors.
2014-10-01 15:37:01 +00:00
Nathan Gray
9e0b882f92 Add refresh(id, type) function to et2_gantt widget 2014-10-01 15:34:54 +00:00
Hadi Nategh
ee46807842 * Filemanager: New styling and access to list of uploading files in progress 2014-10-01 15:21:48 +00:00
Nathan Gray
3ec23b92fd Fix unwanted apps showing in link-app 2014-10-01 15:15:33 +00:00
Nathan Gray
3abff57761 Avoid error if filter has no options. 2014-10-01 15:04:21 +00:00
Nathan Gray
e1619d6cb9 Handle more refresh options, Support multiple projects in gantt chart 2014-10-01 14:57:01 +00:00
Ralf Becker
cd30e8bee1 Don't try to delete not-existing attribute.
Hopefully solves error in IE.
2014-10-01 10:43:24 +00:00
Ralf Becker
2d0d1916c6 fixed date-time_today widget broken after last commit 2014-10-01 04:40:54 +00:00
Ralf Becker
d102b7782c fix handling of timestamps in usertime on client-side, by using date("Y-m-d\TH:i:s\Z", ts) equivalent to PHP date function we use on server-side, fixes wrong time in alarms, if server- and user-timezone differ 2014-09-30 20:13:15 +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
Hadi Nategh
fec60aa03a Adjusting toolbar widget
-Fix toolbar widget droppable space
-Fix toolbar widget for first time user with no preferences
2014-09-29 08:24:38 +00:00
Ralf Becker
13a723c0fb we need to return null for no value instead of empty array, which gets overwritten by preserved value on server-side 2014-09-26 11:25:31 +00:00
Hadi Nategh
4b655bf542 Make sure there's an app set, otherwise set it from top of the list 2014-09-26 11:19:25 +00:00
Hadi Nategh
9f8f35ac57 - Fix bug loading new data into gantt
- Setup for Stylite gantt features
2014-09-23 09:27:59 +00:00
Hadi Nategh
5e6687c751 Fix diff widget to better handle empty values (cleared fields) 2014-09-23 08:59:52 +00:00
Hadi Nategh
22f8e05d5f Get not loaded UIDs if select all is used. 2014-09-23 08:57:54 +00:00
Nathan Gray
abaf99a827 Fix sub-grid column indent 2014-09-22 22:29:09 +00:00
Ralf Becker
b02c771f4a pending updates from our translation server 2014-09-22 11:59:05 +00:00
Nathan Gray
2cc0e8d434 Also accept file names to remove. 2014-09-19 18:32:20 +00:00
Nathan Gray
066f0b5c85 Accept string without suffix as fixedWidth.
Fixes infolog defaults missing when changing details/no details
2014-09-18 15:16:00 +00:00
Nathan Gray
896ce29c1d Don't unregister selected rows from the selection manager, even if they're destroyed.
Fixes selection loses first rows when user scrolls down.
2014-09-18 15:13:29 +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
33b0fc473b reverting r48575 "Fix sub-grid column indent" as it makes filenames in hierarchies more cluttered 2014-09-10 12:18:26 +00:00
Ralf Becker
cf97364abf partial backport of r48568: Fix bug loading new data into gantt
ommitting projectmanager/inc/class.projectmanager_gantt.inc.php
2014-09-10 11:28:42 +00:00
Ralf Becker
084fb28864 Change minimum characters to 4 to avoid long queries on large installs. 2014-09-10 11:24:45 +00:00
Ralf Becker
6fa2cab7e2 Limit link search to 1000 results 2014-09-10 11:24:10 +00:00
Ralf Becker
12bfd30cbd When user changes the width of a relative width column, make sure that column stays at the set size and adjust all other relative columns to fit. Fixes relative width columns changing width again after being resized. 2014-09-10 11:22:38 +00:00
Ralf Becker
1c10588249 Add some CSS during column resize to indicate which columns are fixed and which columns will change when you resize. 2014-09-10 11:22:04 +00:00
Ralf Becker
bbc76fa4e1 Make sure tab doesn't start by trying to display a hidden tab. 2014-09-10 11:19:15 +00:00
Ralf Becker
f6fc2cc67f Fix sub-grid column indent 2014-09-10 11:16:11 +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