Commit Graph

3206 Commits

Author SHA1 Message Date
nathan
dd74c20b77 Upload widgets:
- Build conflict check & prompt into Et2VfsUpload widget
- Doc updates
2025-02-27 15:17:36 -07:00
nathan
8a8f283bc6 Filemanager: Fix some weirdness with Et2File upload 2025-02-27 08:17:12 -07:00
milan
071db3fb8b Et2file check if fileInfo.file is actually a file 2025-02-27 14:56:17 +01:00
nathan
2127740fcd Switch to Et2VfsUpload webcomponent 2025-02-26 15:23:59 -07:00
nathan
ac9a3b13cf Et2File: Some CSS improvements to play nice wherever it's stuck 2025-02-26 15:18:54 -07:00
nathan
aef9ae0752 Et2File: Selecting another file when multiple=false clears any currently selected file
Also, fix test stub
2025-02-26 13:38:35 -07:00
nathan
e3faa3d97f Et2VfsUpload: WIP mostly working 2025-02-26 11:17:35 -07:00
nathan
9a7475cf5b Et2Template: Avoid more errors if template has no template or ID 2025-02-25 08:38:51 -07:00
nathan
30923f8b6d Add missing aria-label 2025-02-24 11:27:57 -07:00
Alexandros Sigalas
fc75872cee
Added removeEventListener for wheel (#177) 2025-02-21 15:02:48 -07:00
nathan
54df7a5b40 Et2Details: Document slots & parts 2025-02-21 10:56:17 -07:00
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