48 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
8ac250952f url fixes, more decisions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-29 16:49:39 +01:00
André Duffeck
f1ac9aaf29 Fix names in protobuf 2025-01-17 08:29:18 +01:00
André Duffeck
8c8cdd9310 Adapt protobuf naming 2025-01-15 11:04:32 +01:00
Ralf Haferkamp
ae7d6cfb86 Adjust protogen config for new name 2025-01-13 15:40:06 +01:00
jkoberg
7947c99930 feat(settings): translate notifications settings
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2025-01-02 11:31:42 +01:00
Roman Perekhod
698b6755d1 The user settings was extended by the notifications preferences 2024-12-18 10:52:21 +01:00
Ralf Haferkamp
1b47707e2f settings: Add spec and stubs for ListRoleAssignmentsFiltered request 2024-06-04 11:00:09 +02:00
Benedikt Kulmann
21a9992980 feat: add image and photo metadata to search (#8504)
* feat: add image and photo metadata to search
2024-05-21 10:21:15 +02:00
Jannik Stehle
d40a643fbf feat: add remote item id to search report responses
Adds the remote item id to search `REPORT` responses for shared resources and resources that are part of such. This id represents the id of the original resource that has been shared (= the remote item) and is needed for clients to correctly resolve their locations.
2024-05-15 11:26:43 +02:00
Dominik Schmidt
4c27b365fa feat(graph): add location facet to driveItems 2023-12-06 15:13:09 +01:00
Dominik Schmidt
db32fb46f9 Audio Metadata (#7490)
* Add audio facet to search protobuf message

* Add audio metadata to search index

* Return audio facet from search if available

* Store audio metadata in arbitrary metadata

* Add audio facet to driveItems listings

* Make tests coding style more consistent

* Fix tests

* Add changelog

* Make valueToString code more defensive

* Log status code as well
2023-11-06 08:56:46 +01:00
Florian Schade
9abcd8a7f3 feature(thumbnails): add the ability to define custom image processors (#7409)
* feature(thumbnails): add the ability to define custom image processors

* fix(ci): add exported member comment

* docs(thumbnails): mention processors in readme

* fix: codacy and code review feedback

* fix: thumbnail readme markdown

Co-authored-by: Martin <github@diemattels.at>

---------

Co-authored-by: Martin <github@diemattels.at>
2023-10-17 09:44:44 +02:00
Florian Schade
a26aea758a [full-ci] enhancement: add search result content preview and term highlighting. (#6634)
* enhancement: add search result content preview and term highlighting.

* chore: fix changelog

* noop

* enhancement: provide search highlight tests
2023-06-27 15:56:17 +02:00
Daniël Franke
cfb65cd289 Add function to fetch events containing userID.
This PR adds a function to fetch events containing a userID. This is to
be able to offer this functionality for the GDPR requirement.
2023-04-03 11:49:52 +02:00
Florian Schade
f38a9f4385 Introduce Policies-Service (#5716)
* add policies service
add policies proxy middleware
add policies event service
add policies grpc service
prepare ci and git environments (ci, make, readme, doc)

* add webfinger to the drone conf

* fix docs
remove not used virus scan postprocessing step

* relocate example rego file
implicitly enable and disable proxy and postprocessing policy checking by setting the query.
update configuration descriptions

* move policies
update readme

* use converter func to convert pp environment to actual environment
expose and test custom rego functions
add engine unit tests
add opa unit tests
update policies readme

Co-authored-by: Martin <github@diemattels.at>

* relocate sample policies to the deployments folder
change and document policies service port

* update index.md and small fix

* add health command
add version command
add debug server

---------

Co-authored-by: Martin <github@diemattels.at>
2023-03-14 16:08:22 +01:00
jkoberg
afe9e220b4 introduce eventhistory service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-20 10:29:04 +01:00
Michael Barz
eb2347e1db Merge pull request #5589 from owncloud/settings-roles
make the default settings bundles part of the config
2023-02-16 16:05:29 +01:00
Jörn Friedrich Dreyer
b85387f707 Update protogen/proto/ocis/messages/settings/v0/settings.proto 2023-02-16 13:41:33 +01:00
Michael Barz
29501b2cfe make the default settings bundles part of the config 2023-02-16 13:24:31 +01:00
Jörn Friedrich Dreyer
92923f6801 Add http endpoint to list permissions (#5571)
* Add http endpoint to list permissions

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* extract handler registration

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use generated protobuf

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update permissions mock in graph service

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add unit test

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* return correct userid

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* assert error message type in tests

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-02-15 14:24:19 +01:00
Michael Barz
f3516aea13 fix grpc docs generation 2022-12-22 10:49:25 +01:00
Florian Schade
1db03dd512 [full-ci] experimental tags backport (#5227)
* add tags to search service resource
add tags getTags, AssignTags and UnassignTags endpoint to graph
use and prefer search event spaceOwner over executant
add tags to search report response
update libre graph api
update reva

Co-authored-by: David Christofas <dchristofas@owncloud.com>
2022-12-19 15:44:02 +01:00
Jörn Friedrich Dreyer
1bb7d57caf index and return parentid in search report
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-10-07 10:52:14 +00:00
Andre Duffeck
68b17eb68d Search dav spaces (#4661)
* Add a Ref option to SearchRequest, e.g. for limiting the search to a space

* Enable REPORT requests for /dav/spaces URLs

* Limit the search to the according space in case of /dav/spaces searches

* Add changelog

* Adapt expected failures

* Comment exported functions
2022-09-27 10:38:15 +02:00
David Christofas
4025afc40f update buf lock 2022-09-07 11:28:16 +02:00
jkoberg
d6f3250f35 regenerate protogen
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-02 15:02:06 +02:00
André Duffeck
e7e30b782e Add TotalMatches to SearchResponse and SearchIndexResponse 2022-07-13 10:39:44 +02:00
Michael Barz
2a113e9f7d use spaceID 2022-07-11 10:44:09 +02:00
Christian Richter
f8f1320501 refactor extensions -> services
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-27 14:05:36 +02:00
Ralf Haferkamp
d25aa7b20f Remove "accounts" service 2022-05-11 15:29:34 +02:00
Michael Barz
3b41bc164e Upgrade protobuf go package version to v2 2022-05-04 15:10:00 +02:00
André Duffeck
6bd67c0f27 Mark items as deleted (recursively) but still keep them around 2022-04-29 09:02:57 +02:00
André Duffeck
656ef9d6ae Add a IndexSpace method to the search provider
IndexSpace recursively traverses a given space and (re-)index all files
it finds.
2022-04-27 09:55:32 +02:00
André Duffeck
51cf27d767 Add etag, mtime and mimetype to the search index and response 2022-04-25 11:23:30 +02:00
André Duffeck
a737f4e0a7 Fix type, hook up proper service 2022-04-13 15:17:08 +02:00
André Duffeck
6be2d8c0c5 Add protobuf definitions and use those instead of our structs 2022-04-13 09:55:07 +02:00
André Duffeck
3099d4a821 Add an initial version of a search service.
It's still incomplete and isn't working yet.
2022-04-08 10:53:37 +02:00
David Christofas
95ae3b8762 rewrite thumbnails API
Improved the thumbnails API so that the binary files won't be
transported via GRPC. GRPC has a limited message size and isn't very
effiefficient with large binary data.
2022-03-08 23:12:43 +01:00
David Christofas
d6182a4ea1 generate animated thumbnails for animated gifs 2022-03-04 19:13:48 +01:00
Juan Pablo Villafáñez
7d8e334537 Revert v1 to v0 2022-01-31 12:17:56 +01:00
Juan Pablo Villafáñez
df1a207a12 Adjust formatting and fix links 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez
2276ed8d2a Generate the proto docs in the grpc_apis folder and ignore it from repo 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez
2593ff0f70 Add proto files for store service and include generated code 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez
cce51fdd61 Revert change to keep using api/v0 for accounts and settings 2022-01-31 09:35:39 +01:00
Juan Pablo Villafáñez
e794c623bd Add proto files for the settings service and include generated code 2022-01-31 09:26:23 +01:00
Juan Pablo Villafáñez
04b8ef0fcb Migrate thumbnails proto files and adjust related import paths 2022-01-31 09:26:23 +01:00
Juan Pablo Villafáñez
eb78b80f18 Include missing swagger info to the accounts service 2022-01-31 09:26:23 +01:00
Juan Pablo Villafáñez
1ff5fa4c02 Add proto files for accounts and generate the code and docs 2022-01-31 09:26:23 +01:00