Commit Graph

175 Commits

Author SHA1 Message Date
Ralf Becker
03d3f7924f Make sure link_entry & file_upload are still present before trying to destroy them.
Fixes hidden error when calling etemplate2.clear() with read-only link widgets.
2015-07-27 17:26:31 +00:00
Nathan Gray
ebefb71737 Fix nextmatch keyboard actions were operating only on the focused row instead of all selected rows. Fixes CTRL+selecting rows, then deleting removed the unselected row instead of the selected rows. 2015-06-24 15:19:48 +00:00
Hadi Nategh
b73e6ea2d6 Make readonly attribute available for link-to and link-list widget
- Implement tracker link_to to not give edit interface to user who has no edit access
2015-05-06 15:14:15 +00:00
Hadi Nategh
50782cfa8b * Mail: Implement mail integration with new structure and add new feature
- Add mail to calendar as calendar entry, including all mail attachments as links
- Add user choice for saving mail into an existing ticket or a new ticket
- Fix mail attachments integration into infolog, tracker or calendar entry
2015-05-05 08:03:13 +00:00
Hadi Nategh
0c91565dfb Only egw-data with no download_url should not get the click handler 2015-04-22 14:58:53 +00:00
Hadi Nategh
acd5971c96 Do not bind click handler on media mime type to be opened in expose view if there is no download_url(e.g. attachments of mail integration have no download_url befre they get saved) 2015-04-21 12:20:53 +00:00
Hadi Nategh
9c13096e67 A temporary fix for widget link_list because of none match server-side and client-side data structure 2015-04-16 08:26:53 +00:00
Hadi Nategh
282534a8b9 * All app/links: features and fixes
- Feature: Open supported media links in all applications, e.g. images,videos, etc. in expose view
- Add save option to expose view
- Fix styling of expose controls buttons (for better experience in mobile theme)
- Fix tooltip of expose controls buttons
2015-04-02 08:58:33 +00:00
Hadi Nategh
ed092a5887 Trigger expose view by clicking on link-list's links 2015-04-02 08:37:13 +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
Nathan Gray
4c1424db9b Improvements for linking mail:
- Let filemanager encode name so we can keep more characters
- Remove doubled mime removal, which sometimes damaged title
- Fix file information action
2015-03-31 14:30:55 +00:00
Hadi Nategh
3be8c38c0d Fix click handler on links does not stop propagation, causes unwanted click event 2015-03-31 14:02:24 +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
Nathan Gray
ad070b221c Fix file information action 2015-03-25 21:19:59 +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
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
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
97acfb8081 For saving links use similar file download code as filemanager uses, fixes unwanted navigation 2015-03-02 17:22:06 +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
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
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
2fbc91c5d9 fixed not saved comment on an existing file/attachment 2015-01-20 17:36: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
Nathan Gray
aa526a3225 Fix bug where clearing the entered value would lose the selected application 2014-12-19 22:14:54 +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
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
fc66bfec63 Fix auto-selection of last used app (broken r48959) 2014-12-01 17:05:33 +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
4ed5c57364 Fix link list broken by r49319. 2014-11-10 16:24:09 +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
c917cbd865 Link enhancements:
- Add confirm dialog to delete link
- Log unlinking files into historylog
2014-10-29 23:03:35 +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
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
f5a71a635f Complement to commit 48899, fixes error in IE11 2014-10-07 11:39:34 +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
b6c86c2df0 Don't try to delete not-existing attribute.
Hopefully solves error in IE.
2014-09-29 16:05:32 +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
Nathan Gray
812518f72f Fix unwanted apps showing in link-app 2014-09-24 16:15:24 +00:00
Nathan Gray
8cb9914d15 Change minimum characters to 4 to avoid long queries on large installs. 2014-09-09 14:13:47 +00:00
Ralf Becker
cf7f5fef7e remove addressbook-email from app-list in link widgets 2014-09-03 12:53:43 +00:00
Hadi Nategh
ef6aed6579 Make sure we are getting the current appName 2014-07-30 15:12:05 +00:00
Hadi Nategh
ce6ac57f34 Correct "Save as Zip" icon in link widget contxt menu 2014-07-17 14:21:55 +00:00
Nathan Gray
762d8a9c09 If link has a target, use that.
Causes linked files to be opened in new browser tab.
2014-07-15 19:19:36 +00:00
Nathan Gray
67390bbcfa Add HTML5 drag support for Chrome for all files in link lists 2014-07-14 22:34:55 +00:00
Nathan Gray
b7a6e53163 * Added context menu to download all linked files in one zip file
As long as there are 2 or more files linked to the entry, you can download them all as a zip using the link list context menu.
2014-07-08 16:51:01 +00:00
Nathan Gray
9562483697 Improvements to handle not yet existing links
- Can't view file info for non-existing file, so context menu item is disabled
- Fix setting a comment
- Fix loading class on delete & fetch title showing incorrectly
2014-07-01 00:22:13 +00:00