Commit Graph

106 Commits

Author SHA1 Message Date
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
Ralf Becker
4f95ebb510 add a missing import 2021-07-09 14:50:15 +02:00
Hadi Nategh
89695620bc Make sure et2 widgets are there before the container into vfsSelectUI app object 2021-07-06 15:50:49 +02:00
Hadi Nategh
70faf346e4 Fix error egw_keycode_translation_function is not defined 2021-07-06 14:53:56 +02:00
Hadi Nategh
cbed97de6d Fix drag and drop actions not working 2021-07-06 12:41:16 +02:00
Ralf Becker
68155251fa fixing a couple of jQuery plugin includes
thought jQueryUI-tooltip is still broken and we either need to legacy-load jQuery(UI) or fix the tooltip
2021-07-01 16:33:15 +02:00
nathangray
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
Hadi Nategh
6b57c6477f Revert unintentionally deleted egw_action.d.ts file 2021-06-15 13:47:37 +02:00
Hadi Nategh
3c9e33ab46 Add missing import for egw_action_constants 2021-06-14 15:09:53 +02:00
Hadi Nategh
e0341e49e6 Remove duplicated constants from egw_keymanager 2021-06-14 14:57:55 +02:00
Hadi Nategh
c73828e4df Add missing egw_action_constants 2021-06-14 14:42:05 +02:00
Hadi Nategh
b4c4606c22 Move all egw_action constants into egw_action_constants 2021-06-14 13:45:57 +02:00
Ralf Becker
3e5aa5a707 make egw_globalObjectManager available for egw_keymanager 2021-06-12 17:03:22 +02:00
Ralf Becker
ee508c50b9 filter out legacy JS code from importmap and sort it
also only add extension-less includes for .ts files (was accidentally commented out) and fix some .js imports without extension
2021-06-12 11:44:28 +02:00
Ralf Becker
4752331427 fixed all errors in calendar, thought it's still not ok
also fixed a couple of errors in egw_action
2021-06-11 11:31:06 +02:00
Ralf Becker
771d6c727f got mail app.js incl. jsapi/app_base.js working
plus marking et2 methods returning promisses as async and removing cache-buster from includeJS calls in egw_action_common.js as it causes double loads
2021-06-11 10:11:13 +02:00
Ralf Becker
ed1c35d28b some small fixes 2021-06-11 09:06:25 +02:00
Hadi Nategh
81c4df47f2 Revert accidentally deleted file 2021-06-10 16:03:26 +02:00
Hadi Nategh
54fff9739a Add more missing import statements 2021-06-10 15:40:49 +02:00
Ralf Becker
77a4aad7d6 got tree-actions in admin working and fixed tutorials (et2.load() stalled if no app.js or lang-files) 2021-06-10 14:54:30 +02:00