comparison libervia.py @ 229:e632f77c4219

bridge: asyncGetParamA takes a security_limit argument browser_side: added support for user param of type "list"
author souliane <souliane@mailoo.org>
date Tue, 08 Oct 2013 13:48:00 +0200
parents 67e24c342e7f
children 266e9678eec0
comparison
equal deleted inserted replaced
228:6efd189e8d78 229:e632f77c4219
103 "getLastMblogs", "getMassiveLastMblogs", "getMblogComments", "getProfileJid", 103 "getLastMblogs", "getMassiveLastMblogs", "getMblogComments", "getProfileJid",
104 "getHistory", "getPresenceStatus", "joinMUC", "mucLeave", "getRoomsJoined", 104 "getHistory", "getPresenceStatus", "joinMUC", "mucLeave", "getRoomsJoined",
105 "launchTarotGame", "getTarotCardsPaths", "tarotGameReady", 105 "launchTarotGame", "getTarotCardsPaths", "tarotGameReady",
106 "tarotGameContratChoosed", "tarotGamePlayCards", "launchRadioCollective", 106 "tarotGameContratChoosed", "tarotGamePlayCards", "launchRadioCollective",
107 "getWaitingSub", "subscription", "delContact", "updateContact", "getCard", 107 "getWaitingSub", "subscription", "delContact", "updateContact", "getCard",
108 "getEntityData", "getParamsUI", "setParam", "launchAction", "disconnect", 108 "getEntityData", "getParamsUI", "asyncGetParamA", "setParam", "launchAction",
109 "chatStateComposing" 109 "disconnect", "chatStateComposing"
110 ]) 110 ])
111 111
112 class BridgeSignals(LiberviaJsonProxy): 112 class BridgeSignals(LiberviaJsonProxy):
113 RETRY_BASE_DELAY = 1000 113 RETRY_BASE_DELAY = 1000
114 114
388 if isinstance(lib_wid, panels.MicroblogPanel): 388 if isinstance(lib_wid, panels.MicroblogPanel):
389 if lib_wid.accept_all(): 389 if lib_wid.accept_all():
390 self.bridge.call('getMassiveLastMblogs', lib_wid.massiveInsert, 'ALL', [], 10) 390 self.bridge.call('getMassiveLastMblogs', lib_wid.massiveInsert, 'ALL', [], 10)
391 else: 391 else:
392 self.bridge.call('getMassiveLastMblogs', lib_wid.massiveInsert, 'GROUP', lib_wid.accepted_groups, 10) 392 self.bridge.call('getMassiveLastMblogs', lib_wid.massiveInsert, 'GROUP', lib_wid.accepted_groups, 10)
393 393
394 #we ask for our own microblogs: 394 #we ask for our own microblogs:
395 self.bridge.call('getMassiveLastMblogs', self._ownBlogsFills, 'JID', [self.whoami.bare], 10) 395 self.bridge.call('getMassiveLastMblogs', self._ownBlogsFills, 'JID', [self.whoami.bare], 10)
396 396
397 ## Signals callbacks ## 397 ## Signals callbacks ##
398 398