diff 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
line wrap: on
line diff
--- a/sat_pubsub/__init__.py	Sun Aug 16 01:15:13 2015 +0200
+++ b/sat_pubsub/__init__.py	Sun Aug 16 01:32:42 2015 +0200
@@ -60,6 +60,7 @@
 
 # TODO: remove this when RSM and MAM are in wokkel
 import wokkel
+from wokkel import pubsub, delay
 from sat.tmp.wokkel import delay as tmp_delay, pubsub as tmp_pubsub, rsm as tmp_rsm, mam as tmp_mam
 wokkel.delay = tmp_delay
 wokkel.pubsub = tmp_pubsub