Commit Graph

2156 Commits

Author SHA1 Message Date
Nathan Gray
92c26d156d Better handling of printing of various row quantities:
- print < loaded row count
- print > loaded row count
- print all rows
2015-02-11 20:00:22 +00:00
Nathan Gray
82f36e6de4 Extend printing support to work with multiple etemplates on the printed tab 2015-02-11 18:05:14 +00:00
Hadi Nategh
2edc2d831b Implement Document Type Definition (DTD) generator
- DTD generator is integrated to eTemplate2 Reference (widget browser)
2015-02-11 15:17:10 +00:00
Hadi Nategh
423e2abf77 Fix mousewheel handler on indicators in expose view causes problem, and not working in FF 2015-02-11 12:05:28 +00:00
Hadi Nategh
905bbc9c16 Fix mousewheel handler on indicators in expose view causes problem, and not working in FF 2015-02-11 11:21:40 +00:00
Hadi Nategh
6283b46764 Pass an array as drop target. Fixes drag & drop files only worked on input nodes 2015-02-11 10:35:32 +00:00
Hadi Nategh
4373545152 Fully clear existing ActionObject before re-using it. Fixes context menu missing after close & re-open home tab. 2015-02-11 10:35:05 +00:00
Nathan Gray
fa014edca0 Special handling when printing for splitter 2015-02-10 23:03:35 +00:00
Nathan Gray
6917a60843 Gantt backports from trunk:
- updating from Gantt now enabled
2015-02-10 20:03:18 +00:00
Nathan Gray
0411ff02ec Pass an array as drop target. Fixes drag & drop files only worked on input nodes 2015-02-10 19:49:31 +00:00
Nathan Gray
459b15ac93 Fully clear existing ActionObject before re-using it. Fixes context menu missing after close & re-open home tab. 2015-02-10 19:34:46 +00:00
Ralf Becker
46277505c5 Nextmatch print styling
- Hide nextmatch header
- Change styling of selectboxes in row header
r51650: Dont print AppboxHeader
2015-02-10 08:09:06 +00:00
Ralf Becker
27395c6adc backport r51645: Fixes for nextmatch changing row template
- Remove & free children from previous template (fixes hundreds of hidden children)
- Init activeFilters.col_filter filters from settings, then use activeFilters instead of options.settings (fixes filters changed)
2015-02-10 08:04:42 +00:00
Nathan Gray
fce10a2337 Nextmatch print styling
- Hide nextmatch header
- Change styling of selectboxes in row header
2015-02-09 23:33:03 +00:00
Nathan Gray
eefbb1a21d Fixes for nextmatch changing row template
- Remove & free children from previous template (fixes hundreds of hidden children)
- Init activeFilters.col_filter filters from settings, then use activeFilters instead of options.settings (fixes filters changed)
2015-02-09 20:43:26 +00:00
Hadi Nategh
d0f37ac53c Fix resize method for templates with height bigger than screen.availHeight 2015-02-09 11:49:33 +00:00
Hadi Nategh
34d5ffea62 Fix resize method for templates with height bigger than screen.availHeight 2015-02-09 11:28:20 +00:00
Ralf Becker
28d6023d77 log again not found template as error instead of poping up an alert 2015-02-06 17:24:28 +00:00
Ralf Becker
730615ce4e log again not found template as error instead of poping up an alert 2015-02-06 17:23:58 +00:00
Ralf Becker
6625ffdde4 * All apps: printing of lists improved a lot, asks now how many lines to print
r51437: Work in progress of printing nextmatches, still needs some prettying up & edge case testing
r51453: Bug fixes on nextmatch printing
 - fix loaded rows check
 - fix hidden etemplate check
