Mercurial > libervia-web
diff src/browser/sat_browser/game_radiocol.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 | 09ace5cbcb9b |
children | fd4eae654182 |
line wrap: on
line diff
--- a/src/browser/sat_browser/game_radiocol.py Sun Aug 28 19:25:52 2016 +0200 +++ b/src/browser/sat_browser/game_radiocol.py Sun Feb 26 18:32:47 2017 +0100 @@ -258,7 +258,8 @@ Please do not submit files that are protected by copyright.<br /> Click <a style="color: red;">here</a> if you need some support :)""" link_cb = lambda: self._parent.host.bridge.joinMUC(self._parent.host.default_muc, self._parent.nick, profile=C.PROF_KEY_NONE, callback=lambda dummy: None, errback=self._parent.host.onJoinMUCFailure) - self._parent.printInfo(help_msg, type_='link', link_cb=link_cb) + # FIXME: printInfo disabled after refactoring + # self._parent.printInfo(help_msg, type_='link', link_cb=link_cb) def pushNextSong(self, title): """Add a song to the left panel's next songs queue""" @@ -301,7 +302,8 @@ log.warning("Can't preload song, we are getting too many songs to preload, we shouldn't have more than %d at once" % self.queue_data[1]) else: self.pushNextSong(title) - self._parent.printInfo(_('%(user)s uploaded %(artist)s - %(title)s') % {'user': sender, 'artist': artist, 'title': title}) + # FIXME: printInfo disabled after refactoring + # self._parent.printInfo(_('%(user)s uploaded %(artist)s - %(title)s') % {'user': sender, 'artist': artist, 'title': title}) def radiocolPlayHandler(self, filename): found = False