comparison sat_pubsub/__init__.py @ 294:df1edebb0466

PEP implementation, draft (huge patch sorry): /!\ database schema has changed ! /!\ - whole PEP behaviour is not managed yet - if the stanza is delegated, PEP is assumed - fixed potential SQL injection in pgsql_storage - publish notifications manage PEP - added retract notifications (if "notify" attribute is present), with PEP handling - a publisher can't replace an item he didn't publised anymore - /!\ schema has changed, sat_pubsub_update_0_1.sql update it - sat_pubsub_update_0_1.sql also fixes bad items coming from former version of SàT
author Goffi <goffi@goffi.org>
date Sun, 16 Aug 2015 01:32:42 +0200
parents 002c59dbc23f
children 642dffb9d6f1
comparison
equal deleted inserted replaced
293:b96a4ac25f8b 294:df1edebb0466
58 58
59 __version__ = '0.1.0D' 59 __version__ = '0.1.0D'
60 60
61 # TODO: remove this when RSM and MAM are in wokkel 61 # TODO: remove this when RSM and MAM are in wokkel
62 import wokkel 62 import wokkel
63 from wokkel import pubsub, delay
63 from sat.tmp.wokkel import delay as tmp_delay, pubsub as tmp_pubsub, rsm as tmp_rsm, mam as tmp_mam 64 from sat.tmp.wokkel import delay as tmp_delay, pubsub as tmp_pubsub, rsm as tmp_rsm, mam as tmp_mam
64 wokkel.delay = tmp_delay 65 wokkel.delay = tmp_delay
65 wokkel.pubsub = tmp_pubsub 66 wokkel.pubsub = tmp_pubsub
66 wokkel.rsm = tmp_rsm 67 wokkel.rsm = tmp_rsm
67 wokkel.mam = tmp_mam 68 wokkel.mam = tmp_mam