Commit Graph

4341 Commits

Author SHA1 Message Date
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
Nathan Gray
06369b922a Fix typo resulting in all not being processed. 2014-10-06 21:31:14 +00:00
Nathan Gray
fe4cdcb1d1 Trim email addresses to avoid validation errors 2014-10-06 21:17:37 +00:00
Nathan Gray
aeefd2823a Use a client-side setDetachedAttributes() to do needed data changes for dates. 2014-10-06 20:43:46 +00:00
Nathan Gray
e4e869953f Save some processing by preventing API from fetching UIDs, which aren't applicable here. 2014-10-06 20:10:07 +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
Hadi Nategh
b7229cdcdf Make sure options are available before getting access to its properties 2014-10-06 15:47:22 +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
11fefa28fa remove debug stuff 2014-10-06 11:22:02 +00:00
Ralf Becker
1e4e044f5b 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:20:58 +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
Nathan Gray
d3cde1efb4 Check that options are there before using.
Hopefully fixes bug in IE11.
2014-10-03 16:48:48 +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
aff6248300 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:18 +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
e316379373 * 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:10:59 +00:00
Ralf Becker
b537c3963d fix IDE warnings 2014-10-01 19:05:33 +00:00
Nathan Gray
b1e77ca062 Add some handling to allow ID to be different from the value source by allowing the value attribute to point to the value. 2014-10-01 17:29:22 +00:00
Nathan Gray
0eb14c1dc1 Implement comparison and alternate fields 2014-10-01 16:49:26 +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
Hadi Nategh
7c3683f3e8 More styling on file upload progress list 2014-10-01 15:16:13 +00:00
Nathan Gray
3ec23b92fd Fix unwanted apps showing in link-app 2014-10-01 15:15:33 +00:00
Hadi Nategh
561880e31d Fix extra progress bar shown always under file name even before the uploading processes get started 2014-10-01 15:05:01 +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
Hadi Nategh
cc9dfd0043 Implement dropdown list style for file upload 2014-10-01 14:19:36 +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
c42802beea fixed date-time_today widget broken after last commit 2014-10-01 04:40:19 +00:00
Nathan Gray
6ee7f3f219 Basics of infolog-value and tracker-value widgets 2014-09-30 22:08:57 +00:00
Nathan Gray
aa6c36ba3f Work on app-entry widgets (contact-value) 2014-09-30 21:37:45 +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
1a3c6985e4 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:12:53 +00:00
Nathan Gray
c16bb0c647 Make sure to use correct parent ObjectManager when destroying.
Should fix "Action object with id ... does not exist" errors.
2014-09-30 16:52:42 +00:00
Nathan Gray
3843109dff Avoid error if filter has no options. 2014-09-30 14:47:54 +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
3e12e8f2f9 * 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:29 +00:00
Nathan Gray
84821bef95 - Apply 'none' user selection preference (with admin consideration)
- Avoid potential infinite loop with no select options
2014-09-29 20:37:23 +00:00
Hadi Nategh
b4adc01f6e Introduce new attribute to image widget in order to show image as a tooltip next to the widget with provided source 2014-09-29 16:29:17 +00:00
Nathan Gray
b6c86c2df0 Don't try to delete not-existing attribute.
Hopefully solves error in IE.
2014-09-29 16:05:32 +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
Ralf Becker
9ca870d1e7 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:09 +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
cc00102ef5 Make sure there's an app set, otherwise set it from top of the list 2014-09-26 09:22:07 +00:00
Nathan Gray
88a6114c0a Look for old widgets that were adapted to etemplate2 but still follow old name scheme 2014-09-25 18:30:32 +00:00
Nathan Gray
5896c7e103 Use global template store directly, solves an error with loading sub-templates if they're not in the tree 2014-09-25 18:29:18 +00:00
Hadi Nategh
5c78150f9f Give more space between toolbar buttons 2014-09-25 11:43:33 +00:00
Hadi Nategh
acd07a1f93 Adjusting toolbar widget
-Fix toolbar widget droppable space
-Fix toolbar widget for first time user with no preferences
2014-09-25 11:12:04 +00:00
Hadi Nategh
3f54a33fda Make sure nm row_ids are string in order to address them as string, seems some ids are not 2014-09-25 08:45:06 +00:00
Nathan Gray
f0bb5a8957 Support multiple projects in gantt chart 2014-09-24 17:21:24 +00:00
Nathan Gray
812518f72f Fix unwanted apps showing in link-app 2014-09-24 16:15:24 +00:00
Nathan Gray
c5d5260d8b Drag and drop nextmatch rows to link between entries 2014-09-23 21:25:46 +00:00
Nathan Gray
eefc75369c Add refresh(id, type) function to et2_gantt widget 2014-09-23 16:58:09 +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
Nathan Gray
cd19f52964 Get not loaded UIDs if select all is used. 2014-09-22 19:39:50 +00:00
Nathan Gray
c27e4f2098 Fix diff widget to better handle empty values (cleared fields) 2014-09-22 16:16:11 +00:00
Ralf Becker
b02c771f4a pending updates from our translation server 2014-09-22 11:59:05 +00:00
Ralf Becker
2e8a353f3e pending translations from our translation server 2014-09-22 11:57:15 +00:00
Nathan Gray
2cc0e8d434 Also accept file names to remove. 2014-09-19 18:32:20 +00:00
Nathan Gray
378a11f841 Also accept file names to remove. 2014-09-18 18:56:43 +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
Nathan Gray
cf3f99c260 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 02:58:52 +00:00
Nathan Gray
b7b6baaed5 Accept string without suffix as fixedWidth.
Fixes infolog defaults missing when changing details/no details
2014-09-18 02:29:14 +00:00
Nathan Gray
946558b559 More gantt improvements for large projects
- Add a further zoom level, yearly, for long projects
- Fix some scaling issues
- Turn on gantt cover while loading, so it gets a better chance to be displayed
2014-09-17 20:17:29 +00:00
Nathan Gray
60c2566bf9 Anything longer than 3 days is shown as Month + Day 2014-09-15 20:03:11 +00:00
Nathan Gray
69f6668d05 Some experimental speed changes:
- Make pm list load first, so others don't matter
- Add preference to limit dates in gantt
- Log timing of gantt loading
2014-09-15 19:35: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
fad57f202b using egw_json_response::json_encode() for GET requests too, to work agains empty windows caused eg. by wrong encoding 2014-09-10 18:25:36 +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
Ralf Becker
9e60cadb70 fixed date client/server protocol to always just append "Z" after seconds, so apps can compare date values 2014-09-10 10:22:55 +00:00
Ralf Becker
c775582af2 trigger blur on taglist in getValue() to not loose just typed content (previous fix stoped selection of suggestions by mouse) 2014-09-10 10:02:43 +00:00
Ralf Becker
a4d18fdce2 trigger blur on taglist in getValue() to not loose just typed content (previous fix stoped selection of suggestions by mouse) 2014-09-10 10:02:07 +00:00
Nathan Gray
06a78f145f Fix sub-grid column indent 2014-09-09 23:14:42 +00:00
Nathan Gray
dbbd64d66b Make sure tab doesn't start by trying to display a hidden tab. 2014-09-09 22:19:50 +00:00
Nathan Gray
4d93470fb9 - Fix bug loading new data into gantt
- Setup for Stylite gantt features
2014-09-09 20:40:27 +00:00
Nathan Gray
c33a71c5f7 Add some CSS during column resize to indicate which columns are fixed and which columns will change when you resize. 2014-09-09 17:39:33 +00:00
Nathan Gray
108d3a0f40 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-09 16:58:26 +00:00
Ralf Becker
f817dc7606 fixed IE 11 names almost all files "blob" 2014-09-09 16:30:29 +00:00
Ralf Becker
837a84b330 fixed IE 11 names almost all files "blob" 2014-09-09 16:30:00 +00:00
Nathan Gray
8cb9914d15 Change minimum characters to 4 to avoid long queries on large installs. 2014-09-09 14:13:47 +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
c73cc6b398 fixing the fix: now cat_id=1 got not lost with a 2nd default option set in addressbook (0=None) 2014-09-09 14:11:42 +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
8ecaac7dde fixed category with cat_id=1 got lost in addressbook 2014-09-09 13:13:27 +00:00
Hadi Nategh
e1dd31ebbd * All apps/IE: Fix not working file upload in IE 2014-09-09 13:07:07 +00:00
Hadi Nategh
c651fa269a * Filemanager: Fix not working file upload in IE 2014-09-09 12:59:06 +00:00
Ralf Becker
cfd90f064c Fix customfield column size preference not used 2014-09-09 09:57:25 +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
b1f0448b6d fixed advanced search was always filtering by first option of custom-fields of type select or select-* 2014-09-09 08:36:34 +00:00
Ralf Becker
72b040db01 fix IDE warning 2014-09-09 08:33:58 +00:00
Ralf Becker
fd9519ccfe fix IDE warning 2014-09-09 08:31:59 +00:00
Nathan Gray
4e6c5c3a1f Warn about legacy function calls using too many arguments 2014-09-08 23:01:55 +00:00
Nathan Gray
4031e2b5a1 Fix customfield column size preference not used 2014-09-08 20:09:21 +00:00
Nathan Gray
ff327c30fe Limit link search to 1000 results 2014-09-08 19:15:01 +00:00
Nathan Gray
7f291a17a6 Fix missed case of 'really need it'. See SVN r47435. 2014-09-08 18:23:34 +00:00
Ralf Becker
866cb11f50 fix IDE warning 2014-09-08 11:41:18 +00:00
Ralf Becker
0404f7f272 fix IDE warning 2014-09-08 11:40:57 +00:00
Ralf Becker
7cafc2fd9c * eTemplate2/all apps: fixed not displayed readonly dates outside lists (eg. created/modified dates in dialogs) 2014-09-08 11:38:23 +00:00
Ralf Becker
f4e47c176f * eTemplate2/all apps: fixed not displayed readonly dates outside lists (eg. created/modified dates in dialogs) 2014-09-08 11:38:02 +00:00
Ralf Becker
6992005c6a Add duration_unit parameter so we can reduce resolution for large time spans.
Prevents browser hanging while processing every minute of multi-year projects.
2014-09-08 08:37:32 +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
88a111b2c5 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:00:42 +00:00
Ralf Becker
bae6b3686f date widget has now api to set or get year, month, date, hours, minutes or time(stamp) and using that in calendar app.js for date manipulation 2014-09-05 10:35:08 +00:00
Ralf Becker
8c9854daa2 date widget has now api to set or get year, month, date, hours, minutes or time(stamp) and using that in calendar app.js for date manipulation 2014-09-05 10:34:37 +00:00
Nathan Gray
62e089c889 Add duration_unit parameter so we can reduce resolution for large time spans.
Prevents browser hanging while processing every minute of multi-year projects.
2014-09-04 20:53:27 +00:00
Hadi Nategh
e438ed281e Fix styling of freezed buttons while uploading files via file widget 2014-09-04 15:04:22 +00:00
Hadi Nategh
6b62a84aae Fix styling of freezed buttons while uploading files via file widget 2014-09-04 15:00:59 +00:00
Ralf Becker
977c0bf482 * Calendar: fixed freetime search to correctly read and set times from edit window
- fixed et2_date.set_value() to understand nummeric timestamps in usertime used on server-side (needed timezone offset)
- added new parameter-type for et2_date.set_value() string starting with + or - to add or subtract given number of seconds from current time (to not have to code that in applications)
r48463: some styling for freetime search
2014-09-04 14:34:06 +00:00
Ralf Becker
96f4b2a2e2 remove resize: none from et2_textbox, as users like to resize their textboxes 2014-09-04 14:05:15 +00:00
Ralf Becker
57ab83f3b0 remove resize: none from et2_textbox, as users like to resize their textboxes 2014-09-04 14:04:54 +00:00
Ralf Becker
35f63b35d5 * Calendar: fixed freetime search to correctly read and set times from edit window
- fixed et2_date.set_value() to understand nummeric timestamps in usertime used on server-side (needed timezone offset)
- added new parameter-type for et2_date.set_value() string starting with + or - to add or subtract given number of seconds from current time (to not have to code that in applications)
2014-09-04 13:03:48 +00:00
Ralf Becker
1f214243bb * Projectmanager/all apps: fix not working popups, eg. add existing action in elements list
also fixed IDE warnings
2014-09-04 08:29:20 +00:00
Ralf Becker
e5dcceb27b * Projectmanager/all apps: fix not working popups, eg. add existing action in elements list
also fixed IDE warnings
2014-09-04 08:29:02 +00:00
Ralf Becker
9e71712e2f fix indention 2014-09-04 08:27:45 +00:00
Ralf Becker
41e8331edd * Projectmanager: speed improvements for large gantt charts 2014-09-04 06:09:17 +00:00
Nathan Gray
e47cb0f3f6 Speed improvements for large gantt tasks 2014-09-03 20:11:48 +00:00
Ralf Becker
7d5ed49395 remove addressbook-email from app-list in link widgets 2014-09-03 12:54:09 +00:00
Ralf Becker
cf7f5fef7e remove addressbook-email from app-list in link widgets 2014-09-03 12:53:43 +00:00
Ralf Becker
b179734df8 Prevent additional objectManagers.
Fixes separate selection problem with right clicks on sub-grids.
2014-09-03 06:59:26 +00:00
Nathan Gray
70d918331b Prevent additional objectManagers.
Fixes separate selection problem with right clicks on sub-grids.
2014-09-02 22:29:19 +00:00
Ralf Becker
3564a03529 fixed not working custom date filter 2014-09-02 16:26:58 +00:00
Ralf Becker
d50ccc9c21 fixed not working custom date filter 2014-09-02 16:26:37 +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
757a741d99 * Tracker/eTemplate: user could not empty CC field (taglist-email) 2014-09-02 12:22:31 +00:00
Klaus Leithoff
a1bf9c0d9b allow to empty the taglist (even provided prior content is part of the preserve array), by returning null upon validation when array is empty 2014-09-02 11:39:23 +00:00
Ralf Becker
146febd692 * InfoLog: fixed selection over multiple hierarchy levels (eg. deleting a child from an opened InfoLog also deleted previously selected top-level entry!) 2014-09-02 10:34:05 +00:00
Hadi Nategh
8aa58344b0 Add css class to add contact button in url-email widget, and make the icon size 16x16 2014-09-02 09:35:26 +00:00
Hadi Nategh
e7bc170c4e Bind onmouseenter event of add contact+ button on url-email set_value, as widget might be created by apps client side code, not directly loaded from xet file 2014-09-02 09:33:43 +00:00
Hadi Nategh
9a7a635f04 Add new attribute to url-email widget in order to be able to add contact+ button to each email address. 2014-09-02 09:31:38 +00:00
Hadi Nategh
ea57df4765 Add css class to add contact button in url-email widget, and make the icon size 16x16 2014-09-02 08:39:57 +00:00
Ralf Becker
ff626a812b disabling my workarounds to better test Nathans fixes in action system 2014-09-02 08:30:14 +00:00
Nathan Gray
12ab21e6a4 - Propagate clearSelection() to children
- Fix missed change in previous commit
2014-09-01 18:44:13 +00:00
Nathan Gray
3a49e4cfec Fix handling of missing ID (usually from empty placeholder) 2014-09-01 16:53:59 +00:00