You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OCP.EventSource (JS) is missing for apps builders #12800
This specification defines an API for opening an HTTP connection for receiving push notifications from a server in the form of DOM events. The API is designed such that it can be extended to work with other push notification schemes such as Push SMS.
changed the title [-]\OCP\EventSource and OC.EventSource are missing for apps builders[/-][+]OCP.EventSource (JS) is missing for apps builders[/+]on Aug 13, 2015
This request was created when ownCloud was considering introducing a public API for the JavaScript.
I think today, people are just assuming that anything in /core/js can be used as-is.
And it might be a good idea to replace the custom EventSource class with a polyfill.
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
Activity
LukasReschke commentedon Dec 11, 2014
Shouldn't the PHP thing not be fixed with #10739 ?
oparoz commentedon Dec 11, 2014
Ah, it's available through ServerContainer, good eye. Only the JS side is missing then.
[-]\OCP\EventSource and OC.EventSource are missing for apps builders[/-][+]OCP.EventSource (JS) is missing for apps builders[/+]PVince81 commentedon Mar 2, 2016
In what way is the JS side missing ? You can just use
OC.EventSource.You might argue that JS doesn't really have a public/private namespace... yes I know...
oparoz commentedon Mar 2, 2016
This request was created when ownCloud was considering introducing a public API for the JavaScript.
I think today, people are just assuming that anything in
/core/jscan be used as-is.And it might be a good idea to replace the custom EventSource class with a polyfill.
ownclouders commentedon Jan 13, 2018
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.)
PVince81 commentedon Jan 15, 2018
We won't expose this any more. Looking into more direct notification channels instead.
@DeepDiver1975 did we have a core ticket for that ?
lock commentedon Jul 31, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.