Commit Graph
782 Commits
Author SHA1 Message Date
Andre DuffeckandGitHub 15a7f2dea6 Add the ocm subcommand to ocis (#7576)
* Add the ocm subcommand to ocis

* Add changelog
2023-12-14 14:49:41 +01:00
jkoberg 003310a2b0 use nats-js cache
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-13 12:48:27 +01:00
Thomas MüllerandMichael Barz ca0badb5a4 fix: set insecure value on frontend app handler 2023-12-12 18:19:37 +01:00
Willy KloucekandMichael Barz 10454247b5 apply ocis init insecure option also to FRONTEND_APP_HANDLER_INSECURE 2023-12-12 18:19:37 +01:00
jkoberg 8ebfb043c3 wait before starting
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-06 08:59:01 +01:00
jkoberg 7f57f68725 start frontend delayed
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-06 08:59:01 +01:00
jkoberg 55013c3d0d start nats before other services
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-06 08:59:01 +01:00
André Duffeck b2eba874e9 Move ocm to the "delayed" group so that it can always reach the gateway 2023-10-24 11:26:21 +02:00
André Duffeck 668f917dba Add an ocm service exposing the ocm related http and grpc APIs 2023-10-24 10:29:29 +02:00
Christian Richter 8a72639d45 remove obsolete command registration file
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-10-11 09:47:47 +02:00
Andre DuffeckandGitHub d5f73ba68d Do not reset share state (#7322)
* Do not reset received share state to pending if there is a state already

* Add changelog
2023-09-22 09:41:07 +02:00
Ralf HaferkampandRalf Haferkamp 443598c227 ocis init: Add service accountid to settings config 2023-09-07 20:54:14 +02:00
Ralf HaferkampandRalf Haferkamp 6fd0853fcc ocis init: Add service account settings for proxy 2023-09-07 20:54:14 +02:00
jkoberg 732228ed88 add clientlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-07 10:56:58 +02:00
jkoberg 8e1b033a63 auto-accept shares in frontend service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-06 15:32:31 +02:00
Michael BarzandGitHub 4fd974ba10 Merge pull request #7167 from rhafer/bump-alpine
Bump base images for Dockerfiles
2023-09-03 21:20:34 +02:00
jkoberg a42d56a83c bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:44 +02:00
jkoberg bd716156fc let ocis init set the serviceaccounts
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:44 +02:00
jkoberg 90ce1a7ad0 add auth-service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:44 +02:00
Ralf Haferkamp 0b2528633d Bump alpine image to 3.18 2023-08-30 21:10:51 +02:00
Florian Schadeandjkoberg 96292ba4b6 enhancement: add sse service skeleton 2023-08-29 13:59:39 +02:00
André Duffeck 6f4b300bbc Remove subcommand from rebuild-jsoncs3-indexes that doesn't belong there 2023-08-08 14:07:42 +02:00
Andre DuffeckandGitHub 52750bd615 Fail on errors (#6986)
* Return an error when something went wrong

* Add changelog
2023-08-08 13:12:03 +02:00
2422973fee log error in cli (#6976)
* log error in cli

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

* write to stderr

* Update ocis/cmd/ocis/main.go

Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com>
2023-08-08 11:55:19 +02:00
André Duffeck dc176e1f74 Improve logging 2023-08-07 10:28:00 +02:00
André Duffeck e03d7b5644 Cleanup 2023-08-07 09:54:05 +02:00
André Duffeck 407c23edf6 Add command for rebuilding the jsoncs3 share manager indexes 2023-08-07 09:43:18 +02:00
Daniel Swärd 6a5e21eff4 Replacing implicit grpc client initialization with explicit package local variables. 2023-07-31 12:57:59 +02:00
André Duffeck 201caca5ec Incorporate review suggestions 2023-07-31 08:17:42 +02:00
André Duffeck c8ab49dc2d Add support for running/rolling back decomposedfs migrations 2023-07-31 08:17:42 +02:00
Daniël Franke e43001fb96 Pass context for reva bump.
Also refresh the generated code.
2023-07-03 11:08:45 +02:00
Ralf HaferkampandRalf Haferkamp 563bf34870 Fix output formatting of 'decomposedfs treesize-check` command
Add linebreak after errormessages
2023-06-27 17:42:07 +02:00
Christian RichterandGitHub b06f7ec131 Merge pull request #6577 from dragonchaser/issue-192-disable-thumbnailer
[full-ci] allow to disable previews in webdav & web
2023-06-27 14:01:37 +02:00
Christian Richter 15ced8a6df incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-23 13:29:49 +02:00
Ralf Haferkamp 4af4bba8b1 Add cli tool for verifing and repairing treesizes in decomposedfs 2023-06-22 15:58:52 +02:00
Christian Richter b3fd53d5a3 disable thumbnail service when web prevents previews
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-22 15:44:15 +02:00
Ralf HaferkampandRalf Haferkamp 046ff50f52 Fix 'decomposedfs meta set' value handling
Don't strip off the first two characters of the target
value to set unconditionally. Also print an error if
decoding hex/base64 values fails (falling back to treating
the values as strings).
2023-06-14 11:18:41 +02:00
jkoberg 09f4b6f9f3 fix ocis
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-06 14:25:10 +02:00
jkoberg d347448ec0 remove duplicated sutureservice code
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-02 12:02:27 +02:00
jkoberg d3f1012fea remove code duplication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-02 12:02:27 +02:00
77bb3d8bcd [full-ci] Refactor stores (#6019)
* Streamline the store implementation with and into reva

* Adapt to the cache/store refactoring in reva

* Streamline config options and their env vars

* Apply suggestions from code review

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

* Use the same database for all stores

* Bump reva

* Configure stat and filemetadata cache separately

* Fix default config

---------

Co-authored-by: Martin <github@diemattels.at>
2023-04-24 15:13:35 +02:00
Michael Barz e73d5493db add optional services and fix config slice parser 2023-04-18 11:58:02 +02:00
Jörn Friedrich DreyerandDaniël Franke f805cca363 initial invitations skeleton
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-24 11:42:48 +01:00
6c00708dbc improve antivirus documentation
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-22 13:50:42 +01:00
jkoberg f4ba4e0f64 backport antivirus from experimental
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-21 10:04:11 +01:00
474c4b848d upgrade to go1.20 and auto set go mem limit (#5732)
* upgrade to go1.19 and set go mem limit

* create ocis-pkg memlimit package

* use std automemlimit import

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

* import automemlimit in every ocis service, drop ocis-pkg/memlimit package

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

* bump go to 1.20

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

* drop unused config options and env vars

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

* update all version numbers, add doc

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

* fix lint

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

* update bingo and mockery

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

* bump golangci-lint

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

* fix selector test

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

* Update changelog/unreleased/enhancement-memlimit.md

Co-authored-by: kobergj <juliankoberg@googlemail.com>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Willy Kloucek <wkloucek@owncloud.com>
Co-authored-by: kobergj <juliankoberg@googlemail.com>
2023-03-20 17:22:02 +01:00
Andre DuffeckandGitHub 7bd735f615 Add command for inspecting and manipulating node metadata (#5858)
* Add command for inspecting and manipulating node metadata

* Add changelog

* Bump reva
2023-03-17 12:31:07 +01:00
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
43547cc681 Benchmark options (#5684)
* make benchmark clients remember cookies

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

* add --rate option for benchmark clients

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

* create a new request on every request to fix vanishing data

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

* use corret minute unit

Co-authored-by: Florian Schade <f.schade@icloud.com>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Florian Schade <f.schade@icloud.com>
2023-03-07 11:37:14 +01:00
Michael Barz 50a30c0340 remove arm from docker releases 2023-03-03 16:12:53 +01:00