Commit Graph

3505 Commits

Author SHA1 Message Date
nathan
7f987d9e0f Refactor email address formatting and use it in Et2EmailTag and Et2UrlEmailReadonly 2024-01-18 11:15:17 -07:00
nathan
5ce803abb3 Et2Email: Handle emails with multiple quotes around the name
eg: "'Birgit'" <bb@example.com> goes to Birgit instead of 'Birgit'

Includes format tests
2024-01-18 11:15:10 -07:00
nathan
460a5bd840 * Mail: Additional "Information to show on email tag" preference, "Name and domain" 2024-01-18 11:14:57 -07:00
nathan
5b10064166 Change email tag display from multiple boolean to a single option
onlyEmail and fullEmail properties changed to just emailDisplay with options of "full" | "email" | "name" | "domain"
2024-01-18 11:14:46 -07:00
nathan
a0e0d9cefb Et2Email: Better handling of blur & showing validation error 2024-01-18 11:14:34 -07:00
nathan
7948a64d3c Et2Email: Reduce minimum search input size 2024-01-18 11:13:41 -07:00
nathan
48a30afa4b Et2Email: Fix [readonly][rows=1] popup position & z-index issue 2024-01-16 10:11:39 -07:00
nathan
d5dbe71002 Et2Email: Fix popup padding 2024-01-16 10:10:31 -07:00
nathan
5d23892250 Et2Email: Readonly & limited rows styling 2024-01-16 10:10:23 -07:00
nathan
1b647d1ec2 Api: Fix Et2Number did not respect min/max 2024-01-16 10:09:29 -07:00
nathan
e9b66d0988 - Send total results with link search results
- Change how "# More" is shown to wait for all searches first
2024-01-16 10:08:59 -07:00
nathan
7d43ec0449 SearchMixin: Change how loading spinner is done, "No results" now only shows after all searches are done. 2024-01-16 10:08:51 -07:00
ralf
12fcd5709b stop security error, if iframe source is not from our own origin 2024-01-15 17:27:23 +02:00
ralf
6c2610ca50 fix merge conflict 2024-01-15 14:22:20 +02:00
nathan
3746e07276 Et2Email: Some automatic tests 2024-01-15 14:17:47 +02:00
ralf
5e42dc34de fix could not set forwarding address for vacation notice and get Et2Mail to deal with wrong/non-array values set from server-side 2024-01-15 13:59:48 +02:00
ralf
c256c2cde9 better check/waiting for egw_ready, also coping with (current) situation that it is already existing 2024-01-15 08:48:14 +02:00
ralf
6b920ee78c * OpenIDConnect: allow to show as button on login page to use together with regular password login
also fix/hack not working social icons and SAML button on login page
2024-01-15 08:48:14 +02:00
nathan
014753372b Et2Email: Add max height + scrollbar to tag list
use --height CSS var to override
2024-01-03 09:35:03 -07:00
nathan
477af60705 Et2Email: If searchUrl is set to "", skip server search / suggestions 2023-12-20 08:24:04 +02:00
nathan
469c0cf742 Fix drag & drop interfered with mouse selection when editing tag 2023-12-20 08:24:04 +02:00
nathan
0dfeae9b16 Fix email tags could not be edited inside Et2Email
They could, but the change was ignored for the first tag
2023-12-20 08:23:24 +02:00
nathan
197e321905 Revert "Et2Email: Fix validation message for invalid search text did not always show on field blur"
This reverts commit 44f1317873.
2023-12-20 08:23:24 +02:00
hadi
4fed80f78a Fix wrongly filtered avatars in darkmode, happens for calOwner and regular account-selector widgets 2023-12-19 13:23:52 +01:00
nathan
00ceb8a32d Get dark mode fix working for avatars in Et2Email & Et2SelectEmail 2023-12-19 12:26:03 +01:00
nathan
3acbd1401f Et2Email: Fix validation message for invalid search text did not always show on field blur 2023-12-19 13:11:20 +02:00
nathan
bb4f055e71 Et2Email: When tabbing away with partial email typed, only accept current suggestion if it still matches
Previously current option was not updated fast enough, and was blindly accepted.
2023-12-19 13:11:20 +02:00
nathan
968ff95139 Et2Email: Show validation error for partially typed (not yet accepted) email addresses 2023-12-19 13:11:20 +02:00
nathan
294b87e3a8 Et2Email: If user had a valid email typed before blurring the widget, accept it 2023-12-19 13:11:20 +02:00
nathan
d5f629a491 Et2Email: Fix missing distribution lists 2023-12-15 16:20:31 -07:00
nathan
3fcea5b925 Et2Select: Fix additional entry selected after closing option list
Sometimes after searching and selecting an entry from the results, when the list was closed an additional option was added
2023-12-14 11:42:25 -07:00
nathan
61a2c97198 Et2Email: More work on actions
- Add Escape closes suggestions
- Better respect preference to close suggestions after selecting
- Fix another lost focus
2023-12-14 11:41:59 -07:00
nathan
c306c267ba Et2Email changes & bugfixes
- Keep focus in search when suggestions arrive
- Fix focus went to body when tabbing from search with typed address
- Don't wrap at top / bottom of suggestion list
- Spacing / padding fixes
2023-12-14 11:41:52 -07:00
nathan
c9ab4cccf6 Finish Et2Email widget 2023-12-14 11:41:40 -07:00
nathan
e28d38898b Et2Email WIP - Drag & Drop & sort 2023-12-14 11:41:34 -07:00
nathan
a60844d45a Et2Email: WIP - Most interactions done 2023-12-14 11:41:26 -07:00
nathan
580466f9b8 Et2Email WIP 2023-12-14 11:41:18 -07:00
nathan
81d63b6c12 Fix vfsWidget sometimes gives "TypeError: Cannot read properties of null (reading 'get_value')"
It was trying to access template widgets before they had loaded.  Fixed to wait until load is done.
2023-12-13 11:16:56 -07:00
nathan
a23cfd37b0 Fix nextmatch entry filter header could not be cleared 2023-12-07 10:44:56 -07:00
nathan
3f18031cfd Fix drag of non-sequential rows in Firefox
When selecting multiple rows with Ctrl, drag would not work
2023-12-07 10:39:50 -07:00
nathan
26de0ab801 Et2ButtonTimestamper: Fix error where some users could not be found
In instances with > 100 users, it's possible the current user was not on the client side.  Now checking user() first, it should always be there.
2023-12-07 10:38:48 -07:00
nathan
137599f124 Et2SelectThumbnail: Get working with new Et2Select tagTemplate 2023-12-07 14:23:53 +01:00
hadi
6a67fa85cd Do not proceed sizing for avatar widget if it's not in an accepted format 2023-12-07 11:56:02 +01:00
hadi
e280f8cd2c Fix favorite button icon size for both in regular and mobile view 2023-12-07 11:55:31 +01:00
nathan
17676a2112 ImportExport: Fix export date filters lost their "All" option 2023-12-06 14:02:10 -07:00
nathan
6f4fdb4707 Fix infinite loop in missingOption in country/state due to not waiting for results
Add class method to search through select options
2023-12-06 09:17:40 -07:00
nathan
c400b548e8 Fix unable to save cleared link value 2023-12-06 09:15:29 -07:00
nathan
d24c0f05ce Fix unable to clear link value 2023-12-06 09:15:21 -07:00
nathan
8f5099a85d Select account: sort options 2023-12-04 13:41:45 -07:00
nathan
5b9ee2db39 Et2Select: Fix missing option detection when options have optgroups
Was unable to find option in Timezones, resulting in an infinite loop
2023-12-02 19:37:17 +02:00
ralf
751942728d Revert "Revert "SearchMixin: Fix initial values not always displayed when options are from server or file""
This reverts commit cc4813ea90.
2023-12-02 19:36:28 +02:00
ralf
cc4813ea90 Revert "SearchMixin: Fix initial values not always displayed when options are from server or file"
Causes a complete browser freeze when opening Preferences > Common preferences > Default preferences

