@@ -38,7 +38,7 @@ For the time being, the configuration which user related events are of interest
|
|||||||
|
|
||||||
## Retrieving
|
## Retrieving
|
||||||
|
|
||||||
The `userlog` service provides an API to retrieve configured events. For now, this API is mostly following the [oc10 notification GET API](https://doc.owncloud.com/server/next/developer_manual/core/apis/ocs-notification-endpoint-v1.html#get-user-notifications).
|
The `userlog` service provides an API to retrieve configured events. For now, this API is mostly following the [oc10 notification GET API](https://docs.opencloud.eu/server/next/developer_manual/core/apis/ocs-notification-endpoint-v1.html#get-user-notifications).
|
||||||
|
|
||||||
## Posting
|
## Posting
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ For example, for the language `de`, one needs to place the corresponding transla
|
|||||||
|
|
||||||
<!-- also see the notifications readme -->
|
<!-- also see the notifications readme -->
|
||||||
|
|
||||||
Important: For the time being, the embedded ownCloud Web frontend only supports the main language code but does not handle any territory. When strings are available in the language code `language_territory`, the web frontend does not see it as it only requests `language`. In consequence, any translations made must exist in the requested `language` to avoid a fallback to the default.
|
Important: For the time being, the embedded OpenCloud Web frontend only supports the main language code but does not handle any territory. When strings are available in the language code `language_territory`, the web frontend does not see it as it only requests `language`. In consequence, any translations made must exist in the requested `language` to avoid a fallback to the default.
|
||||||
|
|
||||||
### Translation Rules
|
### Translation Rules
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ func NewUserlogService(opts ...Option) (*UserlogService, error) {
|
|||||||
valueClient: o.ValueClient,
|
valueClient: o.ValueClient,
|
||||||
registeredEvents: make(map[string]events.Unmarshaller),
|
registeredEvents: make(map[string]events.Unmarshaller),
|
||||||
tp: o.TraceProvider,
|
tp: o.TraceProvider,
|
||||||
tracer: o.TraceProvider.Tracer("github.com/owncloud/ocis/services/userlog/pkg/service"),
|
tracer: o.TraceProvider.Tracer("github.com/opencloud-eu/opencloud/services/userlog/pkg/service"),
|
||||||
publisher: o.Stream,
|
publisher: o.Stream,
|
||||||
filter: newUserlogFilter(o.Logger, o.ValueClient),
|
filter: newUserlogFilter(o.Logger, o.ValueClient),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user