1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/support/aphlict/server/lib
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
..
AphlictListener.js Rewrite Aphlict to use Websockets 2015-01-08 10:03:00 -08:00
AphlictListenerList.js Don't explicitly keep track of _activeListenerCount in the Aphlict server. 2014-06-16 05:20:00 +10:00
AphlictLog.js Various minor JSHint fixes. 2014-07-01 06:00:12 +10:00
javelin.js Make the Aphlict server more resilient. 2014-06-11 10:17:12 -07:00