Commit graph

2062 commits

Author SHA1 Message Date
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
mathieui
33a9f1434f Fix contact removal 2013-07-24 21:34:14 +02:00
Florent Le Coz
9b51377185 Correctly use Py_ssize_t instead of int, fix a segfault on some architectures 2013-07-07 20:25:58 +02:00
mathieui
cae5f64931 Move backwards in the input the same way we move forward (ref #2183) 2013-07-03 00:21:13 +02:00
mathieui
697e311ce7 Fix the repr() of messages for logging 2013-07-01 22:10:30 +02:00
mathieui
8fe39540a4 Fix an issue with roster loading
(why did that even work before)
2013-07-01 17:58:49 +02:00
mathieui
f8aa0f9826 Fix #2329 (display the info buffer in the muclisttab)
also fix some typos in the comments, and a refresh issue with the input
2013-06-30 19:36:32 +02:00
mathieui
bafecae0d3 Clear the XML Tab buffer when closing 2013-06-30 18:57:52 +02:00
mathieui
58cfe571d0 Update the README 2013-06-28 12:50:46 +02:00
Florent Le Coz
18642ceb71 IT’S CAPS LOCK DAY 2013-06-28 11:31:25 +02:00
Florent Le Coz
1a6dbad881 Better comments in poopt 2013-06-27 15:54:19 +02:00
mathieui
ec49a7b05d Ignore errors on PEP publishing (fix #2322)
(since we can’t do anything about them anyway)
2013-06-26 22:49:18 +02:00
Florent Le Coz
1ae7ff10d3 Nicer comments 2013-06-25 01:18:28 +02:00
Florent Le Coz
b7fbfb7f47 Aaaand that’s static 2013-06-25 01:17:20 +02:00
Florent Le Coz
1d9d085d15 Do not open a tab on Enter when searching in the roster
Often, we search people but don’t actually want to open a tab with them
(maybe the users wants to talk to a specific resource, or see the contact’s
status, or things like that)
To open a tab to talk to this contact, the user just need to type Enter twice
2013-06-25 01:10:33 +02:00
Florent Le Coz
f8c0d12750 Workaround for a bug (?) where wcwidth returns -1 for valid printable chars
For example 😆
2013-06-25 01:08:16 +02:00
mathieui
f4a4b79986 fix #2327 (don’t include chatrooms in the roster)
it might be a little slower than before (more checks)
2013-06-24 23:22:42 +02:00
mathieui
b70c154ff6 Fix /w completion 2013-06-24 15:54:39 +02:00
mathieui
6a5423d5f5 Fix #2294 (fix /w priority)
Now each different match has a different priority.
It might need some tuning to have the desired result.
2013-06-22 20:02:11 +02:00
mathieui
6c046fe161 Parse the new log format to display it. (ref #2311)
Archiving old logs is recommended before running this update,
just in case.
2013-06-22 00:17:55 +02:00
mathieui
cf6d317824 Add a documentation page for PEP (and update some commands) 2013-06-20 23:31:14 +02:00
Florent Le Coz
d81568eebe Use a logical order of arguments in the poopt functions, now 2013-06-20 23:28:40 +02:00
Florent Le Coz
ee0c29ada1 Use the correct arguments in PyArg_ParseTuple 2013-06-20 23:26:29 +02:00
Florent Le Coz
7d555a62f2 Little logic change 2013-06-20 23:25:53 +02:00
mathieui
71d98bd577 Add a page on carbons 2013-06-20 22:33:48 +02:00
Florent Le Coz
5b4048000e Use cut_by_columns to properly cut nicks in the UserWin window 2013-06-20 22:30:08 +02:00
Florent Le Coz
da6c11603c Add a poopt function to cut a string by the number of columns it takes 2013-06-20 22:17:43 +02:00