Commit Graph

125 Commits

Author SHA1 Message Date
milan
93b4c30f54 fix use selection instead of drag/drop while pressing crt/alt
egwPreventSelect on mousedown seems to be no longer necessary in nextmatch

(cherry picked from commit b9a723a16f)
2023-09-13 10:40:32 +02:00
hadi
a8bd6e9e3c Fix click handling on grid's row no longer works
(cherry picked from commit 3dbdbc0596)
2023-09-13 10:40:32 +02:00
Milan
6d7de44b7a egw_action copy fixes regarding ticket 84314
(cherry picked from commit 0dd7616c5e)
2023-09-13 10:40:32 +02:00
Milan
45b05a6268 WIP egw_action copy fixes
paste not working

(cherry picked from commit b00371c7e1)
2023-09-13 10:40:32 +02:00
ralf
ff4c86f4f5 fix not translated context menu
window.egw with a reference to the main window in a popup, egw(_app, window) gives one with correct window context / translation in a popup (_app does not matter for translations, they are requested to be loaded from server-side)

(cherry picked from commit 40a4d38776)
2023-09-13 10:40:32 +02:00
Milan
f430b66d3b converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time

(cherry picked from commit 5e3c67a5cf)
2023-09-13 10:40:32 +02:00
ralf
61281ac778 fix not translated context menu 2023-07-14 11:30:19 +02:00
hadi
5e67e8c6b5 Let the contextmenu be activated from tapandhold in regular template in order to be able to get the contextmenu in some touch devices 2023-06-12 16:27:34 +02:00
hadi
c808fbb1ad Fix swipe and popup contextmenu being triggered accidentally in touch devices 2023-06-01 16:29:52 +02:00
hadi
dbe12256bc Add more hints for file drag out 2023-05-22 16:41:58 +02:00
hadi
a8212062a1 Cleanup hover color after drag action ended 2023-05-22 15:33:59 +02:00
hadi
b528c4c22a * Filemanager: Fix drag out files to desktop 2023-05-17 14:10:34 +02:00
hadi
829f3cecb3 Make sure that we are literally marking the row's content before deactivating drag action 2023-05-11 20:37:06 +02:00
hadi
e6f78d9d75 Fix typo related to the commit 8e8c664e95 2023-05-03 15:35:50 +02:00
hadi
2a18d8ec48 Fix broken 3dots menu for nm in mobile theme 2023-05-02 18:54:49 +02:00
hadi
f1a5b24249 Fix toolbar actions not getting their icons displayed when the toolbar is being opened from its none origin apps 2023-04-27 14:02:28 +02:00
hadi
f7a1be6525 Make content marking possible on nm rows 2023-04-24 15:02:11 +02:00
nathan
ce141fa152 Disable file drag and drop so normal drag and drop in filemanager works properly 2023-02-27 11:17:23 -07:00
Hadi Nategh
68fdb1b985 Revert "changes to get old eTemplate apps like KnowledgeBase working in 23.1"
This reverts commit d816d837cd.
2023-02-21 13:02:23 +01:00
ralf
d816d837cd changes to get old eTemplate apps like KnowledgeBase working in 23.1
makes some more symbols global again in one block at the end of the files
2023-02-09 14:17:24 +01:00
nathan
2659a8ab63 Filemanager: Add copy to clipboard button to share link dialog 2022-10-28 10:05:03 -06:00
ralf
006199a199 Hopefully fix context for action system applyFunc call 2022-10-10 18:13:24 +02:00
Hadi Nategh
a015217f83 Revert commit 03fdceb847 causes breaking action system 2022-10-10 12:00:43 +02:00
ralf
a0471e1ad1 use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too
Setting now NO context for applyFunc so app objects are used/created in global context/window.
This reverts commit 330461c28b.
2022-10-09 13:34:37 +02:00
ralf
99e0b178ee Revert "Revert "use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too""
This reverts commit 330461c28b.
2022-10-09 13:30:59 +02:00
nathan
330461c28b Revert "use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too"
This reverts commit 03fdceb847.
2022-10-07 14:08:32 -06:00
ralf
03fdceb847 use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too 2022-10-07 19:30:55 +02:00
nathan
49829fbbcc Fix OS copy using navigator.clipboard still showed "Use Ctrl+C..." 2022-09-15 09:23:16 -06:00
Hadi Nategh
5e7a6cfef7 Fix mail tree drop hover class sometimes not being removed from hovered once nodes 2022-09-15 12:40:49 +02:00
nathan
a847f25408 Show success message after copying to clipboard 2022-09-13 10:23:47 -06:00
nathan
c2d6d646f1 Api: Fix copy to OS clipboard action stopped working
We now have clipboard API, when browser supports it
https://developer.mozilla.org/en-US/docs/Web/API/Clipboard
2022-09-09 09:30:12 -06:00
nathan
f6851daf9f Fix mail tree actions
Node was a jQuery object instead of DOMNode
2022-09-02 14:37:35 -06:00
nathan
d521d2aa24 Admin: Fix some errors deleting a group
- use the minified app.js
- export the JS class
- include the PHP command class explicitly so it's always found
- Make sure to send all expected parameters to ajax_delete_group
2022-08-29 14:25:39 -06:00
nathan
02ac53ead9 Fix unable to type a space in a searchbox
egw_keymanager did not recognize et2-searchbox as an input node it should ignore, so was grabbing every keystroke on every select / search / textbox
2022-07-26 14:23:55 -06:00
nathan
0188e6df2d Stop TS from complaining about data children by giving better type info 2022-06-08 13:24:25 -06:00
Hadi Nategh
ae75801033 Fix error TypeError: Cannot read properties of null (reading '0') 2022-05-30 17:19:23 +02:00
Hadi Nategh
017901a317 Add allowScrolling for action popup and do not popup context menu when more than one touch is used 2022-05-30 16:07:26 +02:00
Hadi Nategh
b8d348d30c Replace jquery-ui swipe with tapandswipe library 2022-05-25 17:40:54 +02:00
nathan
a5fe6d938b Don't need this, we can remove it 2022-05-25 08:45:22 -06:00
Hadi Nategh
b3c2dcc90b Cleanup draggable dom after drop/dragend events 2022-05-25 11:16:33 +02:00
nathan
ece3813459 Remove jQueryUI for moving events in timegrid view 2022-05-24 14:53:49 -06:00
Hadi Nategh
0ac617eb15 Add DRAG_ENTER event 2022-05-23 17:22:03 +02:00
Hadi Nategh
ef6cf29ce1 WIP DND:
- fix drag-hover not working smoothly
- fix drop zone events being triggered by other draggable items (none et2action draggable)
2022-05-20 16:02:20 +02:00
Hadi Nategh
b956f1f28d WIP replace jQuery-ui dnd with HTML5 dnd 2022-05-17 15:01:11 +02:00
nathan
255add7d98 Api: Switch from et2_dialog to Et2Dialog
Might be some I missed or can't change just yet
2022-03-17 16:18:39 -06:00
Nathan Gray
96c8e61127
Remove unneeded import 2021-08-25 11:33:24 -06:00
Hadi Nategh
d07a7ab194 WIP of replacing bower-asset packages:
- Get jquery-ui and touch event plugin working (although still modular import is not possible becuase of a wierd issue with jquery-ui tooltip plugin)
- Import timepicker-addon plugin as npm package
- Update composer.lock file
2021-08-12 14:51:38 +02:00
Hadi Nategh
af2a2a016e Fix broken widget tree actions because of unexpected DOM Element object 2021-08-11 16:49:39 +02:00
Hadi Nategh
7042219529 Remove tab-and-hold jquery plugin and use native touch events to implement something similar 2021-08-11 16:43:16 +02:00
Ralf Becker
59ac3f4bda always name generated file app.min.js so client-side can load it without knowing source is .ts or .js
--> fixes client-side initiated load errors
2021-07-19 08:31:06 +02:00