[dev] [PATCH][EN] room games and coe

Adrien souliane at mailoo.org
Jeu 21 Nov 19:20:24 CET 2013


Hi,

please find some patches, most of them are for the room games again, 
also an improvement for the contact manager:

Libervia:

- send rich text to all CC recipients, I filed a bug report about the 
rendering: http://bugs.goffi.org/show_bug.cgi?id=58

- recipient and contact manager: fixed issues with the autocomplete 
list, avoid duplicate contacts in a contact list, signal invalid 
contacts with a red border, check for invalid contacts in the form 
before saving

- unique GUI based on StackPanel for joining/inviting MUC (with game or 
not). The joinMUC method can be called with empty argument in that case 
a unique name will be generated, eventually the game preffix will be 
inserted (as it was done before). The invitation panel displays the list 
of connected contacts, it is updated live. Please have a look and let me 
know what should be changed.

- some symbols (cards, music...) let you know who is playing in the 
room. When you are waiting to start a tarot game you can see who is 
ready and who you are waiting for :)

SàT plugins (MUC / games):

- silently discard MUC invitations if you're already in (that's conform 
to the XEP)

- in RoomGame all the messages are sent from a common method "send",
also added some parameters to manage who can invite, who can join, who 
to wait for... some check***Auth methods do the management, there are 
for sure some remaining issues that I will fix when they are discovered

- joining a game that is already launched may be possible, regarding 
these parameters and the invitation list. Leave and join a game again is 
partly managed: new tarot round is launched, we should keep playing the 
same round instead (known issue: when the new round is launched, players 
who were there already get an additionnal deck - I need to reinit the table)

- moved tools/frontends to frontends/tools and tools/plugins to plugins...


Best regards,
Adrien
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: lib_roomgame.py
Type: text/x-python
Taille: 103002 octets
Desc: non disponible
URL: <http://lists.goffi.org/pipermail/dev/attachments/20131121/a8cc88ec/attachment-0002.py>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: sat_roomgame.py
Type: text/x-python
Taille: 101742 octets
Desc: non disponible
URL: <http://lists.goffi.org/pipermail/dev/attachments/20131121/a8cc88ec/attachment-0003.py>


Plus d'informations sur la liste de diffusion dev