r51454: Printing CSS improvements
r51588: Attempt to get nextmatch printing always on the page (landscape)
r51589: Attempt to get nextmatch printing always on the page (landscape) - put things back if they cancel at nextmatch dialog
r51612: disable footer for print
2015-02-06 13:36:25 +00:00
Hadi Nategh
4249dca91d * All apps: Activate cross-browser autocomplete 2015-02-06 13:23:40 +00:00
Hadi Nategh
e0f24f91a7 * Filemanager/Expose view: Fix following issues:
-Fix miss calculation of accurate position of active slide on thumbnail indicator
-Fix slide navigation with keyboard always pops up thumbnail indicator, no respect to fullscreen mode
-Fix jumping out of the fullscreen slide show by toggling on spacebar pause/play key
-Make the thumbnail indicator scrolling faster
2015-02-06 11:59:26 +00:00
Hadi Nategh
303b10377f Do not exit of fullscreen mode on slideshow pause for toggleFullscreenOnSlideshow 2015-02-06 11:35:49 +00:00
Hadi Nategh
0836c6a520 Chanage toggleFullscreenOnSlideShow default behavior, and disable close on slide click 2015-02-06 11:14:24 +00:00
Hadi Nategh
3bfee6c6dd Remove expose view loading and make indicator scrolling animation faster 2015-02-06 10:02:38 +00:00
Hadi Nategh
03e1a14274 Make sure expose view indicators always displays on as we need to calculate the active slide position
-Fix miss calculation of accurate postion of active slide on thumbnail indicator
-Fix slide navigation with keyboard always popups controls, no respect to fullscreen mode
2015-02-06 09:37:47 +00:00
Ralf Becker
7b99be3783 Fix expose view shows loading icon even if the slide are loaded 2015-02-06 08:35:20 +00:00
Nathan Gray
bc3ffae167 Attempt to get nextmatch printing always on the page (landscape) - put things back if they cancel at nextmatch dialog 2015-02-05 21:57:20 +00:00
Nathan Gray
2cf897b05a Attempt to get nextmatch printing always on the page (landscape) 2015-02-05 21:52:29 +00:00
Hadi Nategh
166a041e55 Fix expose view shows loading icon even if the slide are loaded 2015-02-05 15:14:23 +00:00
Nathan Gray
b7d5391238 Fix account selection widget when preference is 'popup' 2015-02-04 23:18:45 +00:00
Hadi Nategh
ec5ef7c1c8 Add button type to et2_buttons in order to stop default browser submit behavior
-Fix addressbook and tracker nm search opens new popup
2015-02-04 17:31:23 +00:00
Ralf Becker
b80f34a36a remove old form button stuff, as it get triggered again now that et2_container is a form 2015-02-04 08:38:41 +00:00
Hadi Nategh
13684d4903 Activate cross-browser autocomplete
- Replace et2_contianer from DIV to FORM
- Add autocomplete fixer to submit action
- Add autocomplete fixer to nextmatch search box
2015-02-03 17:42:32 +00:00
Hadi Nategh
0e525fd13a Do not add conrtrols class if it's on slideshow mode 2015-02-03 12:19:29 +00:00
Hadi Nategh
c9b98028ef Do not add conrtrols class if it's on slideshow mode 2015-02-03 12:18:43 +00:00
Hadi Nategh
84560a0496 Implement resize function for htmlarea widget in order to cordinate htmlNode's height to window size 2015-02-03 11:22:06 +00:00
Hadi Nategh
cce240fa5b Implement resize function for htmlarea widget in order to cordinate htmlNode's height to window size 2015-02-03 11:11:02 +00:00
Nathan Gray
41cfbda909 - Change gantt widget to be an input widget to support change events, so we can have custom change handling
- Fix task progress
2015-02-02 23:36:16 +00:00
Nathan Gray
1fd14256f7 Make sure url has a value before matching, prevents errors with some dialogs 2015-02-02 23:32:03 +00:00
Nathan Gray
e6e01758cc Make sure url is set, prevents errors with some dialogs 2015-02-02 23:28:27 +00:00
Ralf Becker
1177acd3d3 fix clicking on favorite in filemanager does not work when showing shared files (or any other view then current index-url), thought setting of favorite still fails
r51522: Update favorite GET fallback to use new style of favorite
2015-02-02 17:28:54 +00:00
Ralf Becker
95a85c6cf5 fix clicking on favorite in filemanager does not work when showing shared files (or any other view then current index-url), thought setting of favorite still fails 2015-01-30 16:59:31 +00:00
Hadi Nategh
bb8920aa3c Revert the autocomplete feature 2015-01-30 16:00:07 +00:00
Hadi Nategh
af355330d0 Revert the autocomplete feature 2015-01-30 15:59:27 +00:00
Hadi Nategh
e9ebd97e78 * Filemanager/Expose view: enhancements
-Fullscreen feature
-Loading on thumbnail scrolling
-Fix thumbnail not being loaded for the first time
2015-01-30 15:50:57 +00:00
Hadi Nategh
4cd8d64130 Expose view enhancement: Load next media to gallery by scrolling on thumbnails 2015-01-30 12:00:54 +00:00
Hadi Nategh
8a2bf6a616 Fix some issues in expose view:
-Make indicator available for the first time load to be abale to calculate the correct active thumbnail position
-Make sure the indicators always are arranged in one line
2015-01-30 10:56:15 +00:00
Hadi Nategh
b193dc0733 Fix expose view loading for the first time always shows loading icon 2015-01-30 09:30:06 +00:00
Nathan Gray
21af57059d Some updates to pagination
- Revert part of previous commit, it made things seem slower.
2015-01-29 18:07:41 +00:00
Nathan Gray
2eb687775e Some updates to pagination
- Fix initial load for mixed directories, was leaving holes in the list for first load
 - Fix unwanted reload for first slide when not paginating caused unfiltered list to be used
