Commit Graph

4462 Commits

Author SHA1 Message Date
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
Ralf Becker
ece6094dc6 cache based on vfs-url of image not its path which could be a sharing url 2015-02-11 11:18:29 +00:00
Ralf Becker
8f4c4237ed cache based on vfs-url of image not its path which could be a sharing url 2015-02-11 11:06:01 +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
Hadi Nategh
44f7830f14 Make sure all labels are pre-wrapped
-Fix labels in nm do not show white-spaces
- Fix not displaying white-spaces of tracker description
2015-02-10 14:46:25 +00:00
Hadi Nategh
3fffe6f2ac Make sure all labels are pre-wrapped
-Fix labels in nm do not show white-spaces
2015-02-10 14:21:01 +00:00
Hadi Nategh
fc503e285e Make the autocomplete iframe helper invisible 2015-02-10 13:17:02 +00:00
Hadi Nategh
cdb1f042a2 Make the autocomplete iframe helper invisible 2015-02-10 13:15:48 +00:00
Ralf Becker
a964f2e8f2 - Allow app attribute to be specified in the template file, not just at run-time
- Use app attribute to fix infolog customfields in addressbook CRM view
2015-02-10 09:38:15 +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
dd30ac28f4 - Allow app attribute to be specified in the template file, not just at run-time
- Use app attribute to fix infolog customfields in addressbook CRM view
2015-02-10 00:13:31 +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
66c6e5203e Fix toolbar broken style after jquery update 2015-02-06 12:10:01 +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
Ralf Becker
1743f9c980 allways create thumbnail, as returning default (now 128px big) thumbnail is more wired 2015-02-06 10:46:38 +00:00
Ralf Becker
78a5f0fe05 allways create thumbnail, as returning default (now 128px big) thumbnail is more wired 2015-02-06 10:46:22 +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
Hadi Nategh
e42c5e3b02 Fix toolbar broken style after jquery update 2015-02-05 11:52:27 +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
Hadi Nategh
2554c30da7 Fix security error about autocomplete form happens only in FF 2015-02-04 09:40:52 +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
Nathan Gray
3ec43f0421 Update favorite GET fallback to use new style of favorite 2015-02-02 17:19:20 +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
Ralf Becker
51f6ee7f62 mime icons for .css and .js, thanks to Pixelegg guys 2015-01-29 17:07:36 +00:00
Ralf Becker
7a81c7bfa4 mime icons for .css and .js, thanks to Pixelegg guys 2015-01-29 17:07:13 +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
456ea984c6 Clean up debug 2015-01-26 17:35:54 +00:00
Nathan Gray
a644255c78 Clean up debug 2015-01-26 17:34:47 +00:00
Nathan Gray
6b01a18960 Clean up debug 2015-01-26 17:30:10 +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
70b603ac77 moving VFS API classes into a namespaced PSR4 autoloadable structure:
- PSR4 autoloader exists beside our old autloader to support old as well as new structure until everything is ported over
- moved ported API stuff from phpgwapi to new api directory (idea is phpgwapi become a compatibility layer for old code, while we only port selected stuff to new api directory)
- namespaces use prefix "EGroupware", then (first letter capitalised) app-name or "Api", sub-system names like "Vfs" or for apps "Ui", "Bo, "So" and at least class name starting with a capital letter and without understores eg. "StreamWrapper" plus just ".php"
- examples:
  + egw_vfs in phpgwapi/inc/class.egw_vfs.inc.php --> EGroupware\Api\Vfs in api/src/Vfs.php
  + sqlfs_stream_wrapper in phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php --> EGroupware\Api\Vfs\Sqlfs\StreamWrapper in api/src/Vfs/Sqlfs/StreamWrapper.php
  + sqlfs_utils in phpgwapi/inc/class.sqlfs_utils.inc.php --> EGroupware\Api\Vfs\Sqlfs\Utils in api/src/Vfs/Sqlfs/Utils.php
- api directory is no a new svn module but exists (like home) as sub-directory under base egroupware module
2015-01-26 09:15:07 +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