Commit Graph

127 Commits

Author SHA1 Message Date
ralf
12fcd5709b stop security error, if iframe source is not from our own origin 2024-01-15 17:27:23 +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
hadi
8d4c4c9d37 Fix js error causes stop execution for apps with no favorites 2023-04-25 17:01:18 +02:00
ralf
05a8882681 using ESM module from SortableJS (link in two other places already)
could probably go to master and work with old RollupJS config
2023-03-20 13:47:36 +01:00
Hadi Nategh
c485a287bb Let et2Select be clickable on top user menu 2023-03-02 16:46:30 +01:00
nathan
cd22b9aad6 Slow down tab switch on drag
Avoid another tab being moved underneath the cursor if the target tab has different sidebox menu width, triggering another tab switch
2023-02-22 14:31:41 -07:00
Hadi Nategh
03123ee729 Fix wrong label set for dark mode switch 2023-01-18 12:15:26 +01:00
ralf
49f608159c WIP timesheet timer: ask user to start/stop working time with session/login/logout
if working time is not disabled in timesheet config, or asking is disabled in user preferences
2022-10-13 16:31:17 +02:00
nathan
8221d66ce2 Fix nm printing did not properly wait for column selection or rows before trying to print 2022-10-06 15:39:35 -06:00
Hadi Nategh
d7019caec5 Fix sidebar splitter no longer respects its minsize value 2022-09-29 12:09:18 +02:00
ralf
9ab4c69050 only update darkmode pref, if necessary 2022-09-24 14:27:17 +02:00
nathan
a3e2850b05 Send info to open popups to inform user that main window has been reloaded. 2022-09-15 15:14:16 -06:00
Hadi Nategh
f7c8c09a4b Drop tutorials 2022-09-12 13:24:00 +02:00
Hadi Nategh
10b61cc612 Finish up loading animation if the active tab is an old etemplate 2022-08-05 12:53:56 +02:00
Hadi Nategh
5f7d1c50a2 Replace draggable used in fw splitter 2022-05-31 17:21:21 +02:00
ralf
133787f239 bind load handler to set overflow-y: auto on body of contentDocument to allow vertical scrolling 2022-05-31 15:44:48 +02:00
ralf
b33c13824f drop jquery-ui, jquery-ui-touch-punch-fix and temp. comment out last usages in framework classes 2022-05-25 21:01:26 +02:00
Hadi Nategh
1afcc3ebce Replace all jquery-ui sortable used in fw 2022-05-23 17:45:56 +02:00
Hadi Nategh
3dd247f1df Another unintentional import statement 2022-05-20 16:11:05 +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
0fb32b7a6a Fix JS error when cleaning up after printing (TS conversion issue) 2022-02-14 11:00:22 -07:00
Hadi Nategh
d518a2b118 Move framework push boradcast method into base class 2021-09-22 11:54:01 +02:00
Hadi Nategh
23c27659fc Fix broken styling of sidebox app lists 2021-08-11 16:50:01 +02:00
Hadi Nategh
a63416f6d6 Get fw sidebox sortable items working with sortablejs and removes the jquery.sortable 2021-08-11 16:43:16 +02:00
Hadi Nategh
052f5f23cc Remove framework object from import statement which would override the actual object 2021-07-07 12:31:11 +02:00
Ralf Becker
b88716c8b6 legacy load jQueryUI as tooltip has wired context problems if loaded as module 2021-07-02 08:52:18 +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
Ralf Becker
8c7722c8b0 1. loading dhmtlx(tree|menu) again via script tag
2. fixed not loaded app.js in egw_json by using import direct and not includeJS (and therefore removed additional include in et2_load)
3. adding cache-buster for egw.js and app.js endpoints to force reloads (not adding them for anything else, as it interferes with rollup
2021-07-01 14:36:51 +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
Ralf Becker
5298336886 include jquery and other legacy js files via script tag 2021-06-10 11:38:54 +02:00
Ralf Becker
304dbb95ab got empty nextmatch in timesheet working 2021-06-08 14:11:59 +02:00
Ralf Becker
592b7fb97d replace LAB.js with native es5 loading 2021-06-05 20:39:39 +02:00
Hadi Nategh
0e69c8c800 Fix opening an app link as popup loses it's opener when its origin app tab is not loaded 2021-05-21 12:40:08 +02:00
nathangray
fcd5ed7b59 Fix clicking sidebox entries closed the category 2021-05-17 14:59:34 -06:00
nathangray
a615b2dd9c Api: Fix sidebox category expand/collapse on click, broken in 45e477f0c0 2021-05-17 10:02:23 -06:00
nathangray
45e477f0c0 * Api: Sidebox accessibility improvements
- Using nav elements for sidebox categories
- Add keyboard support for expand/collapse menu categories
- Use lists for entries
- Added some roles for screenreaders
2021-05-12 13:14:03 -06:00
Hadi Nategh
a49ac9648e Implement throbber for mobile framework 2021-04-22 16:00:52 +02:00
Hadi Nategh
1a72732c3d Fix typo 2021-04-20 14:45:28 +02:00
Hadi Nategh
2defb9a704 Fix framework app tab loses its hint content after reload 2021-04-19 16:12:58 +02:00
Hadi Nategh
fb83d97150 Implement loading aware framework animation 2021-04-19 10:17:47 +02:00
Hadi Nategh
94877851c1 Set iframe feature policy of fullscreen for apps running in iframe 2021-04-12 11:18:08 +02:00
Hadi Nategh
d29459d9e5 Ignore browsing apps with their status 5 and index set to none 2021-04-06 17:09:31 +02:00
Hadi Nategh
98813ef055 Fix darkmode get switched on in session when there's no preferences yet 2021-03-18 16:32:21 +01:00
Hadi Nategh
ff1ac017ce Add tooltip for sidemenu toggle button 2021-03-17 15:29:40 +01:00
Hadi Nategh
739bfb482b Compact theme:
- Fix framework tabs not being able to get closed
- Fix some styling
- Fix framework tabs are overriding last active opened tab
2021-03-17 14:00:33 +01:00
Hadi Nategh
886884feea Fix applications' tabs losing their sidebox app header after reload 2021-03-16 11:33:01 +01:00
Hadi Nategh
864b896ad6 Fix issue after closing a tab app next available tab wont get selected properly 2021-03-10 11:56:34 +01:00
Hadi Nategh
81d5574fff Fix opened application tabs belong to app with status 5 don't get restored after reload 2021-03-10 10:07:39 +01:00
Ralf Becker
6ae1195c38 missing file from a467bab return hashed appName of opened tab eg. to set notifcation counter 2021-03-03 19:13:45 +02:00