Mercurial > libervia-pubsub
comparison sat_pubsub/error.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 | a776544d84e5 |
comparison
equal
deleted
inserted
replaced
293:b96a4ac25f8b | 294:df1edebb0466 |
---|---|
95 | 95 |
96 | 96 |
97 | 97 |
98 class NotAuthorized(Error): | 98 class NotAuthorized(Error): |
99 pass | 99 pass |
100 | 100 |
101 | 101 |
102 | 102 |
103 class NotInRoster(Error): | 103 class NotInRoster(Error): |
104 pass | 104 pass |
105 | 105 |
106 | |
107 | |
108 class ItemNotFound(Error): | |
109 pass | |
110 | |
106 | 111 |
107 | 112 |
108 class ItemForbidden(Error): | 113 class ItemForbidden(Error): |
109 pass | 114 pass |
110 | 115 |