Commit graph

1563 commits

Author SHA1 Message Date
Florent Le Coz
8739662e31 Add a replace plugin. 2012-07-07 04:52:20 +02:00
mathieui
ab14923611 Prevent tracebacks in the mpd_client plugin
Do not traceback when:
    - The song has no album
    - the song has no title
    - the song has no artist
    - the playlist is empty
    - mpd is not playing
2012-07-07 04:39:01 +02:00
Florent Le Coz
d47c31a587 Properly quote the %(body)s and %(from)s used in the simple_notify plugin. 2012-07-05 00:50:47 +02:00
mathieui
73b8addafe Use no_auth instead of failed_auth event
With failed_auth, poezio was showing an error message for each
authentication mechanism tried (3, usually). This commit fixes that.
2012-07-04 00:37:34 +02:00
mathieui
267be566cd Add a new color to the theme, for the warning prompt
- Currently only used by the SSL checking prompt
- fg: black ; bg: red ; bold
2012-07-03 23:50:07 +02:00
mathieui
95b2b299b7 Typo. 2012-07-03 23:07:19 +02:00
mathieui
9bfcb7e2eb Document the certificate handling
- Show the various options
- Optimize the documentation images
2012-07-03 14:35:41 +02:00
mathieui
77e3f8893c Do not reload plugins on reconnection
If the plugins_autoload list was not empty, it caused the plugins to be
reloaded upon each reconnection (with /connect or not). Now it does not.
2012-07-03 13:44:15 +02:00
mathieui
975e0d96b2 Make /status comply with the command args rule
- if there are more args than handled, no message will be set
- fix the 'status' plugin accordingly
2012-07-03 03:55:57 +02:00
mathieui
c3f822e7b2 Remove the duplicated sort_by function in the MUCList 2012-07-03 03:32:12 +02:00
Florent Le Coz
4bc215806b Improve the simple_notify plugin and the daemon to execute a command to clean the notification and to execute the remote commands through sh -c, letting us use pipes and redirections. Also adds the highlight event for plugin, and make the simple_notify plugin use it as well. 2012-07-03 01:59:25 +02:00
mathieui
737c6aae43 Fix a comment in the default config file 2012-06-01 22:46:58 +02:00
mathieui
a7e3814c09 Prevent a crash when the value of custom_port is not expected 2012-06-01 22:46:21 +02:00
mathieui
915dc7fa9d Fix the OTR plugin completion 2012-05-29 12:37:50 +02:00
mathieui
262de9094a Move ^D to ^X 2012-05-29 12:35:03 +02:00
mathieui
cea0d284d9 Change version to 0.8-dev 2012-05-24 23:57:32 +02:00
mathieui
a8947a3a31 Change version to 0.7.5 2012-05-24 23:55:30 +02:00
mathieui
751841814f Documentation update (& images) 2012-05-24 23:46:19 +02:00
mathieui
5e6838fd9f Truncate everything in the roster if needed.
Group names, resources jids, and bare jid/roster name combinations
are now truncated if they are bigger than the window size. If there is
a resource (for a contct) or a number of online contacts (for groups),
it will still be displayed at the end of the line.
2012-05-24 23:11:26 +02:00
mathieui
32f8ada92d Put the personal words in the last words completion (M-/)
(instead of the normal completion)
2012-05-23 16:34:07 +02:00
mathieui
12bd9b589c Add personal words completion - Fixes #1723
This commits adds a “words” variable to the configuration file. This
variable must contain a list of words, separated by colons (:).
Those words will then be completed upon tab completion in the chatrooms,
private conversations, and direct conversations.
2012-05-23 16:25:53 +02:00
Florent Le Coz
e1c7f63a3a Add a few punctuation char to avoid in recent words completion. 2012-05-22 21:12:07 +02:00
mathieui
b36247e7c9 Remove the unused “port” option.
custom_port is already used instead.
2012-05-22 20:04:41 +02:00
Florent Le Coz
3879a91112 Fix the ^I (when pasting) issue correctly this time. 2012-05-21 13:28:38 +02:00
Florent Le Coz
f525bcc1f0 Revert "Do not display ^I when pasting a tabulation char."
This reverts commit 837b46d68b.
2012-05-21 13:28:38 +02:00
mathieui
0af1c7fe9a Docstrings, and small cleanup 2012-05-21 02:14:25 +02:00
Florent Le Coz
837b46d68b Do not display ^I when pasting a tabulation char. 2012-05-20 13:54:38 +02:00
Florent Le Coz
65c2d3dc88 Merge branch 'master' of https://git.louiz.org/poezio 2012-05-20 13:43:53 +02:00
mathieui
51c788ad96 Allow nick completion in the Private tabs as well. 2012-05-19 22:28:30 +02:00
mathieui
dc8b39709f Make the alias plugin behave like documented. 2012-05-19 21:56:13 +02:00
mathieui
c77e2878b8 Do not add a '…' if the nick has the exact same size as the limit 2012-05-17 20:48:46 +02:00
mathieui
fb450a7138 Use a different theme variable for the /me message 2012-05-17 17:28:53 +02:00
mathieui
3411d8ca83 Add a shortcut to go to the first unread message (separator) with M-p 2012-05-17 17:15:15 +02:00
mathieui
0f8a5abdc0 Add an option to always show the separator - Fixes #2240 2012-05-17 16:55:31 +02:00
mathieui
64defba0ae Show subscription changes in the info buffer - Fixes #2234 2012-05-17 16:45:40 +02:00
mathieui
65062754e1 Fix a crash if there are no messages in the room 2012-05-17 14:11:02 +02:00
mathieui
4c0a3fb5a2 Resolves separator persistence problems - Fixes #2073
Now we have to pass the textbuffer object when we want to add a line
separator.
2012-05-17 03:34:04 +02:00
mathieui
0f7bda20b8 Add a way to review room highlights - Fixes #1673
This new features is available with M-p and M-n (previous/next).
It saves the last highlight viewed, meaning that if you scroll in the
buffer, M-n or M-p will take you to the next or previous hl compared to
the one before you started scrolling.

