When expanding members of an LDAP group we did two group lookup per
Group. This can be avoided by expanding the members right from the
Group entry of the first query.
This also add some more unit test coverage, especially to the expand/select
group member test cases.
* introduce content package for resource content extractions
restructure search service to be able to handle different search engine providers
add config option for async file uploads, content extraction type and search engine
* document exported package members
fix tika extractor meta extraction to handle nil maps and unknown values
add generic method to get and cast search result hit fields
simplify event logging
We now default LDAP_GROUP_SUBSTRING_FILTER_TYPE and LDAP_USER_SUBSTRING_FILTER_TYPE
to "any", which means full substring search. The previous default was just using prefix
matching.
Closes#4282
Allow to switch jwt access token verification and off. Many (most?) IDP
provide JWT encoded access tokens. If ocis is configure to assume jwt
access tokens (access_token_verify_method==jwt) we now properly verify
the tokens signature and a set of standard claims ("exp", "iat" and nbf"
by way of the jwt module's standard verification and "iss" explicitliy).
This change also allows for introduction of other access token verification
mechanism in the future (e.g. through introspection (RFC7662).
We try to parse the access token as a JWT now. Verifying the signature
using the keys downloaded from the jwks_uri of the IDP. Currently we
only use it to extract the expiry information from the JWT. This could
be reworked to extract other claims from the token for authorization
purposes.
Fixes: #3841
Start PP service in single binary (configurable)
Start PP service in single binary (configurable)
start pp service with single binary and make it configurable
Signed-off-by: jkoberg <jkoberg@owncloud.com>
implement delay step
Signed-off-by: jkoberg <jkoberg@owncloud.com>
deactivate functionality
Signed-off-by: jkoberg <jkoberg@owncloud.com>
configure tokensigning
Signed-off-by: jkoberg <jkoberg@owncloud.com>
deactivate async uploads
Signed-off-by: jkoberg <jkoberg@owncloud.com>
final touches
Signed-off-by: jkoberg <jkoberg@owncloud.com>
next bump of the reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
First draft for postprocessing service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
add delete logic to pp service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
small changes to make snoar
Signed-off-by: jkoberg <jkoberg@owncloud.com>
register more events for postprocessing
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This adds the "search_min_length" setting to the frontend service which
allows to set the search_min_length capabilty which is e.g. used by
web.
Partial: #547