Commit Graph

4476 Commits

Author SHA1 Message Date
Nathan Gray
bd51cb4a08 Add support for multi-part history values into historylog 2015-04-01 19:35:35 +00:00
Nathan Gray
1deb3d4f34 Selectbox options kept on the client side
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
Hadi Nategh
5c944330c5 Expose link widget WIP:
- Implement expose view for link-string widget
- Adapt link-string widget, and other widgets which are using expose to download_href link
2015-04-01 16:51:18 +00:00
Hadi Nategh
3987e3f033 Expose view few changes:
- Implement download button and locate it in expose view
- Style control icons better
- Give control icons tooltip
2015-04-01 15:43:14 +00:00
Ralf Becker
b086604711 move "Save as" phrase to common and merge-cli run 2015-04-01 08:00:07 +00:00
Nathan Gray
1f88ddf303 Fix single-field customfields widgets not setting value properly 2015-03-31 19:48:46 +00:00
Ralf Becker
9fc67020cc * Mail: setting default font-face and -size reliable and remove space in front of cursor 2015-03-31 17:01:25 +00:00
Nathan Gray
3125dcba42 - Fix infinite loop in onchange trigger on selectboxes under some cases 2015-03-31 16:29:15 +00:00
Nathan Gray
6671f4090a - Fix missing onchange trigger on selectboxes
- Avoid loops caused by onchange trigger when applying filters
2015-03-31 16:23:41 +00:00
Hadi Nategh
5026216842 Treat iceweasel browser like as firefox 2015-03-31 13:55:05 +00:00
Hadi Nategh
c5ddcdfcf9 Fix regular expression in expose view
- Exclude tif and xcf images from expose view
- Define a global regexp for expose
2015-03-31 13:39:55 +00:00
Hadi Nategh
467578d34f Consider iceweasel browser in autocomplete_fix handling 2015-03-31 12:30:43 +00:00
Hadi Nategh
69fe18d1e0 Do not show expose thumbnail for single media entry 2015-03-31 10:31:25 +00:00
Hadi Nategh
ed2bed1b97 Fix click handler on links does not stop propagation, causes unwanted click event 2015-03-31 10:01:51 +00:00
Ralf Becker
1805c4a425 quick fix for tracker links on title open wrong popup 2015-03-31 07:15:53 +00:00
Hadi Nategh
9e8a7dab61 Define an undefined var 2015-03-30 13:41:12 +00:00
Hadi Nategh
a06de7758b Specify css class on customfield's row with named as field's id, in order to be able to customize its style 2015-03-30 09:50:53 +00:00
Hadi Nategh
01e339815f Fix customfields options with multiple negated fields and single custom field 2015-03-27 16:32:51 +00:00
Hadi Nategh
ff507682eb Replace deprecated console.timelineEnd and console.timeline with console.timeEnd and console.time 2015-03-27 10:46:56 +00:00
Hadi Nategh
c3eed99cdd Introduce new target type called "_browser", in order to specify browser default link handling
- Description widget using href, the default target would be _browser
- Call filemanager egw.open with target _browser
2015-03-27 10:13:57 +00:00
Hadi Nategh
4368ccbb58 Fix some more typo in customfield widget 2015-03-26 19:07:08 +00:00
Hadi Nategh
0328abf1c4 Fix typo in customfield widget 2015-03-26 17:08:49 +00:00
Hadi Nategh
186a6b968f Revert description widget changes from commit 52279 2015-03-26 12:42:16 +00:00
Hadi Nategh
caffcee09d Fix eml attached files not getting opened in popup 2015-03-26 10:15:36 +00:00
Hadi Nategh
59a47e405a Fix URL for expose media in description widget 2015-03-26 08:48:23 +00:00
Nathan Gray
9c28235334 Fix select options with ${row} were not always found 2015-03-25 21:45:57 +00:00
Nathan Gray
ad070b221c Fix file information action 2015-03-25 21:19:59 +00:00
Ralf Becker
5887bc4313 * Mail, Filemanager: use now same handling, pdf, text or html are opened now in popup, fixes viewing of attachments using mobile theme 2015-03-25 17:48:24 +00:00
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
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
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
70510ca506 Use text-overflow-ellipsis for very long infolog titles in listview to avoid collision with info_id 2015-03-23 17:00:22 +00:00
Hadi Nategh
7c6bd961a7 Give 100% width to toolbar's actionlist 2015-03-23 16:16:33 +00:00
Ralf Becker
8431629ed2 * All apps: nummeric custom-fields (float or new integer) sort nummeric in lists 2015-03-23 08:38:30 +00:00
Ralf Becker
e7bdc85530 fix not working hbox for selectbox, they were not on one line 2015-03-20 20:30:33 +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
7fa86b19ca do NOT send select-options for each autorepeated row for id like "set[$row_cont[id]][value]" and fix merging of app preset options with type-specific ones to not overwrite the later 2015-03-20 15:38:20 +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
21aa3eb325 onkeypress handler for textbox and number widget 2015-03-19 21:21:03 +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
35f6de7f2a fix warning 2015-03-19 10:52:34 +00:00
Ralf Becker
fac9f796a8 implement formatting of numbers in read-only widget 2015-03-18 22:04:47 +00:00
Ralf Becker
d40f41950b fixed not run validation on server-side for templates included via template tag 2015-03-18 21:31:16 +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
Nathan Gray
0db176f0b2 No need to strip out mime again, it's already removed by egw_link 2015-03-18 17:28:49 +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