For convenience, going to the previous highlight of the first highlight
will take you to the bottom of the buffer, and going to the next
highlight of the last highlight will do *the same*.

If there are several highlights in one message, only the first line will
be considered a highlight.
2012-05-17 01:00:35 +02:00
mathieui
da30c8c79f Put color in the topic again 2012-05-16 19:50:56 +02:00
mathieui
155914470d Complete the commands differently.
If there is 0 match for the beginning of command, delete the last
letter (over and over) until there is a match, then complete that.
2012-05-16 17:39:14 +02:00
mathieui
1e07cd4f58 Put a space after completion only if there is one (and only one) command 2012-05-16 17:22:13 +02:00
mathieui
1263b9be83 Update the OTR documentation 2012-05-16 16:53:33 +02:00
mathieui
c04f0e9783 Prevent the rooms from going “offline”
Add a blacklist inside the roster that contains the bare JIDs of all the
rooms ever joined in this session, so that no JID using this server will
ever be shown as getting “offline”.

If there is a cleaner way to do that (discriminating JIDs), I welcome it.
2012-05-16 02:01:50 +02:00
mathieui
58a41fe065 Add status code handling - Fixes #2338
Get status codes in presence and message stanzas, and show information
related to them. If the change hinders privacy (logs added, or public
JIDs), then a red “Warning” message is shown instead of the classic
“Info”.
2012-05-16 01:59:32 +02:00
mathieui
e86ecb3a52 Fix the “/bookmark{,_local} *” behaviour 2012-05-14 00:01:19 +02:00
mathieui
ecc40fdc5e Catch a possible exception when trying to retrieve the rgb value in curses
Fixes #2354
2012-05-13 19:01:27 +02:00
mathieui
4d7c01f8d0 Mention exec_remote in the simple_notify plugin help 2012-05-13 18:57:58 +02:00
mathieui
43d43c6931 Add a documentation index 2012-05-13 18:52:34 +02:00
mathieui
5bdbca688c Use add_tab_command in the OTR plugin 2012-05-13 18:46:07 +02:00
mathieui
d949a379a3 Use add_tab_command in the link plugin 2012-05-13 18:45:40 +02:00