1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 11:42:42 +01:00
phorge-phorge/webroot/rsrc/js/application/aphlict
epriestley 9e0f70e17d Rewrite Aphlict to use Websockets
Summary:
Fixes T6559. No more flash, use Websockets. This is less aggressive than the earlier version, and retains more server logic.

  - Support "wss".
  - Make the client work.
  - Remove "notification.user" entirely.
  - Seems ok?

Test Plan:
In Safari, Firefox and Chrome, saw the browsers connect. Made a bunch of comments/updates and saw notifications.

Notable holes in the test plan:

  - Haven't tested "wss" yet. I'll do this on secure.
  - Notifications are //too fast// now, locally. I get them after I hit submit but before the page reloads.
  - There are probably some other rough edges, this is a fairly big patch.

Reviewers: joshuaspence, btrahan

Reviewed By: joshuaspence, btrahan

Subscribers: fabe, btrahan, epriestley

Maniphest Tasks: T6713, T6559

Differential Revision: https://secure.phabricator.com/D11143
2015-01-08 10:03:00 -08:00
..
Aphlict.js Rewrite Aphlict to use Websockets 2015-01-08 10:03:00 -08:00
behavior-aphlict-dropdown.js Implement more correct white-icon menu behavior 2014-12-10 16:26:40 -08:00
behavior-aphlict-listen.js Rewrite Aphlict to use Websockets 2015-01-08 10:03:00 -08:00
behavior-aphlict-status.js Show Aphlict connection status in notification menu 2014-06-23 16:26:16 -07:00