Commit Graph

63 Commits

Author SHA1 Message Date
Christian Richter 3669322e09 remove protogen & generate protobuf code
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-08-22 11:04:59 +02: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
Jörn Friedrich Dreyer fad94d2038 bump mockery, add test stub for oidc_auth.go, align mock generation (#8321)
* bump mockery, add test stub for oidc_auth.go

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

* use .mockery.yaml for all mocks

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

* drop legacy go:generate mockery

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

* align mock placement

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

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-01 10:07:44 +01:00
Dominik Schmidt 4c27b365fa feat(graph): add location facet to driveItems 2023-12-06 15:13:09 +01:00
Viktor Scharf 91ae5172f6 [full-ci]Enforce pass by default. changed api tests (#7706)
* set enforce pass by default. change tests

* fix tests

* fix test
2023-11-13 23:37:12 +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
case0sh 8adea0f38e edit wrong named enves 2023-10-06 10:29:08 +02:00
Daniël Franke e43001fb96 Pass context for reva bump.
Also refresh the generated code.
2023-07-03 11:08:45 +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
kobergj e631b74032 Merge pull request #5600 from kobergj/EventHistory
Eventhistory Service
2023-02-21 14:08:01 +01:00
Willy Kloucek d34730d45a generate protobuf 2023-02-20 12:50:38 +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
mmattel 4fe4a34a1f Add blank comment lines 2022-12-27 13:28:29 +01:00
Michael Barz f3516aea13 fix grpc docs generation 2022-12-22 10:49:25 +01:00
Michael Barz 01d3723a55 move api docs to root level 2022-12-21 15:30:47 +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
Michael Barz d9fa7455b6 add more unit tests for the drives operations 2022-11-16 15:19:22 +01:00
Willy Kloucek d74b879d4f update tooling (#5038)
* update tooling

* update nodejs version
2022-11-11 15:01:45 +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
Ralf Haferkamp 757fbcf9b5 Bump protoc-gen-microweb to include latest fixes
Closes #4276
2022-08-08 13:41:08 +02:00
Willy Kloucek bee33638ef remove Body from endpoint, see https://github.com/asim/go-micro/commit/3381a9f3dba45f07a6dcdba163158c68a7bc4a89 2022-07-25 12:16:37 +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
Michael Barz 189987bcbd Bump major version to v2 2022-05-04 14:49:59 +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
Jörn Friedrich Dreyer b4017a0451 minimal report handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-13 15:25:32 +00: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 2d0c29f32f Change the links to use "_" instead of "." 2022-02-02 09:24:54 +01:00
Juan Pablo Villafáñez 7d8e334537 Revert v1 to v0 2022-01-31 12:17:56 +01:00