Mercurial > libervia-backend
comparison src/bridge/bridge_constructor/bridge_template.ini @ 669:ffb716804580
core, bridge: extra parameter is saved in history:
- added extra data in getHistory return value
- extra data is saved in database
/!\ WARNING: DATABASE SCHEMA HAS CHANGED /!\
to update sqlite database: ALTER TABLE history ADD COLUMN extra BLOB;
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 07 Nov 2013 15:29:39 +0100 |
parents | 7d6e5807504a |
children | d731ae066158 |
comparison
equal
deleted
inserted
replaced
668:7bb50096d225 | 669:ffb716804580 |
---|---|
486 [getHistory] | 486 [getHistory] |
487 async= | 487 async= |
488 type=method | 488 type=method |
489 category=core | 489 category=core |
490 sig_in=ssibs | 490 sig_in=ssibs |
491 sig_out=a(dssss) | 491 sig_out=a(dssssa{ss}) |
492 param_3_default=True | 492 param_3_default=True |
493 param_4_default="@NONE@" | 493 param_4_default="@NONE@" |
494 doc=Get history of a communication between two entities | 494 doc=Get history of a communication between two entities |
495 doc_param_0=from_jid: source JID (bare jid for catch all, full jid else) | 495 doc_param_0=from_jid: source JID (bare jid for catch all, full jid else) |
496 doc_param_1=to_jid: dest JID (bare jid for catch all, full jid else) | 496 doc_param_1=to_jid: dest JID (bare jid for catch all, full jid else) |
497 doc_param_2=limit: max number of history elements to get (0 for the whole history) | 497 doc_param_2=limit: max number of history elements to get (0 for the whole history) |
498 doc_param_3=between: True if we want history between the two jids (in both direction), False if we only want messages from from_jid to to_jid | 498 doc_param_3=between: True if we want history between the two jids (in both direction), False if we only want messages from from_jid to to_jid |
499 doc_param_4=%(doc_profile)s | 499 doc_param_4=%(doc_profile)s |
500 doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message, type) | 500 doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message, type, extra) |
501 | 501 |
502 [addContact] | 502 [addContact] |
503 type=method | 503 type=method |
504 category=core | 504 category=core |
505 sig_in=ss | 505 sig_in=ss |