Platform Team/Prosody: Difference between revisions

 
(7 intermediate revisions by 2 users not shown)
Line 16: Line 16:
=== mod_sugar_pep ===
=== mod_sugar_pep ===


Original {{Code|mod_pep}} plugin with allowing all buddies from the sugar roster get all notification even without proper subscriptions. This plugin seems to be a workaround because subscription should be done on client side but that doesn't happen. The affected use case can be reproduced in Glucse-0.88 (Dextrose-2) environment:
In difference with the original {{Code|mod_pep}} plugin, {{Code|mod_sugar_pep}} allows all buddies from the sugar roster to get all notifications, even without proper subscriptions. This plugin seems to be a workaround, because subscription should be done on the client side, but that doesn't happen. The affected use case can be reproduced in the Glucose-0.88 (Dextrose-2) environment:


# Clean up {{Code|data/}} directory;
# Clean up {{Code|data/}} directory;
Line 22: Line 22:
# Start XO #2;
# Start XO #2;
# Create and share activity instance on XO #2;
# Create and share activity instance on XO #2;
# F1 view on XO #1 doesn't show shared activity;
# Neighborhood view on XO #1 doesn't show shared activity;
# Sharing activity on XO #1, is visible from XO #2.
# Sharing activity on XO #1, is visible from XO #2.


Line 36: Line 36:
== Installation ==
== Installation ==


To reuse sugar plugins, copy them to the directory with Prosody plugins. Or, install the {{Code|prosody-sugar}} package from the Sugar Server Kit [http://download.sugarlabs.org/packages/Server:/ repository].
To reuse sugar plugins, copy them to the directory with Prosody plugins. Or, install the {{Code|prosody-sugar}} package from the [[Sweets Distribution]] [http://download.sugarlabs.org/packages/SweetsDistribution/ repository].


== Configuration ==
== Configuration ==


See sugar-server-templates [http://git.sugarlabs.org/server/templates/trees/master/etc/prosody sources] for a configuration example.
See sugar-server-templates [http://git.sugarlabs.org/server/templates/trees/master/mace/prosody/prosody.d sources] for a configuration example.


== Getting involved ==
== Getting involved ==
Line 49: Line 49:
=== TODO ===
=== TODO ===


* Dynamically remove users from the sugar roster if they are offline for some reasonable time (for now, there is a patch to kick offline users from sugar roster asap to workaround buggy sugar-0.9x collab code).
* Compare Prosody resources consumption with existing ejabberd.
* Compare Prosody resources consumption with existing ejabberd.


Line 57: Line 56:
* Prosody [https://github.com/bjc/prosody sources].
* Prosody [https://github.com/bjc/prosody sources].
* Prosody Sugar plugins [http://git.sugarlabs.org/server/prosody-sugar sources].
* Prosody Sugar plugins [http://git.sugarlabs.org/server/prosody-sugar sources].
* [http://download.sugarlabs.org/packages/Server:/ Packages] for Prosody and Prosody Sugar plugins.
* [http://download.sugarlabs.org/packages/SweetsDistribution/ Packages] with Prosody Sugar plugins.