Commit Graph

1922 Commits

Author SHA1 Message Date
Daniël Franke
509b4ba2c4 Merge pull request #6733 from owncloud/ainmosni/tracing/app-registry
Move app-registry service to service tracer.
2023-07-12 14:52:05 +02:00
Daniël Franke
5785891305 Merge pull request #6734 from owncloud/ainmosni/tracing/auth-basic
Move auth-basic service to service tracer.
2023-07-12 14:42:38 +02:00
Daniël Franke
fc58f86602 Move auth-basic service to service tracer.
This changes the auth-basic service away from using global tracers,
which makes debugging tracing issues easier going forward.
2023-07-12 13:43:36 +02:00
Daniël Franke
ea39236e0e Move app-registry service to service tracer.
This changes the app-registry service away from using global tracers,
which makes debugging tracing issues easier going forward.
2023-07-12 13:40:53 +02:00
Daniël Franke
0686b3ee6f Fix grandfather in linter problem 2023-07-12 12:59:26 +02:00
Daniël Franke
78adbb349e Move app-config to use service TraceProvider.
This PR moves the app-config service to use the service TraceProvider.
2023-07-12 12:59:22 +02:00
Daniël Franke
919404bafe Move graph service to service tracer.
This changes the graph service away from using global tracers,
which makes debugging tracing issues easier going forward.
2023-07-12 12:56:33 +02:00
Jörn Friedrich Dreyer
138754749a add userlog tracing (#6772)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-07-12 10:57:40 +02:00
kobergj
5a73b0e688 Merge pull request #6753 from owncloud/RestartPostprocessing2
Restart Postprocessing
2023-07-12 09:20:48 +02:00
Ralf Haferkamp
51bc49d5b5 graph: Add config knob to set a minimal grace period for schoolTermination
When setting a terminationDate on a School, it's possible to configure a grace
period now so that only terminationDate that are at least a certain time in the
future can be set.
We also now forbid to set a terminationDate in the past.
2023-07-12 08:48:19 +02:00
Ralf Haferkamp
0bc36f1cf5 graph: Turn PatchEducationSchool test into test table 2023-07-12 08:48:19 +02:00
Ralf Haferkamp
5304184bd6 graph: Add 'terminationDate' property to educationSchool
Schools can now have a terminationDate set. Schools can only be deleted if the
terminationDate is in the past. Schools without a terminationDate cannot be deleted.
2023-07-12 08:48:19 +02:00
ownClouders
286350616c [tx] updated from transifex 2023-07-12 04:28:47 +00:00
jkoberg
edc53a80d4 restart complete pp when pp cannot be found
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-11 17:35:55 +02:00
Ralf Haferkamp
b74eeed359 ldap: Implement missing methods for 3.4.5 go-ldap in ldap reconnect wrapper 2023-07-11 16:05:32 +02:00
Jan
b7e2f9e883 Set TokenStorageLocal default to true (#6771) 2023-07-11 14:52:23 +02:00
Jan
9a1b1b9f63 Add WEB_OPTION_TOKEN_STORAGE_LOCAL env var (#6760) 2023-07-10 17:10:52 +02:00
Florian Schade
c09f82405f enhancement: add mimetype to file extension rego function (#6133)
* enhancement: add mimetype to file extension rego function

add rego function to detect the resource extension by mimetype, at the same time this pr introduces a custom ocis namespace for the rego functions.

* enhancement: add custom logPrinter to opa policies service

* fix: imports and test

TypeByExtension which is used to resolve extension by mimetype relies on MIME-info database which differs at my local env (macos <-> drone). This is fixed by using one of the builtinTypes for testing

---------

Signed-off-by: Christian Richter <crichter@owncloud.com>
Co-authored-by: Christian Richter <crichter@owncloud.com>
2023-07-10 16:28:23 +02:00
Michael Barz
ecfe2d9a7b Merge pull request #6715 from owncloud/requestID-response
add request id to all responses
2023-07-10 16:25:30 +02:00
kobergj
c9e7b12d27 Merge pull request #6672 from kobergj/DeprovisionNotification
Deprovisioning Notification
2023-07-10 11:07:09 +02:00
Michael Barz
dce3a62f13 add request id to all responses
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2023-07-10 10:56:46 +02:00
Daniël Franke
d1c968c055 Move auth-bearer to use service TraceProvider. (#6740)
This PR moves the auth-bearer service to use the service TraceProvider.
2023-07-07 19:14:15 +02:00
Martin
721f4e8422 Merge pull request #6723 from owncloud/fix_loglevel_description
[docs-only] Increase readability for log level values in the description
2023-07-07 17:06:38 +02:00
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
jkoberg
ff61d25e1c improve documentation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-07 11:28:54 +02:00
jkoberg
a83492d7ab allow deleting global evs
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-07 11:06:53 +02:00
jkoberg
d8667bf736 use hard typed deprovision date
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-07 11:06:53 +02:00
jkoberg
6ab2f10386 only allow admins to set global notifications
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-07 11:06:53 +02:00
jkoberg
bca4d4f9fd add post event handler
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-07 11:06:53 +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
6ad53971ef [docs-only] Increase readability for log level values in the description 2023-07-07 10:33:42 +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