Commit graph

4,712 commits

Author SHA1 Message Date
Goffi
49f7ebc67c primitivus: profile manager now handle APP_QUIT key 2014-09-04 19:05:57 +02:00
Goffi
747cc31583 primitivus: moved history method definition out of keypress 2014-09-04 19:05:57 +02:00
Goffi
c019542729 primitivus: key can be changed in config:
- new config module manage configuration
    - if any configuration error happen, config parsing is stopped, and a popup appear + a log error
    - key can be changed with key_[action_name] = [shortcut]
    - early popup (popup happening before main widget is built, e.g. in profile manager) are managed
2014-09-04 19:05:57 +02:00
Goffi
c45ba71f2a primitivus: use of new keys modules from Urwid SàText 2014-09-04 19:05:57 +02:00
souliane
acb499098f add licence information for otr.js and dependencies 2014-09-03 20:54:14 +02:00
Goffi
1976b05d33 misc (install): fixed self.root access when it's not used 2014-09-03 17:55:05 +02:00
Goffi
e6d9f7e73e misc (install): updated old distribute_setup.py to new setuptools' ez_setup.py 2014-09-03 17:44:19 +02:00
Goffi
2507eea6a5 misc (install): use os.symlink instead of distutils.file_util.copy_file to avoid error when --root is used 2014-09-03 17:18:27 +02:00
Goffi
43dcdb6ba2 misc (installation): --root option is ignored for _final destinations 2014-09-03 16:40:52 +02:00
Goffi
06857823ff misc: README4PACKAGERS update 2014-09-03 12:25:07 +02:00
Goffi
8c766858ff misc (launch script): added a "status" command 2014-09-03 11:46:09 +02:00
Goffi
3d3d9733ef misc (D-Bus, installation): added a .service file for D-Bus auto-launch feature + installation from setup.py (path adaptation now use regex). 2014-09-03 11:46: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
be2e956c0b core: sendMessage handles the extra data key 'send_only' to skip triggers, storage and echo 2014-09-01 15:43:16 +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
7c4824f352 core: more robust plugins importation 2014-09-01 11:05:27 +02:00
Goffi
079e13d693 plugin OTR: added ability to drop private key 2014-08-27 01:27:24 +02:00
Goffi
cc9bf9f2df core (constants): Bool method allow to convert from python bool to string constant for true/false (in both directions) 2014-08-27 01:27:05 +02:00
Goffi
70dc0f26b0 core (XMLUI): sugar method "note" allow to easily create a XMLUI note dialog (more methods for other dialogs should follow) 2014-08-27 01:24:26 +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
souliane
0443149ef8 sat_frontends (tools): force JID's node and domain to lower-case:
- this changeset should go with a modification of PRIVATE_PREFIX, but the change has been already (accidentally) pushed with the previous changeset
2014-08-26 13:33:12 +02:00
souliane
987cfbf89d move sat.tools.jid to sat_frontends.tools.jid 2014-08-26 12:52:46 +02:00
souliane
a74ba85c43 setup: sat_frontends was omitted by the cleaning method 2014-08-26 09:54:23 +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
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