Commit Graph

6720 Commits

Author SHA1 Message Date
ralf
3da02f2dfd fix array_diff_assoc(): Argument #1 ($array) must be of type array, null given 2024-02-14 10:56:19 +02:00
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
eb06ea5463 allow to specify number of digits for Vfs:hsize() 2024-02-11 10:54:06 +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
ralf
ae32afa232 fix regular expression stopping Mail REST API when trying to send mails 2024-02-08 16:08:18 +02:00
ralf
180139af85 fix setting InfoLog primary link 2024-02-08 16:07:18 +02:00
ralf
ebac17aa4e * Timesheet: new REST API to query, update and delete timesheets https://github.com/EGroupware/egroupware/blob/master/doc/REST-CalDAV-CardDAV/Timesheet.md 2024-02-08 16:06:55 +02:00
ralf
d2b53444f7 allow to use "/timesheet/?filters[owner]=0" to query all timesheets the current user has access too 2024-02-08 16:06:31 +02:00
ralf
587004b173 * REST API: new links collection allowing to link application entries with each other or attach files 2024-02-08 16:05:57 +02:00
ralf
9e7a3ec4d8 another big chunk of PHP Warnings 2024-02-08 12:31:28 +02:00
ralf
8a7d70ff1a fix a ton of Undefined warnings filling up eSync logs 2024-02-06 21:47:38 +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
ralf
34e0913a9f WIP timesheet REST API 2024-02-05 10:07:33 +02:00
ralf
2481e6dadd nicer formatting (injecting nl, tab and space) in JSON for application/pretty+json only 2024-02-05 10:07:29 +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
ralf
6da5f06020 * Mail REST Api: respect user preference to compose in HTML and convert plain body from REST Api call to HTML (bodyHtml attribute forces HTML) 2024-02-01 13:37:40 +02:00
nathan
749ebcd9d1 Fix infinite loop in splitEmail() when name is '"' 2024-02-01 11:50:43 +02:00
ralf
b2150be8f7 try fixing race-condition: Call to a member function exists() on null 2024-02-01 11:04:45 +02:00
ralf
e6710a9bc3 try fixing race-condition: Call to a member function exists() on null 2024-02-01 09:47:48 +02:00
ralf
eeb62670ad fix Error: Call to a member function id2name() on null 2024-01-30 16:54:39 +02:00
ralf
69a9ef3e34 fix not updated jpegphoto, if changed in AD 2024-01-30 16:20:00 +02:00
ralf
341d631cce * API: show "My Account" in avatar menu on top right, if user has rights to change his contact data 2024-01-29 18:29:23 +02:00
Alexandros Sigalas
a071d5228d Add my account to Top Menu, only show when user is allowed to maintain his own data (fixed indention and warning) 2024-01-29 18:29:08 +02:00
Alexandros Sigalas
3a4310476c Add my account to Top Menu, only show when user is allowed to maintain his own data 2024-01-29 18:29:08 +02:00
ralf
f5f347b83b fix sometimes not logged updated contact-data (binary jpegphoto breaks JSON encoding) 2024-01-29 18:04:13 +02:00
ralf
02fd57eb34 fix manual initial import cancels async job of automatic import
also do not log DN as updated in contact-data
2024-01-29 17:35:50 +02:00
ralf
5e671ea3f9 * API: no more session based cache for account list or searches for SQL backend (only for LDAP or AD) 2024-01-29 17:17:03 +02:00
ralf
582408257f should type what I mean ;) 2024-01-29 14:13:03 +02:00
ralf
a2f9700b96 * Account Import: if deleting or deactivating of deleted accounts is configured, run first import as a non-incremental one to do so 2024-01-29 14:09:47 +02:00
ralf
b924e3a03d * REST API: also log requests with Content-Type 'application/json' not just 'text/*' 2024-01-26 12:54:56 +02:00
ralf
65f238af6b * Admin: fix user timezone not taken into account when displaying admin queue
also fixes Api\Storage\Base to also consider type=int&meta=timestamp columns as timestamps
2024-01-25 20:47:25 +02:00
ralf
0f11a42786 Changelog for 23.1.20240125 2024-01-25 11:02:46 +02:00
Ralf Becker
6956ba7601 pending translations from our translation server 2024-01-25 09:55:29 +01: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
ralf
57f4776615 * Mail REST Api: added reply to an uploaded eml file (with optional preset body and attachments) 2024-01-22 12:10:15 +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
ralf
b9919e8f2c fix Smtp/Ads to NOT store users primary mail address as forward
if forwardOnly is not set, like we do it for UCS
2024-01-16 19:47:47 +02: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
a2834cb5d4 load login.js incl. cache-buster via Framework 2024-01-15 10:08:06 +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
ralf
6dea7024f1 * ActiveDirectory: optionally also use/import groups of type distribution-list 2024-01-11 10:48:04 +02:00
ralf
b0da0b0b8c move SiteSite cookie check into constructor to not affect static methods / email not using OAuth/OIC 2024-01-08 12:51:47 +02:00
ralf
76174b49fc * EPL S3: fix not working upload of backups 2024-01-08 12:33:20 +02:00
ralf
2ff6ceca8e * REST Api: allow to create new fields with PATCH for application/json content-type and error on not existing custom fields 2024-01-08 09:42:47 +02:00
ralf
f23a0cccbf * Adressbook/Calendar/REST: fix not parsed custom fields 2024-01-08 09:42:47 +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
ralf
1b85a9dd5b WIP Timesheet REST API: fix PHP Fatal error in Addressbook REST API
Declaration of EGroupware\Api\Contacts\JsContact::UTCDateTime($date) must be compatible with EGroupware\Api\CalDAV\JsBase::UTCDateTime($date, bool $user = false)
2023-12-21 17:30:34 +02:00
ralf
f2bf0902f6 Changelog for 23.1.20231220 2023-12-20 10:38:04 +02:00
nathan
c6c5862dc8 Fix tinymce toolbar is over everything in safari 2023-12-20 08:24:04 +02: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
ralf
d48f84dec1 Changelog for 23.1.20231219 2023-12-19 14:25:43 +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
Ralf Becker
65b2a53843 pending translations from our translation server 2023-12-19 07:11:47 +01:00
ralf
0f6d01f5a0 allow to pass $only_current_user === 0, to get only mail accounts valid for all users 2023-12-18 13:14:09 +02:00
ralf
f0fcb2fb05 prioritize/running order of async jobs: highest: calendar alarms, lowest: db_backup or S3-sync, rest medium 2023-12-16 11:23:20 +02:00
nathan
d5f629a491 Et2Email: Fix missing distribution lists 2023-12-15 16:20:31 -07:00
ralf
38ecfed987 disable imap log again 2023-12-15 17:53:57 +02:00
ralf
3dbb579239 * Mail: implement Exchange login-type "domain/username" 2023-12-15 17:19:16 +02: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
ralf
b45a7e35aa fix fatal error deleting accounts via LDAP/AD import 2023-12-13 17:10:15 +02:00
ralf
12ed21bf77 adding newer config vars 2023-12-13 14:22:21 +02:00
ralf
7185b9e718 * Calendar/REST API: implement specifying alerts, useDefaultAlerts and priority attributes in POST or PUT requests 2023-12-12 19:51:07 +02:00
ralf
601cd428e5 WIP Timesheet REST API: fix PHP Fatal error in Addressbook&Calendar REST API
Declaration of parseCategories must be compatible
2023-12-12 19:51:07 +02:00
ralf
e3dde92be8 WIP REST Api for Timesheet app 2023-12-12 19:51:07 +02:00
ralf
fd15d4e750 fix error setting vacation notice (without rules):
updateScript: putscript failed: mail: line 3: error: unexpected ',' found at (the presumed) end of file. mail: error: parse failed.
2023-12-08 22:54:53 +02:00
ralf
a78003f866 allow to pass in the used Db object 2023-12-07 20:37:55 +02: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
ralf
e9e96e3c39 * Mail: allow to configure an auto-responder, if Sieve supports the vacation-seconds extension 2023-12-07 16:39:27 +02:00
ralf
04271cabc3 Fix "* Mail/Sieve: fix vacation message with redirect kept mail in INBOX, even if rule moved it to a folder" 2023-12-07 16:39:27 +02:00
nathan
137599f124 Et2SelectThumbnail: Get working with new Et2Select tagTemplate 2023-12-07 14:23:53 +01:00
hadi
c934014ba0 Fix country selector is not showing its emptyLabel default icon 2023-12-07 11:56:59 +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
b99f7dc8c4 Avoid some more PHP warnings
"Trying to access array offset on value of type null"
2023-12-05 13:39:06 -07:00
ralf
158e1a39cb * LDAP/Import: fix groups never matched regular expression dn-filter in import 2023-12-05 15:17:18 +02: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
ralf
d5d614c1fc Changelog for 23.1.20231201 2023-12-01 08:06:30 +02:00
Ralf Becker
df73301ce4 pending translations from our translation server 2023-12-01 07:02:08 +01: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
ralf
1dbab5fe18 Revert "* Mail/Sieve: fix vacation message with redirect kept mail in INBOX, even if rule moved it to a folder"
Cause mails never to be left in INBOX :(

This reverts commit 41e102f015.
2023-11-29 17:01:02 +02:00
ralf
9d01dc9e7b Changelog for 23.1.20231129 2023-11-29 08:35:16 +02: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
ralf
13f0d98c67 fix Cannot access offset of type string on string 2023-11-25 12:32:38 +02: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