Commit Graph

650 Commits

Author SHA1 Message Date
Ralf Haferkamp
3be286a2a3 Bump go-jose an update to new location
It's now maintained in github.com/go-jose/go-jose. Bumping to
latest backwards compatible release. (v4 will require some code changes)
2024-05-08 17:52:17 +02:00
Thomas Müller
a8cbc612cc chore: remove unused return value from BindSourcesToStructs (#9033) 2024-04-30 18:18:31 +02:00
Thomas Müller
c039041a40 test: unit test BindSourcesToStructs (#9029) 2024-04-30 17:35:46 +02:00
kobergj
1906059ef0 Merge pull request #8374 from owncloud/new_collaboration_service
feat: add new collaboration service (WOPI)
2024-04-29 13:56:10 +02:00
kobergj
d8cae78d70 Merge pull request #8802 from owncloud/servers_startup
feat: add runners to startup the ocis' services
2024-04-29 13:52:31 +02:00
Juan Pablo Villafáñez
05f684a537 fix: add group runner's timeout and make some channels buffered. 2024-04-29 11:56:07 +02:00
Thomas Müller
bdbba929d0 feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Juan Pablo Villafáñez
08c47632f0 fix: use custom timeout error if the runner times out 2024-04-22 12:51:25 +02:00
Juan Pablo Villafáñez
59051e2f2b feat: make the interrupt duration optional and with a default 2024-04-19 14:47:21 +02:00
Juan Pablo Villafáñez
df3c496cba fix: ensure runners provide a result after being interrupted 2024-04-19 14:47:21 +02:00
Juan Pablo Villafáñez
cb2e8e0ef2 test: unit tests for the helper 2024-04-19 14:47:21 +02:00
Juan Pablo Villafáñez
5ea30f7295 feat: helper to ensure the task is interrupted and doesn't block 2024-04-19 14:47:21 +02:00
Juan Pablo Villafáñez
b6a6b6114a test: add unit tests 2024-04-19 14:47:21 +02:00
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
Juan Pablo Villafáñez
8f4806f1d4 refactor: replace uniuri with custom code 2024-04-17 15:54:51 +02:00
Juan Pablo Villafáñez
3e90402350 feat: Add new collaboration service (WOPI) 2024-04-17 15:54:50 +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