Commit graph

1,135 commits

Author SHA1 Message Date
Goffi
ebf651226e plugin OTR: temporary potr monkey patch to work around a unicode bug, to be removed as soon as a potr fixed version is released (potr maintainer should do it soon) 2014-08-25 21:32:23 +02:00
Goffi
706782eeb1 primivitus: fixed jid escaping for dynamic menus in one2one chat 2014-08-25 21:32:23 +02:00
Goffi
75b26ab7f1 reverted commit b1cb1d70bea9: jid should not be lowercase ! 2014-08-25 19:39:07 +02:00
Goffi
4b3ebdba5d core (stdui): fixed forgotten parametter in getParamError 2014-08-25 21:32:23 +02:00
Goffi
74f8765ed2 core: twistd plugin refactoring:
initialisation method manage things which must be done once (reactor installation + logging configuration), this method is called when service is created, so we can have the options passed to twistd (necessary to manage logging configuration). The initialisation order is important: for instance, sat_main must be imported after logging initialisation.
This refactoring avoid initialisation issue when SàT backend and libervia are both installed as twisted plugins.
2014-08-25 17:21:04 +02:00
Goffi
d549533f00 core (logging): new backend_data parameter can be used to transmit specific data to a backend + Twisted backend use this option to know if we are in debug or nodaemon mode 2014-08-25 17:21:03 +02:00
Goffi
899e57be46 core (installation): replaced PIL by its maintained fork pillow (installation from pip is working out of the box with pillow, not with PIL) 2014-08-25 17:21:03 +02:00
Goffi
c1f749978e misc: added Session.vim to .hgignore 2014-08-25 17:21:03 +02:00
souliane
7afc9b83fa primitivus (chat): fixes the messages display when opening a new chat window 2014-08-24 18:39:32 +02:00
souliane
3cee372b02 quick_frontend, primitivus: add primitivus command ":history [limit]" (default value for limit is 50) 2014-08-23 20:26:04 +02:00
souliane
4d6d762aa8 primitivus: improve the check to alert for new message 2014-08-24 18:23:55 +02:00
Goffi
fd88f94e8b installation: setup.py update:
- twisted plugin installation
    - author is now « association Salut à Toi »
    - author_email is now association's main contact address
    - changed url from http://www.salut-a-toi.org to http://salut-a-toi.org
2014-08-24 18:44:18 +02:00
Goffi
75fe2d0638 core: sat bakcend is now a twisted plugin (no more .tac file) 2014-08-24 18:44:17 +02:00
Goffi
f21de3b01b core (logging): fixed twisted backend for twistd plugin, /!\ stdout logging in debug/nodaemon mode does'nt work anymore with .tac files. 2014-08-24 18:44:17 +02:00
souliane
e72f7d728c primitivus: prevent a notification flood when displaying the history 2014-08-22 12:31:55 +02:00
souliane
261d5296d4 primitivus: change behavior of commands ":presence" and ":status" :
- ":presence " and ":status " open a dialog (like if you type it without the trailing space)
    - you need to type ":presence online" to directly reset your presence (was done with ":presence " before)
    - there's no more way to directly set an empty status (you now do it via the dialog)
2014-08-23 20:11:37 +02:00
souliane
5f1c2d3a49 tools (jid): force JIDs to lower case 2014-08-24 13:15:51 +02:00
souliane
162b310cd7 quick_frontend: fixes an issue with the profile in the signal handler 2014-08-21 22:46:57 +02:00
Goffi
5342de1031 core (logging): logging is added to stdout in nodaemon mode (it was already the case in debug mode) 2014-08-21 02:14:24 +02:00
Goffi
218a4122e6 misc: daemon mode refactoring:
- there is no more daemon mode disctinction between local and installed version
    - sat is launched as daemon by default, use "sat fg" to launch it foreground
2014-08-20 23:45:21 +02:00
Goffi
917bbe24b3 misc: stdout encoding management in python part of sat.sh 2014-08-20 23:42:58 +02:00
Goffi
1af958cd7e core (constants): minor comment change 2014-08-20 23:07:59 +02:00
Goffi
774edc48a6 core (constants): better management of xdg import 2014-08-20 23:04:57 +02:00
Goffi
2af42b30c7 core (constants): removed pyjamas workaround 2014-08-20 22:59:33 +02:00
Goffi
41101b480d plugin XEP-0050: notes are now managed:
- a note without payload in a completed command appear in a dialog. If there is a unique note, it's level is used, else info dialog is used with merged notes
    - if there is a data form payload, notes are added to form's instructions
2014-08-20 21:22:06 +02:00
Goffi
38c4e128ad frontends: dialog don't crash anymore is no submit_id is given (submit does nothing in this case) 2014-08-20 21:16:14 +02:00
Goffi
b769cde7e4 core (constants): fixed bad XMLUI level constants 2014-08-20 21:15:04 +02:00
souliane
35047550e4 setup: cleaning also handles egg filenames not containing the python version 2014-08-13 18:39:46 +02:00
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