diff src/server/blog.py @ 914:0c0551967bdf

server, browser: partial Libervia fix Libervia was broken following the refactorings. This commit partially fixes it : Libervia is starting, avatar, blog and message are working again, but not everything is restablished yet. following things have been fixed/changed: - new dependency: shortuuid - D-Bus bridge is working again - fixed naming in several bridge methods - register method changed to register_signal - fixed Chat widget, which was not working anymore since the refactoring - avatar now use avatarGet. Cache dir is accessible using a session specific uuid, to avoid cache leak (i.e. accessing cache of other profiles) - server: new uuid attribute in session data Browser code is not fully working yet, notably OTR and contact list are not fully fixed.
author Goffi <goffi@goffi.org>
date Sun, 26 Feb 2017 18:32:47 +0100
parents f82b97d9ca5f
children e9e9d9d893a8
line wrap: on
line diff
--- a/src/server/blog.py	Sun Aug 28 19:25:52 2016 +0200
+++ b/src/server/blog.py	Sun Feb 26 18:32:47 2017 +0100
@@ -122,7 +122,7 @@
         self.host = host
         Resource.__init__(self)
         TemplateProcessor.__init__(self, host)
-        self.host.bridge.register('entityDataUpdated', self.entityDataUpdatedHandler)
+        self.host.bridge.register_signal('entityDataUpdated', self.entityDataUpdatedHandler)
         self.avatars_cache = {}
         self.waiting_deferreds = {}