Commit Graph

53 Commits

Author SHA1 Message Date
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 3381a9f3db 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
Juan Pablo Villafáñez
8ab2034083 Review changes 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez
83b4bf9bcf Remove old configuration templates 2022-01-31 09:35:40 +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
23c642fbbc Remove autogenerated docs for proto files from the repo 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez
e877603d6d Adjust Makefile and regenerate protobuf 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez
b62c9044af Restore mock files and adjust failing tests 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