2015-01-29 17:48:01 +00:00
Hadi Nategh
3b16ba88fe Fix video media content for Expose view 2015-01-29 17:24:08 +00:00
Hadi Nategh
90dd0f8a97 * All Apps: Fix autocomplete form only for Chrome 2015-01-29 16:48:01 +00:00
Hadi Nategh
6e25cc598a Disable autoComplete fixer for all browser but Chrome 2015-01-29 16:33:36 +00:00
Hadi Nategh
20c482cc87 Set thumbnailWithImgTag to true to get thumbnail indicators as img tag in order to be able to set right image size ratio 2015-01-28 17:45:10 +00:00
Hadi Nategh
e673858e40 Fix regex for audio mime type 2015-01-28 11:21:20 +00:00
Hadi Nategh
81d1c32be2 Activate fullscreen mode for expose view 2015-01-28 10:59:05 +00:00
Ralf Becker
3d1836aa49 need to split off domain first, as it could contain app-name part of template eg. stylite.report.xet and https://my.stylite.de/egw/... 2015-01-28 10:17:44 +00:00
Ralf Becker
69ae4efb47 need to split off domain first, as it could contain app-name part of template eg. stylite.report.xet and https://my.stylite.de/egw/... 2015-01-28 10:14:52 +00:00
Nathan Gray
2be34b4b53 Bug fixes on nextmatch printing
- fix loaded rows check
 - fix hidden etemplate check
