Commit Graph

1343 Commits

Author SHA1 Message Date
André Duffeck
ec8a260119 Handle shares received from project spaces.
Unfortunately searching these kinds of shares can't be fully fixed until
the service accounts have been implemented.
2023-07-07 12:48:00 +02:00
André Duffeck
b2f1e849fd Use the owner auth to get the path of shared resources
This fixes searching received shares that were not shared from the space
root.
2023-07-07 10:46:53 +02:00
mmattel
d7b447b791 [docs-only] Increase readability for tracing values in the description 2023-07-07 09:50:39 +02:00
ownClouders
63606c4c0a [tx] updated from transifex 2023-07-05 14:43:32 +00:00
Daniël Franke
e43001fb96 Pass context for reva bump.
Also refresh the generated code.
2023-07-03 11:08:45 +02:00
Daniël Franke
0e9bfa5e76 Update services/frontend/pkg/config/tracing.go
Co-authored-by: Martin <github@diemattels.at>
2023-07-03 10:26:00 +02:00
Daniël Franke
2fda2db990 Add comment for Tracing struct. 2023-07-03 10:25:56 +02:00
Daniël Franke
7a229e438b Migrate frontend to new service tracing setup.
This alters the frontend to use the new service tracing setup.
2023-07-03 10:25:51 +02:00
ownClouders
a8ff963166 [tx] updated from transifex 2023-07-02 00:16:36 +00:00
Martin
05223f452d Update services/userlog/README.md
Co-authored-by: Phil Davis <phil@jankaritech.com>
2023-06-30 13:42:42 +02:00
Martin
fd60d60e1f [docs-only] Update userlog README.md 2023-06-30 12:04:38 +02:00
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