Commit Graph

4676 Commits

Author SHA1 Message Date
Hadi Nategh
26057f6848 Fix file upload from file_selection dialog not working in IE and Safari 2015-03-17 17:27:00 +00:00
Ralf Becker
387d5053dd stop etemplate_widget_template::instance from returning a stdClass object for a not found template after content-expanding, leading to a fatal error in etemplate_widget line 338 2015-03-17 14:07:20 +00:00
Ralf Becker
3d05a43417 implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table 2015-03-17 09:44:14 +00:00
Nathan Gray
984bbf4d44 Include lettersearch when forcing preferences 2015-03-16 22:28:18 +00:00
Nathan Gray
5a4ed19e73 Make query callback parameters more useful (& documented) by passing the link widget instead of response 2015-03-12 16:22:45 +00:00
Hadi Nategh
1f177aace4 Change category icon in all apps 2015-03-12 12:39:49 +00:00
Ralf Becker
25b3493767 add missing "rawstring" type to et2_validTypes 2015-03-11 15:06:06 +00:00
Ralf Becker
f3869d366e new attribute type "rawstring" not doing html-entity decoding used just for "value" attribute 2015-03-11 12:12:52 +00:00
Nathan Gray
5ffdc7b2bb Apply duration settings to gantt columns 2015-03-10 21:05:57 +00:00
Hadi Nategh
1c8b6a5976 Do not log toolbar widget content in error log 2015-03-10 15:55:29 +00:00
Ralf Becker
60f1ca4033 fixed account-selection-type "primary_group" to only show membership-groups by default 2015-03-10 15:40:27 +00:00
Hadi Nategh
0e4cb1bdb6 Make sure there is a property before triger to delete it, because IE complains about an undefiend object 2015-03-10 10:27:33 +00:00
Nathan Gray
26aa7b3438 Fix missing column filters on first load 2015-03-09 15:31:30 +00:00
Hadi Nategh
3346821c5d Give a type button to toolbar's button to not be able to do auto submission, because of our form tag 2015-03-05 14:54:47 +00:00
Klaus Leithoff
a27d5963c5 pending translations from our translation server 2015-03-05 09:04:21 +00:00
Nathan Gray
a957ac9ea2 Fix some bugs causing missing translations in home 2015-03-04 16:46:12 +00:00
Nathan Gray
fa792cd6ae Round progress to nearest 10%, as all the apps do 2015-03-04 00:19:41 +00:00
Hadi Nategh
95c8bcb2c4 Fix categories multi-checkboxes flick on mouseover 2015-03-03 15:28:54 +00:00
Hadi Nategh
854e8b123d Fix the splitter percentage size to 2 trialing decimals 2015-03-03 13:50:11 +00:00
Hadi Nategh
0ffad430f0 Make sure the prefSize gets set in splitter 2015-03-03 11:43:48 +00:00
Nathan Gray
b4671c6460 For saving links use similar file download code as filemanager uses, fixes unwanted navigation 2015-02-27 17:20:30 +00:00
Nathan Gray
60e13cd679 Documentation update to be a little more clear about 'none' option 2015-02-26 16:16:00 +00:00
Hadi Nategh
6c87b988f5 Give enough delay to toolbar's drag action in order to avoid confusion between dragging and clicking 2015-02-26 09:21:24 +00:00
Nathan Gray
9ccb5f7a14 Change the document thumbnails to mark with mimetype icon 2015-02-25 18:07:21 +00:00
Hadi Nategh
32596fb0e0 Implement widget historylog resize handler and fix historylog template in all apps 2015-02-25 16:30:49 +00:00
Hadi Nategh
7d7430c0a6 Save splitter preferd size base on percentage instead of pixel, because user may switch between different screen with different resolution 2015-02-25 11:18:26 +00:00
Hadi Nategh
9c23cb33f4 Fix image widget calling expose view with wrong value 2015-02-25 11:12:47 +00:00
Nathan Gray
87b53d10b8 Store column selection in implicit preference 2015-02-24 20:07:04 +00:00
Hadi Nategh
73dfdc4cf4 Build expose gallery only for filemanager nm, other nms may have expose view but not neccessary would be a gallery (eg. resources) 2015-02-24 17:45:57 +00:00
Hadi Nategh
b3689526dd Avoid collision between datepicker calendar dialog and date input field, try to use left or right free spaces 2015-02-24 15:51:30 +00:00
Nathan Gray
68c08697c7 Some gantt changes:
- For project elements, status should be as in element edit (completion %)
- Wrap columns in a div with class based on field, for column specific styling
- Give resources column some hover CSS to display all contents
2015-02-23 22:16:25 +00:00
Hadi Nategh
d8ec75d063 Make sure sortable gets send the request to server with correct menuaction, as jsonq always queued the request from home and that may causes wrong redirection. e.g. sortable grid inside an iframe of an application (mail.sieve) 2015-02-23 11:27:22 +00:00
Hadi Nategh
de79b1eaa3 Remove toolbar prefs correction code 2015-02-23 08:23:42 +00:00
Ralf Becker
370e503dab * Safari: fix security warning caused by auto-complete when submitting from https to about:blank 2015-02-20 19:04:58 +00:00
Nathan Gray
904bc8b19f Better row limiting by using CSS instead of grid's average height 2015-02-19 17:16:39 +00:00
Hadi Nategh
212e98ccdb Fix in mobile theme not able to dismiss the context menu:
- touch and open entries and swip (left/right) over any rows on the next match list will dismiss the context menu
2015-02-19 11:45:05 +00:00
Nathan Gray
b1b1269e0e Entry type / transformer changes
- better support for entry-types in nextmatch-customfilter
- if transformer changes widget type, run new widget's beforeSendToClient
2015-02-18 23:04:59 +00:00
Nathan Gray
12b8dc1ed4 Add label attribute 2015-02-18 23:02:35 +00:00
Nathan Gray
5318ebdb21 - Fix JS error when selecting no columns
- Fix not including selector width caused undesired column resizing
2015-02-18 17:20:50 +00:00
Nathan Gray
529d154514 * Add ability to select columns to be displayed in gantt chart 2015-02-18 17:03:21 +00:00
Nathan Gray
ae0c757ea2 Fix some nextmatch custom field bugs:
- no custom fields in nm rows when there were none explicitly selected
- Custom field column shown even if none were defined
2015-02-17 18:02:10 +00:00
Nathan Gray
286cca54e1 Fix link to no longer pre-selecting last used app 2015-02-17 16:27:29 +00:00
Ralf Becker
39115a0985 fixed not shown custom-fields in infolog 2015-02-17 14:35:40 +00:00
Hadi Nategh
3ead887bf7 Fix splitter widget dock to the fullSize if there is no size preference yet 2015-02-17 12:50:55 +00:00
Ralf Becker
d432642f1a add encoding, eTempalte2 DTD and svn propset svn:keywords Id to all eTemplates 2015-02-17 09:55:05 +00:00
Hadi Nategh
bd7080dce6 Missing commit from commit #51809 2015-02-17 09:11:38 +00:00
Ralf Becker
18fafed2a4 pending translations from our translation server 2015-02-17 08:52:58 +00:00
Ralf Becker
e87c0dfb1a * ProjectManager/PostgreSQL: fix SQL error in project-list caused by new resources column
fix columns containing commas as part of function calls getting split incorrect in fix_group_by_columns
2015-02-16 10:22:23 +00:00
Ralf Becker
3ec789adfd added more docu and some constants with sane names 2015-02-13 09:40:50 +00:00
Ralf Becker
17f83d89c7 add modification time of files to thumbnail url to allow longer caching, also set_time_limit(0) for pdf thumbnails, as they might take > 90s 2015-02-13 08:27:08 +00:00
Nathan Gray
e1e870c174 Add initial support for PDF thumbnails 2015-02-12 18:24:47 +00:00
Nathan Gray
8926574a35 Change media logic to also support mime=false 2015-02-11 21:08:53 +00:00
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
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
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
Nathan Gray
fa014edca0 Special handling when printing for splitter 2015-02-10 23:03:35 +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
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
cdb1f042a2 Make the autocomplete iframe helper invisible 2015-02-10 13:15:48 +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
34d5ffea62 Fix resize method for templates with height bigger than screen.availHeight 2015-02-09 11:28:20 +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
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
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
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
c9b98028ef Do not add conrtrols class if it's on slideshow mode 2015-02-03 12:18:43 +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
e6e01758cc Make sure url is set, prevents errors with some dialogs 2015-02-02 23:28:27 +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
af355330d0 Revert the autocomplete feature 2015-01-30 15:59:27 +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
7a81c7bfa4 mime icons for .css and .js, thanks to Pixelegg guys 2015-01-29 17:07:13 +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
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
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
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
c3a8f0d7c0 Fix etemplate2 clear instance broken by commit 51394 2015-01-26 14:32:39 +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
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
ad6f33d78b Support audio mime tyep for expose view, in order to play audio file 2015-01-23 15:52:00 +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
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
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
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
Ralf Becker
2e27d90d45 thumbnailer now accepts 4 parameters in following priority: thheight, thwidth, thminsize and old thsize:
- thheight ensures a fixed height
- thwidth ensures a fixed width
- minsize ensures a minimum size
- thsize ensures a maximum size
2015-01-21 15:46:01 +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
Ralf Becker
0f8d251fc4 pending French translations from our translation server 2015-01-21 14:12:43 +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
Ralf Becker
d3d0edaea3 let framework import magicsuggest and blueimp-gallery inline 2015-01-20 10:33:22 +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
Nathan Gray
d633ce970a Don't try to transform missing templates, it doesn't end well. 2015-01-16 18:10:30 +00:00
Hadi Nategh
f8e9911743 Serach js files for new phrases for translation 2015-01-15 14:56:23 +00:00
Hadi Nategh
4fa44e6482 Reorder and add missing phrases in lang files 2015-01-15 14:53:34 +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
325a471131 moving vfsMime icon size to etemplate, only overwriting it for thumbnail more specific in filemanager for Pixelegg template as they limit all images in NM widget 2015-01-13 10:45:10 +00:00
Ralf Becker
6bd93b25fb fixed phrase 2015-01-12 16:02:13 +00:00
Ralf Becker
86eba3f137 for nextmatch filters we need to encode global nextmatch definition too 2015-01-12 14:10:40 +00:00
Ralf Becker
f15a37f368 always run fix_encoded_options to cope with customfields of type select got resorted by Firefox 2015-01-12 12:53:50 +00:00
Ralf Becker
157230ba57 pending translations from our translation server 2015-01-12 11:54:05 +00:00
Ralf Becker
989adb3fc3 some missing 128x128 icons from LGPL Crystal Clear icon theme from Everaldo Coelho downloaded from http://commons.wikimedia.org/wiki/Crystal_Clear 2015-01-11 17:34:55 +00:00
Ralf Becker
54e3db4c7b some missing 128x128 icons from LGPL Crystal Clear icon theme from Everaldo Coelho downloaded from http://commons.wikimedia.org/wiki/Crystal_Clear 2015-01-11 17:10:58 +00:00
Ralf Becker
f44d73830e some missing 128x128 icons from LGPL Crystal Clear icon theme from Everaldo Coelho downloaded from http://commons.wikimedia.org/wiki/Crystal_Clear 2015-01-11 13:24:29 +00:00
Ralf Becker
5b2baa7f44 128x128 GPLv2 mime icons from https://github.com/eagerterrier/MimeTypes-Link-Icons 2015-01-11 13:04:06 +00:00
Ralf Becker
baf79766a6 if exif extension is available, use it to fetch thumbnails from jpeg or tiff files 2015-01-10 13:15:17 +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
882532d891 Give more room for input field in duration widget 2015-01-09 15:01:36 +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
Hadi Nategh
9dea759bad Missing styling from commit #51126 2015-01-05 14:37:26 +00:00
Nathan Gray
8fb1418b3b Some thumbnail enhancements:
- Allow client to cache thumbnails for 5 minutes, makes scrolling with tile view more bearable
- If thumbnail size is 64px or larger, extract & use thumbnail from opendocument files, makes them look better in tile view
2015-01-02 19:43:50 +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
cc0aad2d6b Add span.et2_button_text to be able to give button style to span 2014-12-18 09:37:19 +00:00
Hadi Nategh
76bf4f31dc Fix a tags in nextmatch take fullWidth of parent and causing not be able select next match row on free space area 2014-12-17 16:58:09 +00:00
Ralf Becker
60f67bfff8 * all apps: preserving for current user unavailable categories (eg. private categories of other user) when editing entries 2014-12-17 13:58:15 +00:00
Hadi Nategh
6b8698baef Fix taglist lack of styling in jdots 2014-12-17 13:09:37 +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
Nathan Gray
da3d0d23c4 - Use link registry to open notification links
- Fix mark all notifications as read on popup close
2014-12-15 19:09:22 +00:00
Ralf Becker
cc71329be0 fix categories in admin sometimes change color after search 2014-12-15 17:46:21 +00:00
Hadi Nategh
81cc0f35f7 Convert ambiguous column to tablename.column name 2014-12-15 16:57:45 +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
Ralf Becker
0b8ad9798c set default thumbnail size to 64px and fix IDE warnings 2014-12-11 09:57:31 +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
Nathan Gray
afcad4b50f Set value to a new location using a prefix to avoid changing the original, should fix contact-templates 2014-12-10 00:07:23 +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
Ralf Becker
ecc9dece92 throw an exceptin with a more maningful message if a template does not contain a template tag with an id attribute matching template name, eg. it was forgotten to rename when customizing 2014-12-04 15:51:59 +00:00
Ralf Becker
cf9326391c document tooltip name "hint" for actions 2014-12-04 09:19:03 +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
681566471a Accept and process commands even if they're right at the beginning.
Fixes bug where commands at the start of content were not processed.
2014-12-03 19:58:59 +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
Ralf Becker
597e9b82ae remove no longer necessary resize from (old) eTemplate, as it is done now by egw.js for all popups 2014-12-03 07:34:30 +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
f7610cd6d6 do not validate vfs-widgets not returning a value, as it overwrites preserved values with null 2014-12-02 19:17:03 +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
Nathan Gray
bffa092efc Set textarea to get height from rows attribute 2014-12-01 16:09:40 +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
7f4f340efd Missing code from commit r49612 2014-11-27 17:31:03 +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
Ralf Becker
674fd0736a fix PHP Fatal error: Access to undeclared static property: customfields_widget::$non_printable_fields 2014-11-19 13:24:12 +00:00
Ralf Becker
7bfa13728d class var to enable/disable memory_usage reporting to error_log 2014-11-19 12:57:31 +00:00
Ralf Becker
c633e0033b * all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields 2014-11-19 12:20:59 +00:00
Ralf Becker
ca7bdb66a3 fix error introduced by previous commit 2014-11-19 09:22:52 +00:00
Ralf Becker
b10cf0a295 quiten permanent error_log on disabled cells and fixed IDE warnings 2014-11-19 08:53:17 +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
Ralf Becker
5eeac7093c use filemanager UI as UI for sharing directories 2014-11-18 12:55:32 +00:00
Ralf Becker
be66f13885 fix unknown modifier "n" warning caused by a "/" in replacement 2014-11-18 12:28:20 +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
08ab6679d2 try to increase/double prce.backtrack_limit no failure to preg_replace up to 1/4 of memory_limit
previous code was adding max 10 time 10000 to default limit of 1000000, which increased it by 10% max, given we have now a default memory_limit of 128M
2014-11-14 19:08:18 +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
8f713fe2f1 fix fatal error if customfields contains widget with no validation method --> nothing to validate / return 2014-11-13 09:28:22 +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
Ralf Becker
f3dd3c2c0b setting white-space:nowrap on et2_tabheader so tab-flags do not wrap into 2. line and remove no_wrap class from addressbook tab-widget, as it prevents wrapping of everything incl. content in individual tabs 2014-10-31 10:12:53 +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
16c902196d Switch to nextmatch and edit dialog for customfield list (missed files from #49147) 2014-10-22 20:11:31 +00:00
Hadi Nategh
d9b4480276 Keep toolbar actions in single line
-Fix mail display toolbar delete action jumps to second line
2014-10-22 08:50:10 +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
0722b0a328 Fix dnd helper stack order 2014-10-21 15:24:20 +00:00
Hadi Nategh
f61c898b86 Style images properly located inside drag's helper row 2014-10-20 14:07:38 +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
Ralf Becker
93bc0feb16 * Filemanager: fix since PHP 5.5.18 not longer working non-ascii chars in filenames, eg. German umlauts or accents 2014-10-18 12:17:17 +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
Hadi Nategh
dae1ce6554 Work in progress, standardization of dnd action helper styling for all apps 2014-10-17 16:34:14 +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
Nathan Gray
f099800b62 Prevent empty options being sent when selectbox is in a row.
Fixes unwanted numeric options in auto-repeat rows.
2014-10-14 16:43:47 +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