ralf
28a660699a
fix not working dropdown-tree use in addressbook (also reverting Contacts\Storage::get_lists())
...
- et2-tree-dropdown requires options with attributes id AND value, text AND label :(
- fixing it really to use only one or the other is hard, as lots of mail app.js code requires tree to use id, but all select wants value
- Etemplate\Widget\Select::fix_encoded_options() now uses a special handling for real (non-associative) arrays adding value attribute from id
- client-side et2-tree-dropdown now searches child-options in children and item attribute, and checks both label and text attributes
2025-02-21 09:33:58 +01:00
nathan
73f30a94b1
Some more memory cleanup
2025-02-20 17:27:25 -07:00
nathan
0e15989eda
More widget cleanup
2025-02-20 14:06:32 -07:00
ralf
327c72413e
* Addressbook: use a hierarchical list to show distribution lists incl. groups (if groups are enabled)
...
allow to specify widget and placeholder for NM filter(2) and cat
2025-02-20 15:19:18 +01:00
nathan
4e8fa41fc9
Fix kanban cards showed the same data for every card in the column
2025-02-19 16:10:55 -07:00
nathan
8d12196cd1
Et2Button: Fix some missing icons
...
Icons are added into light DOM, if button was moved after initial setup then the icon was destroyed early
2025-02-19 14:05:36 -07:00
nathan
4cfc855ac1
Et2Date: Don't destroy flatpickr instance when disconnected
...
Calendar SidemenuDate gets moved by framework, causing disconnectCallback() to be called resulting in missing flatpickr instance
2025-02-19 13:57:54 -07:00
nathan
fce8540da5
Et2File: Improvements for handling larger files
2025-02-18 14:47:18 -07:00
nathan
8beae0adee
Et2File:
...
- Protect value from wrong types with custom accessor
- Better rendering for multiple=false
- Better handling of server-side messages
2025-02-18 09:11:07 -07:00
ralf
56accdcca3
fix TypeError: Cannot create property <tmp-name> on string ''
2025-02-17 10:08:31 +01:00
nathan
3a8ee840fa
Need to pass the context along
2025-02-14 16:14:18 -07:00
nathan
13338beb00
Et2File: Fix up docs, add CSS parts
2025-02-14 14:49:29 -07:00
nathan
389a8ee4be
* Large memory reduction
...
- Work-around for https://github.com/shoelace-style/shoelace/issues/2376
- Fix some missing cleanup & a few other minor improvements for etemplate widgets
- Stop egw from holding on to registered plugins (& every instance)
2025-02-14 14:20:58 -07:00
nathan
a6040065aa
Work around Shoelace bug
...
https://github.com/shoelace-style/shoelace/issues/2376
2025-02-14 14:20:58 -07:00
Alexandros Sigalas
13c43d6835
Only try to find parent via jQuery if typeof _node == "string" AND _node !== "" ( #174 )
2025-02-14 13:15:14 -07:00
nathan
a9b9cfce08
Reference hunting
...
Removed a bunch of remaining references that were keeping things around in memory
2025-02-13 16:55:00 -07:00
milan
13e5e69676
fixes js error on file attachment in mail Regarding #103331
2025-02-13 13:16:01 +01:00
nathan
b9424f189e
Clean up some connectedCallback() & disconnectedCallback()
...
Missing super.disconnectedCallback() is bad for performance over time
2025-02-12 17:32:09 -07:00
nathan
f4ba0aa19d
Switch to Et2File webcomponent
2025-02-12 15:11:07 -07:00
nathan
fc733e2a4f
Et2File: Rendering changes for value, fix mime icon not always showing
2025-02-12 15:11:07 -07:00
nathan
665df986a7
Et2File: Docs update, bugs in fileListTarget
2025-02-12 15:11:07 -07:00
nathan
e5feb3a4b5
Et2File: Fix multiple was always true
2025-02-12 15:11:07 -07:00
nathan
9d950b73e6
Et2Dialog: Fix dialog was destroying etemplate2 requests when closing
2025-02-12 15:11:07 -07:00
nathan
e57fb00bf1
Et2File: More test work, add support for legacy event callbacks
2025-02-12 15:11:07 -07:00
milan
66995e39da
fix js error preventing switching between tile and list view in fileemanager
2025-02-12 15:20:47 +01:00
milan
cc49f0286d
* Filemanager: tile view show filename and comment on hover
2025-02-12 12:57:57 +01:00
nathan
615089c421
Fix some kept references that might be leading to memory leaks.
2025-02-11 14:38:58 -07:00
nathan
35b768f5d2
Fix wrong return type in etemplate.widgetContainer
2025-02-10 17:22:18 -07:00
nathan
e5f9c8ac1f
Et2File WIP
2025-02-10 14:05:10 -07:00
nathan
2b96818c74
Resumable uploads
2025-02-10 13:59:55 -07:00
nathan
816d3b132a
WIP Et2File webcomponent for uploads
2025-02-10 13:59:55 -07:00
nathan
b597bee7a1
Et2Image: Allow image to show blobs too
2025-02-06 08:42:56 -07:00
nathan
8bd4c8aa81
Et2VfsMime: Allow to pass in alternate image src
2025-02-06 08:42:56 -07:00
nathan
7b0e9553f2
Et2Widget: Let getInstanceManager() work if a widget is composed inside another widget's shadowRoot
2025-02-06 08:42:56 -07:00
nathan
7b497c72f4
Added Et2FileItem
2025-02-03 11:32:00 -07:00
milan
b4b6e30b86
better visibility in link comments
...
regarding #102941
2025-02-03 13:51:17 +01:00
milan
d06605b01b
better visibility in link comments
...
regarding #102941
2025-02-03 11:06:46 +01:00
nathan
9d7fe14387
Et2Template: Fix missing template caused the whole template to stall until timeout
...
Fixes calendar takes too long
2025-01-30 11:55:29 -07:00
nathan
5f6dc978da
Fix initial volume level was not set
2025-01-30 11:23:13 -07:00
nathan
bea41b1898
Et2VfsSelectDialog: Fix incorrect parameter to overwritePrompt broke it, showing no overwrite prompt
2025-01-29 10:52:47 -07:00
ralf
87ce283610
* Mail: allow to select (multiple) mail addresses from addressbook directly in compose window
2025-01-28 21:44:15 +01:00
nathan
02da5f8c2c
Et2Template: Add additional parameters to load() for other arrayMgrs
2025-01-28 13:19:23 -07:00
nathan
61a13705b9
Use et2_nextmatch.no_dynheight to solve bottom buttons not always visible
2025-01-28 10:56:55 -07:00
ralf
0de371829c
do NOT remove template ID, if we have none
...
otherwise further templates in an overlay have no ID!
2025-01-28 11:23:25 +01:00
nathan
2457b77cca
Et2Template: Fix load error clearing when load finishes did not remove correct message
2025-01-23 11:08:07 -07:00
nathan
c4ecfd54a5
Fix Et2Widgets could have '.' in their DOM ID, replaced with '-' as before
2025-01-23 11:07:34 -07:00
nathan
95a5139112
Fix some selects (CalendarOwner) did not respect close on select preference
2025-01-22 16:16:35 -07:00
nathan
5da2b081ba
Fix link via paste entries from clipboard did not work with app entries
...
Gave errors like File '#' is not an absolute path!
2025-01-22 14:29:12 -07:00
nathan
23394f6de5
Force regenerate context menu when nextmatch actions are changed
2025-01-22 09:01:35 -07:00
nathan
47a66b3fb7
Et2Template: Load timeout improvements
...
- Use longer load timeout (15s)
- Improve console log message
- clean up displayed warning message if it does eventually finish.
2025-01-21 11:34:15 -07:00