Commit Graph

2098 Commits

Author SHA1 Message Date
Hadi Nategh
320816b4cb Do not show thumbnail indicator for image widget expose view 2015-03-24 18:16:10 +00:00
Hadi Nategh
fe9f480212 Prepare description widget for mime handling
-Add mime_data attribute representing hash for data stored on service-side with egw_link::(get|set)_data()
-Do not show thumbnail indicator for expose view 
-Bind click handler when it is neccessary to handle a link
2015-03-24 18:08:57 +00:00
Nathan Gray
d3c7e21144 After we find a match, no need to keep looking. 2015-03-24 15:23:28 +00:00
Nathan Gray
99657a094b After we find a match, no need to keep looking. 2015-03-24 15:18:19 +00:00
Hadi Nategh
89a9ea4bb1 Some more WIP of attachment mime handling 2015-03-24 11:40:06 +00:00
Ralf Becker
6f2a7ca40c fix sub-template of modified etemplate (WebDAV Url) wont work, as cache-buster / timestamp got added without download prefix, causing WebDAV to not find sub-template, because it treats everything but "?download" as part of URL 2015-03-24 10:52:43 +00:00
Ralf Becker
14cd9dfb34 fix sub-template of modified etemplate (WebDAV Url) wont work, as cache-buster / timestamp got added without download prefix, causing WebDAV to not find sub-template, because it treats everything but "?download" as part of URL 2015-03-24 10:52:14 +00:00
Hadi Nategh
cf76bf2df5 Make query callback parameters more useful (& documented) by passing the link widget instead of response 2015-03-23 13:27:25 +00:00
Ralf Becker
f275cbe52f empty-label was not translated if set via (legacy-)options 2015-03-20 19:26:14 +00:00
Ralf Becker
dff07e68a5 empty-label was not translated if set via (legacy-)options 2015-03-20 19:25:51 +00:00
Ralf Becker
8c8e61630d allow to submit partial content by passing a container(-widget) to etemplate2.submit()
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 15:39:35 +00:00
Ralf Becker
63a7af621d allow to submit partial content by passing a container(-widget) to etemplate2.submit()
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 02:12:33 +00:00
Ralf Becker
caa1f2247d onkeypress handler for textbox and number widget 2015-03-19 21:21:29 +00:00
Ralf Becker
21aa3eb325 onkeypress handler for textbox and number widget 2015-03-19 21:21:03 +00:00
Ralf Becker
aa930e75d6 fix javascript error stalling eT2 rendering, if option label is null eg. because it could not be json encoded because of non-utf8 chars in it 2015-03-19 10:54:49 +00:00
Ralf Becker
66ecee59a5 fix javascript error stalling eT2 rendering, if option label is null eg. because it could not be json encoded because of non-utf8 chars in it 2015-03-19 10:54:29 +00:00
Ralf Becker
12c308cd71 backport of several eT2 fixes from work on ranking / result-service app:
r52153: implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table
r52163: 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
r52175: there should be no validation for disabled widgets
r52176: $cont is NOT root but current name-space in old eTemplate, leaving now identical $_cont for now
r52194: fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]"
r52195: fixed not run validation on server-side for templates included via template tag
r52196: implement formatting of numbers in read-only widget
2015-03-18 22:16:15 +00:00
Ralf Becker
fac9f796a8 implement formatting of numbers in read-only widget 2015-03-18 22:04:47 +00:00
Ralf Becker
7269552342 fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]" 2015-03-18 21:30:22 +00:00
Hadi Nategh
1108e0b30d Focus on the first input field only if the field is empty for mobile theme 2015-03-18 16:56:39 +00:00
Hadi Nategh
feae7b3638 Focus on the first input field only if the field is empty for mobile theme 2015-03-18 16:55:53 +00:00
Ralf Becker
cc851bb6e8 $cont is NOT root but current name-space in old eTemplate, leaving now identical $_cont for now 2015-03-17 23:15:17 +00:00
Ralf Becker
41671d733a there should be no validation for disabled widgets 2015-03-17 22:00:54 +00:00
Nathan Gray
b68d7f7274 Include lettersearch when forcing preferences 2015-03-17 18:24:50 +00:00
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
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
Ralf Becker
d9f45ae414 add missing "rawstring" type to et2_validTypes 2015-03-11 15:06:21 +00:00
Ralf Becker
25b3493767 add missing "rawstring" type to et2_validTypes 2015-03-11 15:06:06 +00:00
Ralf Becker
2e094c6f76 new attribute type "rawstring" not doing html-entity decoding used just for "value" attribute 2015-03-11 12:13:32 +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
b1dbe2ab38 Apply duration settings to gantt columns 2015-03-10 21:11:36 +00:00
Nathan Gray
5ffdc7b2bb Apply duration settings to gantt columns 2015-03-10 21:05:57 +00:00
Ralf Becker
4c82f2cee2 fixed account-selection-type "primary_group" to only show membership-groups by default 2015-03-10 16:06:22 +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
564f958fbb Make sure there is a property before triger to delete it, because IE complains about an undefiend object 2015-03-10 10:28:56 +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
74135e104a Fix missing column filters on first load 2015-03-09 15:33:10 +00:00
Nathan Gray
26aa7b3438 Fix missing column filters on first load 2015-03-09 15:31:30 +00:00
Hadi Nategh
c3b75cdbf4 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:55:28 +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
Nathan Gray
83afae3960 Fix some bugs causing missing translations in home 2015-03-04 16:48:37 +00:00
Nathan Gray
a957ac9ea2 Fix some bugs causing missing translations in home 2015-03-04 16:46:12 +00:00
Nathan Gray
d703403f52 Round progress to nearest 10%, as all the apps do 2015-03-04 00:21:25 +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
cc71dba657 Fix the splitter percentage size to 2 trialing decimals 2015-03-03 13:50:46 +00:00
Hadi Nategh
854e8b123d Fix the splitter percentage size to 2 trialing decimals 2015-03-03 13:50:11 +00:00
Hadi Nategh
ea610d7338 Make sure the prefSize gets set in splitter 2015-03-03 11:45:01 +00:00
Hadi Nategh
0ffad430f0 Make sure the prefSize gets set in splitter 2015-03-03 11:43:48 +00:00
Nathan Gray
97acfb8081 For saving links use similar file download code as filemanager uses, fixes unwanted navigation 2015-03-02 17:22:06 +00:00
Hadi Nategh
c481d5dd62 Save splitter preferd size base on percentage instead of pixel, because user may switch between different screen with different resolution 2015-03-02 15:17:01 +00:00
Nathan Gray
35fc079c7f * Additional columns for Gantt chart 2015-02-27 17:31:44 +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
479f917c09 Build expose gallery only for filemanager nm, other nms may have expose view but not neccessary would be a gallery (eg. resources) 2015-02-26 12:54:59 +00:00
Hadi Nategh
caf5a69a8f Give enough delay to toolbar's drag action in order to avoid confusion between dragging and clicking 2015-02-26 09:22:11 +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
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
55ca892f70 Fix image widget calling expose view with wrong value 2015-02-25 13:08:50 +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
76091a2e07 Remove toolbar prefs correction code 2015-02-24 16:58:37 +00:00
Hadi Nategh
7e692945cf Avoid collision between datepicker calendar dialog and date input field, try to use left or right free spaces 2015-02-24 16:56:49 +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
Nathan Gray
29d0f737d5 Printing improvements 2015-02-23 18:07:29 +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
0ff1738255 * Safari: fix security warning caused by auto-complete when submitting from https to about:blank 2015-02-20 19:05:17 +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
8752f10877 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 12:00:22 +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
Ralf Becker
0fbe4b7ae7 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 22:04:24 +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
e906d4f67a Fix link to no longer pre-selecting last used app 2015-02-17 16:29:05 +00:00
Nathan Gray
286cca54e1 Fix link to no longer pre-selecting last used app 2015-02-17 16:27:29 +00:00
Hadi Nategh
5fe98953a1 Fix splitter widget dock to the fullSize if there is no size preference yet 2015-02-17 12:52:49 +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
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
Hadi Nategh
dbdc14e376 Special handling when printing for splitter 2015-02-12 12:44:22 +00:00
Ralf Becker
5a13ccbbfc remove old form button stuff, as it get triggered again now that et2_container is a form 2015-02-12 12:22:15 +00:00
Ralf Becker
64b4ca3b5a Change media logic to also support mime=false 2015-02-12 08:36:42 +00:00
Ralf Becker
aff689e054 * All apps: improved printing: CRM view and given number or rows
r51716: Extend printing support to work with multiple etemplates on the printed tab
r51717: Better handling of printing of various row quantities:
- print < loaded row count
- print > loaded row count
- print all rows
2015-02-12 08:06:50 +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
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