Commit graph

2138 commits

Author SHA1 Message Date
Florent Le Coz
4b662ffa67 Much more efficient and clean way to get the last n messages from history 2013-09-06 14:24:05 +02:00
mathieui
07ab1138a7 Fix /otr fpr and the remote user nick color 2013-08-18 22:32:26 +02:00
mathieui
cb8884bae4 quote a completed word if it has \ in it 2013-08-16 17:49:05 +02:00
mathieui
1a92c51ddf Fix an issue with shlex
(well, sort of fix)
2013-08-16 16:21:54 +02:00
mathieui
7820f98568 Move shlex to poezio_shlex to avoid conflicts with the stdlib 2013-08-15 01:07:47 +02:00
mathieui
6f2cca61d4 Remove debug 2013-08-13 07:39:12 +02:00
mathieui
e06eac8182 Mark OTR messages as private (as in carbons) 2013-08-11 23:32:44 +02:00
mathieui
a724be0e72 Typo 2013-08-10 23:24:35 +02:00
mathieui
a3a4bb34dd Forgot the __init__.py for the poezio_themes package 2013-08-10 20:40:58 +02:00
mathieui
74de91e2bf Fix potential issues with import paths 2013-08-10 15:51:35 +02:00
mathieui
518f933fb8 Fix #2343 2013-08-10 01:50:03 +02:00
mathieui
64c1a09023 Fix #2337 (search the themes the same way than plugins)
- Load the themes from:
    1 - The sources found in the directory ../data/themes/ (if it
    exists)
    2 - The user-defined dir (or ~/.local/blah)
    3 - The poezio_themes package if found

- Also fix some potential issues with the plugins importer
2013-08-10 00:24:27 +02:00
mathieui
a50b32896d Move the most relevant options to the top of the default config file
(people may not want to read the whole file to setup their account)
2013-08-09 23:26:23 +02:00
mathieui
54a2830091 Documentation update 2013-08-07 21:35:12 +02:00
mathieui
32bf5a2b14 Add the gpg plugin to the setup.py 2013-08-07 21:24:46 +02:00
mathieui
51c7b3258b Complete the documentation of the OTR plugin
(and fix a possible traceback)
2013-08-07 20:55:21 +02:00
mathieui
3cc86e7145 Add the missing regex admin documentation 2013-08-07 21:10:03 +02:00
mathieui
65a73edc62 Fix the same issue with the OTR plugin 2013-08-06 22:30:03 +02:00
mathieui
2fe84a1188 Fix a crash for python < 3.3 2013-08-06 22:23:47 +02:00
mathieui
703cd1b958 Don’t send the xhtml body with a gpg-encrypted message
(bug introduced after a change in the attribute name)
2013-08-06 19:09:13 +02:00
mathieui
3e7353758e Fix the folder creation for roster changes 2013-08-06 19:07:44 +02:00
mathieui
e40a3d72f5 Add a specific /invite command for the MucTab 2013-08-05 23:29:36 +02:00
mathieui
e8a3f6f07c Add trust management to the OTR plugin (/otr trust|untrust) 2013-08-05 19:45:35 +02:00
mathieui
406454fdd0 Fix common.shell_split with empty strings 2013-08-05 19:45:08 +02:00
mathieui
90161f81ac Add a new "drop" option to the OTR plugin (to drop the privkey) 2013-08-05 00:08:11 +02:00
mathieui
7373074e39 Notify properly in the OTR plugin when a message is received 2013-08-04 23:45:12 +02:00
mathieui
5cc11f13a0 Add new stubs for the documentation 2013-08-04 17:32:17 +02:00
mathieui
bd81ef5cf3 Add a helpful help for /otr 2013-08-04 15:36:29 +02:00
mathieui
a8762b4746 Rewrite the OTR plugin to use pure-python-otr 2013-08-04 15:30:03 +02:00
mathieui
feb101f158 Fix some refresh quirks 2013-08-04 15:29:43 +02:00
mathieui
416ceddbe4 Add the same pluggable "information element" to the PrivateTab 2013-08-04 15:28:35 +02:00
mathieui
d01f6208d6 If plugins removed the message body in a callback, don’t send it 2013-08-04 14:50:58 +02:00
mathieui
1496876136 Add the name of the plugin when loading it fails 2013-08-04 14:50:58 +02:00
mathieui
e5e63d4725 Prevent messages with typ=0 from being logged
(new typ value)
2013-08-04 14:50:57 +02:00
mathieui
7538093a07 Do not load logs if use_logs is false 2013-08-04 11:21:28 +02:00
mathieui
135ef1b364 Fix a traceback on get_logs 2013-08-04 11:06:05 +02:00
mathieui
decb2bb27e Remove test code added by accident 2013-08-03 19:30:09 +02:00
mathieui
31c2e23c4c Logs errors by default, in a dedicated file
- log_errors option, true by default
- errors go in log_dir/errors.log (so $XDG_DATA_HOME/errors.log
    by default)

This should help a lot for debugging, and provide a way for people
to easily give debug traces without useless or personal infos.
2013-08-03 19:27:25 +02:00
mathieui
c2f6ece39d Fix #2300 (use re.sub in the replace plugin) 2013-08-02 23:59:49 +02:00
mathieui
9c51ea5643 Update CHANGELOG 2013-08-02 23:37:13 +02:00
mathieui
7e618b90f9 Update keys documentation 2013-08-02 23:34:11 +02:00
mathieui
6fbb2f8593 Fix #2317 (/join completion is broken)
Also add an override parameter to new_completion so that the
completion does not care if the list matches the previous input
or not.
2013-08-02 22:00:53 +02:00
mathieui
bb59771d99 Fix #2049 (get the current completed argument)
A command argument can now be completed even if it isn’t the last
one in the input.

- Add a new method Input.new_completion
    Almost like the old auto_completion method, except taht it takes
    another argument: argument_position, which is the argument to be
    completed.
- Methods using the old completion method still work
- All completion methods in poezio now use the new one if necessary
- Further details can be found in the docstring of new_completion
2013-08-01 20:17:12 +02:00
mathieui
2744234d52 Move /clear_infos to /clear for consistency 2013-08-01 12:38:46 +02:00
mathieui
2730d8a2b5 ref #2318 (fix correction when the server doesn’t send back the same ids)
This will only work if the message ids are the same across all
participants…
2013-08-01 01:04:35 +02:00
mathieui
890945d037 Fix #2334 (wrong character length for formatting chars) 2013-07-31 23:56:49 +02:00
mathieui
19135d4a76 Fix #2306 (none, to, and from subscriptions should be more visible)
Added a configuration option and some theme variables.
2013-07-31 23:43:19 +02:00
mathieui
b249dad73d Fix #2341 (/message <bare/resource> doesn’t open a new tab…)
If a tab with the given fulljid is not found, then a new tab
will be opened, even if we are in discussion with the bare jid.
2013-07-30 20:47:12 +02:00
mathieui
cbcac03510 Fix #2335 (crash on /cycle with room without userpart) 2013-07-29 19:31:33 +02:00
mathieui
d64a95bd3b Fix an import broken with the last sleekxmpp update 2013-07-29 07:23:12 +02:00