Skip to content

OCP.EventSource (JS) is missing for apps builders #12800

Closed

Description

@oparoz

It seems the interface is already there and the only missing element would be the public class.

EventSource implements Server-Sent Events

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.

Activity

  1. LukasReschke commented on Dec 11, 2014

    @LukasReschke
    Contributor

    Shouldn't the PHP thing not be fixed with #10739 ?

  2. oparoz commented on Dec 11, 2014

    @oparoz
    ContributorAuthor

    Ah, it's available through ServerContainer, good eye. Only the JS side is missing then.

  3. 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
  4. PVince81 commented on Mar 2, 2016

    @PVince81
    Contributor

    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...

  5. added this to the backlog milestone on Mar 2, 2016
  6. oparoz commented on Mar 2, 2016

    @oparoz
    ContributorAuthor

    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.

  7. ownclouders commented on Jan 13, 2018

    @ownclouders
    Contributor

    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.

    (This is an automated comment from GitMate.io.)

  8. PVince81 commented on Jan 15, 2018

    @PVince81
    Contributor

    We won't expose this any more. Looking into more direct notification channels instead.

    @DeepDiver1975 did we have a core ticket for that ?

  9. lock commented on Jul 31, 2019

    @lock

    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.

  10. locked as resolved and limited conversation to collaborators on Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions