Commit Graph

2834 Commits

Author SHA1 Message Date
ralf
6e981cf0c1 fix default-alarm(s) in calendar could not be removed:
- et2-date-duration with emptyNot0 attribute set, was still regarding "" as 0
- preferences class was not recognising change from 0.0 to "" (Array comparison with == vs. array_diff_assoc())
- preferences_settings was not updating $GLOBALS[egw_info][user][preferences], which was used in calendar settings hook
2024-02-13 10:32:28 +02:00
ralf
d1dc3a1be3 set class attribute from xet file on the table, like for other widgets too 2024-02-11 14:41:51 +02:00
ralf
1373165a6b fix invalid display for negative values (eg. showing growth/shrinkage) and preserve empty ("" or undefined), not show 0B 2024-02-11 13:57:30 +02:00
ralf
59d50c344a fix TypeError in InfoLog caused by _searchNode not yet instantiated 2024-02-11 08:45:17 +02:00
ralf
86c76a434a allow to pass a JSON filter object to application-type custom-fields:
adressbook: '{"owner":5,"cat_id":[1,3]}' will only return contacts from personal AB of user #5 with either cat_id 1 or 2
2024-02-11 08:45:17 +02:00
nathan
056448c299 Fix select with multiple & rows=1 could not listen for tag events 2024-02-06 08:29:49 -07:00
ralf
d504d63345 adding optional submit_value parameter to widget getValue() method to let widgets know value is needed for submit/getValues 2024-02-06 17:04:12 +02:00
ralf
7ad9e2cd4f fixing the fix
there is probably a nicer solution to let the calling widget know that getValues() is running
triggering a custom event won't help, as getValues() is not async and can't be made to wait for the widget handling the event
2024-02-06 17:04:12 +02:00
ralf
23fbe718dd new boolean property applyDefaultFont for rtf editor and using it in mail compose
making sure it applyDefaultFont method gets always called in compose
2024-02-05 10:54:50 +02:00
nathan
0ad14c3801 Api: Don't try to translate URLs
Also sub-classes email, phone, etc.
2024-02-02 09:34:26 -07:00
nathan
fa0cb4ff6f Fix splitEmail() when name contains angle brackets 2024-02-02 09:34:01 -07:00
nathan
749ebcd9d1 Fix infinite loop in splitEmail() when name is '"' 2024-02-01 11:50:43 +02:00
ralf
47f478550e * Mail: fix diverse problems of rich-text editor, if small paragraphs are used 2024-01-23 22:29:03 +02:00
ralf
10f6dccd5d check toolbar preference has a reasonable value: is a real object (not an array), strings e.g. stall the whole widget 2024-01-23 15:18:46 +02:00
nathan
5faee7df8b * Api: Fix favorites button in nextmatch header did not work 2024-01-22 13:39:52 -07:00
nathan
0f143b31e2 Api: Fix up favorite button
- clicking favorite did nothing
- stop delete flicker
- remove delete button from current as favorite
2024-01-22 13:39:44 -07:00
ralf
e2e85a65e4 fix doubled domain in brackets for emailDisplay="domain" 2024-01-22 22:12:09 +02:00
nathan
3f788eb35e Api: Make sure parent properties and @property properties are included in clone 2024-01-22 21:43:12 +02:00
nathan
3b2854e850 Api: Fix r/o select did not show correctly if value had a leading "," 2024-01-22 09:58:47 -07:00
ralf
a0c148b42c use "email" as default for emailDisplay attribute in et2-url-email (like before)
add new attribute value "preference" to use the user preference (like et2-email does)
2024-01-22 17:41:21 +02:00
nathan
c41a481110 Missed changes from trunk 2024-01-18 11:17:09 -07:00
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
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
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