Mercurial > libervia-web
comparison src/browser/sat_browser/json.py @ 909:e8b133b77aa4
browser, server: update to get compatibility with 0.7-dev (not finished):
Q&D update to restore compatibility
- version changed to 0.7D
- contact list has been modified to be compatible with changes, but it doesn't take profit of improvment yet
- messageSend partially work, there is a disconnection and an error in console logs when sending a message
- message are not received yet
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 09 Aug 2016 01:07:15 +0200 |
parents | fa7703642c0e |
children | 58f611481e6d |
comparison
equal
deleted
inserted
replaced
908:f38b8be94131 | 909:e8b133b77aa4 |
---|---|
171 | 171 |
172 | 172 |
173 class BridgeCall(LiberviaJsonProxy): | 173 class BridgeCall(LiberviaJsonProxy): |
174 def __init__(self): | 174 def __init__(self): |
175 LiberviaJsonProxy.__init__(self, "/json_api", | 175 LiberviaJsonProxy.__init__(self, "/json_api", |
176 ["getContacts", "addContact", "sendMessage", | 176 ["getContacts", "addContact", "messageSend", |
177 "psDeleteNode", "psRetractItem", "psRetractItems", | 177 "psDeleteNode", "psRetractItem", "psRetractItems", |
178 "mbSend", "mbRetract", "mbGet", "mbGetFromMany", "mbGetFromManyRTResult", | 178 "mbSend", "mbRetract", "mbGet", "mbGetFromMany", "mbGetFromManyRTResult", |
179 "mbGetFromManyWithComments", "mbGetFromManyWithCommentsRTResult", | 179 "mbGetFromManyWithComments", "mbGetFromManyWithCommentsRTResult", |
180 "getHistory", "getPresenceStatuses", "joinMUC", "mucLeave", "getRoomsJoined", | 180 "getHistory", "getPresenceStatuses", "joinMUC", "mucLeave", "mucGetRoomsJoined", |
181 "getRoomsSubjects", "inviteMUC", "launchTarotGame", "getTarotCardsPaths", "tarotGameReady", | 181 "inviteMUC", "launchTarotGame", "getTarotCardsPaths", "tarotGameReady", |
182 "tarotGamePlayCards", "launchRadioCollective", | 182 "tarotGamePlayCards", "launchRadioCollective", |
183 "getWaitingSub", "subscription", "delContact", "updateContact", "getCard", | 183 "getWaitingSub", "subscription", "delContact", "updateContact", "getCard", |
184 "getEntityData", "getParamsUI", "asyncGetParamA", "setParam", "launchAction", | 184 "getEntityData", "getParamsUI", "asyncGetParamA", "setParam", "launchAction", |
185 "disconnect", "chatStateComposing", "getNewAccountDomain", "confirmationAnswer", | 185 "disconnect", "chatStateComposing", "getNewAccountDomain", "confirmationAnswer", |
186 "syntaxConvert", "getAccountDialogUI", "getMainResource", "getWaitingConf", "getEntitiesData", | 186 "syntaxConvert", "getAccountDialogUI", "getMainResource", "getWaitingConf", "getEntitiesData", |
187 "getVersion", "getLiberviaVersion", "getDefaultMUC", "getFeatures", | 187 "getVersion", "getLiberviaVersion", "mucGetDefaultService", "getFeatures", |
188 ]) | 188 ]) |
189 | 189 |
190 def __call__(self, *args, **kwargs): | 190 def __call__(self, *args, **kwargs): |
191 return LiberviaJsonProxy.__call__(self, *args, **kwargs) | 191 return LiberviaJsonProxy.__call__(self, *args, **kwargs) |
192 | 192 |