2015-01-27 20:48:06 +00:00
Nathan Gray
16a64c879d Pass edit mode (resize, move, progress) so we can update better 2015-01-27 18:53:50 +00:00
Ralf Becker
f0c4c3dadd Don't send settings on reload either. Avoids security errors with Ralf's iframe notes. 2015-01-27 17:02:37 +00:00
Ralf Becker
25384864bc fix 2nd loading of etemplates in IE, which was broken since r51385, because IE can not use in main window cached object, if it was loaded from a now closed popup/iframe
We use now jQuery.ajax() instead of native XMLHTTPRequest object from jQuery object of main-window
2015-01-27 16:53:32 +00:00
Ralf Becker
f834ba893b fix 2nd loading of etemplates in IE, which was broken since r51385, because IE can not use in main window cached object, if it was loaded from a now closed popup/iframe
We use now jQuery.ajax() instead of native XMLHTTPRequest object from jQuery object of main-window
2015-01-27 16:53:11 +00:00
Nathan Gray
cee521d4cd Work in progress of printing nextmatches, still needs some prettying up & edge case testing 2015-01-27 16:26:59 +00:00
Nathan Gray
789d02a7e0 Don't send settings on reload either. Avoids security errors with Ralf's iframe notes. 2015-01-27 15:57:07 +00:00
Ralf Becker
c5cbbf240a fix autocomplete for Firefox by doing a real submit to an https url, as faked submit to "about:blank" causes a security warning in FF 2015-01-27 15:14:56 +00:00
Hadi Nategh
0e4d04cb6c Fix autocomplete fixer wrapper messes up nextmatch height size 2015-01-27 11:17:11 +00:00
Hadi Nategh
59e922221c Enhance autocomplete fixer and fixes some bugs 2015-01-27 10:52:42 +00:00
Nathan Gray
a644255c78 Clean up debug 2015-01-26 17:34:47 +00:00
Hadi Nategh
ebab506aa9 * All Applications: Get browser autocomplete form working 2015-01-26 16:13:08 +00:00
Hadi Nategh
f01cfd4a41 Fix etemplate2 clear instance broken by commit 51394 2015-01-26 14:33:09 +00:00
Hadi Nategh
c3a8f0d7c0 Fix etemplate2 clear instance broken by commit 51394 2015-01-26 14:32:39 +00:00
Hadi Nategh
0361739045 Remove specific handling on link\'s caption to open expose view, although still we keep the handler on icon 2015-01-26 12:18:34 +00:00
Hadi Nategh
be1d839686 Remove specific handling on link's caption to open expose view, although still we keep the handler on icon 2015-01-26 11:39:35 +00:00
Ralf Becker
48fa4c1857 share loaded eTemplates with iframes and popups, this way they dont need to load templates in same EGroupware session again (unless main window get reloaded), also adding now a cache-buster by default, if server dont supply one 2015-01-23 19:33:29 +00:00
Ralf Becker
d100187584 new script widget to allow to include javascript in (customizied) templates, also adding an id to style widget 2015-01-23 19:32:51 +00:00
Ralf Becker
4578d849f5 new script widget to allow to include javascript in (customizied) templates, also adding an id to style widget 2015-01-23 19:32:32 +00:00
Hadi Nategh
355ef81252 Support audio mime tyep for expose view, in order to play audio file 2015-01-23 15:53:21 +00:00
Hadi Nategh
ad6f33d78b Support audio mime tyep for expose view, in order to play audio file 2015-01-23 15:52:00 +00:00
Hadi Nategh
9c812c1799 Fix the grid widget resize handler for grid_wrapper 2015-01-23 15:14:26 +00:00
Hadi Nategh
8e951c3346 Fix expose view always shows the first picture of the list without respect to the selected one 2015-01-23 15:13:38 +00:00
Ralf Becker
cf61d38137 share loaded eTemplates with iframes and popups, this way they dont need to load templates in same EGroupware session again (unless main window get reloaded), also adding now a cache-buster by default, if server dont supply one 2015-01-23 14:32:47 +00:00
Hadi Nategh
d56b92af8b Fix the grid widget resize handler for grid_wrapper 2015-01-23 14:29:46 +00:00
Ralf Becker
a7c4688e01 fixed 404 Not found caused by appending &thheight=... to mime-icon url 2015-01-23 12:40:09 +00:00
Ralf Becker
8185324061 fixed 404 Not found caused by appending &thheight=... to mime-icon url 2015-01-23 12:39:37 +00:00
Hadi Nategh
75097c9cc2 Fix expose view always shows the first picture of the list without respect to the selected one 2015-01-23 09:25:18 +00:00
Ralf Becker
4886634500 fix not working startup of gallery, as mediaContent has to be an array without gaps from non-media content 2015-01-22 09:04:58 +00:00
Ralf Becker
fcda7613f1 fix not working startup of gallery, as mediaContent has to be an array without gaps from non-media content 2015-01-22 09:01:58 +00:00
Ralf Becker
6baaaa20eb Got expose gallery to paginate/fetch images backwards and forwards 2015-01-22 07:17:53 +00:00
Nathan Gray
f27d39aeeb Got expose gallery to paginate/fetch images backwards and forwards 2015-01-21 23:41:26 +00:00
Ralf Becker
14a7dd38f3 style tile-view to show images on whole tile with file-name and comment on hover only 2015-01-21 18:59:12 +00:00
Hadi Nategh
b9da0b6d4c Set thumbnail size on expose to 128 height, and style them 2015-01-21 17:54:35 +00:00
Nathan Gray
a622113b0b Pass event in instead of using window.event, fixes exposé initialization to selected image in firefox 2015-01-21 16:17:19 +00:00
Hadi Nategh
847bc2ef15 Introduce thumb_mime_size to vfs-mime widget in order to specify thumb size for specific mime types 2015-01-21 15:03:59 +00:00
Hadi Nategh
9bd80cdfc4 Fix url for expose view thumbnails 2015-01-21 11:15:59 +00:00
Hadi Nategh
33cf3205fa Fix some issues in Expose view:
-Fix an error complaing of nm existance(eg.link widget)
-Some styling to thumbnail indicator
-Add hideControlsOnSlideshow to the blueimp gallery plugin to be able to hide the controls
2015-01-21 11:10:17 +00:00
Nathan Gray
6ffca62c3c Exposé [mostly] working with filemanager list (pagination goes forward, not back) 2015-01-20 23:58:38 +00:00
Ralf Becker
03b6b7a871 show hand cursor (et2_clickable class), if expose is available 2015-01-20 22:25:11 +00:00
Hadi Nategh
95007f20d6 Fix base_urls for expose view in vfs and image widget 2015-01-20 18:47:08 +00:00
Hadi Nategh
262c92558e Fix error apply is not available from the this._super in expose view 2015-01-20 18:32:51 +00:00
Ralf Becker
2fbc91c5d9 fixed not saved comment on an existing file/attachment 2015-01-20 17:36:09 +00:00
Hadi Nategh
511028f987 Some fixes of expose view for widget vfs-mime
- Introduce expose_view attribute for the widget
- Fix attach to DOM
- Fix get Media method
2015-01-20 15:07:09 +00:00
Hadi Nategh
40cc063500 Create links with et2_vfs-mime widget for links which have mime type
- Links with accepted media type will be opened in expose view
2015-01-20 14:59:28 +00:00
Hadi Nategh
4eb63d65ec Do not bind the expose view click handler if the media type is not supported 2015-01-20 13:14:23 +00:00
Hadi Nategh
fc5d0cab49 Introduce expose view to image widget
- The expose view only be shown if the image widget have href value
2015-01-20 11:56:51 +00:00
Nathan Gray
5d93df0fbd Clear slides after closing the gallery. Fixes showing the first image next time expose is opened. 2015-01-19 20:20:02 +00:00
Nathan Gray
ff2f486c3f Fix vfsMime & expose to use this.node instead of image 2015-01-19 19:42:03 +00:00
Hadi Nategh
cb439ffc55 Expose view work in progress 2015-01-19 18:59:35 +00:00
Hadi Nategh
811f24f9b7 Add expose plugin widget 2015-01-19 17:21:11 +00:00
Hadi Nategh
a4b8dabef5 Implement the lightbox view (expose) for mime widget 2015-01-19 17:18:01 +00:00
Hadi Nategh
1db3cc96ef Refresh nm rows which got linked after egw_link_drop action 2015-01-15 13:06:38 +00:00
Nathan Gray
06abca167d If a widget is transformed into a template, try to load and process that template too. 2015-01-14 20:10:34 +00:00
Nathan Gray
2b1a897718 Surpress labels on entry-templates 2015-01-14 17:22:29 +00:00
Hadi Nategh
f9e28d24e8 Make a delay before favorites sorting action starts in order to prevent accidental sorting action 2015-01-14 17:00:47 +00:00
Hadi Nategh
d5231d35bc Fix onFinishOne attribute and its handler 2015-01-14 09:05:34 +00:00
Nathan Gray
2404ebda6e Ignore some new attributes, preserve settings when value is not an object 2015-01-13 22:00:12 +00:00
Nathan Gray
abb02c7b40 Add ability to store view in favorites, so tiles can be put on home.
Still some bugs in resizing with this in the home portlet.
2015-01-13 21:56:54 +00:00
Hadi Nategh
04730c83fe Fix toolbar toggle buttons with Function are not getting executed 2015-01-13 15:51:30 +00:00
Hadi Nategh
01319d2704 Bind hover handler in file upload widget on input element as input always is on top and transparent 2015-01-13 13:25:12 +00:00
Hadi Nategh
1ad841f9d8 Set the action default for dropdown actions 2015-01-13 12:16:04 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +00:00
Hadi Nategh
8ee3b4ccb1 Remove commented code from previous commit 2015-01-09 16:21:32 +00:00
Hadi Nategh
607677d9e7 Fix getting wrong initial excess_height 2015-01-09 16:19:52 +00:00
Hadi Nategh
e1b9b43f6c Fix toolbar dropdown actions set label 2015-01-09 14:45:39 +00:00
Hadi Nategh
eec3ebbc5d Correct stored toolbar's preferences with the wrong id 2015-01-08 14:02:21 +00:00
Nathan Gray
0eaa3e0896 Fix file drop stopped working after changing template 2015-01-07 22:35:21 +00:00
Hadi Nategh
7009ba1de0 Fix mail compose issues:
-Set default toolbar actions
-Set toolbar actions view range to 6
-Fix compose window not being resized correctly in FF 
-Fix displaying toolbar's selectbox
-Fix styling of toggle button
2015-01-07 17:08:21 +00:00
Hadi Nategh
56d8947ccc Make sure the toJSON is not null before using string replace 2015-01-07 12:32:28 +00:00
Nathan Gray
33a0d1154a * Tile view for filemanager 2014-12-31 17:55:06 +00:00
Nathan Gray
eb0a91d3fe Don't pass settings when resizing, moving, or removing a portlet, they're not needed. 2014-12-29 17:35:50 +00:00
Hadi Nategh
733fd41a45 Implement toggle button in toolbar widget, representing checkbox actions in toolbar 2014-12-23 14:24:25 +00:00
Hadi Nategh
458aed9262 Open the select-file dialog with less height 2014-12-22 09:52:58 +00:00
Hadi Nategh
b34adb3108 Fix vfs upload select-file dialog 2014-12-22 09:42:04 +00:00
Nathan Gray
c48065f4c3 Add ability for admins to set home portlets as default, for groups, and forced for all. 2014-12-19 22:26:29 +00:00
Nathan Gray
aa526a3225 Fix bug where clearing the entered value would lose the selected application 2014-12-19 22:14:54 +00:00
Hadi Nategh
6138698b50 Add focus back to search input field after clicking on cross icon 2014-12-19 14:15:28 +00:00
Hadi Nategh
2021a8227e Fix nm_popup dialog does not display full content of button's label 2014-12-19 13:52:57 +00:00
Hadi Nategh
9e768dcaac Stop taglist's ancestor change event from bubbling on taglist 2014-12-16 17:06:42 +00:00
Hadi Nategh
0f32084f8d Bind onchange handlers of taglist options only to magicsuggest selectionchange, avoid unwanted triggered inputWidget parent change 2014-12-16 14:22:54 +00:00
Nathan Gray
bf89266ddc Only require one radiobox to be set, checked by ID 2014-12-15 20:54:30 +00:00
Ralf Becker
cc71329be0 fix categories in admin sometimes change color after search 2014-12-15 17:46:21 +00:00
Nathan Gray
4d34079576 Some more type checking before use to avoid errors 2014-12-11 18:02:08 +00:00
Ralf Becker
36699ed54b fix javascript error stalling Home for _val===undefined 2014-12-11 17:02:52 +00:00
Ralf Becker
012eee4594 fix javascript error stalling Home for _val===undefined 2014-12-11 16:59:46 +00:00
Nathan Gray
3474836244 Fix files selected from filemanager before entry is saved do not show in link list until entry is saved. 2014-12-10 17:58:42 +00:00
Hadi Nategh
dec43dd938 Fix typo from commit #49813 2014-12-10 15:59:34 +00:00
Hadi Nategh
a94f892219 Fix mobile framework popup not showing up the close botton 2014-12-10 15:53:28 +00:00
Ralf Becker
e2ad7fe20d * all apps: custom field attribute length only sets visible length, to set maximum length specify rows=1 2014-12-10 14:35:08 +00:00
Hadi Nategh
be3dff7c30 Implement framework specific get_excessHeight to be able to calculate excess height correctly for each framework window 2014-12-09 16:07:51 +00:00
Hadi Nategh
dfe03c8531 Resize the initial resize after everthing is loaded immediately 2014-12-09 11:20:38 +00:00
Nathan Gray
323d276fa6 Slight performance improvement on rendering elements with many children. 2014-12-08 20:38:48 +00:00
Nathan Gray
6eb5fead04 Fix multiselect/taglist values not properly set if value is an object instead of an array
- Fix to handle strings and nulls too
2014-12-08 20:01:15 +00:00
Nathan Gray
68151ad8e7 Fix multiselect/taglist values not properly set if value is an object instead of an array 2014-12-08 18:14:00 +00:00
Hadi Nategh
0607b60bc9 Set a timeout to window resizer to make sure this happens after other resize events, hopefully fixes the timing issue 2014-12-08 17:04:41 +00:00
Ralf Becker
052a1e8d9f do NOT add default placeholder-action of "add", if there is no such action, stalls new apps using nextmatch by default 2014-12-08 15:58:22 +00:00
Ralf Becker
dbdb0b440d missing translation of blur text in textbox 2014-12-08 15:57:06 +00:00
Ralf Becker
173192f879 remove 0=off in NM column-selection, to show empty-label "Refresh" instead 2014-12-08 13:16:51 +00:00
Hadi Nategh
8203d5f695 Use appHeader outerHeight for resize calcualtion 2014-12-08 12:24:21 +00:00
Hadi Nategh
ee6754b75c Take AppboxHeader into account for dialog resize height calculation 2014-12-08 10:51:34 +00:00
Hadi Nategh
1869e94f84 Popup resize handler enhancement:
- Fix multi-line textbox resizing
- Introduce tab_height to tab widget and remove extra height set on tab containers children
- Let mail compose uses its own resize handling as it deals with some special resizing
2014-12-05 17:29:41 +00:00
Hadi Nategh
14230d10f7 Make sure there's string to be replaced 2014-12-05 11:04:42 +00:00
Ralf Becker
9b5c68f743 hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager 2014-12-05 08:59:51 +00:00
Hadi Nategh
e8d1c874e6 Implement resize handler callback for widget in order to resize widget properly after the window size changes 2014-12-04 16:38:34 +00:00
Hadi Nategh
b4ad7f8543 Bind swipe handler on grid view in order to be able to select nm rows on touch devices via swipe left/right 2014-12-04 16:35:17 +00:00
Nathan Gray
46bcd3df8a Automatically set focus to first input 2014-12-03 23:43:34 +00:00
Nathan Gray
a2e0e45a64 Avoid invalid characters in DOM IDs.
Fixes missing comments, occasional errors in link comments.
2014-12-03 22:14:03 +00:00
Nathan Gray
ae257d8c98 Set focus to first input when loading a template into dialog 2014-12-03 22:11:24 +00:00
Nathan Gray
2eb7795061 Fix missing translation on Add current 2014-12-03 17:53:40 +00:00
Nathan Gray
e06e8d4c32 Fix sorting, needed to turn off order by branch. 2014-12-03 16:23:21 +00:00
Ralf Becker
e4ac846d2a add blur attribute to date-widget 2014-12-03 16:23:10 +00:00
Nathan Gray
65a9b4c79c Avoid errors if getWidgetById() is called on a cleared widget / template 2014-12-03 00:16:39 +00:00
Nathan Gray
fb4482afe6 Some more width for custom field textboxes so they're not so small 2014-12-02 22:37:15 +00:00
Ralf Becker
4d80104403 allow to disable date widget with set_readonly on run-time 2014-12-02 17:19:13 +00:00
Nathan Gray
fc66bfec63 Fix auto-selection of last used app (broken r48959) 2014-12-01 17:05:33 +00:00
Ralf Becker
8a9657541d moving egw_openWindowCentered() to egw(window).openPopup() 2014-12-01 10:45:24 +00:00
Nathan Gray
f3c3fedf32 If the current application does not own the template, load the javascript for the current application and the application owning the template. (Gets actions working reliably in home) 2014-11-28 17:34:38 +00:00
Ralf Becker
010054bd97 fixed not working view_range (max. number of buttons to show incl. label) 2014-11-28 14:45:45 +00:00
Nathan Gray
8c5ea8eba9 More Home progress:
- Remove app header from addressbook
 - Always load app's CSS for single entry
