Commit graph

872 commits

Author SHA1 Message Date
Goffi
65958dfc76 README and INSTALL updates 2014-02-26 00:36:34 +01:00
Goffi
f4396db0d2 plugin misc account: updated the welcome email 2014-02-25 23:45:50 +01:00
Goffi
fecc93ba15 plugin demo directory: temporary plugin to integrate Salut's directory in SàT's parameters:
this plugin has to be explicitly activate in sat.conf with the following parameters in category [plugin demo directory]:
activate=yes ==> to activate
service=salut.domain.tld ==> Salut service jid
This plugin is dependant of Salut's implementation, and will not work with other services
2014-02-25 23:03:17 +01:00
Goffi
532cf0534a plugin XEP-0085: fixed bad trigger return value 2014-02-25 23:03:17 +01:00
Goffi
14e6c1b853 plugin XEP-0055: salut.libervia.org is temporarly used as default value 2014-02-25 23:03:17 +01:00
Goffi
7aaea47da8 core (memory): added 'no' value management in configuration's booleans 2014-02-25 23:03:13 +01:00
Goffi
8f0cf4697b core (xmlui), frontends: handling of "text" type in params xml + bug fixes 2014-02-25 23:01:26 +01:00
souliane
b2f32986be frontends: fix typos, do not use logging in the xmlui tools: 2014-02-25 10:59:05 +01:00
Goffi
171feb26d2 core (xmlui): fixed types with empty value are now correctly managed in _dataFormField2XMLUIData 2014-02-25 02:22:17 +01:00
souliane
418ac00f83 i18n: updated the translation files 2014-02-24 19:21:07 +01:00
souliane
470e4f4edf test: skip radiocol tests if the sound samples are not found 2014-02-24 12:57:56 +01:00
souliane
c2408dc57d plugin groupblog: bug fix for the atom feed 2014-02-24 12:21:59 +01:00
souliane
7a9fb7f505 plugin XEP-0277: fix pubsub entry parsing using lxml instead of feed.atom 2014-02-23 13:54:41 +01:00
souliane
8335f92c87 plugins groupblog, XEP-0277: attempt to clarify the code for the comments handling:
- add or update some methods docstrings
- add GroupBlog.__fillCommentsElement to factorize the code responsible to build the comments link
- do not mix up attributes names between the item own service/node and the comments service/node
2014-02-14 21:24:31 +01:00
souliane
680dd48587 test: fix the tests for plugin room game 2014-02-20 17:51:51 +01:00
souliane
4bb50c59f7 test: skip the test for markdown syntax if the module is not installed 2014-02-20 16:37:05 +01:00
Goffi
80afa4ed37 plugin XEP-0277: last commit was actually a part of the next one 2014-02-23 23:59:02 +01:00
Goffi
b0bbd32038 plugin XEP-0277: added missing docstring 2014-02-23 23:30:35 +01:00
Goffi
a280080563 core (sqlite): automatic database update:
- new Updater class check database consistency (by calculating a hash on the .schema), and updates base if necessary
    - database now has a version (1 for current, 0 will be for 0.3's database), for each change this version will be increased
    - creation statements and update statements are in the form of dict of dict with tuples. There is a help text at the top of the module to explain how it works
    - if we are on a development version, the updater try to update the database automaticaly (without deleting table or columns). The Updater.generateUpdateData method can be used to ease the creation of update data (i.e. the dictionary at the top, see the one for the key 1 for an example).
    - if there is an inconsistency, an exception is raised, and a message indicate the SQL statements that should fix the situation.
    - well... this is rather complicated, a KISS method would maybe have been better. The future will say if we need to simplify it :-/
    - new DatabaseError exception
2014-02-23 23:30:32 +01:00
Goffi
fd22cf011d plugin text syntaxes: fixed cleaners encoding 2014-02-20 13:28:10 +01:00
Goffi
cf08f0127a plugin XEP-0277: encoding fix 2014-02-20 13:28:09 +01:00
souliane
a9cd2cab36 primitivus: displayed presence/status was not updated when the presence is "Online". 2014-02-18 19:37:29 +01:00
souliane
7c29b8c566 plugin room_game, radiocol: RoomGame.send returns a Deferred. 2014-02-18 17:49:33 +01:00
souliane
3de25fd781 misc: setup.py was not installing sat_frontends.jp 2014-02-18 16:24:19 +01:00
souliane
daccb7c953 plugin groupblog: do not log error message when asking for the entries of a non existent node (e.g the contact hasn't posted any message yet) 2014-02-18 14:35:30 +01:00
souliane
7d7d205159 core: fix mispelled argument 2014-02-18 14:33:35 +01:00
souliane
35fc8f5fa4 misc: exclude misc/_jp from xgettext input 2014-02-17 19:23:13 +01:00
souliane
24beb81688 misc: fix unnamed arguments in format strings 2014-02-17 14:58:26 +01:00
Thomas Preud'homme
40935cbc5e misc: update distribute_setup.py to version 0.6.49 2014-02-17 12:25:17 +01:00
souliane
5f59378f86 frontends (tools): addURLToImage makes an image clickable 2014-02-13 15:35:21 +01:00
souliane
d5fb045f5b plugin text_syntaxes: html2text was breaking the long URLs 2014-02-13 12:29:14 +01:00
souliane
d5611ae016 frontends: add COMMANDS constant for Wysiwyg edition + add "image" button info for the syntaxes 2014-02-13 10:42:29 +01:00
souliane
e63752db76 memory (sqlite): the result of pickle.dumps in addToHistory must be encoded for the special characters to be stored. 2014-02-12 21:46:48 +01:00
souliane
63bf55d69f plugin XEP_0277: fix encode/decode errors 2014-02-12 15:24:03 +01:00
souliane
a3e2beeeae plugin XEP_0277: check for XHTML namespace and decapsulate the content from the main div container 2014-02-12 15:23:15 +01:00
souliane
c2e4e9f8f9 plugin text_syntaxes: rstrip the conversion result to avoid new lines systematically added by converters (e.g. html2text do this) 2014-02-12 15:21:00 +01:00
souliane
ba1800cc61 tools: composition RICH_FORMATS constant has been renamed to RICH_SYNTAXES 2014-02-12 15:19:48 +01:00
souliane
d0fccd5195 core: bug fix at connection time 2014-02-07 22:17:06 +01:00
souliane
7ea4dca1b0 memory: bug fix to not register twice frontends parameters + added some tests for param update 2014-02-07 17:10:24 +01:00
souliane
ff81f76184 plugin groupblog, XEP-0071, XEP-0277, text_syntaxes: manage raw/rich/xhtml data for content/title:
Implementation should follow the following formal specification:

"title" and "content" data can be passed in raw, xhtml or rich format.
When we receive from a frontend a new/updated microblog item:

- keys "title" or "content" have to be escaped (disable HTML tags)
- keys "title_rich" or "content_rich" have to be converted from the current syntax to XHTML
- keys "title_xhtml" or "content_xhtml" have to be cleaned from unwanted XHTML content

Rules to deal with concurrent keys:

- existence of both  "*_xhtml" and "*_rich" keys must raise an exception
- existence of both raw and ("*_xhtml" or "*_rich") is OK

As the storage always need raw data, if it is not given by the user it can be
extracted from the "*_rich" or "*_xhtml" data (remove the XHTML tags).

When a frontend wants to edit a blog post that contains XHTML title or content,
the conversion is made from XHTML to the current user-defined syntax.

- plugin text_syntaxes: added "text" syntax (using lxml)
2014-02-05 16:36:51 +01:00
souliane
5aa76d7d23 plugin groupblog: added method getLastGroupBlogsAtom returns the Atom feed of blog posts 2014-01-22 17:10:28 +01:00
souliane
0698b69344 test radiocol: added a full scenario test 2014-01-15 23:24:22 +01:00
souliane
cf8f9330b4 test: improvements for the helpers classes:
- simplification for retrieving the sent messages
- an expected bridge call which is already set can no more be
  overwritten with new arguments for the same method name. The
  new arguments are stored in a FIFO list instead, and each call
  of the method also registers the arguments for the next call.
2014-01-15 23:22:07 +01:00
souliane
30dfdf1025 plugins room_games, radiocol, libervia: small changes like refactorization to ease the maintenance 2014-01-17 15:02:46 +01:00
souliane
4818da04fc plugin radiocol: sync data includes a "jump to time" info 2014-01-16 11:44:14 +01:00
souliane
8b700a6d48 plugins radiocol_tarot: do not process received messages for MUC users that are actually not playing the game + fix for testing purpose 2014-01-15 23:09:39 +01:00
souliane
9e6845472d plugins room_games, radiocol: better synchronization after a user joins a running game 2014-01-15 23:01:23 +01:00
Goffi
2b51a340d4 jp: added ad-hoc subcommand with a remote sub-subcommand to create a D-Bus remote 2014-02-17 18:57:53 +01:00
Goffi
f31dd1adc0 jp: short option for progress is now -P instead of -g, so -g can be used for groups 2014-02-17 18:57:09 +01:00
Goffi
b1f91fe568 plugin Ad-Hoc D-Bus: first draft:
this plugin allow to easily use D-Bus with Ad-Hoc command. This first draft only allow to create a D-Bus remote for now.
2014-02-17 18:57:06 +01:00