comparison libervia_server/__init__.py @ 351:c943fd54c90e

browser_side: heavy refactorisation for microblogs: - RichTextEditor inheritates from BaseTextEditor - stuff related to display/edition have been moved from MicroblogEntry to LightTextEditor and RichTextEditor. Now the editors has two modes for display/edition and the microblog bubble is actually the editor itself. - RichTextEditor's display mode uses a LightTextEditor (this will be used for WYSIWYG edition) - addressing stuff of RichTextEditor have been moved to a child class RichMessageEditor (used for the rich text editor when clicking on the button left to the unibox) - handle blog titles TODO: - fix encode/decode errors when sending special chars - fix images maximal width in the bubble - rich content WYSIWYG edition
author souliane <souliane@mailoo.org>
date Wed, 12 Feb 2014 15:17:04 +0100
parents f488692c4903
children f22a4bf9a67e
comparison
equal deleted inserted replaced
350:f1b9ec412769 351:c943fd54c90e
305 @param node: comments node 305 @param node: comments node
306 """ 306 """
307 profile = ISATSession(self.session).profile 307 profile = ISATSession(self.session).profile
308 d = self.asyncBridgeCall("getGroupBlogComments", service, node, profile) 308 d = self.asyncBridgeCall("getGroupBlogComments", service, node, profile)
309 return d 309 return d
310
310 311
311 def jsonrpc_getPresenceStatus(self): 312 def jsonrpc_getPresenceStatus(self):
312 """Get Presence information for connected contacts""" 313 """Get Presence information for connected contacts"""
313 profile = ISATSession(self.session).profile 314 profile = ISATSession(self.session).profile
314 return self.sat_host.bridge.getPresenceStatus(profile) 315 return self.sat_host.bridge.getPresenceStatus(profile)