Commit Graph

2243 Commits

Author SHA1 Message Date
Hadi Nategh
e09b6f75b5 Leave the ckeditor width untouched, only change the height in resize 2015-06-11 11:29:44 +00:00
Nathan Gray
920616e37a Calendar et2 conversion work in progress.
Context menu is enabled, but not all actions are fully implemented yet.
2015-06-10 21:51:28 +00:00
Nathan Gray
b4d597fbb5 Add getWidget() method to default action object implementation for easier, direct access to the associated widget 2015-06-10 21:45:06 +00:00
Nathan Gray
43a1429804 Fix broken class attribute 2015-06-10 18:30:14 +00:00
Hadi Nategh
004e1ba646 Remove name attribute if passwd widget has autocomplete="off" 2015-06-03 14:07:15 +00:00
Hadi Nategh
e611eed179 Change autocomplete default value for passwd widget from "" to "off" 2015-06-03 09:05:11 +00:00
Ralf Becker
ddbe8ccec3 encryption of InfoLog entries (EPL only) 2015-05-28 14:40:33 +00:00
Hadi Nategh
ad2d331c86 Do not reinitiate the history log if it is already initiated 2015-05-21 14:27:15 +00:00
Hadi Nategh
02ad6049fe Revert accidently commented out code from previous commit 2015-05-21 10:40:04 +00:00
Hadi Nategh
8fe33d287a Do not reinitiate the history log if it is already initiated 2015-05-21 10:38:04 +00:00
Hadi Nategh
dc3e6c12c2 Introduce a checkbox method for toolbar widget in order to be able to get/set checkbox actions
- Function pattern: widget.checkbox(action_id,[value])
2015-05-20 15:48:08 +00:00
Nathan Gray
f48424de9c * If column information is stored in a favorite, restore it along with the filters
To get column information in the favorite, change the visible columns before you create the favorite.
If the favorite has no column information, the visible columns will not be changed.
2015-05-20 15:23:55 +00:00
Hadi Nategh
394f7394ff Introduce a checkbox method for toolbar widget in order to be able to get/set checkbox actions
- Function pattern: widget.checkbox(action_id,[value])
- Fix encrypt toolbar action set/get according to new method
2015-05-20 15:18:00 +00:00
Nathan Gray
fbfb2f18d7 Allow column widgets a chance to resize after column change 2015-05-20 15:15:49 +00:00
Nathan Gray
a6ba6ab17e Fix drag and drop multiple files into a subdirectory didn't get all files to the right path 2015-05-19 19:50:52 +00:00
Hadi Nategh
e544b91429 Do not show the dropdown menu if there is no actions on toolbar "more..." menu 2015-05-15 08:46:30 +00:00
Hadi Nategh
d35a0947d3 Do not show the dropdown menu if there is no actions on toolbar "more..." menu 2015-05-15 08:45:48 +00:00
Hadi Nategh
a7459e57b4 * Etemplate/historylog: Make history log resizable, base on popup window resize 2015-05-13 15:39:40 +00:00
Hadi Nategh
d571dffd20 New approach to history widget resize, considering if the history tab is not active and window is resized 2015-05-13 15:01:30 +00:00
Hadi Nategh
37bc839ea7 Only apply year range to date only widgets, it causes times to break 2015-05-12 08:13:24 +00:00
Nathan Gray
652cec5463 Fix drag and drop multiple files into a subdirectory didn't get all files to the right path 2015-05-11 19:33:57 +00:00
Nathan Gray
439e32e750 Custom fields - implement ajax select widget, add year_range attribute for dates, and bug fixes 2015-05-11 18:22:43 +00:00
Nathan Gray
237d1d809e * If column information is stored in a favorite, restore it along with the filters
To get column information in the favorite, change the visible columns before you create the favorite.
If the favorite has no column information, the visible columns will not be changed.
2015-05-11 17:29:31 +00:00
Hadi Nategh
448fe5b6a8 Allow user to be able to scroll nm headers, which have v-scrolbar, instead of always trigger resize 2015-05-11 12:29:42 +00:00
Hadi Nategh
7180be1840 Allow user to be able to scroll nm headers, which have v-scrolbar, instead of always trigger resize 2015-05-11 11:20:43 +00:00
Hadi Nategh
29b2f1f210 Reset kept_selection if selected rows from response are no longer available. (e.g. select all mail in a folder and delete them) 2015-05-11 08:56:07 +00:00
Hadi Nategh
a4c50198f9 Reset kept_selection if selected rows from response are no longer available. (e.g. select all mail in a folder and delete them) 2015-05-11 08:55:24 +00:00
Hadi Nategh
d95b5b9e3d Call resize handler of widgets with no excess_height which means resize is from nm 2015-05-08 13:41:17 +00:00
Hadi Nategh
2abb05ead3 Call resize handler of widgets with no excess_height which means resize is from nm 2015-05-08 13:38:42 +00:00
Hadi Nategh
dd81c12dd9 Add attribute class to tab elements in order to be able to distinguish between tab's DOM 2015-05-07 17:19:21 +00:00
Hadi Nategh
fe83235b1d Add attribute class to tab elements in order to be able to distinguish between tab's DOM 2015-05-07 17:18:01 +00:00
Hadi Nategh
b73e6ea2d6 Make readonly attribute available for link-to and link-list widget
- Implement tracker link_to to not give edit interface to user who has no edit access
2015-05-06 15:14:15 +00:00
Hadi Nategh
b0c7eb2650 Make readonly attribute available for link-to and link-list widget
- Implement tracker link_to to not give edit interface to user who has no edit access
2015-05-06 15:11:53 +00:00
Hadi Nategh
c1943235b1 Trigger widget's resize only if there's excess_height 2015-05-05 12:39:11 +00:00
Hadi Nategh
211efdda68 Trigger widget's resize only if there's excess_height 2015-05-05 12:38:11 +00:00
Hadi Nategh
50782cfa8b * Mail: Implement mail integration with new structure and add new feature
- Add mail to calendar as calendar entry, including all mail attachments as links
- Add user choice for saving mail into an existing ticket or a new ticket
- Fix mail attachments integration into infolog, tracker or calendar entry
2015-05-05 08:03:13 +00:00
Ralf Becker
debf2e03f3 remove own iterateOver implementation again, as it is already handled in parent class and creates additional problems 2015-05-04 17:24:28 +00:00
Ralf Becker
e15f9803d2 remove own iterateOver implementation again, as it is already handled in parent class and creates additional problems 2015-05-04 17:24:04 +00:00
Nathan Gray
9e3676a8c9 Only apply year range to date only widgets, it causes times to break 2015-05-04 14:46:56 +00:00
Ralf Becker
cebd7eb868 allow all sort of expanded content in legacy options eg. ",1,${cont[nm][somevalue]}" 2015-05-02 19:35:37 +00:00
Ralf Becker
d06a8f1a77 allow all sort of expanded content in legacy options eg. ",1,${cont[nm][somevalue]}" 2015-05-02 19:35:16 +00:00
Ralf Becker
562cdc409e allow to iterate over grids and set checkboxes readonly (disabled) 2015-05-02 10:43:14 +00:00
Ralf Becker
0ea5195f2e allow to iterate over grids and set checkboxes readonly (disabled) 2015-05-02 10:42:53 +00:00
Hadi Nategh
7cf6f4f246 Make sure the content of CKeidtor is ready before resize and check for none participant to resize 2015-04-30 08:10:12 +00:00
Hadi Nategh
15f18e20b5 Make sure the content of CKeidtor is ready before resize and check for none participant to resize 2015-04-30 08:07:23 +00:00
Ralf Becker
badc6062fa stop invalidation of not visible nextmatch, happens when switching from infolog to crm-view in addressbook 2015-04-28 16:01:39 +00:00
Ralf Becker
5ec55f9c16 stoping requesting more and more rows causing browser to stall, if browser does not give us height for rows (probably because it defered rendering) 2015-04-28 16:01:22 +00:00
Ralf Becker
e74f29fdaa stop invalidation of not visible nextmatch, happens when switching from infolog to crm-view in addressbook 2015-04-28 15:59:21 +00:00
Ralf Becker
812a9bbe8d stoping requesting more and more rows causing browser to stall, if browser does not give us height for rows (probably because it defered rendering) 2015-04-28 15:58:26 +00:00
Hadi Nategh
5b01269378 Make sure there is jquery object on ckeditor container 2015-04-28 15:28:25 +00:00
Hadi Nategh
2425f16da8 Make sure there is jquery object on ckeditor container 2015-04-28 10:31:45 +00:00
Hadi Nategh
1a6d628988 Fix resizing htmlarea widget 2015-04-27 09:11:25 +00:00
Hadi Nategh
353e5e0a9e Fix resizing htmlarea widget 2015-04-27 09:10:47 +00:00
Hadi Nategh
707eb127fb Make sure there is fields object 2015-04-24 14:37:55 +00:00
Hadi Nategh
464b933e38 Make sure there is fields object 2015-04-24 14:37:03 +00:00
Hadi Nategh
0c91565dfb Only egw-data with no download_url should not get the click handler 2015-04-22 14:58:53 +00:00
Hadi Nategh
c9ef30367e Only egw-data with no download_url should not get the click handler 2015-04-22 14:58:20 +00:00
Nathan Gray
27e2f787a1 Date widget:
- Add year_range attributes to set the options in the year dropdown
- Experimental min and max attributes
Custom fields:
- Allow to set attributes in options field for some widget types (not ones that lists of options)
2015-04-21 19:46:33 +00:00
Nathan Gray
79332f31a5 Simple et2 implementation of ajax_search widget 2015-04-21 16:47:33 +00:00
Hadi Nategh
0c6f050ae5 Do not add taglist emails one by one, add them all in one, as the rendering process in magicsuggest would be very resource consuming 2015-04-21 15:50:24 +00:00
Hadi Nategh
4ea0638267 Do not add taglist emails one by one, add them all in one, as the rendering process in magicsuggest would be very resource consuming 2015-04-21 15:40:02 +00:00
Hadi Nategh
acd5971c96 Do not bind click handler on media mime type to be opened in expose view if there is no download_url(e.g. attachments of mail integration have no download_url befre they get saved) 2015-04-21 12:20:53 +00:00
Hadi Nategh
9b9313026f Do not bind click handler on media mime type to be opened in expose view if there is no download_url(e.g. attachments of mail integration have no download_url befre they get saved) 2015-04-21 12:20:12 +00:00
Nathan Gray
611c35fc5f Silence some spurious warnings on null and "" 2015-04-16 16:19:41 +00:00
Nathan Gray
45bc2123ee Don't apply selection if it is not returned after an update, but keep it in case the user needs to scroll first. 2015-04-16 15:18:46 +00:00
Nathan Gray
6db6e1736b Don't keep selection if it is not returned after an update.
Fixes IDs stay after entry is changed to not match the current filters.
2015-04-16 15:17:29 +00:00
Nathan Gray
1af6f3a707 Modifications to cached options
- country list no longer supports options when caching
- copy options to avoid modification with additonal options
2015-04-16 14:52:13 +00:00
Ralf Becker
c6bfc44d08 reverting previous commit, as it breaks in other places 2015-04-16 12:10:55 +00:00
Ralf Becker
0b07bccdca partially revert r52487: as it doublicates some options and changes value of empty label from "" to 0 2015-04-16 12:04:06 +00:00
Hadi Nategh
9c13096e67 A temporary fix for widget link_list because of none match server-side and client-side data structure 2015-04-16 08:26:53 +00:00
Nathan Gray
6b5ed240ed Use timeout to get selected autocomplete value instead of just the entered text 2015-04-15 22:42:30 +00:00
Nathan Gray
5a6d9b5fcb Use timeout to get selected autocomplete value instead of just the entered text 2015-04-15 22:33:06 +00:00
Nathan Gray
1da6e78def Modifications to cached options
- country list no longer supports options when caching
- copy options to avoid modification with additonal options
2015-04-15 15:56:33 +00:00
Hadi Nategh
a65d416807 Remove all actions before setting to prevent conflicts between old and new actions with the same id
Also update existing row actions (fixes issue with r52449)
2015-04-15 08:31:55 +00:00
Nathan Gray
605b54183d Selectbox options kept on the client side
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-14 18:58:21 +00:00
Nathan Gray
b08f90d930 Don't apply selection if it is not returned after an update, but keep it in case the user needs to scroll first. 2015-04-14 16:48:53 +00:00
Nathan Gray
897a16cd8f Don't keep selection if it is not returned after an update.
Fixes IDs stay after entry is changed to not match the current filters.
2015-04-14 16:40:15 +00:00
Ralf Becker
7926f01a9a not giving an error for undefined href / download-url 2015-04-14 13:12:40 +00:00
Ralf Becker
cdd8b29fa7 not giving an error for undefined href / download-url 2015-04-14 13:12:17 +00:00
Nathan Gray
5cfd583904 Allow applications to add additional options to selectbox type options. 2015-04-13 21:57:46 +00:00
Nathan Gray
4d0c5ca41b Fix missing parent path parts 2015-04-13 20:02:42 +00:00
Nathan Gray
3f6dce63c3 Fix missing parent path parts 2015-04-13 20:01:36 +00:00
Nathan Gray
cbcb273367 Remove all actions before setting to prevent conflicts between old and new actions with the same id
Also update existing row actions (fixes issue with r52449)
2015-04-13 17:20:47 +00:00
Hadi Nategh
463d7ead2f Revert commit #52449, causing context menu's sub action get lost after et2_refresh 2015-04-13 10:05:12 +00:00
Hadi Nategh
ab7ada048d Revert commit #52449, causing context menu's sub action get lost after et2_refresh 2015-04-13 10:03:27 +00:00
Ralf Becker
5be553dae1 check if download_url is not already an url (some stream-wrappers allow to specify that!) 2015-04-11 08:21:04 +00:00
Ralf Becker
1120df65dc check if download_url is not already an url (some stream-wrappers allow to specify that!) 2015-04-11 08:18:53 +00:00
Hadi Nategh
699df9241c Fix click handler does not work always for images with href attribute 2015-04-09 10:52:36 +00:00
Hadi Nategh
809ad4a678 Fix click handler does not work always for images with href attribute 2015-04-09 10:52:05 +00:00
Hadi Nategh
d8374eaa87 Do not trigger expose view if one of the operator keys (e.g. Ctrl) are held, in order to be able to select entries 2015-04-09 08:01:10 +00:00
Hadi Nategh
58ea1e3773 Do not trigger expose view if one of the operator keys (e.g. Ctrl) are held, in order to be able to select entries 2015-04-09 07:59:55 +00:00
Nathan Gray
455e067555 Remove all actions before setting to prevent conflicts between old and new actions with the same id 2015-04-08 22:45:07 +00:00
Nathan Gray
f926605ea7 Remove all actions before setting to prevent conflicts between old and new actions with the same id 2015-04-08 22:41:44 +00:00
Nathan Gray
f6d8617b51 Fix error in historylog caused by trying to load a template widget for infolog status 'template' 2015-04-08 20:58:15 +00:00
Nathan Gray
894714c3f5 Fix error in historylog caused by trying to load a template widget for infolog status 'template' 2015-04-08 20:49:36 +00:00
Hadi Nategh
cf657413c7 Fix touch on filemanager heirarchical folder open arrow does not open the sub folder, using touch devices 2015-04-07 16:01:55 +00:00
Hadi Nategh
19f55e73d8 Fix touch on filemanager heirarchical folder open arrow does not open the sub folder, using touch devices 2015-04-07 16:01:34 +00:00
Ralf Becker
fd435043ad fixed not shown readonly value for numerical values 2015-04-03 14:20:19 +00:00
Ralf Becker
6390696ee6 fixed not shown readonly value for numerical values 2015-04-03 14:19:34 +00:00
Ralf Becker
4eea57c8a8 * All apps: fix unable to remove last value from multiselect 2015-04-03 12:47:29 +00:00