You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
watcha-synapse/webclient
Kegan Dougal 5ac87292c4 Remove old polling stuff from RoomController. Added service comments. Do not start the event stream on startup unless you have credentials. 10 years ago
..
components Remove old polling stuff from RoomController. Added service comments. Do not start the event stream on startup unless you have credentials. 10 years ago
img remove the png profile image for now 10 years ago
js Reference Matrix Home Server 10 years ago
login Event streaming now happens on an app level, rather than a per-room level. Make eventStreamService manage it's own repolling provided no one calls stop() on it. Couple the stream with eventHandlerService so any controller can just blithely call eventStreamService.resume() and expect to 'get stuff' without having to handle promises (though resume() still returns a promise for that request and proxies it through $q). Kill and reset the stream if you logout. 10 years ago
room Remove old polling stuff from RoomController. Added service comments. Do not start the event stream on startup unless you have credentials. 10 years ago
rooms We can now upload avatar image somewhere 10 years ago
README Reference Matrix Home Server 10 years ago
app-controller.js Remove old polling stuff from RoomController. Added service comments. Do not start the event stream on startup unless you have credentials. 10 years ago
app.css Show avatar in profile section and added a button to select a file (not yet wired to upload service) 10 years ago
app.js Event streaming now happens on an app level, rather than a per-room level. Make eventStreamService manage it's own repolling provided no one calls stop() on it. Couple the stream with eventHandlerService so any controller can just blithely call eventStreamService.resume() and expect to 'get stuff' without having to handle promises (though resume() still returns a promise for that request and proxies it through $q). Kill and reset the stream if you logout. 10 years ago
favicon.ico Reference Matrix Home Server 10 years ago
index.html Added event handler service which.. handles events. More specifically, it $broadcasts events depending on their type, and does processing on events (shuffling keys, adding events to $rootScope so displays will automatically update, sending delivery receipts, and so on). Some of this logic was previously contained in the RoomController, which fails the moment you add >1 room into the mix, hence requiring a Service to handle events, rather than having each individual controller maintain their part of the world. 10 years ago

README

Basic Usage
-----------

The Synapse web client needs to be hosted by a basic HTTP server.

You can use the Python simple HTTP server::

$ python -m SimpleHTTPServer

Then, open this URL in a WEB browser::

http://127.0.0.1:8000/