Commit graph

1,107 commits

Author SHA1 Message Date
Goffi
b6563c596b frontends: XMLUI refactoring + dialogs:
- there are now XMLUIPanel and XMLUIDialog both inheriting from XMLUIBase
    - following dialogs are managed:
        - MessageDialog
        - NoteDialog
        - ConfirmDialog
        - FileDialog
    - XMLUI creation is now made using xmlui.create(...) instead of instanciating directly XMLUI
    - classes must be registed in frontends
    - "parent" attribute renamed to "_xmlui_parent" to avoid name conflicts with frontends toolkits
2014-08-13 14:48:49 +02:00
Goffi
38efb8b0bd core (XMLUI): Dialogs are now managemed in XMLUI:
- currents dialogs are available:
        - Message: a classical informational/error message, usually a popup that user has to close after reading
        - Note: more discreet message, usually a notification with a timeout (user don't need to close manually)
        - Confirm: a Ok/Cancel or Yes/No dialog
        - File: a dialog to get a file or dir path
    - dialog_opt parameter is used to customise dialogs
    - submit_id is used in a similar way as for forms
2014-08-11 19:10:24 +02:00
Goffi
8e66a4b736 core (constants): added constants mainly used in XMLUI 2014-08-11 19:10:24 +02:00
Goffi
c75cee8241 frontends: signals are managed in a more generic way 2014-08-11 19:10:24 +02:00
souliane
b9ce18f079 plugin misc_static_blog: add a menu for displaying a user static blog 2014-07-15 18:28:40 +02:00
souliane
af2a634764 plugin XEP-0045: change security limit of "config room" menu to 4 2014-07-15 18:26:36 +02:00
souliane
abdd3dafb2 setup: SAT_INSTALL environment variable handles "clean" and "purge" options 2014-07-15 13:37:50 +02:00
souliane
bb92c9fe74 memory (sqlite): fixes upgrade Deferred issue 2014-07-06 21:54:07 +02:00
souliane
8281c77c60 memory: fixes encoding issues during encryption 2014-07-06 21:13:47 +02:00
souliane
e0f8d09bf2 memory (memory): delete profile session on profile deletion 2014-06-27 20:05:31 +02:00
Goffi
352e593a17 core: use of debug log instead of error when port default value is used 2014-06-26 14:59:02 +02:00
Goffi
f2b16e49b5 plugin OTR: various improvments:
- otr_data is now saved between sessions
    - private key is encrypted before saving
    - state change is detected (unencrypted/started/refreshed/finished) and (un)trusted (trusting is not implemented yet)
    - user feedback
    - fixed unencrypted message in an encrypted context warning
    - fixed inject msg encoding
    - minor refactoring
2014-06-26 14:58:25 +02:00
Goffi
f5d2a31520 pluging XEP-0045: configure room dynamic menu 2014-06-26 00:05:25 +02:00
Goffi
08be0324a6 core, frontends (menus): MENU_ROOM and MENU_SINGLE are now managed 2014-06-26 00:05:20 +02:00
Goffi
126d95e764 core (menus): constants are used for menu types 2014-06-25 20:54:15 +02:00
souliane
603f2e5760 plugin misc_account: delete the profile session after the registration is done 2014-06-25 19:11:30 +02:00
souliane
94d36a7d3e memory: add helper methods encryptValue and decryptValue 2014-06-25 19:01:00 +02:00
souliane
83ed5f319c core, plugins, stdui, frontends: fixes handling of "Force server" and "Force port" parameters:
- do not save a "guessed" value, they must stay empty until the user explicitely sets them
    - add constant XMPP_C2S_PORT (default value 5222)
2014-06-23 10:23:13 +02:00
souliane
d4eff5b99c core, memory, plugins, stdui, frontends: look for DNS SRV records when server is not specified:
- fix bug 3
    - modify "Connection" params:
          - rename "Server" to "Force server" and "Port" to "Force port"
          - set the default value to empty string for both
2014-06-23 00:44:10 +02:00
Goffi
0cbc88ac39 frontends (XMLUI): use of logging system instead of print 2014-06-25 14:01:58 +02:00
Goffi
8ca72f8a9f core/frontends (XMLUI): value can now be inserted as a <value/> element, if not present value attribute is tested, else empty string is used. 2014-06-25 14:01:57 +02:00
Goffi
e002d55880 frontends (XMLUI): implementation of read_only attributes for widgets String, TextBox, Password and Bool 2014-06-25 14:01:56 +02:00
Goffi
2cc6d6549f core (XMLUI): created a read_only attribute for InputWidget + new JidInputWidget 2014-06-25 14:01:55 +02:00
souliane
7d849b11ca plugin XEP-0045: small refactorization + clean on profile's disconnection 2014-06-23 16:07:13 +02:00
souliane
56ec86b8e5 plugin XEP-0045, text_commands: add some commands:
- handle generic failure in text_commands
    - fix command /leave and a logging message
    - add commands /kick /ban /affiliate
2014-06-23 15:42:56 +02:00
souliane
25382c9db6 plugin XEP-0054: crop uploaded avatar to get a square 2014-06-19 20:33:42 +02:00
souliane
1cd755ac58 plugin misc_account: suppress the profile after its creation if the XMPP account registration failed 2014-06-19 19:20:52 +02:00
Goffi
ab67b9cf85 reverted commit bb4517e69957: note was not implemented on purpose 2014-06-18 16:35:20 +02:00
souliane
db130b95be tools (xmlui): data form 'text-multi' element must be converted to xmlui 'textbox' (not 'text') 2014-06-18 14:55:35 +02:00
souliane
fd00955ce4 plugin XEP-0050: handle note element in command answer 2014-06-18 14:52:52 +02:00
souliane
aa0c7ff3e1 prepare changelog for version 0.5 2014-06-16 20:06:08 +02:00
souliane
ba3deb4c3e misc: remove some pylints warnings 2014-06-15 18:18:36 +02:00
souliane
7fd9b694a6 frontends (quick_frontend): fixes the handling of asyncConnect failure 2014-06-15 16:09:30 +02:00
souliane
bba25dd62d bridge: DBusException also transports the twisted failure condition 2014-06-15 16:06:02 +02:00
Goffi
8867ac6c60 bridge (D-Bus): frontend side now use a 120 s timeout for async calls 2014-06-15 00:18:28 +02:00
Goffi
b2c2dc5e6a plugin XEP-0050: form returned by completed command are now managed 2014-06-14 17:26:22 +02:00
Goffi
b207fdd6c9 core (XMLUI): management of text-multi in _dataFormField2XMLUIData 2014-06-14 17:25:08 +02:00
Goffi
4bbf1e2be6 core (XMLUI): data form result now manage generic data set 2014-06-14 17:24:16 +02:00
souliane
e18adb373d plugin XEP-0045: room configuration returns a success or failure message 2014-06-12 18:56:08 +02:00
souliane
f08b22ecb2 tools (xml_tools): dataForm2XMLUI handles the default value for "list-single" fields 2014-06-12 18:19:55 +02:00
souliane
7a9392f486 test (memory): fixes crypto encryption/decryption test 2014-06-12 15:57:22 +02:00
souliane
4e2366a3d5 memory (sqlite): fixes upgrade to database v2 2014-06-12 15:56:41 +02:00
souliane
76413b3679 memory, tools (config): move special config retrieval from memory to tools 2014-06-09 20:40:13 +02:00
souliane
a5dd35ce65 frontends: async failures are more detailed (full class name + error message) 2014-06-07 15:39:20 +02:00
souliane
b9106c65d6 bridge: async failures are more detailed (full class name + error message) 2014-06-07 15:20:39 +02:00
souliane
3d9795e578 core (xmpp): onMessage handles an eventual subject (used for announcement / headline message) 2014-06-02 19:25:06 +02:00
souliane
244a33d2c7 core (xmpp), stdui (profile_manager), bridge, frontends: raise an exception if the XMPP connection failed instead of sending a signal 2014-05-23 09:59:35 +02:00
souliane
f719875f0b core, frontends: remove bridge method "connect" (always use asyncConnect) 2014-05-23 10:40:54 +02:00
souliane
f09fb76752 frontends: fixes bug with private message introduced with revision 1000 (6f1e03068b5f) + display messages from contacts not in roster 2014-05-29 14:34:01 +02:00
souliane
2afa53f755 test: fixes the tests for plugin XEP-0033 2014-06-08 17:39:21 +02:00