diff --git a/services/_includes/adoc/antivirus_configvars.adoc b/services/_includes/adoc/antivirus_configvars.adoc index e85ec475e40..b603d692351 100644 --- a/services/_includes/adoc/antivirus_configvars.adoc +++ b/services/_includes/adoc/antivirus_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the antivirus service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/app-provider_configvars.adoc b/services/_includes/adoc/app-provider_configvars.adoc index 8fff7ec8af2..165328d9606 100644 --- a/services/_includes/adoc/app-provider_configvars.adoc +++ b/services/_includes/adoc/app-provider_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the app-provider service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/app-registry_configvars.adoc b/services/_includes/adoc/app-registry_configvars.adoc index d1551be5543..c071063e0a1 100644 --- a/services/_includes/adoc/app-registry_configvars.adoc +++ b/services/_includes/adoc/app-registry_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the app-registry service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/audit_configvars.adoc b/services/_includes/adoc/audit_configvars.adoc index b352de7c8fd..cc9416f6720 100644 --- a/services/_includes/adoc/audit_configvars.adoc +++ b/services/_includes/adoc/audit_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the audit service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/auth-basic_configvars.adoc b/services/_includes/adoc/auth-basic_configvars.adoc index 12426c4fac5..4e8f6464131 100644 --- a/services/_includes/adoc/auth-basic_configvars.adoc +++ b/services/_includes/adoc/auth-basic_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the auth-basic service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/auth-bearer_configvars.adoc b/services/_includes/adoc/auth-bearer_configvars.adoc index da957aabd94..f9b37197b94 100644 --- a/services/_includes/adoc/auth-bearer_configvars.adoc +++ b/services/_includes/adoc/auth-bearer_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the auth-bearer service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/auth-machine_configvars.adoc b/services/_includes/adoc/auth-machine_configvars.adoc index 8412ad7b06d..7aa6e6cb743 100644 --- a/services/_includes/adoc/auth-machine_configvars.adoc +++ b/services/_includes/adoc/auth-machine_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the auth-machine service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/eventhistory_configvars.adoc b/services/_includes/adoc/eventhistory_configvars.adoc index 6cfa7ee1043..3756fdd7072 100644 --- a/services/_includes/adoc/eventhistory_configvars.adoc +++ b/services/_includes/adoc/eventhistory_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the eventhistory service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/frontend_configvars.adoc b/services/_includes/adoc/frontend_configvars.adoc index 22841ebdd31..f3d660740cc 100644 --- a/services/_includes/adoc/frontend_configvars.adoc +++ b/services/_includes/adoc/frontend_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the frontend service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/gateway_configvars.adoc b/services/_includes/adoc/gateway_configvars.adoc index 0c975aaa588..8b9a0286da4 100644 --- a/services/_includes/adoc/gateway_configvars.adoc +++ b/services/_includes/adoc/gateway_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the gateway service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/global_configvars.adoc b/services/_includes/adoc/global_configvars.adoc index 166d5cda9e6..1058b32651e 100644 --- a/services/_includes/adoc/global_configvars.adoc +++ b/services/_includes/adoc/global_configvars.adoc @@ -33,7 +33,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Flag to enable or disable the creation of the demo users. +The default role assignments the demo users should be setup. a| `LDAP_BIND_PASSWORD` @@ -129,7 +129,7 @@ a| [subs=-attributes] ++0 ++ a| [subs=-attributes] -The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512. +The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512. a| `OCIS_CACHE_STORE` @@ -198,10 +198,10 @@ a| [subs=-attributes] ++Duration ++ a| [subs=-attributes] -++336h0m0s ++ +++10s ++ a| [subs=-attributes] -Time to live for cache records in the graph. The duration can be set as number followed by a unit identifier like s, m or h. Defaults to '336h' (2 weeks). +Default time to live for user info in the user info cache. Only applied when access tokens has no expiration. The duration can be set as number followed by a unit identifier like s, m or h. Defaults to '10s' (10 seconds). a| `OCIS_CORS_ALLOW_CREDENTIALS` @@ -212,6 +212,7 @@ a| [subs=attributes+] * xref:{s-path}/ocdav.adoc[ocdav] + * xref:{s-path}/ocs.adoc[ocs] + * xref:{s-path}/settings.adoc[settings] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/userlog.adoc[userlog] + * xref:{s-path}/web.adoc[web] + * xref:{s-path}/webdav.adoc[webdav] + @@ -235,6 +236,7 @@ a| [subs=attributes+] * xref:{s-path}/ocdav.adoc[ocdav] + * xref:{s-path}/ocs.adoc[ocs] + * xref:{s-path}/settings.adoc[settings] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/userlog.adoc[userlog] + * xref:{s-path}/web.adoc[web] + * xref:{s-path}/webdav.adoc[webdav] + @@ -244,7 +246,7 @@ a| [subs=-attributes] ++[]string ++ a| [subs=-attributes] -++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id Ocs-Apirequest] ++ +++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id] ++ a| [subs=-attributes] A blank or comma-separated list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. @@ -258,6 +260,7 @@ a| [subs=attributes+] * xref:{s-path}/ocdav.adoc[ocdav] + * xref:{s-path}/ocs.adoc[ocs] + * xref:{s-path}/settings.adoc[settings] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/userlog.adoc[userlog] + * xref:{s-path}/web.adoc[web] + * xref:{s-path}/webdav.adoc[webdav] + @@ -267,7 +270,7 @@ a| [subs=-attributes] ++[]string ++ a| [subs=-attributes] -++[GET] ++ +++[GET POST PUT PATCH DELETE OPTIONS] ++ a| [subs=-attributes] A comma-separated list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method @@ -281,6 +284,7 @@ a| [subs=attributes+] * xref:{s-path}/ocdav.adoc[ocdav] + * xref:{s-path}/ocs.adoc[ocs] + * xref:{s-path}/settings.adoc[settings] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/userlog.adoc[userlog] + * xref:{s-path}/web.adoc[web] + * xref:{s-path}/webdav.adoc[webdav] + @@ -338,7 +342,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Set this option to 'true' to disable previews in all the different web file listing views. This can speed up file listings in folders with many files. The only list view that is not affected by this setting is the trash bin, as it does not allow previewing at all. +Set this option to 'true' to disable rendering of thumbnails triggered via webdav access. Note that when disabled, all access to preview related webdav paths will return a 404. a| `OCIS_EDITION` @@ -367,6 +371,7 @@ a| [subs=attributes+] * xref:{s-path}/postprocessing.adoc[postprocessing] + * xref:{s-path}/search.adoc[search] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-users.adoc[storage-users] + * xref:{s-path}/userlog.adoc[userlog] + @@ -392,6 +397,7 @@ a| [subs=attributes+] * xref:{s-path}/postprocessing.adoc[postprocessing] + * xref:{s-path}/search.adoc[search] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-users.adoc[storage-users] + * xref:{s-path}/userlog.adoc[userlog] + @@ -416,6 +422,7 @@ a| [subs=attributes+] * xref:{s-path}/postprocessing.adoc[postprocessing] + * xref:{s-path}/search.adoc[search] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-users.adoc[storage-users] + * xref:{s-path}/userlog.adoc[userlog] + @@ -440,6 +447,7 @@ a| [subs=attributes+] * xref:{s-path}/postprocessing.adoc[postprocessing] + * xref:{s-path}/search.adoc[search] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-users.adoc[storage-users] + * xref:{s-path}/userlog.adoc[userlog] + @@ -527,6 +535,7 @@ a| [subs=attributes+] * xref:{s-path}/invitations.adoc[invitations] + * xref:{s-path}/ocs.adoc[ocs] + * xref:{s-path}/settings.adoc[settings] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/thumbnails.adoc[thumbnails] + * xref:{s-path}/userlog.adoc[userlog] + * xref:{s-path}/web.adoc[web] + @@ -549,6 +558,7 @@ a| [subs=attributes+] * xref:{s-path}/invitations.adoc[invitations] + * xref:{s-path}/ocs.adoc[ocs] + * xref:{s-path}/settings.adoc[settings] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/thumbnails.adoc[thumbnails] + * xref:{s-path}/userlog.adoc[userlog] + * xref:{s-path}/web.adoc[web] + @@ -571,6 +581,7 @@ a| [subs=attributes+] * xref:{s-path}/invitations.adoc[invitations] + * xref:{s-path}/ocs.adoc[ocs] + * xref:{s-path}/settings.adoc[settings] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/thumbnails.adoc[thumbnails] + * xref:{s-path}/userlog.adoc[userlog] + * xref:{s-path}/web.adoc[web] + @@ -605,6 +616,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/search.adoc[search] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-users.adoc[storage-users] + * xref:{s-path}/thumbnails.adoc[thumbnails] + * xref:{s-path}/thumbnails.adoc[thumbnails] + @@ -618,7 +630,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Whether to verify the server TLS certificates. +Disable TLS certificate validation for connections to the IDP. Note that this is not recommended for production environments. a| `OCIS_JWT_SECRET` @@ -640,6 +652,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -655,7 +668,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -The secret to mint and validate jwt tokens. +The secret to mint and validate JWT tokens. a| `OCIS_KEYCLOAK_BASE_PATH` @@ -685,7 +698,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -The client id to authenticate with keycloak. +The client ID to authenticate with keycloak. a| `OCIS_KEYCLOAK_CLIENT_REALM` @@ -813,7 +826,7 @@ a| [subs=-attributes] ++attribute ++ a| [subs=-attributes] -An option to control the behavior for disabling users. Supported options are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API will add the user to the configured group for disabled users, if set to 'attribute' this will be done in the ldap user entry, if set to 'none' the disable request is not processed. Default is 'attribute'. +An option to control the behavior for disabling users. Valid options are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API will add the user to the configured group for disabled users, if set to 'attribute' this will be done in the ldap user entry, if set to 'none' the disable request is not processed. a| `OCIS_LDAP_GROUP_BASE_DN` @@ -1067,7 +1080,7 @@ a| [subs=-attributes] ++ownCloudUserEnabled ++ a| [subs=-attributes] -LDAP Attribute to use as a flag telling if the user is enabled or disabled. +LDAP attribute to use as a flag telling if the user is enabled or disabled. a| `OCIS_LDAP_USER_FILTER` @@ -1253,6 +1266,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -1302,6 +1316,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -1351,6 +1366,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -1400,6 +1416,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -1442,7 +1459,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -Machine auth API key used to validate internal requests necessary for the access to resources from other services. +Machine auth API key used to validate internal requests necessary to access resources from other services. a| `OCIS_OIDC_ISSUER` @@ -1463,7 +1480,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -The identity provider value to set in the group IDs of the CS3 group objects for groups returned by this group provider. +URL of the OIDC issuer. It defaults to URL of the builtin IDP. a| `OCIS_PERSISTENT_STORE` @@ -1524,7 +1541,7 @@ a| [subs=-attributes] ++Duration ++ a| [subs=-attributes] -++336h0m0s ++ +++0s ++ a| [subs=-attributes] Time to live for events in the store. The duration can be set as number followed by a unit identifier like s, m or h. Defaults to '336h' (2 weeks). @@ -1594,7 +1611,7 @@ a| [subs=-attributes] ++0 ++ a| [subs=-attributes] -Set a global max quota for spaces in bytes. A value of 0 equals unlimited. If not using the global OCIS_SPACES_MAX_QUOTA, you must define the FRONTEND_MAX_QUOTA in the frontend service. +Set the global max quota value in bytes. A value of 0 equals unlimited. The value is provided via capabilities. a| `OCIS_SYSTEM_USER_API_KEY` @@ -1680,6 +1697,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -1729,6 +1747,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -1778,6 +1797,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -1827,6 +1847,7 @@ a| [subs=attributes+] * xref:{s-path}/search.adoc[search] + * xref:{s-path}/settings.adoc[settings] + * xref:{s-path}/sharing.adoc[sharing] + +* xref:{s-path}/sse.adoc[sse] + * xref:{s-path}/storage-publiclink.adoc[storage-publiclink] + * xref:{s-path}/storage-shares.adoc[storage-shares] + * xref:{s-path}/storage-system.adoc[storage-system] + @@ -1892,7 +1913,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -The identity provider value to set in the group IDs of the CS3 group objects for groups returned by this group provider. +URL of the OIDC issuer. It defaults to URL of the builtin IDP. a| `STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY` diff --git a/services/_includes/adoc/graph_configvars.adoc b/services/_includes/adoc/graph_configvars.adoc index e4cce4035a7..f2e0b2fc51f 100644 --- a/services/_includes/adoc/graph_configvars.adoc +++ b/services/_includes/adoc/graph_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the graph service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/groups_configvars.adoc b/services/_includes/adoc/groups_configvars.adoc index 9995f3d0782..7072c27d834 100644 --- a/services/_includes/adoc/groups_configvars.adoc +++ b/services/_includes/adoc/groups_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the groups service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/idm_configvars.adoc b/services/_includes/adoc/idm_configvars.adoc index 32df1f724ee..434c7e4af70 100644 --- a/services/_includes/adoc/idm_configvars.adoc +++ b/services/_includes/adoc/idm_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the idm service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/idp_configvars.adoc b/services/_includes/adoc/idp_configvars.adoc index 37e4055e872..ffa7524ea02 100644 --- a/services/_includes/adoc/idp_configvars.adoc +++ b/services/_includes/adoc/idp_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the idp service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/invitations_configvars.adoc b/services/_includes/adoc/invitations_configvars.adoc index 5f39c2257c8..46206eeb8c8 100644 --- a/services/_includes/adoc/invitations_configvars.adoc +++ b/services/_includes/adoc/invitations_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the invitations service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/nats_configvars.adoc b/services/_includes/adoc/nats_configvars.adoc index 74640f94597..fcf9bc557b5 100644 --- a/services/_includes/adoc/nats_configvars.adoc +++ b/services/_includes/adoc/nats_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the nats service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/notifications_configvars.adoc b/services/_includes/adoc/notifications_configvars.adoc index 6ed1d69de23..f2ec0ee00e5 100644 --- a/services/_includes/adoc/notifications_configvars.adoc +++ b/services/_includes/adoc/notifications_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the notifications service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/ocdav_configvars.adoc b/services/_includes/adoc/ocdav_configvars.adoc index e44bbef34bd..ddfe251afad 100644 --- a/services/_includes/adoc/ocdav_configvars.adoc +++ b/services/_includes/adoc/ocdav_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the ocdav service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/ocs_configvars.adoc b/services/_includes/adoc/ocs_configvars.adoc index 5ba3fae5251..62213a25be3 100644 --- a/services/_includes/adoc/ocs_configvars.adoc +++ b/services/_includes/adoc/ocs_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the ocs service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/policies_configvars.adoc b/services/_includes/adoc/policies_configvars.adoc index dbe6931a7e6..52843eec336 100644 --- a/services/_includes/adoc/policies_configvars.adoc +++ b/services/_includes/adoc/policies_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the policies service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/postprocessing_configvars.adoc b/services/_includes/adoc/postprocessing_configvars.adoc index d39f725a120..5bc70b12646 100644 --- a/services/_includes/adoc/postprocessing_configvars.adoc +++ b/services/_includes/adoc/postprocessing_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the postprocessing service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/proxy_configvars.adoc b/services/_includes/adoc/proxy_configvars.adoc index caed51e090b..987c94faee6 100644 --- a/services/_includes/adoc/proxy_configvars.adoc +++ b/services/_includes/adoc/proxy_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the proxy service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/search_configvars.adoc b/services/_includes/adoc/search_configvars.adoc index 746fd01a88d..668cdb3fa55 100644 --- a/services/_includes/adoc/search_configvars.adoc +++ b/services/_includes/adoc/search_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the search service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/settings_configvars.adoc b/services/_includes/adoc/settings_configvars.adoc index 6176f511cae..05da561e59a 100644 --- a/services/_includes/adoc/settings_configvars.adoc +++ b/services/_includes/adoc/settings_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the settings service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/sharing_configvars.adoc b/services/_includes/adoc/sharing_configvars.adoc index 8dd23b6f7de..b9abb9d79fc 100644 --- a/services/_includes/adoc/sharing_configvars.adoc +++ b/services/_includes/adoc/sharing_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the sharing service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/sse_configvars.adoc b/services/_includes/adoc/sse_configvars.adoc new file mode 100644 index 00000000000..85306324f87 --- /dev/null +++ b/services/_includes/adoc/sse_configvars.adoc @@ -0,0 +1,290 @@ +// set the attribute to true or leave empty, true without any quotes. + +:show-deprecation: false + +ifeval::[{show-deprecation} == true] + +[#deprecation-note-2023-08-30-08-36-55] +[caption=] +.Deprecation notes for the sse service +[width="100%",cols="~,~,~,~",options="header"] +|=== +| Deprecation Info +| Deprecation Version +| Removal Version +| Deprecation Replacement +|=== + +endif::[] + +[caption=] +.Environment variables for the sse service +[width="100%",cols="~,~,~,~",options="header"] +|=== +| Name +| Type +| Default Value +| Description + +a|`OCIS_LOG_LEVEL` + +`SSE_LOG_LEVEL` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'. + +a|`OCIS_LOG_PRETTY` + +`SSE_LOG_PRETTY` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Activates pretty log output. + +a|`OCIS_LOG_COLOR` + +`SSE_LOG_COLOR` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Activates colorized log output. + +a|`OCIS_LOG_FILE` + +`SSE_LOG_FILE` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +The path to the log file. Activates logging to this file if set. + +a|`SSE_DEBUG_ADDR` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++127.0.0.1:9135 ++ +a| [subs=-attributes] +Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. + +a|`SSE_DEBUG_TOKEN` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +Token to secure the metrics endpoint. + +a|`SSE_DEBUG_PPROF` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Enables pprof, which can be used for profiling. + +a|`SSE_DEBUG_ZPAGES` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Enables zpages, which can be used for collecting and viewing in-memory traces. + +a|`OCIS_TRACING_ENABLED` + +`SSE_TRACING_ENABLED` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Activates tracing. + +a|`OCIS_TRACING_TYPE` + +`SSE_TRACING_TYPE` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now. + +a|`OCIS_TRACING_ENDPOINT` + +`SSE_TRACING_ENDPOINT` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +The endpoint of the tracing agent. + +a|`OCIS_TRACING_COLLECTOR` + +`SSE_TRACING_COLLECTOR` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +The HTTP endpoint for sending spans directly to a collector, i.e. \http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. + +a|`OCIS_EVENTS_ENDPOINT` + +`SSE_EVENTS_ENDPOINT` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++127.0.0.1:9233 ++ +a| [subs=-attributes] +The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. + +a|`OCIS_EVENTS_CLUSTER` + +`SSE_EVENTS_CLUSTER` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ocis-cluster ++ +a| [subs=-attributes] +The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system. + +a|`OCIS_INSECURE` + +`SSE_EVENTS_TLS_INSECURE` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Whether to verify the server TLS certificates. + +a|`OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE` + +`SSE_EVENTS_TLS_ROOT_CA_CERTIFICATE` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +The root CA certificate used to validate the server's TLS certificate. If provided SSE_EVENTS_TLS_INSECURE will be seen as false. + +a|`OCIS_EVENTS_ENABLE_TLS` + +`SSE_EVENTS_ENABLE_TLS` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services. + +a|`SSE_HTTP_ADDR` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++127.0.0.1:0 ++ +a| [subs=-attributes] +The bind address of the HTTP service. + +a|`SSE_HTTP_ROOT` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++/ ++ +a| [subs=-attributes] +Subdirectory that serves as the root for this HTTP service. + +a|`OCIS_CORS_ALLOW_ORIGINS` + +`SSE_CORS_ALLOW_ORIGINS` + + +a| [subs=-attributes] +++[]string ++ +a| [subs=-attributes] +++[*] ++ +a| [subs=-attributes] +A comma-separated list of allowed CORS origins. See following chapter for more details: *Access-Control-Allow-Origin* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin + +a|`OCIS_CORS_ALLOW_METHODS` + +`SSE_CORS_ALLOW_METHODS` + + +a| [subs=-attributes] +++[]string ++ +a| [subs=-attributes] +++[GET] ++ +a| [subs=-attributes] +A comma-separated list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method + +a|`OCIS_CORS_ALLOW_HEADERS` + +`SSE_CORS_ALLOW_HEADERS` + + +a| [subs=-attributes] +++[]string ++ +a| [subs=-attributes] +++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id Ocs-Apirequest] ++ +a| [subs=-attributes] +A blank or comma-separated list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. + +a|`OCIS_CORS_ALLOW_CREDENTIALS` + +`SSE_CORS_ALLOW_CREDENTIALS` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++true ++ +a| [subs=-attributes] +Allow credentials for CORS.See following chapter for more details: *Access-Control-Allow-Credentials* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials. + +a|`OCIS_HTTP_TLS_ENABLED` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Activates TLS for the http based services using the server certifcate and key configured via OCIS_HTTP_TLS_CERTIFICATE and OCIS_HTTP_TLS_KEY. If OCIS_HTTP_TLS_CERTIFICATE is not set a temporary server certificate is generated - to be used with PROXY_INSECURE_BACKEND=true. + +a|`OCIS_HTTP_TLS_CERTIFICATE` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +Path/File name of the TLS server certificate (in PEM format) for the http services. + +a|`OCIS_HTTP_TLS_KEY` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services. + +a|`OCIS_JWT_SECRET` + +`SSE_JWT_SECRET` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +The secret to mint and validate jwt tokens. +|=== + diff --git a/services/_includes/adoc/sse_deprecation.adoc b/services/_includes/adoc/sse_deprecation.adoc new file mode 100644 index 00000000000..4b3cef689ac --- /dev/null +++ b/services/_includes/adoc/sse_deprecation.adoc @@ -0,0 +1,2 @@ +:show-deprecation: false + diff --git a/services/_includes/adoc/storage-publiclink_configvars.adoc b/services/_includes/adoc/storage-publiclink_configvars.adoc index f5ff84496e3..1a49ae02156 100644 --- a/services/_includes/adoc/storage-publiclink_configvars.adoc +++ b/services/_includes/adoc/storage-publiclink_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the storage-publiclink service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/storage-shares_configvars.adoc b/services/_includes/adoc/storage-shares_configvars.adoc index a4ed84aaa27..e84eb37d9a9 100644 --- a/services/_includes/adoc/storage-shares_configvars.adoc +++ b/services/_includes/adoc/storage-shares_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the storage-shares service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/storage-system_configvars.adoc b/services/_includes/adoc/storage-system_configvars.adoc index 8048891e627..b611bd5b1b3 100644 --- a/services/_includes/adoc/storage-system_configvars.adoc +++ b/services/_includes/adoc/storage-system_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the storage-system service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/storage-users_configvars.adoc b/services/_includes/adoc/storage-users_configvars.adoc index 67f46e8c28a..9b5eba2e128 100644 --- a/services/_includes/adoc/storage-users_configvars.adoc +++ b/services/_includes/adoc/storage-users_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the storage-users service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/store_configvars.adoc b/services/_includes/adoc/store_configvars.adoc index 9bdc49c9438..8637173acbd 100644 --- a/services/_includes/adoc/store_configvars.adoc +++ b/services/_includes/adoc/store_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the store service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/thumbnails_configvars.adoc b/services/_includes/adoc/thumbnails_configvars.adoc index 31ed40d6247..b8910158160 100644 --- a/services/_includes/adoc/thumbnails_configvars.adoc +++ b/services/_includes/adoc/thumbnails_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the thumbnails service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/userlog_configvars.adoc b/services/_includes/adoc/userlog_configvars.adoc index 831a224acd2..afe2e410f6d 100644 --- a/services/_includes/adoc/userlog_configvars.adoc +++ b/services/_includes/adoc/userlog_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the userlog service [width="100%",cols="~,~,~,~",options="header"] @@ -381,7 +381,7 @@ a| [subs=-attributes] a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Disables server-sent events (sse). When disabled, clients will no longer be able to connect to the sse endpoint. +Disables server-sent events (sse). When disabled, clients will no longer receive sse notifications. a|`USERLOG_GLOBAL_NOTIFICATIONS_SECRET` + diff --git a/services/_includes/adoc/users_configvars.adoc b/services/_includes/adoc/users_configvars.adoc index c526c9e71ce..c0471ddffa8 100644 --- a/services/_includes/adoc/users_configvars.adoc +++ b/services/_includes/adoc/users_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the users service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/web_configvars.adoc b/services/_includes/adoc/web_configvars.adoc index b985a006f15..5faa6e8474d 100644 --- a/services/_includes/adoc/web_configvars.adoc +++ b/services/_includes/adoc/web_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the web service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/webdav_configvars.adoc b/services/_includes/adoc/webdav_configvars.adoc index ed12d55e0d5..bebc62a5c9b 100644 --- a/services/_includes/adoc/webdav_configvars.adoc +++ b/services/_includes/adoc/webdav_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the webdav service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/adoc/webfinger_configvars.adoc b/services/_includes/adoc/webfinger_configvars.adoc index f6fcae4c73d..d967f5a5976 100644 --- a/services/_includes/adoc/webfinger_configvars.adoc +++ b/services/_includes/adoc/webfinger_configvars.adoc @@ -4,7 +4,7 @@ ifeval::[{show-deprecation} == true] -[#deprecation-note-2023-08-30-07-39-54] +[#deprecation-note-2023-08-30-08-36-55] [caption=] .Deprecation notes for the webfinger service [width="100%",cols="~,~,~,~",options="header"] diff --git a/services/_includes/proxy-config-example.yaml b/services/_includes/proxy-config-example.yaml index c1e4991ad8e..fb552c07487 100644 --- a/services/_includes/proxy-config-example.yaml +++ b/services/_includes/proxy-config-example.yaml @@ -51,6 +51,8 @@ policies: unprotected: true - endpoint: /archiver service: com.owncloud.web.frontend + - endpoint: /ocs/v2.php/apps/notifications/api/v1/notifications/sse + service: com.owncloud.sse.sse - endpoint: /ocs/v2.php/apps/notifications/api/v1/notifications service: com.owncloud.userlog.userlog - type: regex diff --git a/services/_includes/sse-config-example.yaml b/services/_includes/sse-config-example.yaml new file mode 100644 index 00000000000..0a7439022b2 --- /dev/null +++ b/services/_includes/sse-config-example.yaml @@ -0,0 +1,47 @@ +# Autogenerated +# Filename: sse-config-example.yaml + +log: + level: "" + pretty: false + color: false + file: "" +debug: + addr: 127.0.0.1:9135 + token: "" + pprof: false + zpages: false +tracing: + enabled: false + type: "" + endpoint: "" + collector: "" +events: + endpoint: 127.0.0.1:9233 + cluster: ocis-cluster + tls_insecure: false + tls_root_ca_certificate: "" + enable_tls: false +http: + addr: 127.0.0.1:0 + root: / + cors: + allow_origins: + - '*' + allow_methods: + - GET + allow_headers: + - Authorization + - Origin + - Content-Type + - Accept + - X-Requested-With + - X-Request-Id + - Ocs-Apirequest + allow_credentials: true + tls: + enabled: false + cert: "" + key: "" +token_manager: + jwt_secret: "" diff --git a/services/_includes/sse_configvars.md b/services/_includes/sse_configvars.md new file mode 100644 index 00000000000..f9812159bec --- /dev/null +++ b/services/_includes/sse_configvars.md @@ -0,0 +1,31 @@ +## Environment Variables + +| Name | Type | Default Value | Description | +|------|------|---------------|-------------| +| OCIS_LOG_LEVEL
SSE_LOG_LEVEL | string | | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.| +| OCIS_LOG_PRETTY
SSE_LOG_PRETTY | bool | false | Activates pretty log output.| +| OCIS_LOG_COLOR
SSE_LOG_COLOR | bool | false | Activates colorized log output.| +| OCIS_LOG_FILE
SSE_LOG_FILE | string | | The path to the log file. Activates logging to this file if set.| +| SSE_DEBUG_ADDR | string | 127.0.0.1:9135 | Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.| +| SSE_DEBUG_TOKEN | string | | Token to secure the metrics endpoint.| +| SSE_DEBUG_PPROF | bool | false | Enables pprof, which can be used for profiling.| +| SSE_DEBUG_ZPAGES | bool | false | Enables zpages, which can be used for collecting and viewing in-memory traces.| +| OCIS_TRACING_ENABLED
SSE_TRACING_ENABLED | bool | false | Activates tracing.| +| OCIS_TRACING_TYPE
SSE_TRACING_TYPE | string | | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.| +| OCIS_TRACING_ENDPOINT
SSE_TRACING_ENDPOINT | string | | The endpoint of the tracing agent.| +| OCIS_TRACING_COLLECTOR
SSE_TRACING_COLLECTOR | string | | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.| +| OCIS_EVENTS_ENDPOINT
SSE_EVENTS_ENDPOINT | string | 127.0.0.1:9233 | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.| +| OCIS_EVENTS_CLUSTER
SSE_EVENTS_CLUSTER | string | ocis-cluster | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system.| +| OCIS_INSECURE
SSE_EVENTS_TLS_INSECURE | bool | false | Whether to verify the server TLS certificates.| +| OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE
SSE_EVENTS_TLS_ROOT_CA_CERTIFICATE | string | | The root CA certificate used to validate the server's TLS certificate. If provided SSE_EVENTS_TLS_INSECURE will be seen as false.| +| OCIS_EVENTS_ENABLE_TLS
SSE_EVENTS_ENABLE_TLS | bool | false | Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.| +| SSE_HTTP_ADDR | string | 127.0.0.1:0 | The bind address of the HTTP service.| +| SSE_HTTP_ROOT | string | / | Subdirectory that serves as the root for this HTTP service.| +| OCIS_CORS_ALLOW_ORIGINS
SSE_CORS_ALLOW_ORIGINS | []string | [*] | A comma-separated list of allowed CORS origins. See following chapter for more details: *Access-Control-Allow-Origin* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin| +| OCIS_CORS_ALLOW_METHODS
SSE_CORS_ALLOW_METHODS | []string | [GET] | A comma-separated list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method| +| OCIS_CORS_ALLOW_HEADERS
SSE_CORS_ALLOW_HEADERS | []string | [Authorization Origin Content-Type Accept X-Requested-With X-Request-Id Ocs-Apirequest] | A blank or comma-separated list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers.| +| OCIS_CORS_ALLOW_CREDENTIALS
SSE_CORS_ALLOW_CREDENTIALS | bool | true | Allow credentials for CORS.See following chapter for more details: *Access-Control-Allow-Credentials* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials.| +| OCIS_HTTP_TLS_ENABLED | bool | false | Activates TLS for the http based services using the server certifcate and key configured via OCIS_HTTP_TLS_CERTIFICATE and OCIS_HTTP_TLS_KEY. If OCIS_HTTP_TLS_CERTIFICATE is not set a temporary server certificate is generated - to be used with PROXY_INSECURE_BACKEND=true.| +| OCIS_HTTP_TLS_CERTIFICATE | string | | Path/File name of the TLS server certificate (in PEM format) for the http services.| +| OCIS_HTTP_TLS_KEY | string | | Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services.| +| OCIS_JWT_SECRET
SSE_JWT_SECRET | string | | The secret to mint and validate jwt tokens.| \ No newline at end of file diff --git a/services/_includes/userlog_configvars.md b/services/_includes/userlog_configvars.md index 12bc8d1464d..a8fa135ea01 100644 --- a/services/_includes/userlog_configvars.md +++ b/services/_includes/userlog_configvars.md @@ -38,5 +38,5 @@ | USERLOG_STORE_TABLE | string | events | The database table the store should use.| | OCIS_PERSISTENT_STORE_TTL
USERLOG_STORE_TTL | Duration | 336h0m0s | Time to live for events in the store. The duration can be set as number followed by a unit identifier like s, m or h. Defaults to '336h' (2 weeks).| | OCIS_PERSISTENT_STORE_SIZE
USERLOG_STORE_SIZE | int | 0 | The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512.| -| OCIS_DISABLE_SSE,USERLOG_DISABLE_SSE | bool | false | Disables server-sent events (sse). When disabled, clients will no longer be able to connect to the sse endpoint.| +| OCIS_DISABLE_SSE,USERLOG_DISABLE_SSE | bool | false | Disables server-sent events (sse). When disabled, clients will no longer receive sse notifications.| | USERLOG_GLOBAL_NOTIFICATIONS_SECRET | string | | The secret to secure the global notifications endpoint. Only system admins and users knowing that secret can call the global notifications POST/DELETE endpoints.| \ No newline at end of file diff --git a/services/antivirus/_index.md b/services/antivirus/_index.md index dbbf51ff66a..cb845928104 100644 --- a/services/antivirus/_index.md +++ b/services/antivirus/_index.md @@ -1,6 +1,6 @@ --- title: Antivirus -date: 2023-08-30T07:39:54.640897334Z +date: 2023-08-30T08:36:58.378892215Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/antivirus diff --git a/services/audit/_index.md b/services/audit/_index.md index 4f53a92a3f4..31be85ee928 100644 --- a/services/audit/_index.md +++ b/services/audit/_index.md @@ -1,6 +1,6 @@ --- title: Audit -date: 2023-08-30T07:39:54.641059918Z +date: 2023-08-30T08:36:58.379221084Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/audit diff --git a/services/auth-basic/_index.md b/services/auth-basic/_index.md index dce51f376e1..d0ff66e6f2b 100644 --- a/services/auth-basic/_index.md +++ b/services/auth-basic/_index.md @@ -1,6 +1,6 @@ --- title: Auth-Basic -date: 2023-08-30T07:39:54.641193168Z +date: 2023-08-30T08:36:58.379350178Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/auth-basic diff --git a/services/auth-bearer/_index.md b/services/auth-bearer/_index.md index 68f23b17f96..098a9934e35 100644 --- a/services/auth-bearer/_index.md +++ b/services/auth-bearer/_index.md @@ -1,6 +1,6 @@ --- title: Auth-Bearer -date: 2023-08-30T07:39:54.641275923Z +date: 2023-08-30T08:36:58.379472339Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/auth-bearer diff --git a/services/eventhistory/_index.md b/services/eventhistory/_index.md index 269dfe64cc7..de106ce2f79 100644 --- a/services/eventhistory/_index.md +++ b/services/eventhistory/_index.md @@ -1,6 +1,6 @@ --- title: Eventhistory -date: 2023-08-30T07:39:54.641377033Z +date: 2023-08-30T08:36:58.37961676Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/eventhistory diff --git a/services/frontend/_index.md b/services/frontend/_index.md index 3b34f863390..231f9b388e6 100644 --- a/services/frontend/_index.md +++ b/services/frontend/_index.md @@ -1,6 +1,6 @@ --- title: Frontend -date: 2023-08-30T07:39:54.641471069Z +date: 2023-08-30T08:36:58.379777864Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/frontend diff --git a/services/gateway/_index.md b/services/gateway/_index.md index 01e8bb8ede5..d321d421f01 100644 --- a/services/gateway/_index.md +++ b/services/gateway/_index.md @@ -1,6 +1,6 @@ --- title: Gateway -date: 2023-08-30T07:39:54.641586355Z +date: 2023-08-30T08:36:58.379954948Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/gateway diff --git a/services/general-info/port-ranges.md b/services/general-info/port-ranges.md index f2286dadc5a..e3baac04d54 100644 --- a/services/general-info/port-ranges.md +++ b/services/general-info/port-ranges.md @@ -30,7 +30,7 @@ We also suggest to use the last port in your extensions' range as a debug/metric | 9120-9124 | [graph]({{< ref "../graph/_index.md" >}}) | | 9125-9129 | [policies]({{< ref "../policies/_index.md" >}}) | | 9130-9134 | [idp]({{< ref "../idp/_index.md" >}}) | -| 9135-9139 | FREE (formerly used by graph-explorer) | +| 9135-9139 | [sse]({{< ref "../sse/_index.md" >}}) | | 9140-9141 | [frontend]({{< ref "../frontend/_index.md" >}}) | | 9142-9143 | [gateway]({{< ref "../gateway/_index.md" >}}) | | 9144-9145 | [users]({{< ref "../users/_index.md" >}}) | diff --git a/services/graph/_index.md b/services/graph/_index.md index 40a0671cc73..f10e2611b28 100644 --- a/services/graph/_index.md +++ b/services/graph/_index.md @@ -1,6 +1,6 @@ --- title: Graph -date: 2023-08-30T07:39:54.641665464Z +date: 2023-08-30T08:36:58.38010421Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/graph diff --git a/services/idm/_index.md b/services/idm/_index.md index b46d2207c53..66e9a91918f 100644 --- a/services/idm/_index.md +++ b/services/idm/_index.md @@ -1,6 +1,6 @@ --- title: IDM -date: 2023-08-30T07:39:54.641776913Z +date: 2023-08-30T08:36:58.380271606Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/idm diff --git a/services/idp/_index.md b/services/idp/_index.md index e2bccf368cc..74355529ef2 100644 --- a/services/idp/_index.md +++ b/services/idp/_index.md @@ -1,6 +1,6 @@ --- title: IDP -date: 2023-08-30T07:39:54.641844239Z +date: 2023-08-30T08:36:58.380394928Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/idp diff --git a/services/invitations/_index.md b/services/invitations/_index.md index 65dce363bce..0b8f856f013 100644 --- a/services/invitations/_index.md +++ b/services/invitations/_index.md @@ -1,6 +1,6 @@ --- title: Invitations -date: 2023-08-30T07:39:54.641913477Z +date: 2023-08-30T08:36:58.380502911Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/invitations diff --git a/services/nats/_index.md b/services/nats/_index.md index 77681d7eb51..48ad34a55b6 100644 --- a/services/nats/_index.md +++ b/services/nats/_index.md @@ -1,6 +1,6 @@ --- title: Nats -date: 2023-08-30T07:39:54.64199998Z +date: 2023-08-30T08:36:58.380688621Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/nats diff --git a/services/notifications/_index.md b/services/notifications/_index.md index 6bf23e39772..f6417fe7c6e 100644 --- a/services/notifications/_index.md +++ b/services/notifications/_index.md @@ -1,6 +1,6 @@ --- title: Notification -date: 2023-08-30T07:39:54.642089006Z +date: 2023-08-30T08:36:58.380819868Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/notifications diff --git a/services/ocdav/_index.md b/services/ocdav/_index.md index 3e8805c88b4..60421a58a47 100644 --- a/services/ocdav/_index.md +++ b/services/ocdav/_index.md @@ -1,6 +1,6 @@ --- title: ocDAV -date: 2023-08-30T07:39:54.642178825Z +date: 2023-08-30T08:36:58.380957678Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/ocdav diff --git a/services/ocs/_index.md b/services/ocs/_index.md index 8df4203c1ec..2612e9e0a3c 100644 --- a/services/ocs/_index.md +++ b/services/ocs/_index.md @@ -1,6 +1,6 @@ --- title: OCS -date: 2023-08-30T07:39:54.642288641Z +date: 2023-08-30T08:36:58.381130344Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/ocs diff --git a/services/policies/_index.md b/services/policies/_index.md index c5139972a80..176b85abc23 100644 --- a/services/policies/_index.md +++ b/services/policies/_index.md @@ -1,6 +1,6 @@ --- title: Policies -date: 2023-08-30T07:39:54.642411701Z +date: 2023-08-30T08:36:58.381302848Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/policies diff --git a/services/postprocessing/_index.md b/services/postprocessing/_index.md index ec891ccd7f6..9bbfc86e752 100644 --- a/services/postprocessing/_index.md +++ b/services/postprocessing/_index.md @@ -1,6 +1,6 @@ --- title: Postprocessing -date: 2023-08-30T07:39:54.642554879Z +date: 2023-08-30T08:36:58.381524476Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/postprocessing diff --git a/services/proxy/_index.md b/services/proxy/_index.md index a52deacb4ca..0f26aed00fa 100644 --- a/services/proxy/_index.md +++ b/services/proxy/_index.md @@ -1,6 +1,6 @@ --- title: Proxy -date: 2023-08-30T07:39:54.642675145Z +date: 2023-08-30T08:36:58.381692493Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/proxy diff --git a/services/search/_index.md b/services/search/_index.md index e8fa829b003..67010ce863e 100644 --- a/services/search/_index.md +++ b/services/search/_index.md @@ -1,6 +1,6 @@ --- title: Search -date: 2023-08-30T07:39:54.642801982Z +date: 2023-08-30T08:36:58.381894313Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/search diff --git a/services/settings/_index.md b/services/settings/_index.md index 18463226385..af8ea035cfd 100644 --- a/services/settings/_index.md +++ b/services/settings/_index.md @@ -1,6 +1,6 @@ --- title: Settings -date: 2023-08-30T07:39:54.642943046Z +date: 2023-08-30T08:36:58.382191924Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/settings diff --git a/services/sse/_index.md b/services/sse/_index.md new file mode 100644 index 00000000000..62ac929425d --- /dev/null +++ b/services/sse/_index.md @@ -0,0 +1,31 @@ +--- +title: SSE +date: 2023-08-30T08:36:58.382293656Z +weight: 20 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/services/sse +geekdocFilePath: README.md +geekdocCollapseSection: true +--- + + + +## Abstract + + +The `sse` service is responsible for sending sse (Server-Sent Events) to a user. See [What is Server-Sent Events](https://medium.com/yemeksepeti-teknoloji/what-is-server-sent-events-sse-and-how-to-implement-it-904938bffd73) for a simple introduction and examples of server sent events. + + +## Table of Contents + +* [Subscribing](#subscribing) +* [Example Yaml Config](#example-yaml-config) + +## Subscribing + +Clients can subscribe to the `/sse` endpoint to be informed by the server when an event happens. The `sse` endpoint will respect language changes of the user without needing to reconnect. Note that SSE has a limitation of six open connections per browser which can be reached if one has opened various tabs of the Web UI pointing to the same Infinite Scale instance. +## Example Yaml Config +{{< include file="services/_includes/sse-config-example.yaml" language="yaml" >}} + +{{< include file="services/_includes/sse_configvars.md" >}} + diff --git a/services/sse/configuration.md b/services/sse/configuration.md new file mode 100644 index 00000000000..902a2b55295 --- /dev/null +++ b/services/sse/configuration.md @@ -0,0 +1,15 @@ +--- +title: Service Configuration +date: 2018-08-08T00:00:00+00:00 +weight: 20 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/services/sse +geekdocFilePath: configuration.md +geekdocCollapseSection: true +--- + +## Example YAML Config + +{{< include file="services/_includes/app-provider-config-example.yaml" language="yaml" >}} + +{{< include file="services/_includes/app-provider_configvars.md" >}} diff --git a/services/storage-system/_index.md b/services/storage-system/_index.md index d048bc893a5..65c97d06b87 100644 --- a/services/storage-system/_index.md +++ b/services/storage-system/_index.md @@ -1,6 +1,6 @@ --- title: Storage-System -date: 2023-08-30T07:39:54.643029519Z +date: 2023-08-30T08:36:58.382429492Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/storage-system diff --git a/services/storage-users/_index.md b/services/storage-users/_index.md index 25b7e05b234..6f8de6f617f 100644 --- a/services/storage-users/_index.md +++ b/services/storage-users/_index.md @@ -1,6 +1,6 @@ --- title: Storage-Users -date: 2023-08-30T07:39:54.643118275Z +date: 2023-08-30T08:36:58.382575237Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/storage-users diff --git a/services/thumbnails/_index.md b/services/thumbnails/_index.md index 3f5889fc4c5..efce8e2866b 100644 --- a/services/thumbnails/_index.md +++ b/services/thumbnails/_index.md @@ -1,6 +1,6 @@ --- title: Thumbnails -date: 2023-08-30T07:39:54.643217131Z +date: 2023-08-30T08:36:58.38275764Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/thumbnails diff --git a/services/userlog/_index.md b/services/userlog/_index.md index 2d1d313fd9a..0d4cd50bbf9 100644 --- a/services/userlog/_index.md +++ b/services/userlog/_index.md @@ -1,6 +1,6 @@ --- title: Userlog -date: 2023-08-30T07:39:54.643334369Z +date: 2023-08-30T08:36:58.382899999Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/userlog @@ -22,7 +22,6 @@ The `userlog` service is a mediator between the `eventhistory` service and clien * [Storing](#storing) * [Configuring](#configuring) * [Retrieving](#retrieving) -* [Subscribing](#subscribing) * [Posting](#posting) * [Authentication](#authentication) * [Deprovisioning](#deprovisioning) @@ -59,10 +58,6 @@ For the time being, the configuration which user related events are of interest 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). -## Subscribing - -Additionally to the oc10 API, the `userlog` service also provides an `/sse` (Server-Sent Events) endpoint to be informed by the server when an event happens. See [What is Server-Sent Events](https://medium.com/yemeksepeti-teknoloji/what-is-server-sent-events-sse-and-how-to-implement-it-904938bffd73) for a simple introduction and examples of server sent events. The `sse` endpoint will respect language changes of the user without needing to reconnect. Note that SSE has a limitation of six open connections per browser which can be reached if one has opened various tabs of the Web UI pointing to the same Infinite Scale instance. - ## Posting The userlog service is able to store global messages that will be displayed in the Web UI to all users. If a user deletes the message in the Web UI, it reappears on reload. Global messages use the endpoint `/ocs/v2.php/apps/notifications/api/v1/notifications/global` and are activated by sending a `POST` request. Note that sending another `POST` request of the same type overwrites the previous one. For the time being, only the type `deprovision` is supported. diff --git a/services/web/_index.md b/services/web/_index.md index 3b63f075bec..42427ac3214 100644 --- a/services/web/_index.md +++ b/services/web/_index.md @@ -1,6 +1,6 @@ --- title: Web -date: 2023-08-30T07:39:54.643461929Z +date: 2023-08-30T08:36:58.383043118Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/web diff --git a/services/webdav/_index.md b/services/webdav/_index.md index 0495f7265c9..359f1ebb125 100644 --- a/services/webdav/_index.md +++ b/services/webdav/_index.md @@ -1,6 +1,6 @@ --- title: Webdav -date: 2023-08-30T07:39:54.643542871Z +date: 2023-08-30T08:36:58.38315004Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/webdav diff --git a/services/webfinger/_index.md b/services/webfinger/_index.md index 05e932d7eae..79f8c8ed879 100644 --- a/services/webfinger/_index.md +++ b/services/webfinger/_index.md @@ -1,6 +1,6 @@ --- title: Webfinger -date: 2023-08-30T07:39:54.643625886Z +date: 2023-08-30T08:36:58.383261931Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/services/webfinger