Commit Graph
12 Commits
Author SHA1 Message Date
André Duffeck e26a009fc1 Improve "opencloud search index" command
The command no longer times out after 10 minutes when the processing
hasn't been finished yet. Instead it shows progress and logs successful
and failed spaces. The process can also be aborted using ctrl+c.

Example output:

```
$ bin/opencloud search index --all-spaces --insecure --force-rescan
[1/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$eb6a8a0e-2e62-4b40-bce9-360063236676!eb6a8a0e-2e62-4b40-bce9-360063236676 in 5.501190908s
[2/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$34b7c565-da3b-4f53-8559-825e87db4011!34b7c565-da3b-4f53-8559-825e87db4011 in 5.935075697s
[3/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$e08c6026-24f6-4a9e-a805-ed335b34b8da!e08c6026-24f6-4a9e-a805-ed335b34b8da in 6.016350958s
^Caborted, indexing has been stopped
```

Fixes #2592
2026-07-31 14:50:09 +02:00
Jörn Friedrich Dreyer 2124b6c657 generate grpc client stubs 2026-05-13 11:33:27 +02:00
Ralf Haferkamp 10e54ca717 cleanup: Remove proto-gen-docs dependency
We don't currently use the docs for the internal grpc APIs. Let's skip
building them on `make generate`.
2026-04-28 17:22:48 +02:00
André Duffeck 8c8cdd9310 Adapt protobuf naming 2025-01-15 11:04:32 +01:00
Florian SchadeandMartin 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 f3516aea13 fix grpc docs generation 2022-12-22 10:49:25 +01:00
Juan Pablo Villafáñez 7d8e334537 Revert v1 to v0 2022-01-31 12:17:56 +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 04b8ef0fcb Migrate thumbnails proto files and adjust related import paths 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