Commit Graph

974 Commits

Author SHA1 Message Date
Hadi Nategh
436424c1c7 Revert back the window close to normal timing as delay breaks closing of compose dialog 2015-01-30 15:25:47 +00:00
Ralf Becker
8633eb416e we have to wait a little, to give browser time to same autocomplete values 2015-01-29 18:04:49 +00:00
Hadi Nategh
dd7b4dec55 Add two options to blueimp gallery plugin:
- thumbnailsTagIndicators: in order to set custom tag as indicator element. Default value: 'li'
- thumbnailWithImgTag: in order to set indicator with img child as thumbnail. Default value: false
2015-01-28 17:42:14 +00:00
Hadi Nategh
9c9ef1b3d4 Implement fullScreen toggle mode for blueimp gallery plugin 2015-01-28 10:57:33 +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
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
Hadi Nategh
a4b8dabef5 Implement the lightbox view (expose) for mime widget 2015-01-19 17:18:01 +00:00
Ralf Becker
d46def6606 make sure null is returned as null, not as empty object ({}) 2015-01-15 20:11:23 +00:00
Hadi Nategh
e62899f204 Correct the cursor after the drag item re-enabled by mouseup event 2015-01-15 16:06:00 +00:00
Hadi Nategh
0406395e4c Revert back the cursor to auto after drop action 2015-01-15 09:56:37 +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
26bbb237c3 * All application: Fix unintentional dragging happens while user try to do scrolling over a dragging item in FF(e.g. scrolling over an scrollable infolog entry) 2015-01-14 16:33:57 +00:00
Nathan Gray
5b972ea11f Stop default actions from bubbling after they are handled, fixes parent default action firing after child default action has been handled 2015-01-12 16:17:29 +00:00
Ralf Becker
4a12f12683 using new mime icons for tile view in 64x64 2015-01-11 18:06:13 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +00:00
Hadi Nategh
0d2932d0a6 Return clone of preference object as we don't want direct reference to original object 2015-01-08 13:43:33 +00:00
Ralf Becker
94d91f3ac8 allow to unset a preference by calling egw.set_preference(app,name) 2015-01-08 13:13:02 +00:00
Hadi Nategh
3e790be681 Prevent egw window resize happens on each reload even if the window has not been resized manualy 2015-01-06 14:52:41 +00:00
Hadi Nategh
6ad027d446 Use widget value in options while we may have no get_value like readonlys 2015-01-05 15:12:10 +00:00
Hadi Nategh
39cc660c0d Implement set window title for each application with a default title field or define an app specific custom get title 2015-01-05 14:28:35 +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
14655677ca Fix copy to OS clipboard in Firefox. 2014-12-17 16:20:42 +00:00
Hadi Nategh
d9f6c03f8b Fix context menu not poping up in F.F 2014-12-17 10:34:27 +00:00
Nathan Gray
d3e404fad9 Explicitly configure flash location to work with JS minification 2014-12-16 18:57:41 +00:00
Nathan Gray
4eeed35c6c Add copy to system clipboard to context menu 2014-12-16 16:27:33 +00:00
Klaus Leithoff
3767ca51e7 adding 3 more skins; add kama/skin.js as IE seems to require it to be present 2014-12-12 13:51:42 +00:00
Hadi Nategh
2be25de672 Make CKEditor available for mobile devices 2014-12-11 10:22:09 +00:00
Ralf Becker
0b8ad9798c set default thumbnail size to 64px and fix IDE warnings 2014-12-11 09:57:31 +00:00
Hadi Nategh
e59e843707 Fix passing wrong context to egw.refresh 2014-12-10 13:33:42 +00:00
Hadi Nategh
0eb5418103 Call egw message on top window if not in popup and window is not equal to top window 2014-12-10 11:05:29 +00:00
Hadi Nategh
af05aa9471 Removes setMessage from framework, as egw_message handles all cases now, and bind click handler to dismiss the message when we create the element 2014-12-10 10:32:51 +00:00
Klaus Leithoff
e925742595 * API/CKEditor: upgrade to version 4.4.6 2014-12-09 14:55:06 +00:00
Ralf Becker
48b3ee0b10 extending jdots and pixelegg framework from new desktop framework, allowing pixelegg to overwrite iframe height calculation 2014-12-09 14:25:44 +00:00
Ralf Becker
4d80104403 allow to disable date widget with set_readonly on run-time 2014-12-02 17:19:13 +00:00
Hadi Nategh
90afd04015 Fix framework wrong window opener in openPopup 2014-12-02 11:18:12 +00:00
Hadi Nategh
e8056c388b Implement mobile framework popup resize 2014-12-01 17:38:52 +00:00
Ralf Becker
fa0a10a840 moving egw_openWindowCentered() to egw(window).openPopup() 2014-12-01 10:44:51 +00:00
Ralf Becker
493bc485f1 fix resize to work with zoom at least up to 125%, by calling resize a 2. time 2014-11-28 14:00:40 +00:00
Nathan Gray
bcc3499c4c Prevent tooltips from going off the side of popups 2014-11-27 17:38:37 +00:00
Ralf Becker
3f8acc1fd1 set opener as early as possible for framework popups 2014-11-27 17:34:06 +00:00
Hadi Nategh
7984f04078 Override window.close() with framework specific close function 2014-11-27 17:01:47 +00:00
Hadi Nategh
586656289d Fix taphold context menu popup 2014-11-27 16:57:57 +00:00
Ralf Becker
f17042b34d have to wait for script files to be loaded, before calling egw.link_handler or any other egw method 2014-11-26 18:37:36 +00:00
Ralf Becker
076b928d39 also switching to "internal" popups for mobile theme 2014-11-26 17:06:46 +00:00
Hadi Nategh
23d4e045f3 Call framework specific window opener if it is on mobile framework 2014-11-26 16:58:03 +00:00
Hadi Nategh
cfaae06d37 Add touchSwipe plugin for mobile template 2014-11-26 16:40:08 +00:00
Hadi Nategh
1e93cb8224 Add missing print function to the framework base 2014-11-26 08:40:42 +00:00
Ralf Becker
9e20212b3e * API: report failed Ajax requests to user incl. a hint that server error-log should contain more information 2014-11-21 16:16:24 +00:00
Nathan Gray
3ec33534dc Add a paste flag to get around mail's check for all rows selected to ignore current selection when pasting 2014-11-19 20:13:46 +00:00
Nathan Gray
103c0c73ad - Add flag to turn off auto-paste actions
- Turn off auto-paste actions when drop has multiple choices - paste is not valid during a real drop.
2014-11-19 17:59:16 +00:00
Ralf Becker
8aa71722ee clientside redirect ignore appname only for popups, not eg. iframes like in admin 2014-11-19 16:10:39 +00:00
Hadi Nategh
fd73f9fb21 Add refresh method to framework 2014-11-19 13:58:01 +00:00
Ralf Becker
5eeac7093c use filemanager UI as UI for sharing directories 2014-11-18 12:55:32 +00:00
Nathan Gray
cad253627b Integrate filemanager clipboard and new system clipboard 2014-11-17 23:57:15 +00:00
Hadi Nategh
eb2a814c0d Add mousewheel plugin to jquery library 2014-11-17 08:57:29 +00:00
Hadi Nategh
4ce9b93bb2 Activate the new structure of egw framework.
- jdots: egw_fw_ui and egw_fw are removed and replace with the new files fw_ui, and fw_jdots
- work in progress of mobile framework (Mobile framework is not activated yet)
2014-11-14 16:20:11 +00:00
Hadi Nategh
6d9969b050 Some W.I.P. of egw framework restructuring 2014-11-12 17:14:58 +00:00
Nathan Gray
95e343cb27 Drag & Drop support for [infolog] favorite to Home 2014-11-11 23:11:16 +00:00
Hadi Nategh
af83de8198 Work in progress of egw framework restructuring 2014-11-11 18:00:29 +00:00
Nathan Gray
0497818385 Include menu context in action so callback can find click location 2014-11-10 17:50:58 +00:00
Ralf Becker
df7025f879 allow app to specify "availHeight" for its popup height and keep that height in automatic resize, for OS (eg. Linux) does not report an availHeight < height, we subtract 100px 2014-11-10 10:41:23 +00:00
Nathan Gray
cbbb0bf39f Some WIP on getting home working again 2014-11-06 21:40:03 +00:00
Nathan Gray
8fab640449 Fake the drop position when pasting 2014-11-06 21:33:23 +00:00
Nathan Gray
0f516f9eb7 Add action to add to clipboard 2014-11-04 21:34:18 +00:00
Ralf Becker
8abbf0d20e fix can not access property type of null, stalling context menu on tree 2014-10-31 08:31:23 +00:00
Nathan Gray
6272b57088 * Context menu items to copy and paste for drag and drop actions
Copy action is enabled when there are drag actions defined.
Paste action is enabled when there are drop actions defined that match the clipboard context.
Current clipboard contents can be seen in the tooltip for the paste action.
2014-10-30 22:18:37 +00:00
Hadi Nategh
0d1a1c3f4a Adjust speed of double click trigger for taglist item modification 2014-10-30 11:55:22 +00:00
Ralf Becker
6c7c29316a making popup resize a bit more relyable by using an extra timeout and trigger it for every load, not just first one 2014-10-30 11:09:38 +00:00
Hadi Nategh
f55380b8d7 Mark all content of the item after double clicking to modify 2014-10-30 10:51:40 +00:00
Hadi Nategh
0429580f71 Replace taglist item edit trigger from edit botton to doubleclick 2014-10-30 09:45:49 +00:00
Hadi Nategh
5098baf538 Add item modification functionality to magicsuggest's selected items (Only if free entries is allowed) 2014-10-29 17:01:17 +00:00
Hadi Nategh
c555d52e0d Update magicsuggest plugin 2014-10-29 11:02:08 +00:00
Hadi Nategh
00136ae83b Not used plugin, but included 2014-10-29 11:00:22 +00:00
Ralf Becker
dc3948126b fix IDE warnings 2014-10-24 12:44:15 +00:00
Ralf Becker
247a8c5e87 text and German translations for drag-n-drop modifier hints 2014-10-24 12:19:16 +00:00
Hadi Nategh
981a0a1eb9 * All Applications: Get all drag and drop action functionality working cross platform
-Fix drag Out to desktop functionality with Command+Shift keys (for Mac) or Alt+Shift keys (for other platforms)
-Fix content selection functionality with Command key (for Mac only) or Ctrl key (for other platforms)
2014-10-24 11:15:33 +00:00
Hadi Nategh
1d3769939b Apply Ctrl+Alt keys in order to be able to distinguish between content selection and dnd for draggable actions 2014-10-23 16:23:25 +00:00
Hadi Nategh
fed76559fa Fix scrolling of content in iframes for touch devices (applied for iOS) 2014-10-23 13:44:40 +00:00
Hadi Nategh
f58cb571ef Fix indentation 2014-10-22 15:35:58 +00:00
Hadi Nategh
89a9c860e4 Set hold trigger timer to 600 milliseconds in order to popup the context menu faster for touch devices 2014-10-22 15:21:07 +00:00
Hadi Nategh
fb0059b796 Use jquery-tap-and-hold plugin for taphold event on touch devices 2014-10-22 15:12:48 +00:00
Hadi Nategh
510469e60b Implement to set proper lable for dragging item for the drag helper 2014-10-21 14:31:18 +00:00
Ralf Becker
af048109ee adding singular and plural name of app entries to link registry under "entry"/"entries" plus translations for apps which need them different from app-name 2014-10-21 13:51:37 +00:00
Hadi Nategh
549431fb73 Revert commit r49090, because it breaks special ctrl key and click handling in nm. Need more investigation to solve it 2014-10-21 13:35:19 +00:00
Hadi Nategh
c1c4b7c682 Replace the drag out trigger key from Ctrl (or Command key in Mac) to Shift key.
- Make Ctrl key as a standard dnd action disabling, and being able to select content by holding Ctrl key.
2014-10-21 11:48:25 +00:00
Hadi Nategh
23c0285825 Make sure the this object is avaliable before addressing it.
-Fix error in calender views which was happening after dnd
2014-10-21 08:58:33 +00:00
Hadi Nategh
10eb33cbdd Get drag out action working again 2014-10-20 15:03:31 +00:00
Hadi Nategh
96d9f14d12 More progress of commit r49059 2014-10-20 11:41:59 +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
2778b48273 fix popup detection to cope with window.opener being a reference to itself --> should NOT be detected as popup 2014-10-17 08:22:28 +00:00
Hadi Nategh
55b97699b6 Notify user of how to select content of a draggable item 2014-10-16 14:41:30 +00:00
Nathan Gray
5082d8a634 - Better popup resize calculations
- Test new popup size for addressbook
2014-10-15 15:52:07 +00:00
Ralf Becker
424b4c451c fix redirects in a popup and new egw_exception_redirect to be used in hooks/callbacks like for addressbook.edit to redirect to a different location 2014-10-15 14:55:08 +00:00
Ralf Becker
29cae75178 fix IDE warnings / documentation and move "use strict" from global scope to object itself 2014-10-09 09:34:24 +00:00
Ralf Becker
1c9a14159e * Mail: allow to enter name+mail eg. "Ralf Becker <rb@stylite.de>" in compose, automatic fix unquoted commas in entered mail addresses 2014-10-08 09:01:51 +00:00
Nathan Gray
7bcf736f09 Increase popup padding by 20x30 pixels 2014-10-07 23:26:25 +00:00
Hadi Nategh
3404c704a6 Make sure state object exists
-Fix error "Cannot read property 'sort' of undefined" for favorites without state
2014-10-02 09:06:15 +00:00
Nathan Gray
f8540288d8 Check that array entry is there before looking into it.
Prevents error when accessing deleted user.
2014-10-01 15:53:31 +00:00
Ralf Becker
d736d6cb4a fix typo 2014-10-01 10:37:30 +00:00
Ralf Becker
6be491d6eb stop egw.debug("error",...) to show error to user, if LOCAL_LOG_LEVEL=0, which we currently set in source 2014-10-01 10:34:50 +00:00