Commit graph libervia-backend/src/plugins/plugin_sec_otr.py
Author SHA1 Message Date
souliane
67ff77e5de massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions 2015-04-16 14:57:57 +02:00
Goffi
fbec02d396 2015 copyright dates update 2015-03-30 10:26:26 +02:00
Goffi
8ce5c1862b core, frontends: refactoring to base Libervia on QuickFrontend (big mixed commit):
/!\ not finished, everything is still instable !
    - bridge: DBus bridge has been modified to allow blocking call to be called in the same way as asynchronous calls
    - bridge: calls with a callback and no errback are now possible, default errback log the error
    - constants: removed hack to manage presence without OrderedDict, as an OrderedDict like class has been implemented in Libervia
    - core: getLastResource has been removed and replaced by getMainResource (there is a global better management of resources)
    - various style improvments: use of constants when possible, fixed variable overlaps, import of module instead of direct class import
    - frontends: printInfo and printMessage methods in (Quick)Chat are more generic (use of extra instead of timestamp)
    - frontends: bridge creation and option parsing (command line arguments) are now specified by the frontend in QuickApp __init__
    - frontends: ProfileManager manage a more complete plug sequence (some stuff formerly manage in contact_list have moved to ProfileManager)
    - quick_frontend (quick_widgets): QuickWidgetsManager is now iterable (all widgets are then returned), or can return an iterator on a specific class (return all widgets of this class) with getWidgets
    - frontends: tools.jid can now be used in Pyjamas, with some care
    - frontends (XMLUI): profile is now managed
    - core (memory): big improvment on entities cache management (and specially resource management)
    - core (params/exceptions): added PermissionError
    - various fixes and improvments, check diff for more details
2015-01-24 01:00:29 +01:00
souliane
eaa85cb951 plugin sec_otr: a trigger was not returning True 2014-10-20 12:57:27 +02:00
souliane
fe06c14303 core, plugins: improve a bit some log messages 2014-10-18 16:28:37 +02:00
Goffi
c00daf4a68 plugin OTR: added a warning to tell that the history is not logged anymore and advanced feature are disabled when using OTR 2014-09-08 21:23:18 +02:00
souliane
8654193b40 plugin OTR: do not save in history the encrypted messages for skipped profiles 2014-09-07 20:08:56 +02:00
Goffi
a20e3e2cb8 core: a new "info" type is used in newMessage for system messages (not comming from outside) 2014-09-05 19:29:30 +02:00
souliane
af2554a508 plugin OTR: forces FINISHED state if we are in ENCRYPTED state on contact disconnection 2014-09-05 11:16:38 +02:00
souliane
c1e71508c4 plugin OTR: disconnect the active OTR sessions and delete the context on profile disconnection 2014-09-05 11:01:14 +02:00
souliane
f2d630fcad plugin OTR: fixes handling of the FINISHED state 2014-09-05 10:39:06 +02:00
souliane
75c79aba58 plugin OTR: add bridge method skipOTR to desactivate OTR handling for a given profile 2014-09-01 15:45:35 +02:00
souliane
df43c42611 plugin OTR: two small fixes 2014-09-01 16:11:45 +02:00
souliane
fbdca49737 plugin OTR: remove unnecessary attribute SatXMPPClient.otr_priv_key 2014-09-01 16:05:28 +02:00
Goffi
079e13d693 plugin OTR: added ability to drop private key 2014-08-27 01:27:24 +02:00
Goffi
df69c77ea3 plugin OTR: authentication management + fixed a bug in setState (due to a wrong docstring in potr.context.getCurrentTrust) 2014-08-27 00:23:14 +02:00
Goffi
20ea92ce1c plugin otr: priv_key is better than getPrivKey here, as it should not be None + fixed private key encryption/decryption 2014-08-25 21:32:29 +02:00
Goffi
5dce151148 plugin OTR: added start/refresh and end session menus 2014-08-25 21:32:23 +02:00
Goffi
ed3313c169 plugin OTR: a warning is logged when Account is instancied with a bare jid. 2014-08-25 21:32:23 +02:00
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
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
503b408675 plugin otr: first draft 2014-06-07 16:39:08 +02:00