Queue unauthorized messages waiting for approval (#103; UNTESTED)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Consume subscription notifications (for real; fix 85e5a94bc0776466d15c0a6efa3f6fa50088777d)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Fix presence loop

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Merge branch 'staging'
Merge remote-tracking branch 'origin/production'
Merge branch 'production'
Fix method reference

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Workaround presence subscription loop (fix #115)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Merge branch 'staging'
Merge branch 'production'
Fix reference

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Merge remote-tracking branch 'origin/master' into staging
Fix pending messages and deliver offline storage after subscribed (should close #103)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Turn available presences into unavailable presences when taking over presence data from another server (should fix #120)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Fix encoding error when debugging stanzas

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Fix encoding of presence status

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Comply to interface

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
PEP8 compliance

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Generate proper filename for audio types (fix #99)

Includes unit test for util.generate_filename.

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
More unit tests for util

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>