2014-11-27 18:31:08 +00:00
Hadi Nategh
7c3f8d10d6 Missing code from commit r49612 2014-11-27 17:29:44 +00:00
Ralf Becker
5bed0cdf77 fix not working dragging images into CKEditor of mail compose in FireFox 2014-11-27 13:44:50 +00:00
Nathan Gray
dd0e95d232 More Home progress (favorites):
- Put show header button into header
 - Fix mixing columns between multiple favorites on home
 - Fix changing column spacing when hiding header
 - Fix add favorite from context menu didn't load properly
2014-11-25 21:50:42 +00:00
Nathan Gray
b967548cb5 More Home progress:
- Favorite now hides whole header
 - Link thumbnail now just setting width to avoid distortion
 - File thumbnail no longer limited, using full size thumbnail from site configuration or widget width, whichever is smaller
 - Fix links were using edit instead of view
2014-11-25 00:45:14 +00:00
Nathan Gray
f8b09fa7e8 Stop trying to set dataset directly, caused error in Firefox 2014-11-25 00:41:56 +00:00
Nathan Gray
fd191888bb Fix missing empty label when no value in readonly selectbox 2014-11-24 19:58:59 +00:00
Ralf Becker
0da238155c dont allow to insert html 2014-11-21 11:18:42 +00:00
Hadi Nategh
3e6a7a7ba4 Make sure the removing class of progress dropdown list is happening before customized onFinish called by et2_call, because it may loses its context after call 2014-11-21 08:58:58 +00:00
Nathan Gray
44595fe931 - Apply user's gantt sort preference
- Add sort by end date preference
2014-11-19 22:57:39 +00:00
Nathan Gray
b626fd1a88 Home progress:
- Fix missing size for new widgets
- Different styling for single entries
- Custom template for single addressbook entries
- Hideable nextmatch header
2014-11-18 23:46:58 +00:00
Nathan Gray
08708664b3 If one application uses a template from another, notify the application that loaded the template, not just the application that owns it. 2014-11-18 23:10:41 +00:00
Nathan Gray
370577e763 Make sure color doesn't get paths confused, be more specific about it 2014-11-18 22:42:48 +00:00
Nathan Gray
e75c584aad Fix resize dimensions off by padding amount (just added padding to resize grid) 2014-11-18 15:56:40 +00:00
Nathan Gray
ece1ccff43 Fix a bug in automatic drag and drop -> link support detection that gave DnD to apps that couldn't handle it. 2014-11-17 20:28:21 +00:00
Ralf Becker
275d733c22 fix customfield type "button" without any value stalls whole addressbook 2014-11-14 12:38:40 +00:00
Ralf Becker
e923931fda catch exception from unparsable date and display it empty instead 2014-11-12 19:23:47 +00:00
Nathan Gray
872a11bfdb Home progress:
- Fix some incorrect sizes on new portlets
- Fix mainscreen message
- Base for using other app favorites on home screen
2014-11-11 23:07:35 +00:00
Nathan Gray
af1bf822a9 Provide missing context, fixes unwanted unregister of all callbacks instead of just the ones for that nextmatch 2014-11-11 22:51:54 +00:00
Nathan Gray
4ed5c57364 Fix link list broken by r49319. 2014-11-10 16:24:09 +00:00
Nathan Gray
cbbb0bf39f Some WIP on getting home working again 2014-11-06 21:40:03 +00:00
Nathan Gray
f0d4523de1 Add support for link change handler, better support for not saved links 2014-11-06 21:31:11 +00:00
Nathan Gray
2232895b39 Let color be cleared (null wouldn't be returned) 2014-11-05 23:24:02 +00:00
Ralf Becker
026e93a0c4 use template base url from initial template, to continue using webdav, if that was loaded via webdav 2014-11-05 13:07:13 +00:00
Hadi Nategh
975a3fd2d5 Fix placeholder in taglist 2014-11-04 13:18:20 +00:00
Nathan Gray
9a7d087824 Fix missing icon for link action 2014-10-30 22:14:07 +00:00
Ralf Becker
1c6524cf0b remove upper limit of number of characters at last domain-part to allow new domain-names like .hamburg 2014-10-30 13:20:04 +00:00
Nathan Gray
c917cbd865 Link enhancements:
- Add confirm dialog to delete link
- Log unlinking files into historylog
2014-10-29 23:03:35 +00:00
Hadi Nategh
94a8b6e87b Get taglist working properly again with updated magicsuggest 2014-10-29 11:07:35 +00:00
Nathan Gray
2d149394ae * Add clear button to nextmatch search box for Firefox 2014-10-28 16:37:55 +00:00
Ralf Becker
4acbbf81c1 fix IDE warnings 2014-10-23 12:47:51 +00:00
Ralf Becker
5549dd1fd2 * InfoLog: "No filter" favorite was not resetting filters anymore 2014-10-23 12:42:24 +00:00
Nathan Gray
29f84a83f9 If link is missing needed information so it won't work, don't look like a link 2014-10-21 16:32:47 +00:00
Hadi Nategh
9b05ccc4ad Show both date and time for before today time.
- Fix mails in the list not showing date and time under date column.
2014-10-20 13:27:44 +00:00
Hadi Nategh
96d9f14d12 More progress of commit r49059 2014-10-20 11:41:59 +00:00
Nathan Gray
24b5779210 Better styling for planned times so early tasks can be seen too. 2014-10-17 17:17:23 +00:00
Ralf Becker
15bc2f3ade change tab loading again to initialise visible tab immediatly and gard et2_color / jPicker against being initialised twice 2014-10-17 11:37:15 +00:00
Nathan Gray
bdecd27961 Show planned times on gantt chart while editing real times 2014-10-15 22:22:49 +00:00
Nathan Gray
ce65365049 * Support export Gantt chart to PDF and PNG using DHMTLX's service 2014-10-14 22:58:56 +00:00
Ralf Becker
83b6706964 * Timesheet: fix (un)setting project for adding, editing and save&new timesheets
- fixed et2_widget_textbox to update options.blur in set_blur(), as it is used in getValue, also updating input
- fixed et2_widget_linkentry to trigger change event, after reacting to click on X in search
- fixed timesheet to handle ts_project and pm_id in bo (ts_project is always stored in db for searching, even if it contains no custom project name)
- fixed not working change of project in an existing timesheet
- fixed unsetting of project
2014-10-14 15:58:37 +00:00
Hadi Nategh
b542033f8d Make sure the class name used as identifier has no invalid chars 2014-10-13 10:06:30 +00:00
Ralf Becker
026347ba2f disabling immediate direct call to loadingFinished() for selected tab seems to have no recognisable impact
and some widgets, eg. color-picker have problems with calling doLoadingFinished twice
2014-10-13 09:07:23 +00:00
Hadi Nategh
b0e4655eff Give widget color dialog unique class in order to identify it later for binding click handler to picker span.
-Fix the bug, color picker opens other colorpickers dialog which are in the same template.
2014-10-10 12:40:41 +00:00
Ralf Becker
178bca7f7a 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:02:59 +00:00
Nathan Gray
2ca305b5cc 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:27:39 +00:00
Nathan Gray
5e9676e770 Fix broken relative width calculation after r48947. 2014-10-08 17:10:58 +00:00
Ralf Becker
76dbe08207 * all apps: custom fields of type "float" allow to specify maxlength,size,min,max comma-separated in length field 2014-10-08 10:45:55 +00:00
Ralf Becker
3edc0f3080 revert r48945, as it break for some conditions 2014-10-08 09:07:01 +00:00
Ralf Becker
1c9a14159e * 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:01:51 +00:00
Nathan Gray
7fe36b289b Fix relative columns width preference not saved as relative width 2014-10-07 22:59:55 +00:00
Nathan Gray
7111e0bb83 Change email regex to allow email addresses of the form "Ralf Becker <rb@stylite.de" 2014-10-07 22:27:27 +00:00
Nathan Gray
e674c5aa5b Partially revert r48812, seems it didn't help entry widgets but it did cause problems with preferences 2014-10-07 21:16:18 +00:00
Hadi Nategh
f5a71a635f Complement to commit 48899, fixes error in IE11 2014-10-07 11:39:34 +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
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
b7229cdcdf Make sure options are available before getting access to its properties 2014-10-06 15:47:22 +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
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
Hadi Nategh
cc9dfd0043 Implement dropdown list style for file upload 2014-10-01 14:19:36 +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
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
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
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
cc00102ef5 Make sure there's an app set, otherwise set it from top of the list 2014-09-26 09:22:07 +00:00