App Suite Middleware
3rd Party Libraries/License Change
SCR-1537
Summary: Updated Netty libraries from v4.1.115 to v4.1.119
Updated Netty libraries from v4.1.115 to v4.1.119 in bundle io.netty
- netty-buffer-4.1.119.Final.jar
- netty-codec-4.1.119.Final.jar
- netty-codec-dns-4.1.119.Final.jar
- netty-codec-http2-4.1.119.Final.jar
- netty-codec-http-4.1.119.Final.jar
- netty-codec-socks-4.1.119.Final.jar
- netty-common-4.1.119.Final.jar
- netty-handler-4.1.119.Final.jar
- netty-handler-proxy-4.1.119.Final.jar
- netty-resolver-4.1.119.Final.jar
- netty-resolver-dns-4.1.119.Final.jar
- netty-transport-4.1.119.Final.jar
- netty-transport-native-unix-common-4.1.119.Final.jar
SCR-1536
Summary: Updated Caffeine caching library
Updated Caffeine caching library from v3.1.8 to v3.2.0 in bundle com.google.guava
API - HTTP-API
SCR-1520
Summary: New restore action for addressbook endpoint
Introduced new /addressbooks?action=restore to restore trashed contacts.
SCR-1516
Summary: Added hardDelete parameter to contacts delete
In order to avoid the trashing mechanism for contacts when activated, we added a hardDelete paramter to the contacts/addressbooks delete requests.
API - Java
SCR-1519
Summary: Added hardDelete to FolderReadWriteContactsAccess
In order to avoid the trashing mechanism for contacts when activated, we added boolean hardDelete paramter to the FolderReadWriteContactsAccess interface for deleteContact and deleteContacts.
SCR-1518
Summary: Added restoreContact to FolderReadWriteContactsAccess
In order to be able to restore a contact we added the following method to the FolderReadWriteContactsAccess interface:
void restoreContact(ContactID contactId, Contact contact, ServerSession session, long clientTimestamp)
SCR-1517
Summary: Added hardDelete to InternalContactsAccess Interface
In order to avoid the trashing mechanism for contacts when activated, we added boolean hardDelete paramter to the InternalContactsAccess interface.
CLT
SCR-1528
Summary: New Option "convert-guest" in "createuser" Commandline Tool
The command-line interface createuser
is extended with an additional option to automatically pick up and convert an existing guest user in the context matching the otherwise conflicting primary email address of the user being created:
--convert-guest booleanvalue : The flag whether it desired to convert an existent guest user to a regular user in case there is already a guest user associated with given primary E-Mail address
See https://documentation.open-xchange.com/main/middleware/command_line_tools/user/createuser.html for further details.
Configuration
SCR-1532
Summary: Introduced 'contact_trash' capability and config-path / jslob
Introduced contact_trash
capability to indicate if a trash folder for contacts is available for the user. The folder identifier is announced via configuration path modules/contacts/folder/trash
and jslob io.ox/contacts//folder/trash
Related issue: https://gitlab.open-xchange.com/appsuite/platform/core/-/issues/154
SCR-1523
Summary: New property com.openexchange.contact.trashFolder.enabled
Introduced new lean boolean property:
com.openexchange.contact.trashFolder.enabled
If enabled, contacts deleted without the hardDelete parameter are moved to the trash folder instead of being deleted. Default value is{}true{
}. Reloadable and config-cascade aware.
Database
SCR-1526
Summary: New origin column for prg_contacts and del_contacts
Add origin column to prg_contacts/del_contacts table to save information about the origin folder of a contact that has been moved to the trash:
origin VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL