Commit Graph

167 Commits

Author SHA1 Message Date
ralf
3eb3a87cf2 * ActiveDirectory: allow to disable VLV controls, if your AD has problems with it AND can return all users in a single query 2024-08-26 17:53:12 +02:00
ralf
2469b8cc60 fix PHP Fatal Error stalling AD Sync: Declaration of Ads::connect($admin=false) must be compatible with Ldap::contect($admin=false, $reconnect=false) 2024-08-20 09:24:49 +02:00
ralf
f465d201ae allow to sort groups in admin by container & group-name like in the tree 2024-08-13 14:52:37 +02:00
ralf
10a7a4bd7e more connection retry and making sure to not remove memberships, because different case of user-name 2024-08-09 15:18:24 +02:00
ralf
7d2e84feea * LDAP/AD: automatic retry, if connection to LDAP server was lost 2024-08-09 14:10:23 +02:00
ralf
0453aede6c * All apps/REST API: fix custom-fields of type "date-time" to be stored timezone aware, if no format is specified
So far date-time values were stored in user-time, now they are stored in UTC with a "Z" suffix" to be able to still read old user-time values unchanged.
2024-07-29 15:57:08 +02:00
ralf
253a5a448c fix wrong case, thanks to Cyril chez ETCHE.NET <cyril@etche.net> 2024-07-26 12:01:35 +02:00
ralf
296251f8b2 * ActiveDirectory: use AD attributes personalTitle as prefix, middleName as such and generationalQualifier as suffix 2024-07-18 15:16:34 +02:00
nathan
ff94af1f7d * Api: Add some options to merge: merge individually, merge & link, merge & email, download 2024-05-17 15:57:09 -06:00
ralf
a5796c8b41 add missing @type: Card(Group) in Addressbook REST API 2024-05-15 19:52:37 +02:00
ralf
3cb0779e62 some Windows AD seem to get confused by using ldap_get_entries together with ldap_(first|next)_entry
check if we got the requested number of entries ($start[1]) back and only continue in that case
2024-05-03 15:17:35 +02:00
ralf
6fb316a4fe * AD/LDAP Import: import could potentially deactivate or delete users if the connection to LDAP server failed 2024-04-25 10:39:50 +02:00
ralf
d0d3326974 fix some docu typos and code static analyser of the IDE did not understand/marked as error 2024-04-10 14:19:42 +02:00
ralf
143bfce59b fix/allow searching, reading and updating own account for account-selection preference "none" or "groupmembers" 2024-03-30 09:10:06 +02:00
ralf
d7e9a093b7 * Addressbook/Mail: new value "Hide groups without email" for preference "Hide user groups as distribution list" 2024-03-11 11:35:49 +02:00
ralf
db0488d9d0 Fix some PHP Deprecated or Warnings 2024-03-06 10:58:10 +02:00
ralf
158f683e69 * REST API: fix PATCHing of custom-fields 2024-02-21 17:28:04 +02:00
ralf
83a2729cf0 another big chunk of PHP Warnings 2024-02-08 12:30:39 +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
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
2aedd7f5ef WIP REST Api for Timesheet app 2023-11-29 15:47:27 +02:00
ralf
c6b77bea91 * AD: use thumbmailPhoto, if jpegPhoto is empty 2023-08-24 13:35:35 +02: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
f6249e9ad8 * PostgreSQL/Mail: fix SQL error querying email avatars 2023-08-02 11:50:09 +02: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
d045fde07c * Mail: searching in compose now ignores custom fields as they might lead to unexpected results 2023-05-08 15:13:12 +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
ce555f7f0e * ActiveDirectory: fix making extra AD attributes available via custom fields with "ldap_" prefix 2023-02-23 19:56:07 +01:00
ralf
a769cdad34 fix not working account_id filter for contacts in ActiveDirectory 2023-02-15 15:32:44 +01:00
ralf
6c327e7a64 * LDAP/Addressbook: make further LDAP attributes available as custom-fields using "ldap_<attribute>" as name for accounts in LDAP 2023-02-03 11:28:43 +01:00
ralf
c2714a6813 * Univention: make birthday of users available in addressbook (univentionPerson.univentionBirthday attribute) 2023-02-03 11:26:17 +01:00
Hadi Nategh
5cb375fabf Get font-size of server-side lavatar similar to client-side 2023-01-31 16:24:51 +01:00
ralf
9ad73f1ea1 fix LDAP/AD clients to query jpegphoto so its existence get used by the regular code to (not) generate avatar-url 2023-01-30 16:50:20 +01:00
ralf
09ceed3ba2 rename/move Api\avatar::lavatar() to Api\Contacts\Lavatar::generate() to be in line with our CS 2023-01-25 12:27:26 +01:00
nathan
241b5ec839 Fix some missing translations in merge placeholder display 2022-10-11 15:34:25 -06:00
ralf
c59b5a7a6e document how to test LDAP/AD behavior 2022-09-16 09:13:01 +02:00
ralf
010197b8af get merge to merge jpegphoto too and save can store it in filesystem 2022-07-25 11:19:41 +02:00
ralf
6fb464d90b * ActiveDirectory/LDAP: implemented deleting of accounts via full/initial import, periodic import does NOT delete 2022-07-06 17:08:44 +02:00
ralf
ee58655ce6 WIP ADS/LDAP account-sync:
- using (simple) paged result for initial sync
- incremental sync uses modification time
- currently only user and no periodic sync yet
2022-06-27 21:08:34 +02:00
ralf
ab427562b7 * LDAP: implement optional group-filter
also some code cleanups and fixes
2022-05-20 21:47:02 +02:00
ralf
03099756d7 fix PHP 8.1 Error: Serialization of 'LDAP\Connection' is not allowed 2022-04-27 13:00:10 +02:00
ralf
2d0de5f287 another chunk of fixed PHP Warning: Undefined array key or variable in api 2022-04-26 20:24:37 +02:00
Ralf Becker
08da663007 fix PHP Warning: explode(): Empty delimiter 2021-12-16 20:22:57 +02:00
Ralf Becker
ff47694b24 fix still not working sync-report for accounts addressbook
turns out Microsoft AD also returns a "Virtual List View error" if sorting by standard LDAP (modify|created)timestamp, have to use when(Changed|Created) instead, as for filter
2021-12-16 20:07:57 +02:00
Ralf Becker
4d014fab49 * CardDAV/ActiveDirectory: fix empty account-addressbook if sync-collection-report is used
Microsoft AD can NOT filter by (modify|create)TimeStamp, we have to use when(Created|Changed) attribute
2021-12-02 20:09:08 +02:00
Ralf Becker
0a2488ed99 fix a couple of Undefined array key warnings 2021-11-29 16:35:50 +02:00
Ralf Becker
47b3f5c239 fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given 2021-11-19 13:00:51 +01:00
Ralf Becker
e95edf60ec fix PHP 8.0 TypeError: Unsupported operand types: string + int 2021-11-13 17:05:20 +01:00
nathan
2ce96a6f8d Maybe fix SQL error from searching contacts with private + duplicates 2021-11-09 14:33:37 -07:00