This reverts commit 562a391579.
2023-12-01 16:58:25 +02:00
nathan
562a391579 SearchMixin: Fix initial values not always displayed when options are from server or file
Fix for when remote result doesn't get there before SlSelect renders, and the SlSelect removed the value because the option wasn't there
2023-11-30 14:02:18 -07:00
nathan
7e768c907b Fix link search did not always show label for initial value 2023-11-30 11:58:51 -07:00
nathan
e66c9512f1 Fix calendar participant select did not show selected tags while the dropdown was open
Tags were only shown once dropdown was closed
2023-11-30 10:55:35 -07:00
nathan
f58c10a7e9 Et2Select: Fix weird UI issue after clearing single value
Search was shown as well as empty label
2023-11-29 11:03:52 -07:00
nathan
a9f1b693ad Et2SelectAccount: Fix initial values not always displayed when options are from server or file 2023-11-29 10:46:45 -07:00
nathan
4a067f8515 Et2Select: Fix initial values not always displayed when options are from server or file 2023-11-29 09:36:50 -07:00
nathan
9e7de91ab6 Cleanup unused code 2023-11-28 21:44:29 +02:00
nathan
acd52cf749 Try waiting for timeout before sending focus to search input
Maybe fixes search field doesn't get focus when clicking on select
2023-11-28 21:43:51 +02:00
ralf
48c3417857 fix not hidden expand-icon for readonly multiple 2023-11-28 20:31:50 +02:00
nathan
0cc1b052d8 Et2SelectEmail: Fix drag&drop used wrong size for drop targets, now with the ability to open the dropdown too
see c4d85dd319
2023-11-27 15:12:58 -07:00
nathan
7796ee3fef Et2SelectEmail: Fix drag&drop used wrong size for drop targetrs 2023-11-27 13:43:45 -07:00
nathan
ca944b9f15 Fix sidemenu calendar owner cannot select a search result
broken by  7642894
2023-11-27 10:10:08 -07:00
nathan
061ac858b7 Et2Tag: Fix edit button was missing 2023-11-25 11:21:45 +02:00
nathan
a58900656f Fix drag & drop between email selects 2023-11-25 11:21:45 +02:00
nathan
b9a36140cb Et2EmailTag: Fix plus button still triggered Et2SelectEmail's onclick 2023-11-24 15:12:12 -07:00
nathan
97574f0118 Et2Select: Fix single line overflow to count correctly for any egw content size preference 2023-11-24 15:12:02 -07:00
nathan
487939dbfd Et2Select: Fix all tags popup causes siblings to move / resize 2023-11-24 15:11:49 -07:00
nathan
f1715d6a7c Et2SelectEmail: Update for recent Et2Select changes, move draggable into its own method 2023-11-24 15:11:34 -07:00
nathan
117331bafd Et2Select: Fix show all tags on hover popup needed z-index set 2023-11-24 15:10:21 -07:00
nathan
bf75902518 Et2Select: Fix/re-add hidden tag flag when multiple,readonly & rows=1 2023-11-24 15:10:12 -07:00
nathan
8f4c9cbb0a Et2Select: Not showing new freeEntry in select options immediately after adding it 2023-11-24 15:09:58 -07:00
nathan
7195ea09b2 Et2Select: Pressing tab on empty search moves focus to next element 2023-11-24 15:09:49 -07:00
nathan
c6485ebd4f Et2Select: Fix unwanted tag scrollbars for some multiple selects 2023-11-24 15:09:39 -07:00
nathan
4159e2493c Et2Select: Fix email (& other values with spaces) did not show initial value 2023-11-24 15:09:24 -07:00
nathan
5cac07e124 Et2Select: Fix overflow / row limit 2023-11-24 15:08:51 -07:00
nathan
87e60510ea Et2Select: Better fix for 80ad5dddb2 which caused problems with selecting options in Et2SelectEmail 2023-11-24 15:08:15 -07:00
ralf
7bd98a8bf2 using single link.svg from api and use it by default for all link* buttons 2023-11-24 07:27:50 +02:00
nathan
fb217d308c Fix print did not work with forced hidden columns 2023-11-22 16:31:02 -07:00
nathan
0c65771114 Et2Select: Fix unwanted tag scrollbars for some multiple selects 2023-11-22 16:12:39 -07:00
nathan
76250398b0 Et2Select: Fix email (& other values with spaces) did not show initial value 2023-11-22 16:10:57 -07:00
nathan
c7764ebebe Et2Select: Better fix for 80ad5dddb2 which caused problems with selecting options in Et2SelectEmail 2023-11-22 16:10:45 -07:00
nathan
688de6d52c Et2Select: Fix selects with options from file were not showing their initial set value 2023-11-22 16:10:38 -07:00
nathan
7a80e8be5c Fix nm column resize grabs mousedown, blocking filter selection 2023-11-20 14:56:55 -07:00
nathan
1861f63231 Et2Listbox: Fix options were not shown
Fixes merge placeholders not shown in Collabora
2023-11-17 11:20:52 -07:00
nathan
064b0088b9 Et2Select fixes
- Fix sometimes not shown emptyLabel
 - Fix LinkSearch result count
