Mercurial > libervia-backend
view .hgtags @ 944:e1842ebcb2f3
core, plugin XEP-0115: discovery refactoring:
- hashing algorithm of XEP-0115 has been including in core
- our own hash is still calculated by XEP-0115 and can be regenerated with XEP_0115.recalculateHash
- old discovery methods have been removed. Now the following methods are used:
- hasFeature: tell if a feature is available for an entity
- getDiscoInfos: self explaining
- getDiscoItems: self explaining
- findServiceEntities: return all available items of an entity which given (category, type)
- findFeaturesSet: search for a set of features in entity + entity's items
all these methods are asynchronous, and manage cache automatically
- XEP-0115 manage in a better way hashes, and now use a trigger for presence instead of monkey patch
- new FeatureNotFound exception, when we want to do something which is not available
- refactored client initialisation sequence, removed client.initialized Deferred
- added constant APP_URL
- test_plugin_xep_0033.py has been temporarly deactivated, the time to adapt it
- lot of cleaning
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 28 Mar 2014 18:07:22 +0100 |
parents | d0ed6993d562 |
children | 226c4c28cf64 |
line wrap: on
line source
d660d1e5cee410bf9ac15b89ceb93543bcff0a6f SàT v0.0.2 b95550704b4f965c9dca5f6681186bf8a9b64074 SàT v0.0.3 b778622b87337785252d47d2b3c4fe3085a37ab4 SàT v0.1.0 53aa958a2d3d6451ae75610e3c6fb947d3d6f21b SàT v0.1.1 cc2afb92ab93a4c6399ca9b6cdc5224878a57a24 SàT v0.2.0 df6b9b881f0e9f335483c986b00fd58f2ed6164a SàT v0.3.0 12cfa23c6ab9235dddb2e8887eb0fe90fc98da75 SàT v0.4.0 f93e917be3f41a254a4612da22ed9fc5e0209f80 SàT v0.4.1