Commit Graph

3893 Commits

Author SHA1 Message Date
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
ralf
6ea3a1c884 WIP address-selection for mail-compose got adding email addresses working 2025-01-28 10:09:22 +01:00
nathan
8769b3d49c Fix egw.json() calls from a popup could cause JS files to be loaded into the main window instead of the popup 2025-01-27 16:07:27 -07:00
ralf
e90f424ac5 WIP address-selection for mail-compose with all filters from addressbook.index 2025-01-27 12:46:29 +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
nathan
be2df46d07 Et2Template: Don't try to load if not template was specified 2025-01-20 09:58:52 -07:00
nathan
a88c53b9f5 Fix missing column(s) / duplicated headers / missing customfield filters
Can't use 'rows' namespace for headers, it misses some things and triggers autorepeat in some templates.
2025-01-20 09:20:54 -07:00
nathan
a2197f209a Fix nextmatch header did not get initial values 2025-01-17 10:24:44 -07:00
Nathan Gray
d86d26cc24
Change et2_template to Et2Template webComponent (#169)
* Change template to webcomponent
2025-01-16 13:34:27 -07:00
nathan
b0d952742b Et2TreeDropdown: Open options when clicking into the widget 2025-01-14 11:13:56 -07:00
nathan
ce970fd6d3 Hide placeholder in disabled inputs 2025-01-13 16:55:06 -07:00
nathan
a4a1e2837a Context menu fixes
- Add remove() to remove menu, not needed normally
- Remove reference to widget.options
- Fix filemanager modifying menu after setting the actions was not working (now re-generating menu after directly messing with actions)
- Hide dividers if section is empty
2025-01-13 14:34:51 -07:00
ralf
5303975044 hopefully final fix for the 404 in mail attachments problem
caused by typeof null !== 'undefined' :(
2025-01-12 13:32:20 +01:00
nathan
5aef3df2e8 Api: Fix auto copy/paste nm actions 2025-01-10 15:35:27 -07:00
nathan
8be9ffa47b Api: Don't block etemplate load load while creating context menu, let it defer 2025-01-10 15:35:27 -07:00
nathan
27e7a96598 Block browser context menu inside egw context menu 2025-01-08 08:21:32 -07:00
nathan
22f695b2e2 Make sure context menu items exec() with proper context 2025-01-06 14:48:41 -07:00
nathan
290dc59a09 Speed up nextmatch context menus by creating them once & reuse them 2025-01-06 13:30:17 -07:00
ralf
4a44739e8f WIP invoices: allow to query and use not just the first app supporting a certain mime-type
thought mail code still only checks for certain apps
2024-12-20 19:20:45 +01:00
nathan
367b939081 Finish WIP Et2Select test for close dropdown on blur 2024-12-20 09:39:29 -07:00
nathan
d9dd71d367 Get tests passing again by removing 'loadFromXML()' call
- it's loaded by the html`...`, and trying to load it from itself is just wrong
2024-12-20 09:13:49 -07:00
nathan
54352c2120 Remove debug 2024-12-20 09:06:04 -07:00
nathan
46c4d20623 Et2VfsPath: Fix Enter would not accept typed value in Firefox 2024-12-20 09:04:16 -07:00
nathan
fd52a2fee5 Fix merge document dialog used user preference over action path, even if it was missing 2024-12-20 08:37:19 -07:00
ralf
946b0a5e43 show app-icon and translated name for /(apps|templates)/$app 2024-12-20 11:05:48 +01:00
nathan
a6dfa98280 Et2Dialog: Fix buttons on predefined dialogs don't show up 2024-12-19 15:48:17 -07:00
nathan
10314e59bc Et2Search / SearchMixin: Clear button focuses search, ready for new value 2024-12-19 13:30:00 -07:00
nathan
02abf08be5 Et2Search / SearchMixin: Hide clear button when dropdown is visible 2024-12-19 13:14:23 -07:00
nathan
c0ac4cafae Et2Select / SearchMixin: fix some more allowFreeEntry issues
- existing values were not being properly matched
- " freeEntry " option.class (with spaces) was causing nasty error in LitElement
2024-12-19 12:44:26 -07:00
milan
d3ac3d7432 make bi icons same size as other icons 2024-12-19 18:31:00 +01:00
nathan
aea088736b Blur the activeElement to avoid an aria error "decendent must not have focus" 2024-12-19 08:45:58 -07:00
ralf
da6faa5b1d fix errors / exceptions in merge-print or other downloads do NOT show the error but trigger a redirect giving potentially a different unrelated error
A better fix would be to use a different cd-code e.g. cd=postSubmit and fix the server-side framework to return the framework / sidebox AND the page-content incl. the error, which it currently does not :(
With cd=popup we don't get the framework / sidebox (if running in the main window), but we get the error and a F5 / reload fixes the framework
2024-12-19 11:19:48 +01:00
nathan
2bec393ad2 Reset file upload progress list when clearing the value 2024-12-18 15:21:42 -07:00
nathan
0c387604f8 Change diff widget to webcomponent, update diff library 2024-12-13 16:23:56 -07:00
nathan
44c5998c50 Docs: Add link to Disabled vs Readonly Vs Hidden in Et2Widget documentaion of set_disabled() 2024-12-13 09:22:47 -07:00
nathan
30665eb1c5 Make tab & enter behave the same when editing 2024-12-12 12:54:43 -07:00
nathan
6169647c24 Fix some places in Link widgets where readonly & disabled were not applied 2024-12-12 11:36:28 -07:00
nathan
c89f0578d4 Et2LinkString / Et2LinkList: Use maxmatchs preference as default limit
You can still override this with limit attribute
2024-12-12 11:29:59 -07:00
nathan
a1b6222c4b Addressbook: Fix creating CSV import definition field mapping step failed
Incorrect select options broke the "target field" column
2024-12-12 10:56:19 -07:00
nathan
26d2ea4616 Fix legacy et2_createWidget() did not properly load webComponents when they had "et2-<tag>" 2024-12-11 14:57:53 -07:00
nathan
2075bbe64c Et2Date._inputNode can sometimes be just an input tag 2024-12-11 14:32:17 -07:00
nathan
a2b8ba300c Et2Date: Implement disabled attribute 2024-12-11 14:21:41 -07:00
nathan
299094333a Et2Select: Better handling of focus with allowFreeEntries=true multiple=false editModeEnabled=false 2024-12-11 13:24:09 -07:00
nathan
aaefb6ce68 Fix some app code using Et2Dialog.template, which previously returned the eTemplate2 object
It Et2Dialog.template is an attribute, and has to return the template name.
Use Et2Dialog.eTemplate to access the loaded etemplate2 object.
2024-12-11 08:33:32 -07:00
nathan
db37c3b116 Improve some issues with Et2Select with multiple=false & allowFreeEntries=true
- Adding a free entry did not always update UI fully with new value
- it was impossible to edit a free entry, just replace it
2024-12-10 13:45:21 -07:00
nathan
2356c6e0dd Change deprecated et2_dialog for Et2Dialog webcomponent 2024-12-09 14:56:34 -07:00
Alexandros Sigalas
c077ab96ff Et2DropdownButton: Added tooltips to menu items 2024-12-08 09:24:25 +01:00
nathan
afd0d0b43d Fix some Et2InputWidgets would not get a label 2024-12-05 14:27:04 -07:00
nathan
230635c5d6 Et2Details: Add accordionGroup attribute to group multiple details together, allowing only one in the group to be open at a time 2024-12-05 10:45:16 -07:00
nathan
fb1732de84 Et2Details: Fix overlaySummaryOnOpen was not implemented when hoist=false 2024-12-05 10:15:18 -07:00
nathan
a6002f24f0 Add Et2Dropdown, just a wrapper around SlDropdown 2024-12-05 08:22:39 -07:00
milan
5e4ccd4af6 vfs styling changes --added wrapping of long filenames --improved mail attachment list to use available space 2024-12-05 13:17:47 +01:00
nathan
b7a12136ec Api: Et2Dialog automatic tests & some documentation 2024-12-04 13:53:19 -07:00
nathan
1980251ac9 Et2Number: If user starts typing a number starting with a ".", it's < 1 regardless of user's number preferences 2024-12-04 10:54:55 -07:00
milan
813401c432 our bi-images fix for firefox esr 2024-12-04 14:29:12 +01:00
milan
aa83da3232 remove jserror on undefined variable 2024-12-04 12:04:53 +01:00
nathan
53a5428c82 Et2Number: Better handling of what to do when entered decimal character does not match preference 2024-12-03 11:04:28 -07:00
nathan
1ea0e7a56c Et2Number formatting fixes
- fix issues with multiple . as thousands separator changed the number on blur.
  eg: 123.456.789 was changed to 123.456,78
- add exception for N.A. numbers entered when "," is decimal separator
  eg: 1.5 assume user meant 1,5 not 1500 or 15.
  Precision is taken into account so if precision=3, assume 1.234 is 1,234 not 1.234,000.
2024-12-03 10:14:13 -07:00
ralf
4aac535684 et2_grid.set_value() needs to remove the colgroup from the DOM too 2024-12-03 17:24:27 +01:00
nathan
da7eb6c47a Et2Number: Special handling for width to override its min-width & max-width 2024-12-02 16:28:08 -07:00
nathan
41c2fa92e6 Et2Select: Handle focus issue where double-tab was needed before you could drop down the options with space or down arrow 2024-12-02 15:30:03 -07:00
nathan
4a28b1bcd7 Update shoelace 2.16.0 -> 2.18.0 2024-12-02 14:52:04 -07:00
nathan
222c9b1ded Fix some layout issues on infolog ProjectManager tab
- Relative dates number was detached from unit selectbox
- Price input was squished
2024-11-29 10:07:04 -07:00
milan
4baa4becfe change condition of lazy loading to be true if selectOption.children is undefined 2024-11-28 12:49:48 +01:00
milan
ba84d20eb4 make "expand/collapse folder" easier to click especially on mobile 2024-11-28 11:50:02 +01:00
nathan
ede3cf6787 Fix horizontal overflow in popups caused by large fonts or wide templates
- Fixed main layout table so it doesn't force the template wider
- Changed overflow calculation so even if it does, the popup will grow
2024-11-27 15:53:37 -07:00
nathan
499e1534e1 Fix export dialog tab sizing 2024-11-27 13:33:42 -07:00
nathan
71b38566e5 Avoid error if nextmatch dynheight was not created 2024-11-27 10:06:11 -07:00
nathan
656b7dd2c6 Api: Hide link comment from et2-link-string as well 2024-11-26 14:59:00 -07:00
nathan
16a222caee Stop Et2Email from showing through toolbar action dropdown 2024-11-21 13:29:24 -07:00
nathan
3e24641d6b Disable dragging toolbar items in mobile view since it interferes with scrolling the 3-dots more actions list 2024-11-21 11:55:33 -07:00
nathan
a66eb56bde Fix mobile 3-dots / context menu button closed the menu immediately 2024-11-21 11:47:04 -07:00
milan
69b17bb50c Revert "make expand folder easier to click"
This reverts commit abf1c384f4.
2024-11-21 18:07:19 +01:00
milan
abf1c384f4 make expand folder easier to click 2024-11-21 17:20:42 +01:00
nathan
49f9e99dbf Fix Et2Details hoist attribute, contents were not fully shown after fe56fc2a8b 2024-11-20 08:31:18 -07:00
nathan
fe56fc2a8b Et2Details + Et2Groupbox: Stop using <details> tag so we can control layout 2024-11-19 14:24:45 -07:00
nathan
f6874330fc Et2VfsSelectButton passes in value (reference). Take care to keep that reference, or value can get lost.
Fixes Link to -> copy from VFS sometimes fails
2024-11-18 13:46:33 -07:00
ralf
63e566ad6c fix not working trailingSlash validation since dropping of Lion framework 2024-11-16 14:04:08 +01:00
ralf
0b08b33a8e fix indention 2024-11-16 09:25:31 +01:00
nathan
67e7d9822a Fix contextmenu by keyboard context button 2024-11-15 11:13:15 -07:00
nathan
80cb0b1f9f Avoid egwIsMobile() is undefined in tests 2024-11-15 10:53:55 -07:00
nathan
1a70183e0b Remove a use of jQuery 2024-11-15 10:49:41 -07:00
nathan
2dc9c4ec57 Fix access before initialization issue breaking JS tests 2024-11-15 10:48:55 -07:00
nathan
73a606f6ba Et2Tree: When drag + hover over a leaf, only open it if it actually has children 2024-11-15 08:49:37 -07:00
ralf
65f2eba403 et-select-dow_ro was only displaying the first day 2024-11-15 16:14:04 +01:00
nathan
1b3f6ea95d Et2Tree: Stop doubled onclick call 2024-11-14 10:03:37 -07:00
milan
0e98fb40fd tab size fix
Regarding Ticket #100501
2024-11-14 15:28:54 +01:00
nathan
f05c0880c0 Api: Fix Et2TreeDropdown lazy-load / initial load still conflicted after 2e469a00de 2024-11-12 13:59:19 -07:00
nathan
5be31ead6c Api: Fix Et2Number could not display empty value (""), gave 0 instead. 2024-11-12 13:21:22 -07:00
ralf
cad474701e fix since f093762d19 not shown progress bar in file uploade 2024-11-12 13:36:49 +01:00
milan
9515a31791 cleaned up bi icon .svg s to use there parent size and work like bootstrap font icons 2024-11-12 10:50:51 +01:00
milan
034b0b4645 Only inline svg within WebserverRoot and containing bi-
-- we use bi- to mark images that should behave like bootstrap font images
2024-11-11 16:32:54 +01:00
milan
1d5457b477 changelog is visible again
-- not perfect, we now have two scrollbars, needs further fixing
2024-11-11 16:30:55 +01:00