2023-11-16 15:09:48 -07:00
nathan
2207377bd4 Revert "Et2Select: Even better handling of false invalid value", it was too strict leaving blanks instead of emptyLabel
This reverts commit 7db80d066f.
2023-11-16 13:51:46 -07:00
nathan
25a823c05d Et2Select: Even better handling of false invalid value 2023-11-16 13:36:54 -07:00
nathan
b4e2524023 Fix validation messages after Shoelace update
- some messages (textbox) were out of position
- Selectboxes did not show validation message
- Selectbox considered false a valid value for required, even if that wasn't an option
2023-11-16 13:36:45 -07:00
nathan
74a8872ead Fix missing value in some static option selects
Shoelace select initially rejects the value due to missing option, and needs to be re-set once our options have arrived
2023-11-16 10:17:51 -07:00
ralf
fc603d0a85 more renames of Et2Dialog attribute modal to isModal 2023-11-16 13:43:08 +02:00
ralf
94a2a0473b fix audio files wont play (modal attribute renamed to isModal) 2023-11-16 13:37:27 +02:00
nathan
30238e52cd Et2SelectEmail: Fix incorrect total result, wrongly shown "No results" 2023-11-15 15:28:22 -07:00
nathan
47a466a39d Api: Fix client side validation failure when widget value was null
Happens for readonlys, disabled, selects with no valid options
2023-11-15 12:00:52 -07:00
nathan
2967f8d508 Et2Select: Let select option list get as big as it needs 2023-11-15 09:43:27 -07:00
nathan
6dfd854ba4 Home: Fix portlet broken by Shoelace update to 1.8
They made HasSlotController internal only
2023-11-15 09:15:17 -07:00
ralf
0be063ba89 fix error, if this.editor is not (or no longer) set 2023-11-15 17:28:17 +02:00
hadi
83909cd1fa Fix js error of Cannot read properties of null (reading '0') 2023-11-13 13:27:00 +01:00
hadi
187cd3c112 Fix set video src and duration not working 2023-11-13 12:53:18 +01:00