Commit Graph

1332 Commits

Author SHA1 Message Date
kobergj c74da3d05b improve userlog docu
Co-authored-by: Martin <github@diemattels.at>
2023-06-29 14:04:40 +02:00
jkoberg dc17ac7b2b allow disabling sses
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-29 14:04:40 +02:00
jkoberg d9d6da856f improve logging and error handling
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-29 14:04:40 +02:00
jkoberg 77aa84171f add sse info to readme
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-29 14:04:40 +02:00
jkoberg 8953336719 translate sse notifications
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-29 14:04:38 +02:00
jkoberg d2b873acff add sses to userlog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-29 14:03:22 +02:00
Ralf Haferkamp c9a9fddef1 Consitently switch to stretchr/testify
We were using stretchr/testify and test-go/testify inconsitently and
sometimes mixed in the same tests. This can cause very strange issue,
e.g when using things like mock.MatchedBy().

This moves all our code to stretchr/testify, which seems to be far
more active and maintained then test-go/testify.
2023-06-29 13:44:49 +02:00
ownClouders 19b488704f [tx] updated from transifex 2023-06-29 00:50:12 +00:00
ownClouders 164b24cc41 [tx] updated from transifex 2023-06-28 10:06:47 +00:00
Daniël Franke 7bda03c386 Merge pull request #6640 from owncloud/ainmosni/feature/settings-tracing
Add tracing to settings service.
2023-06-28 10:39:54 +02:00
ownClouders d1d36e6f5a [tx] updated from transifex 2023-06-28 04:02:17 +00:00
Martin fec827fc49 [docs-only] Fix webdav envvar description 2023-06-27 16:16:09 +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
Christian Richter 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 a67c2c40a3 Update services/web/pkg/config/options.go
Co-authored-by: kobergj <juliankoberg@googlemail.com>
2023-06-27 13:26:59 +02:00
Daniël Franke 96557a95ae Add tracing to settings service.
This adds tracing to the settings service. It uses the otelchi package
and passes the tracing provider to the grpc and http servers.
2023-06-27 12:31:19 +02:00
jkoberg 1bf28dac43 change assign roles logic
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-26 09:20:34 +02:00
ownClouders 5e1f06b6d4 [tx] updated from transifex 2023-06-26 00:52:35 +00:00
kobergj 9fc37147c2 Merge pull request #6593 from kobergj/AddIDsToGraphResourceLogging
Add IDs to graph access logs
2023-06-23 16:12:03 +02:00
Christian Richter 5150a18dec Update services/webdav/pkg/config/config.go
Co-authored-by: kobergj <juliankoberg@googlemail.com>
2023-06-23 16:11:39 +02:00
Michael Barz 2421b42a0a Merge pull request #6583 from owncloud/add-web-redirect-uri
add web post redirect uri config
2023-06-23 16:07:04 +02:00
Daniël Franke 8f7521eff7 Move away from global tracers. (#6591)
* Move away from global tracers.

This PR moves away from global tracers and instead initialises
a tracer provider at Service setup and passes it where it needs to be.

* Change tracing provider to be set via options.

Also change name for GetServiceTraceProvider.

* Add changelog.
2023-06-23 14:20:26 +02:00
Christian Richter 15ced8a6df incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-23 13:29:49 +02:00
kobergj 76c3e3c024 Merge pull request #6605 from kobergj/FixUpdateRolesAssigner
Fix OIDC role assigner
2023-06-23 10:32:34 +02:00
Martin b5000e39ff Merge pull request #6594 from rhafer/idm-port
[docs-only] Fix idm default port typo in README
2023-06-23 08:55:59 +02:00
Michael Barz 24347e1985 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2023-06-22 17:58:48 +02:00
jkoberg 1d0a7acc65 do not return an error when detecting too many roles
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-22 17:45:01 +02:00
Jörn Friedrich Dreyer 2ea3b8c400 unmarshal token to filter spaces for current user (#6596)
* unmarshal token to filter spaces for current user

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

* Fix tests

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: André Duffeck <andre.duffeck@firondu.de>
2023-06-22 16:15:17 +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
jkoberg ef68dce389 add more details for DELETE endpoints
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-22 14:06:21 +02:00
kobergj 9e09bb1e4a Merge pull request #6578 from kobergj/AddDefaultStoreToPostprocessing
Add default store to postprocessing service
2023-06-22 11:56:37 +02:00
Ralf Haferkamp e5c24a9e88 Fix idm default port typo in README 2023-06-22 11:09:59 +02:00
jkoberg 3fe5e2b011 add ids to graph access logs
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-22 11:04:00 +02:00
Daniel Swärd 571d2318c0 Add missing span kind for tracing. (#6471)
* Add missing span kind for tracing.

* Add missing spanKind for tracing.
2023-06-22 10:09:10 +02:00
Andre Duffeck 20252409ba Handle events asynchronously (#6584) 2023-06-22 09:23:49 +02:00
Michael Barz cf8f257fae add web post redirect uri config 2023-06-21 19:12:22 +02:00
jkoberg 9740706df5 add default store to postprocessing
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-21 16:57:19 +02:00
Roman Perekhod 5d5ef12e7c Skip the error if the simulink is pointed to a directory 2023-06-21 15:14:18 +02:00
kobergj 34462566bd Merge pull request #6565 from kobergj/RemoveLDAPErrorLog
Don't connect to ldap on startup
2023-06-21 14:18:23 +02:00
jkoberg eb9d2bc373 dont connect ldap on startup
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-21 11:53:52 +02:00
Martin 0d7cc2aa2e Update APP_PROVIDER_SERVICE_NAME description 2023-06-20 18:59:46 +02:00
Christian Richter 961b03b272 Merge pull request #6554 from dragonchaser/issue-3753-issues-with-audit-public_link_token_in_event
add token to LinkAccessedEvent
2023-06-20 13:33:43 +02:00
Andre Duffeck c81f423357 Merge pull request #6512 from aduffeck/fix-case-insensitivity
Always make Name and Tags queries case-insensitive
2023-06-20 08:39:50 +02:00
Paul Neubauer 7af64c3477 Merge pull request #6549 from owncloud/feat-add-logged-out-url-config
feat: add logged out url config
2023-06-19 15:04:52 +02:00
Christian Richter 6d9ad6fcf5 fix tests & bump reva
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 14:45:45 +02:00
Christian Richter 14a66a98f1 add token to LinkAccessedEvent
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 13:53:05 +02:00
Paul Neubauer 47e366dd77 Address PR issue 2023-06-19 13:39:41 +02:00
Paul Neubauer b5d74f2f4c Address PR issues 2023-06-19 12:35:26 +02:00
Christian Richter 30010adb8a Merge pull request #6548 from dragonchaser/issue-3753-issues-with-audit-storage_id_missing
add storage id to audit log for spaces
2023-06-19 11:32:47 +02:00
Christian Richter 2d60212e12 incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-19 11:16:44 +02:00