Commit Graph

2733 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
f913f2f890 fix array_diff_assoc(): Argument #1 ($array) must be of type array, null given 2024-02-14 10:55:36 +02:00
nathan
62d9c222b6 Just get it working WIP
- Fix category tree structure
- Switch on tree multiple
probably lots of bugs still, looks like we may have to do click on tree = add / remove and not show the value after all
2024-02-13 17:15:23 -07:00
Ralf Becker
0946a5c8bb adapt for <et2-tree(-cat)(-multiple) --> <tree(-cat) multiple="..." 2024-02-13 10:56:49 -07:00
nathan
94a32d2800 Et2TreeDropdown WIP
Initial commit.  Sort of works.
2024-02-13 10:32:36 -07: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
c4541f75a2 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:01 +02:00
nathan
63083ee811 Et2VfsSelectDialog: Get add directory button responding to current path permissions 2024-02-12 08:09:26 -07:00
ralf
8fae3edc8c allow to instantiate Mail class with $acc_id belonging to another user ($called_for parameter) 2024-02-12 15:05:53 +02:00
ralf
eb06ea5463 allow to specify number of digits for Vfs:hsize() 2024-02-11 10:54:06 +02:00
ralf
bb1b408388 allow to specify number of digits for Vfs:hsize() 2024-02-11 10:53:11 +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
dc375f8e02 fix regular expression stopping Mail REST API when trying to send mails 2024-02-08 13:39:56 +02:00
ralf
9e7a3ec4d8 another big chunk of PHP Warnings 2024-02-08 12:31:28 +02:00
ralf
83a2729cf0 another big chunk of PHP Warnings 2024-02-08 12:30:39 +02:00
nathan
1ba476ef6f Et2VfsSelectDialog WIP
- Handle server giving us a different path
- Key handlers
2024-02-06 16:16:00 -07:00
ralf
8a7d70ff1a fix a ton of Undefined warnings filling up eSync logs 2024-02-06 21:47:38 +02:00
ralf
7c50457e2c fix a ton of Undefined warnings filling up eSync logs 2024-02-06 21:46:43 +02:00
ralf
d472c267b2 fix setting InfoLog primary link 2024-02-06 21:24:15 +02:00
ralf
087e969f9f * 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-06 16:39:12 +02:00
ralf
59619f83a9 allow to use "/timesheet/?filters[owner]=0" to query all timesheets the current user has access too 2024-02-06 12:52:02 +02:00
ralf
07d242e705 * REST API: new links collection allowing to link application entries with each other or attach files 2024-02-05 21:06:18 +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
2e553911b0 Further work on Et2VfsSelect
- Button opens dialog & handles action
- Button shows feedback while processing
- Fix dialog flex spacing
- Fix dialog re-use was not clean
2024-02-02 15:20:33 -07:00
ralf
b5dfe12669 nicer formatting (injecting nl, tab and space) in JSON for application/pretty+json only 2024-02-02 09:33:36 +02:00
ralf
ca443060f4 WIP timesheet REST API 2024-02-01 22:16:36 +02: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
ralf
4ce3298241 * 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:11 +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
b175b14294 try fixing race-condition: Call to a member function exists() on null 2024-02-01 11:00:42 +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
964a71f6d3 try fixing race-condition: Call to a member function exists() on null 2024-02-01 09:45:27 +02:00
ralf
eeb62670ad fix Error: Call to a member function id2name() on null 2024-01-30 16:54:39 +02:00
ralf
22a0ae2563 fix Error: Call to a member function id2name() on null 2024-01-30 16:54:10 +02:00
ralf
69a9ef3e34 fix not updated jpegphoto, if changed in AD 2024-01-30 16:20:00 +02:00
ralf
85fbfe3e63 fix not updated jpegphoto, if changed in AD 2024-01-30 16:18:42 +02:00
ralf
951ce7cb9f changes to allow mounting ftp into vfs via an URL like "ftp(s)://<ftp-user>:<ftp-pass>@<ftp-host>/<path>?mode=0750&user=sysop&group=Default" 2024-01-30 15:36:41 +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
Alexandros Sigalas
ebfefbf070 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:11:19 +02:00
Alexandros Sigalas
e5b789693e Add my account to Top Menu, only show when user is allowed to maintain his own data 2024-01-29 18:11:19 +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
cb7cc5a71d fix sometimes not logged updated contact-data (binary jpegphoto breaks JSON encoding) 2024-01-29 18:03:33 +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
64e77f6f50 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:22 +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
dad6ade3f9 * API: no more session based cache for account list or searches for SQL backend (only for LDAP or AD) 2024-01-29 17:00:06 +02:00
ralf
582408257f should type what I mean ;) 2024-01-29 14:13:03 +02:00
ralf
659b18b362 should type what I mean ;) 2024-01-29 14:12:41 +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
fb6d64a8ed * 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:05 +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
1777445b64 * REST API: also log requests with Content-Type 'application/json' not just 'text/*' 2024-01-26 12:53:39 +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
579dbc7e1d * 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:46:23 +02:00
nathan
e68215102c WIP Et2VfsSelect - fix favorites 2024-01-22 15:41:32 -07:00
nathan
2539089d02 WIP Et2VfsSelect - user file type filter 2024-01-22 15:19:57 -07: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
ralf
866d10e030 * Mail REST Api: added reply to an uploaded eml file (with optional preset body and attachments) 2024-01-22 12:07:10 +02:00
nathan
faeee31155 WIP Et2VfsSelect: Now files showing up in list 2024-01-17 16:32:09 -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
ralf
ec96fa921e 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:46:54 +02: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
0ca406ad78 WIP Et2VfsSelect
Just getting started
2024-01-16 08:26:18 -07:00
ralf
a2834cb5d4 load login.js incl. cache-buster via Framework 2024-01-15 10:08:06 +02:00
ralf
928fa6212b load login.js incl. cache-buster via Framework 2024-01-15 10:07:39 +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
c6d14a5f6e * 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-13 12:58:06 +02:00
ralf
6dea7024f1 * ActiveDirectory: optionally also use/import groups of type distribution-list 2024-01-11 10:48:04 +02:00
ralf
c0298bf234 * ActiveDirectory: optionally also use/import groups of type distribution-list 2024-01-11 10:47:31 +02:00
nathan
cfc7efde15 - Send total results with link search results
- Change how "# More" is shown to wait for all searches first
2024-01-08 11:59:24 -07: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
b6b6492139 move SiteSite cookie check into constructor to not affect static methods / email not using OAuth/OIC 2024-01-08 12:51:07 +02:00
ralf
76174b49fc * EPL S3: fix not working upload of backups 2024-01-08 12:33:20 +02:00
ralf
9844a78b34 * EPL S3: fix not working upload of backups 2024-01-08 12:13:50 +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
ralf
94670fcf83 * 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:41:43 +02:00
ralf
543fb4d342 * Adressbook/Calendar/REST: fix not parsed custom fields 2024-01-08 09:33:27 +02: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
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
d28fbfeab3 allow to pass $only_current_user === 0, to get only mail accounts valid for all users 2023-12-18 13:13:06 +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
ralf
dae4fe714e prioritize/running order of async jobs: highest: calendar alarms, lowest: db_backup or S3-sync, rest medium 2023-12-16 11:22:29 +02:00
ralf
38ecfed987 disable imap log again 2023-12-15 17:53:57 +02:00
ralf
707c0a7a6e disable imap log again 2023-12-15 17:53:35 +02:00
ralf
3dbb579239 * Mail: implement Exchange login-type "domain/username" 2023-12-15 17:19:16 +02:00
ralf
edec090e17 * Mail: implement Exchange login-type "domain/username" 2023-12-15 17:13:04 +02:00
nathan
c9ab4cccf6 Finish Et2Email widget 2023-12-14 11:41:40 -07:00
nathan
437ad34300 Finish Et2Email widget 2023-12-13 10:34:17 -07:00
ralf
b45a7e35aa fix fatal error deleting accounts via LDAP/AD import 2023-12-13 17:10:15 +02:00
ralf
5df34bce91 fix fatal error deleting accounts via LDAP/AD import 2023-12-13 17:04:54 +02:00
ralf
12ed21bf77 adding newer config vars 2023-12-13 14:22:21 +02:00
ralf
f6d9918224 adding newer config vars 2023-12-13 14:21:51 +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
75923b1a7d * Calendar/REST API: implement specifying alerts, useDefaultAlerts and priority attributes in POST or PUT requests 2023-12-12 19:47:45 +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
b8b5089b77 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:25 +02:00
ralf
cca1b3e58b fix PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated 2023-12-08 14:55:50 +02:00
ralf
a78003f866 allow to pass in the used Db object 2023-12-07 20:37:55 +02:00
ralf
522f438025 allow to pass in the used Db object 2023-12-07 20:37:31 +02: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
ralf
2f0a38e4f1 * Mail: allow to configure an auto-responder, if Sieve supports the vacation-seconds extension 2023-12-07 16:34:39 +02: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
nathan
517a306756 Avoid some more PHP warnings
"Trying to access array offset on value of type null"
2023-12-05 13:27:26 -07:00
ralf
158e1a39cb * LDAP/Import: fix groups never matched regular expression dn-filter in import 2023-12-05 15:17:18 +02:00
ralf
e573490d6e * LDAP/Import: fix groups never matched regular expression dn-filter in import 2023-12-05 15:16:32 +02:00
ralf
e1f13eade1 WIP Timesheet REST API: fix PHP Fatal error in Addressbook&Calendar REST API
Declaration of parseCategories must be compatible
2023-12-01 14:20:25 +02:00
ralf
e0feb09df2 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-01 14:12:21 +02:00
ralf
9947a92f38 Fix "* Mail/Sieve: fix vacation message with redirect kept mail in INBOX, even if rule moved it to a folder" 2023-11-29 19:32:35 +02: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
bca70c7b86 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 16:59:59 +02:00
ralf
2aedd7f5ef WIP REST Api for Timesheet app 2023-11-29 15:47:27 +02:00
ralf
13f0d98c67 fix Cannot access offset of type string on string 2023-11-25 12:32:38 +02:00
ralf
057ff20f3a fix Cannot access offset of type string on string 2023-11-25 12:31:05 +02:00
ralf
b4936c07af fix some typos in the docu 2023-11-23 21:21:28 +02:00
ralf
2ebc995ee2 file upload report problem back to client-side, not just "server error" 2023-11-23 17:08:23 +02:00
ralf
b49ce29948 file upload report problem back to client-side, not just "server error" 2023-11-23 17:07:45 +02:00
nathan
a97e34c29a Silence some PHP warnings 2023-11-22 11:24:15 +02:00
ralf
afbc13462c * Mail/GMail/Microsoft365: update refresh-token, if we get one and redirects to IdP, if refresh-token is expired 2023-11-21 17:15:03 +02:00
ralf
1c40074331 WIP oauth mail-authentication updates refresh-token and redirects to IdP, if refresh-token is expired 2023-11-21 15:57:00 +02:00
nathan
fa71d9d450 Silence some PHP warnings 2023-11-20 16:13:11 -07:00
nathan
95019464bd Only log invalid date values when there's a value to log 2023-11-17 10:25:36 -07:00
ralf
51c09a937d fix PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead 2023-11-17 11:19:37 +02:00
ralf
bf7a20d05b fix PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead 2023-11-17 11:19:15 +02:00
ralf
11079503d1 * API: support OpenID Connect for authentication against another OIC IdP
also migrating old fallback auth classes to new auth_fallback parameter and reordering providers a bit / give OIC a prominent position
2023-11-17 10:18:23 +02:00
ralf
1b9c543547 * API: support OpenID Connect for authentication against another OIC IdP
also migrating old fallback auth classes to new auth_fallback parameter and reordering providers a bit / give OIC a prominent position
2023-11-17 10:17:29 +02:00
nathan
05f30b7c42 Avoid error if unlink parent is not a directory 2023-11-15 16:02:23 -07:00
nathan
3fdb3cd3d5 Avoid error if unlink parent is not a directory 2023-11-15 15:51:10 -07:00
ralf
59dbc7fe13 * Mail/Sieve: fix vacation message with redirect kept mail in INBOX, even if rule moved it to a folder 2023-11-15 10:07:47 +02:00
ralf
41e102f015 * Mail/Sieve: fix vacation message with redirect kept mail in INBOX, even if rule moved it to a folder 2023-11-15 10:07:09 +02:00
ralf
4d5e5aa28c also allow IMAP type derived from Dovecot like EGroupware Mail 2023-11-14 16:42:57 +02:00
ralf
c495e15ed9 also allow IMAP type derived from Dovecot like EGroupware Mail 2023-11-14 16:42:27 +02:00
ralf
d95305815a if the username contains non-ascii chars, try email address, as Dovecot does NOT deal with non-ascii usernames 2023-11-14 16:28:21 +02:00
ralf
aa98478fbd if the username contains non-ascii chars, try email address, as Dovecot does NOT deal with non-ascii usernames 2023-11-14 16:27:35 +02:00
ralf
802c4973a0 fix SQL error creating new mail-user, if username contains non-ascii chars 2023-11-14 15:51:10 +02:00
ralf
5e416aca55 fix SQL error creating new mail-user, if username contains non-ascii chars 2023-11-14 15:50:36 +02:00
ralf
250ffebb22 ignore SQL error "Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8mb3_general_ci,COERCIBLE) for operation '='" stalling mail for usernames with non-ascii chars 2023-11-14 15:23:23 +02:00
ralf
2f664b1d0a ignore SQL error "Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8mb3_general_ci,COERCIBLE) for operation '='" stalling mail for usernames with non-ascii chars 2023-11-14 15:22:53 +02:00
ralf
2740632bdb untested fallback-auth GET parameter implementation (base64 encoded "username:password") 2023-11-13 09:12:33 +02:00
nathan
7e8380698a Calendar: Process multiple VCALENDAR in the same file when importing iCal files 2023-11-10 10:33:19 -07:00
nathan
e3ea655318 Api: Fix no customfields shown if there was an extra comma in field attribute 2023-11-09 11:42:04 -07:00
ralf
5cb26394a7 WIP S3 stream-wrapper: do not complain about missing files in filesystem, if they are in S3 2023-11-08 19:27:50 +02:00
ralf
bb93cd205c fix some of the filesystem checks were not working (executing their SQL queries) 2023-11-08 19:23:47 +02:00
nathan
b895da55ee Make sure pdo is connected, fixes error in some Sharing tests 2023-11-08 08:29:34 -07:00
nathan
999a3298c0 Preferences: New account display preferences that include email address 2023-11-02 14:37:26 -06:00
ralf
af633af45d fix error ldap_get_entries(): Argument #2 ($result) must be of type LDAP\Result, bool given (0) 2023-10-30 19:30:34 +02:00
ralf
6ee162ccd5 WIP S3 stream-wrapper: fixes to backup and restore binary AES key column egw_sqlfs.fs_aes_key 2023-10-30 13:31:11 +02:00
nathan
f6e6b7dc38 Avoid array key not found warning 2023-10-24 14:12:52 -06:00
ralf
b45b3c35df WIP S3 stream-wrapper: refactored DB backup in order to (optionally) use S3 2023-10-24 22:22:16 +03:00
ralf
1a2163a610 fix AD/LDAP import got "Duplicate entry '****' for key PRIMARY" 2023-10-24 11:37:57 +03:00
ralf
f22fa015dc * AD Import: run full group import for AD, as it does not update modification time of group, when memberships change 2023-10-24 10:00:17 +03:00
nathan
9c1dd164a1 Api: Avoid overwriting field settings if they were set via setElementAttribute 2023-10-23 14:18:47 -06:00
ralf
007fd09515 making unvalidated content available to application 2023-10-23 22:26:47 +03:00
ralf
2326db8780 * ActiveDirectory: supporting well-known SIDs not matching the domain-SID e.g. S-1-5-32-544 for BUILDIN\Administrators 2023-10-20 21:09:36 +03:00
nathan
b05af867e0 Api: Fix custom field negated filter
broken by e917514713
2023-10-20 10:56:53 -06:00
nathan
56d248a2b1 Remove debug code 2023-10-19 14:51:24 -06:00
ralf
b0490bc7d8 * Addressbook/REST API: allow to pass filters or a search pattern to addressbook REST API 2023-10-19 21:34:38 +03:00
ralf
40d236b95f fix docu 2023-10-18 21:44:45 +03:00
ralf
bfb7d1b516 some fixes to get update from ancient EGroupware 1.4 working again 2023-10-18 21:36:00 +03:00
nathan
e917514713 Api: Fix customfield field attribute was not always applied
If attribute was set, sometimes it was overwritten and all cf were used.
Happened trying to get only some addressbook custom fields showing on registration page
2023-10-16 11:05:44 -06:00
ralf
d3c4e868c4 fixing some PHP deprecated filling the install log 2023-10-05 10:01:20 +02:00
ralf
534e1b5d72 allow to destroy multiple exec_ids 2023-09-22 11:56:03 +02:00
ralf
b6a0e650fe * Calendar/REST API: adding of participants to events 2023-09-18 14:13:25 +02:00
ralf
1fb543cb93 fix removing last user/group from valid-for in mail-account did not work
add a strong warning that selecting a user/group for a mail account for all users effectively deletes it for all other users
2023-09-15 09:27:40 +02:00
ralf
1284ab534f fix "no SSL connection" error when trying to change password over a ldaps connection
also fix PHP Fatal error "Can NOT convert object to string", when trying to log an error
2023-08-25 18:01:46 +02:00
ralf
c6b77bea91 * AD: use thumbmailPhoto, if jpegPhoto is empty 2023-08-24 13:35:35 +02:00
nathan
4420e9662d Load anonymous user's lang preference for error translation 2023-08-23 10:15:31 -06:00
nathan
e4ef392d11 Sharing updates
- admin can set / change share password, encrypted using system
- admin can change share owner
- now recording last modified date / user when changing share
- change encrypted password column name
- new share column for encrypted type
2023-08-21 14:23:21 -06:00
nathan
8a1869dcdc passwordToggle - Get the attribute right for Shoelace 2.0.0
It's togglePassword in the current version
2023-08-21 11:54:24 -06:00
ralf
e14fa4340b * AD/LDAP: added a DN filter to the periodic import to e.g. use 2 OU with a shared base 2023-08-21 17:15:11 +02:00
ralf
206fb0cfd8 * AD/LDAP: fix periodic incremental import was loosing memberships to local groups for modified users 2023-08-18 11:47:32 +02:00
ralf
c0e1f47b48 commented out patch to reconnect to LDAP server, if connection is lost 2023-08-18 09:21:18 +02:00
ralf
6d453f6e0d * ActiveDirectory: fix not working ldaps connection on a non-standard port 2023-08-17 12:25:27 +02:00
ralf
556117f14a * ActiveDirectory: fix not working ldaps connection on a non-standard port 2023-08-17 12:22:45 +02:00
nathan
0715b47bc8 Better error message for not found / expired share
German translation from Birgit
2023-08-16 10:06:05 -06:00
ralf
5a78cfa475 fix dry-run is not counting updated or created users 2023-08-16 10:41:57 +02:00
nathan
4e3c6eaf39 Fix doubled single customfields when one custom field had options from file 2023-08-15 15:26:46 -06:00
ralf
303dc2bc70 allow to set a higher account-import log-level then "info" 2023-08-15 16:02:54 +02:00
nathan
2c5170f15b * Api: Store recoverable password (encrypted) for shares so you don't have to change it when you forget 2023-08-14 13:42:00 -06:00
hadi
7e5f5f960d Missing parts from commit f0656f280f 2023-08-14 17:35:40 +02:00
ralf
35b0216687 * Calendar/CalDAV: Thunderbird and CalDAVSynchronizer: update only participant data, instead of failing when the event was changed 2023-08-10 15:11:48 +02:00
ralf
9092ffe8d7 * Calendar/CalDAV: do NOT limit number of returned events for GET requests with download parameter 2023-08-09 15:19:31 +02:00
ralf
aceb73eb53 * LDAP/AD: fix duplicate key account_lid error on import caused by mixed case in account-names not treated equal 2023-08-07 10:52:28 +02:00
ralf
af0c557cc5 convert associative array to a real array with value attribute, to preserve the order of numeric keys 2023-08-04 09:10:17 +02:00
ralf
2022adfbfb be more verbose on errors and return full Sieve script text (for user/password, not for admin connection) 2023-08-03 13:58:51 +02:00
ralf
da49ce2924 if authenticated via token we have to use the admin connection, but only for the user authenticated as 2023-08-03 10:22:45 +02:00
ralf
f6249e9ad8 * PostgreSQL/Mail: fix SQL error querying email avatars 2023-08-02 11:50:09 +02:00
nathan
c5e4af397a Api: Fix adding links did not always work after triggering a form reload 2023-08-01 16:49:16 -06:00
ralf
27f750d33b if download GET parameter contains a decent cache-buster, we allow caching for 10 days 2023-08-01 23:45:26 +02:00
nathan
e19ab7edb2 Api: Add "search" to list of link entries sent to client
Fixes broken site-search
2023-08-01 09:24:52 -06:00
ralf
76c59d2103 * LDAP/AD: fix local uploaded pictures are lost when automatic import is used 2023-08-01 15:38:11 +02:00
ralf
e75b89f158 remove add (optional) $vacation_rule return parameter as it causes a PHP Fatal error in hosting 2023-08-01 07:59:01 +02:00
ralf
027ad398d6 * Mail: new modus for vacation notice to not save message to INBOX and REST API to set vacation handling 2023-07-31 16:24:58 +02:00
nathan
eca2cc9d46 Api: Add {{share}} & {{share-files_only}} merge placeholders that create an external share link 2023-07-28 08:27:31 -06:00
ralf
0b46feb706 fix typo 2023-07-28 09:43:38 +02:00
ralf
3d2f915037 guard against CalDAV clients wrongly sending a Content-Type or Accept header for JSON 2023-07-27 20:50:26 +02:00
ralf
f56c0749b3 fix not working auth_type=(fallback|fallbackmail2sql) as Auth::backend() calls __construct(null, null) 2023-07-27 14:09:17 +02:00
nathan
f3258ebc45 Fix validation of CF options from json file 2023-07-26 10:11:07 -06:00
ralf
d3b644ebec fix Error: Call to undefined method calendar_bo::find_or_add_categories() when specifying categories 2023-07-26 16:30:10 +02:00
ralf
a89b69528e aggregate Etemplate\Widget\Url::ajax_contact() requests and search for all of them in a single AJAX request and SQL query 2023-07-25 18:18:29 +02:00
ralf
7a7c04ccc8 for api.queue close session to NOT block other requests (api.queue should NOT be used for changing something in session) 2023-07-25 11:37:37 +02:00
nathan
edcc260b7b WIP on caching static option file and searching it client-side
Get it working in nextmatch
2023-07-24 15:13:28 -06:00
ralf
b013f75eef * Calendar: new REST API to read, create, modify and delete events, see https://github.com/EGroupware/egroupware/blob/master/doc/REST-CalDAV-CardDAV/Calendar.md 2023-07-24 17:08:18 +02:00
nathan
f0be2fcdca WIP on caching static option file and searching it client-side
Still needs file caching & passing correct URL
2023-07-21 16:40:29 -06:00
ralf
7e333ceac9 WIP Calendar REST API 2023-07-21 17:41:37 +02:00
ralf
a3bed88d04 fix docu, spelling and some static vs. non-static calls 2023-07-21 08:54:06 +02:00
ralf
9ad249fa30 * Adressbook/CardDAV: unconditionally start output-buffering to fix problems with huge multiget reports from TB110 AB 2023-07-15 08:29:47 +02:00
nathan
0c9cb71a70 Get rid of "Undefined array key "HTTP_X_FORWARDED_PROTO"" warning 2023-07-14 10:58:53 -06:00
nathan
604a12f7e6 Get rid of "Undefined variable $args" warning 2023-07-14 10:56:18 -06:00
nathan
5b621ffcba Get rid of a bunch more warnings 2023-07-14 10:52:05 -06:00
nathan
8ed5c2aa7e Get rid of a bunch of warnings in Entry & subclasses 2023-07-14 10:14:06 -06:00
ralf
efaa3ae386 WIP Mail REST API: fix reported problems with calendar quick add 2023-07-13 18:44:00 +02:00
ralf
3e27def4f9 WIP Mail REST API: change calendar to use new egw.openDialog():
- renamed app.dialogExec() to app.openDialog() or egw.openDialog()
- the later is the nicer place, but fails for lost window context with popups :(
2023-07-13 15:22:21 +02:00
ralf
c63784d7e8 WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog 2023-07-11 22:45:54 +02:00
ralf
f2b81f6fd2 WIP Mail REST API: fix failed POST request to create a contact (gave 501 Not Implemented) 2023-07-11 14:08:09 +02:00
ralf
96bb3a6884 WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog
ToDo: overwrite Framework actions in etemplate2.handle_load() to eg. close dialog, but not window, or refresh window instead of opener
2023-07-11 13:38:09 +02:00
nathan
23f0b6faaf * Api: Restrict customfield options read from a file to only JSON files. Files should contain an array of options.
ex:
[
  { "value": "Α", "label": "α alpha" },
  { "value": "Β", "label": "β beta" }
]
2023-07-10 14:43:32 -06:00
milan
5e3c67a5cf converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
ralf
2f56677cc8 WIP Mail REST Api: permanent log result of primary backend for fallback auth 2023-07-07 16:17:36 +02:00
ralf
9a559c5000 WIP Mail REST API: fix broken fallback auth 2023-07-07 16:02:02 +02:00
ralf
8115a92a6a WIP Mail REST API: missing files from last commit 2023-07-07 12:25:45 +02:00
ralf
2bd5fd5601 WIP Mail REST API: enable direct sending of mails with token authentication / no password not allowing to save mail to Sent folder 2023-07-07 12:22:15 +02:00
ralf
d46f8f4a4e WIP REST API for mail & token auth: fix wrong namespace 2023-07-07 09:34:04 +02:00
ralf
1a0660a6cc * Setup/Authentication: added an authentication log and fallback authentication for all backends 2023-07-06 15:50:53 +02:00
ralf
333750587c WIP REST API: show checkbox in application password to (re-)generate new token and display it 2023-07-04 11:22:49 +02:00
ralf
07300704bc WIP Mail Rest API: UI for application passwords/tokens for admin 2023-07-03 17:09:26 +02:00
ralf
9359e3eee5 WIP REST API: using tokens to authenticate as user or impersonate a user without the password and optional limited application rights 2023-06-30 20:45:45 +02:00
ralf
65b239ca2c WIP Mail REST API: do NOT read attachments into memory, they might be to big 2023-06-30 17:13:42 +02:00
ralf
95ba35bfeb fix restoring 1.8 database gave "Duplicate entry" error by mapping that (again) to InvalidSql exception (was changed due to PHP 8) 2023-06-30 10:01:01 +02:00
nathan
3cfdca0ae9 * Api: Customfield selectboxes can read options from a PHP file in the VFS using @[path] ex: @/home/Default/selects.php 2023-06-29 13:36:28 -06:00
nathan
649b0bfd59 Use code 204 instead of 404 to avoid browser treating it like an error 2023-06-29 09:48:30 -06:00
ralf
dfef4ce0c5 WIP REST API for mail
currently we can launch (interactive) compose windows, if user is online
ToDo:
- send mails for a user
- authentication as arbitrary user with an API token
2023-06-29 12:50:04 +02:00
ralf
5bb1d3c888 needs ungreedy, to not include quotes 2023-06-28 07:48:51 +02:00
ralf
23895c94be WIP improve avatar loading in mail app
currently ET2Avatar is NOT correctly handling contactId=email:<email>
2023-06-27 08:59:59 +02:00
nathan
325fdcb02c Api: User selection = none fixes
- Fix display was 'false' instead of blank
- Fix widget type check was not preserving original value
2023-06-26 10:49:25 -06:00
nathan
faa1e17460 Mail: Fix event detection in multipart mixed mails
Meeting form was not presented, just request content
2023-06-26 08:43:29 -06:00
ralf
742c067740 * ActiveDirectory: implement fail over for multiple AD controllers (failed controllers are blacklisted for 5min) 2023-06-23 09:46:59 +02:00
hadi
fce9ba3a41 * Mail: fix mixed up inline images and attachments in smime signed messages 2023-06-19 17:05:37 +02:00
hadi
b744859b70 Make sure the status is by_date before adding date rules into sieve vacation notice 2023-06-19 10:19:04 +02:00
ralf
fd527047fb fix wrongly placed exception 2023-06-16 14:53:37 +02:00
ralf
51ff3f185d fix PHP TypeError: Argument #2 ($array) must be of type array, null given 2023-06-16 10:16:20 +02:00
ralf
0386a463ec fix returning unsanitized user-input 2023-06-16 09:38:32 +02:00
ralf
99cf6fee84 better (commented out) logging of onShutdown functions 2023-06-15 12:36:03 +02:00
nathan
3a54a93eb3 Stop changing symlink mime to target mime when saving 2023-06-14 13:29:35 -06:00
nathan
4c058ffc5f Change new favourite icon from new to add 2023-06-12 14:19:53 -06:00
ralf
1acb12c6a2 fix SQL error creating or deleting a user when admin accounts list is sorted by ID (account_id) 2023-06-12 15:23:06 +02:00
ralf
7799ef9a97 fix lots of warnings filling zpush logs 2023-06-09 18:30:09 +02:00
ralf
608963aa9b fix lots of warnings filling zpush logs 2023-06-09 18:28:57 +02:00
nathan
9313156daa Api: Adjust max_lang_time when saving custom messages so they're available right away 2023-06-09 09:40:34 -06:00
nathan
492993e78e Avoid some PHP warnings
- Undefined array keys
- Undefined class variables
- Passing null to string functions
2023-06-07 13:54:17 -06:00
ralf
f16cfd45fe fix PHP TypeError: implode(): Argument #2 ($array) must be of type ?array, int given 2023-06-07 20:05:27 +02:00
ralf
1d26a1cb6c fix error reported ldap instead of ldaps 2023-05-26 08:55:05 +02:00
ralf
6dc1ae4b23 fix array_map(): Argument #2 ($array) must be of type array, int given 2023-05-25 09:45:11 +02:00
nathan
00b48f3b04 Api: Make sure the current user is always in the list of accounts sent to client 2023-05-18 14:46:20 -06:00
ralf
3ed73db7be fix stall with no/wrong server-timezone 2023-05-17 10:08:44 +02:00
ralf
230b27bc8a fix stall, if no/wrong user timezone set in prefs 2023-05-17 10:02:49 +02:00
ralf
2f4d0cd85a fix stall when timezone in prefs is stored as empty array 2023-05-17 09:04:09 +02:00
ralf
5d35fcd990 also allow calling Mail\Avatar::getAvatar() without an email 2023-05-10 16:09:05 +02:00
ralf
498aebe192 fix Mail\Avatar::getLavatar(): Argument #1 ($address) must be of type string, null given 2023-05-10 14:25:32 +02:00
ralf
ace7a22c2f * Mail: performance improvements for huge addressbooks by caching avatars 2023-05-10 09:49:54 +02:00
ralf
db8bd9dcc3 * eSync/Mail: fix wrong timezone conversation if user-timezone is different from server-timezone 2023-05-09 17:06:05 +02:00
ralf
d045fde07c * Mail: searching in compose now ignores custom fields as they might lead to unexpected results 2023-05-08 15:13:12 +02:00
nathan
f3a1ada852 Fix wrong name shown for Et2EmailTag if multiple contacts share the same email address 2023-05-01 14:43:10 -06:00
nathan
84dd9284e2 Api: Fix encodeId() failed with integers 2023-04-28 09:39:34 -06:00
ralf
33063e7c9f * AD/LDAP/Import: for AD always do a full import of groups, as AD seems not to update the modification date, if only members change 2023-04-27 16:24:35 +02:00
ralf
839863bde1 * Addressbook/CardDAV: show and allow to sync for default and forced preferences all ABs of the admin user
also do NOT name the groups own AB "personal"
2023-04-27 16:19:12 +02:00
ralf
5db8883db6 fixing ValueError: str_repeat(): Argument #2 ($times) must be greater than or equal to 0
fixes 1894a19a86
2023-04-27 11:01:04 +02:00
ralf
34e71f2ed2 change default to disable last/next event for users, as it's quite a performance drain 2023-04-25 17:02:02 +02:00
ralf
3c7650aaab * Calendar/CalDAV: fix recurring events with users only added to an exception and have been deleted or rejected after 2023-04-25 15:14:01 +02:00
nathan
8fdfcc5c61 Fix missing entry values 2023-04-24 13:27:57 -06:00
ralf
df63934fcc docu update 2023-04-18 15:06:49 +02:00
ralf
c7c2ab9118 fix some PHP Deprecated and typos in comments 2023-04-18 09:11:30 +02:00
nathan
43873af7bc Add implicit preference to remember user's last sort order.
Sort stored in favorites override this when the favorite is used.
2023-04-14 10:28:16 -06:00
nathan
6b870ec652 Api: Fix single custom field with ID = fieldname did not properly load value 2023-04-13 16:46:40 -06:00
ralf
a0b81c3cc3 * LDAP/AD: if only users get imported, set their primary group and memberships as configured for auto-created accounts (Default group by default) 2023-04-05 16:57:33 +02:00
ralf
390e90fa89 add link to instructions how to install missing timezones in the DB to the logged error-message 2023-04-05 08:44:15 +02:00
ralf
566dac47af * LDAP/AD/Setup: periodic import disables (add|edit)account hooks, if account-repository is not SQL and further performance improvements
- also log interactive initial or incremental import via setup
- fix conflict resolution if account_id of user already used for a group
2023-04-04 19:59:05 +02:00
ralf
fc003c613b * EPL/CTI/Addressbook: phone numbers written with unusual separator like pipe symbol where not found 2023-04-03 16:44:31 +02:00
ralf
2446f2968a * LDAP/ADS: fix memberships of local groups were lost in periodic account-import
also logging startup errors like LDAP connection problems
2023-04-03 15:25:41 +02:00
nathan
d27cb07ceb Change sharing permissions
Filemanager now allows all but Collabora share in CE.  Other apps are unchanged - EPL only
2023-03-30 10:19:54 -06:00
ralf
8211e0a8e3 fix PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated 2023-03-29 22:32:16 +02:00
nathan
b67abdafd1 Fix up recur days 2023-03-28 13:48:26 -06:00
ralf
4136150cdb * LDAP/Univention: periodic account-import for Univention (mailPrimaryAddress), use LDAP account-filter for reading accounts too
also set chunk-size for reading to 500 was somehow 5, probably from debugging
2023-03-25 21:36:39 +01:00
ralf
b1c3b07c45 do NOT stall for somehow invalid date(time) values: log it and return empty 2023-03-23 21:31:47 +01:00
ralf
6332470072 allow to use non-ascii chars for link-ids e.g. the name of Wiki pages can contain them
we store them as "\uXXXX" in the ascii column
2023-03-23 17:53:05 +01:00
ralf
4ec4ddb2a1 * WebAuthN: fix not working registration of new authentication devices or browsers
generally prefer app.min.js over old, pre RollupJS app.js
2023-03-23 11:55:17 +01:00
ralf
f46163c611 fix typo in docu 2023-03-20 19:28:15 +01:00
ralf
d7b6597076 * Api/MariaDB/MySQL: fix SQL error handling in PHP 8.1
also introduce parameter to limit number of deleted rows and more docu
2023-03-17 11:04:45 +01:00
ralf
0c13bc863a stop Chrome from autofilling passwords and do NOT display a password for OAuth when editing an account 2023-03-14 10:18:46 +01:00
ralf
0a3892d2f2 fix some typos and old constructs 2023-03-10 08:45:07 +01:00
ralf
fb9c214182 * Admin/Setup: logging all DB backup operations to a text file db_backup.log in backup-directory 2023-03-10 08:33:23 +01:00