summary refs log tree commit diff
path: root/webclient/app-controller.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Start the events stream once the app starts (if credentials are in cache) or ↵Emmanuel ROHEE2014-08-281-1/+1
| | | | once the user gets logged in
* Rename go() into goToPage() which is available from everywhere thanks to the ↵Emmanuel ROHEE2014-08-271-1/+5
| | | | inheritance of $scope
* Determine and send user presence stateEmmanuel ROHEE2014-08-261-5/+9
|
* Move profile parts of the rooms page and the config content into a new page: ↵Emmanuel ROHEE2014-08-221-20/+4
| | | | settings
* Use $location.url instead of $location.path to get clean page URL without ↵Emmanuel ROHEE2014-08-221-1/+1
| | | | | | hash arguments of the previous page. This happpens with room URL like http://127.0.0.1:8080/matrix/client/#/room/#public:localhost. The second hash part is transferred to the next page when using $location.path.
* Only start event streaming after having set up the controllers.Erik Johnston2014-08-211-1/+1
|
* Do not start the event stream if the user is not logged in (=if he does not ↵Emmanuel ROHEE2014-08-181-1/+1
| | | | | | has an access token yet) Add isUserLoggedIn to check this.
* implement html5 notifications. (have to be explicitly requested under Config)Matthew Hodgson2014-08-171-0/+15
|
* Remove old polling stuff from RoomController. Added service comments. Do not ↵Kegan Dougal2014-08-151-1/+3
| | | | start the event stream on startup unless you have credentials.
* Event streaming now happens on an app level, rather than a per-room level. ↵Kegan Dougal2014-08-151-6/+10
| | | | 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.
* Detect when the user access token is no more valid and log the user out in ↵Emmanuel ROHEE2014-08-141-2/+8
| | | | this case
* add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-131-0/+16
| | | | copyrighter.pl whilst we're at it
* Reference Matrix Home Servermatrix.org2014-08-121-0/+46