Commit Graph

635 Commits

Author SHA1 Message Date
Juan Pablo Villafáñez
ff346c2861 fix: additional guarantees for concurrent calls 2024-04-19 14:47:21 +02:00
Juan Pablo Villafáñez
6ddc0addd3 fix: ensure the task hasn't finished before interrupt it 2024-04-19 14:47:21 +02:00
Juan Pablo Villafáñez
0da6810cb1 fix: panic if there are duplicates in the group 2024-04-19 14:47:21 +02:00
Juan Pablo Villafáñez
da71059a16 refactor: reuse functions and name changes 2024-04-19 14:47:21 +02:00
Juan Pablo Villafáñez
ef32af6402 feat: add runners to startup the ocis' services 2024-04-19 14:47:21 +02:00
jkoberg
eb5035cc19 fix(natsjsregistry): fix reconnects
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-17 15:50:54 +02:00
Thomas Müller
07f0cd5574 fix: typos, naming clashes, error messages and deprecations 2024-04-03 15:34:36 +02:00
jkoberg
b54344196e move more functionality to l10n pkg
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-27 10:34:54 +01:00
jkoberg
db346dff10 make readmes translateable
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-26 13:35:07 +01:00
jkoberg
1bc59de021 fix graph tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-26 10:41:42 +01:00
jkoberg
e9d39cdcb3 move translation logic from notifications to own package
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-25 13:14:01 +01:00
Christian Richter
cf5558d078 add missing introduction version
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-03-19 10:54:58 +01:00
Christian Richter
72916dc53c adapt cors headers
Signed-off-by: Christian Richter <crichter@owncloud.com>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-03-19 10:54:58 +01:00
Jörn Friedrich Dreyer
e8da108edc use mutex when lazy initializing the OIDC provider
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-03-18 11:29:33 +01:00
Phil Davis
ec4c667ae8 chore: set introductionVersion 5.0 in shared_types.go 2024-03-06 17:50:20 +05:45
Phil Davis
366b03e6e2 chore: adjust env var descriptions
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2024-03-06 17:50:20 +05:45
Phil Davis
6fcd049eb7 chore: add missing descriptions to env vars 2024-03-06 17:50:20 +05:45
Phil Davis
9d2be66a85 chore: add introductionVersion pre5.0 to environment variable docs 2024-03-06 17:50:20 +05:45
Florian Schade
6814c61506 [full-ci] enhancement: allow ocis to provide custom web applications (#8523)
* enhancement: allow ocis to provide custom web applications

* enhancement: add an option to disable web apps

* test: add default logger tests

* test: add app loading tests

* test: add asset server tests

* enhancement: make use of dedicated app conf file and app asset paths

* enhancement: adjust asset locations and deprecate WEB_ASSET_PATH

* enhancement: get rid of default logger and use the service level logger instead

* Apply suggestions from code review

Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
Co-authored-by: kobergj <juliankoberg@googlemail.com>

* enhancement: use basename as app id

* Apply suggestions from code review

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

* enhancement: use afero as fs abstraction

* enhancement: simplify logo upload

* enhancement: make use of introductionVersion field annotations

---------

Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
Co-authored-by: kobergj <juliankoberg@googlemail.com>
Co-authored-by: Martin <github@diemattels.at>
2024-03-05 14:11:18 +01:00
Jörn Friedrich Dreyer
972adafd29 verify all system accounts are set
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-29 15:51:37 +01:00
Jörn Friedrich Dreyer
5ed57cc09a Bump reva deps (#8412)
* bump dependencies

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

* bump reva and add config options

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

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-21 10:20:36 +01:00
Michael Barz
00e43b8274 feat: use env variable in yaml config files 2024-02-09 17:41:59 +01:00
Ralf Haferkamp
3d3f8949f5 Bump mockery to 2.40.2
to address issues when building with go1.22:
https://github.com/vektra/mockery/pull/753
2024-02-09 11:48:45 +01: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
kobergj
46af9cce40 move nats authentication to natsjsregistry package (#8281)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 17:14:19 +01:00
jkoberg
82ee1a6305 use inmemory natsjskv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg
13bb2785d4 fix cache authentication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:30 +01:00
jkoberg
1110bf2178 fix name of nats-js-kv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-05 14:45:51 +01:00
Michael Barz
08e713d49f feat: bump version to prealpha 2023-12-27 13:23:33 +01:00
Michael Barz
f0da02ecb0 feat: prepare changelog, bump version 2023-12-20 14:37:52 +01:00
jkoberg
f5809848b9 fix registry creation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-20 10:05:44 +01:00
André Duffeck
69e8d13f7e Use a on-sampling instead of noop traceprovider to get proper traceids
Fixes #7928
2023-12-19 14:49:48 +01:00
jkoberg
e1fad5c6e9 make nats-js-kv the default registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 12:13:28 +01:00
jkoberg
15efafaf23 allow authentication for the registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 10:44:05 +01:00
kobergj
c1af7dd5ce use kv store in natsjs registry (#7987)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-18 10:17:48 +01:00
kobergj
423c28b298 improve store readmes
Co-authored-by: Martin <github@diemattels.at>
2023-12-15 13:25:10 +01:00
Michael Barz
a34fdfb279 docs: prepare changelog, bump version 2023-12-12 20:17:55 +01:00
Jannik Stehle
456ad36818 chore: bump version to v5.0.0-alpha.6 2023-12-08 15:08:39 +01:00
Benedikt Kulmann
8aa2b9e1c6 chore: bump version to v5.0.0-alpha.5 2023-12-05 16:23:36 +01:00
Michael Barz
e6d6d27afa Merge pull request #7855 from owncloud/release-5.0.0-alpha.4
chore: prepare release v5.0.0-alpha.4
2023-12-05 14:15:48 +01:00
Jörn Friedrich Dreyer
23e59b5ded Parse role claims (#7713)
* extract and test role claim parsing

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

* add failing test

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

* read segmented roles claim as array and string

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

* reuse more code by extracting WalkSegments

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

* add TestSplitWithEscaping

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

* docs and error for unhandled case

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

* add claims test

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

* add missing ReadStringClaim docs

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

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-12-04 12:18:52 +01:00
Benedikt Kulmann
b4d92b5ca4 chore: prepare release v5.0.0-alpha.4 2023-11-30 12:14:39 +01:00
Florian Schade
ad06a192d8 enhancement: add graph beta listPermissions endpoint (#7753)
* enhancement: add graph beta listPermissions endpoint

besides the new api endpoint it includes several utilities to simplify the graph api development.

* resolve drive and item id from the request path
* generic pointer and value utilities
* space root detection

* update GetDriveAndItemIDParam signature to return a error

* move errorcode package

* enhancement: add generic error code handling

* fix: rebase
2023-11-28 17:06:04 +01:00
kobergj
9057d231a8 fix search service startup (#7795)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-24 08:35:10 +01:00
Benedikt Kulmann
7a5762c8f0 chore: bump version, prepare changelog 2023-11-22 09:22:32 +01:00
Michael Barz
21796532e1 bump version, prepare changelog 2023-11-08 15:35:12 +01:00
jkoberg
73c99cce9e introduce natsjs registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-06 08:59:01 +01:00
Michael Barz
5c6f95c3cd bump version, prepare changelog 2023-10-30 16:43:04 +01:00
André Duffeck
668f917dba Add an ocm service exposing the ocm related http and grpc APIs 2023-10-24 10:29:29 +02:00
André Duffeck
3eea26390c Fix struct field tag for OCIS_MACHINE_AUTH_API_KEY 2023-10-24 10:29:28 +02:00