Commit graph

1849 commits

Author SHA1 Message Date
mathieui
82e242305d Remove the shell_completion
- completion is normal with no way to change it
(shell_completion was buggy)
- remove it in the default config and in the doc too
2012-07-19 02:09:24 +02:00
mathieui
0de6a197f6 Fix /info (role and affiliation were inverted) 2012-07-19 02:05:43 +02:00
Florent Le Coz
082067afe9 [labedz] Add keys to jump to the next and previous contact in the roster. 2012-07-18 22:30:08 +02:00
mathieui
8317b845d8 Fix /version to find a fulljid when available
And improve the completion in the roster (go to the resources)
2012-07-17 21:56:04 +02:00
mathieui
9322835659 Finally fix the ipv6 issues.
- with reattempt = True & max_attempts = 0
2012-07-13 02:22:25 +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
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
a7e3814c09 Prevent a crash when the value of custom_port is not expected 2012-06-01 22:46:21 +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
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
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
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
28c15a889e Add the ignore_private and private_auto_response options
MUC-specific options.
private_auto_response is empty by default.
+ new event ignored_private
2012-05-12 20:44:38 +02:00
mathieui
5498ad37c8 Prevent iq errors & timeouts on /join completion 2012-05-10 18:22:10 +02:00
mathieui
c0c0b16218 Fixes #2358 2012-05-10 13:22:37 +02:00
Florent Le Coz
0f0efb7ada Avoid a traceback on /close on a non-joined MucTab. fixed #2358 2012-05-10 13:22:05 +02:00
mathieui
dfa8f33c67 Fix the usr join/rejoin when someone gets kicked or banned 2012-05-10 11:00:34 +02:00
mathieui
3dc5c5e5b5 Add a way to execute a custom command with a custom key binding
(+doc)
2012-05-10 01:26:35 +02:00
mathieui
70a724c127 Add new status & bookmarks actions 2012-05-10 01:07:59 +02:00
mathieui
5c327ef232 Allow a config to be set & created directly 2012-05-09 19:17:53 +02:00
mathieui
600af6d5a7 Fix the size of the XMLTab 2012-05-09 00:13:50 +02:00
mathieui
61d23e6da3 Add the possibility to map keys on 'actions' 2012-05-08 19:09:05 +02:00
mathieui
f2377f747b Fix some roster length issues with group folding 2012-05-08 16:14:51 +02:00
mathieui
784e608f66 Fix the duplicate messages when talking to an offline gmail contact 2012-05-07 17:09:32 +02:00
mathieui
1a81466a09 Fix some completions 2012-05-05 19:46:01 +02:00
mathieui
5670304b17 Use COLOR_OWN_NICK whenever possile (Fixes #2318) 2012-05-05 17:32:13 +02:00
mathieui
fcdf98eda2 Add a /ban command, and fix completion & parameters for /kick 2012-05-05 02:07:48 +02:00
mathieui
18ba25fa6b Fix /groupmove 2012-05-04 23:05:36 +02:00
mathieui
91ab569e52 Do not quote the JID for /remove completion 2012-05-04 19:41:59 +02:00
mathieui
7778ad9216 0030 query now says 'Poezio' or nothing for the client’s identity
(Fixes #2273)
2012-05-04 18:52:36 +02:00
mathieui
8fc6e53661 Make the visitor’s color readable (Fixes #2342) 2012-05-04 18:31:36 +02:00
mathieui
3c3750098c Remover leftover unused 'resources' property 2012-04-29 19:17:38 +02:00
mathieui
ffae7e7eb8 Trigger only the 'normal_presence' event if the contact is in the roster 2012-04-28 00:01:35 +02:00
mathieui
24341c8429 Prevent some iteration problems 2012-04-27 23:42:22 +02:00
mathieui
de63a1affd Roster update: Merge branch 'master' of https://git.louiz.org/poezio
Conflicts:
	src/core.py
	src/tabs.py
2012-04-27 23:09:26 +02:00
mathieui
2488216fba Update the ConversationTab 2012-04-27 22:54:11 +02:00
mathieui
3bd893e6b4 Update group commands 2012-04-27 22:53:58 +02:00
mathieui
f71e2a9cb1 Update commmand_add, command_remove, command_accept, and command_deny 2012-04-27 22:41:16 +02:00
mathieui
7c8fe132eb Update the roster search functions 2012-04-27 22:36:58 +02:00
mathieui
2957cded91 Fix the completion for all commands manipulating the roster 2012-04-27 22:34:12 +02:00
mathieui
6743bb5d94 Add the new subscription handlers and update on_message() and disconnect() 2012-04-27 22:30:01 +02:00
mathieui
2c09dcf6b4 Update the got_online, got_offline, and presence handlers 2012-04-27 22:27:34 +02:00
mathieui
02ad8d4f1c New roster attributes and new subscription events 2012-04-27 22:17:32 +02:00
mathieui
774ed40e74 Necessary modifications for the API change 2012-04-27 21:58:31 +02:00
mathieui
725a2245f3 Remove some debug info 2012-04-27 21:09:26 +02:00
mathieui
8c5faa91f2 New Contact and Resource class
Changed from Resource:
    - __init__() takes as a parameter a reference to the sleek dict
    - No more setters, information is directly taken from the sleek
      roster

Changed from Contact:
    - __init__() takes a sleek RosterItem for the contact
    - add_resource() → Ø
    - remove_resource() → Ø
    - get_resource_by_fulljid() → Ø
    - get_nb_resources() → __len__()
    - get_resource_by_fulljid() → __getitem__() or get()
    - No more setters, information is directly taken from the sleek
      roster
2012-04-27 20:50:00 +02:00
mathieui
527e582fb0 New Roster class and new RosterGroup class
Removes for Roster:
    - empty() → Ø
    - get_contact_len() → Ø
    - remove_contact_from_group() → Ø
    - add_contact_to_group() → Ø
    - add_contact() → add()
    - remove_contact() → __delitem__()
    - get_contact_by_jid() → __getitem__()
    - edit_groups_of_contact() → update_contact_groups()

Removes for RosterGroup:
    - has_contact() → __contains__()
    - add_contact() → add()
    - remove_contact() → remove()
    - is_empty() → __len__()
2012-04-27 20:30:05 +02:00
Florent Le Coz
2a3434b1f8 Fix the get_nick issue correctly this time. 2012-04-27 19:40:39 +02:00
Florent Le Coz
4ee3566a74 Avoid a traceback when getting the nick of a converstation with someone not in our roster. fixes #2356 2012-04-26 01:57:46 +02:00
mathieui
2f78a5f2dd Add an autofill for /name in the roster when 'n' is pressed 2012-04-19 17:37:53 +02:00
mathieui
5a1a7a567d Do not quote the plugins on completion 2012-04-19 13:08:35 +02:00
mathieui
46c197ef7f Fixes #2355 2012-04-19 01:33:16 +02:00
mathieui
abe8c0ab71 Add a show_roster_jids option 2012-04-19 00:20:03 +02:00
mathieui
9ddd2481c7 Show the current status in the ContactInfoWin 2012-04-19 00:12:41 +02:00
mathieui
80b1e835b7 Show the contact info in the roster when 'i' is pressed 2012-04-19 00:12:22 +02:00
mathieui
71596ec10b Add a 'v' keybind on the roster to get the version of the selected
resource-s
2012-04-18 23:45:16 +02:00
mathieui
bdcddf56e1 Load xep_0092 even if send_poezio_info is false 2012-04-18 23:07:28 +02:00
mathieui
cc00f44e77 Add a /groupmove command. Fixes #2352
(based on a patch from gio)
2012-04-18 19:42:37 +02:00
mathieui
37e3c1ea29 Fix a small mistake 2012-04-18 19:42:04 +02:00
mathieui
b3c4dd93eb Add new options use_tab_nicks, show_tab_numbers, and show_tab_names
(thanks gio)
2012-04-18 15:55:24 +02:00
mathieui
384f6939cb Add a get_nick method to the tabs 2012-04-18 15:54:52 +02:00
mathieui
6b01e71462 Adda config.getl to return a lowercase value 2012-04-18 15:54:16 +02:00
mathieui
d52f5ba40f Do not quotify completions where it is not allowed 2012-04-18 00:35:24 +02:00
mathieui
609f55a4d7 Quote everything that is completed by default, except commands 2012-04-18 00:23:28 +02:00
mathieui
c2e122d873 Do not split on command_accept as it is unneeded 2012-04-18 00:22:30 +02:00
mathieui
5c06af299e Fix some completions accordingly (name/groupadd/groupremove) 2012-04-18 00:21:53 +02:00
mathieui
1fdb91a983 Split correctly on command_groupremove 2012-04-18 00:18:18 +02:00
mathieui
abd8d30990 Split correctly on command_name 2012-04-18 00:17:46 +02:00
mathieui
3a1a1dcc6d Do not split on command_deny as it is unneeded 2012-04-18 00:17:16 +02:00
mathieui
3138240150 Do not split on command_unignore as it is unnecessary 2012-04-18 00:16:44 +02:00
mathieui
e934d8b513 Do not split on command_ignore as it is unnecessary 2012-04-18 00:16:00 +02:00
mathieui
4ab6a591cf Remove a if not len(list) in command_kick 2012-04-18 00:14:56 +02:00
mathieui
1c18c6e2b5 Do not split on command_part as it is unnecessary 2012-04-18 00:14:08 +02:00
mathieui
d0e0be2dd6 Do not split on command_nick as it is unnecessary 2012-04-18 00:13:44 +02:00
mathieui
dd751ea14d Do not split on command_version as it is unnecessary 2012-04-18 00:13:09 +02:00
mathieui
13a9811cf6 Do not split on command_recolor as it is unneeded 2012-04-18 00:11:58 +02:00
mathieui
d049ea7534 Do not split args in command_info as it is not needed 2012-04-18 00:10:57 +02:00
mathieui
22cd80feb5 Refactor command_win a bit 2012-04-18 00:10:10 +02:00
mathieui
54a43ab132 Remove if len(list) in command_theme 2012-04-18 00:09:39 +02:00
mathieui
aef2a905d1 Refactor command_list a bit 2012-04-18 00:09:12 +02:00
mathieui
43b28a1ab0 Replace arg.split with shell_split in command_message 2012-04-18 00:07:51 +02:00
mathieui
406e24dcff Remove if len(list) in command_help 2012-04-18 00:07:22 +02:00
mathieui
265702b150 Add a way to bookmark all the rooms at once
(/bookmark * or /bookmark_local *)
2012-04-15 23:55:50 +02:00
mathieui
941acdb612 Fixes #2350 (reloading static resources on SIGHUP) 2012-04-02 18:30:06 +02:00
mathieui
4cf1acd9e4 Fixes #2349 2012-04-02 17:09:11 +02:00
mathieui
a6187895c7 Do not show the traceback if unloading a plugin failed 2012-03-31 01:28:11 +02:00
mathieui
372b032380 Should fix the refresh issue 2012-03-30 15:57:43 +02:00
mathieui
791bcf19b1 Fixes #2347 2012-03-28 23:08:31 +02:00
mathieui
b1cbbc62c8 Remove some useless refreshs 2012-03-26 15:26:03 +02:00
mathieui
418b800ad7 Do not add stanzas to the xml_tab buffer unless there an is active one 2012-03-25 14:37:40 +02:00
mathieui
3734304091 Fixes #2343 2012-03-17 13:33:00 +01:00
mathieui
c6e4358706 Fix bookmarks 2012-03-13 21:39:06 +01:00
mathieui
5ce8105ec6 Fix /affiliation 2012-03-13 21:31:36 +01:00
mathieui
27a7bfc92c Add a whitespace_interval option 2012-03-13 18:46:02 +01:00
mathieui
6d2af1116c Fix a bug in plugin unloading (commands/keys not deleted properly) 2012-03-09 23:24:29 +01:00
mathieui
4f423f1e3a Fixes #2339 2012-03-09 22:45:41 +01:00
mathieui
163efe809a Bring back /set completion 2012-03-09 22:01:28 +01:00
mathieui
5c412a66b8 Add a ca_cert_path option 2012-03-09 00:48:49 +01:00
mathieui
9d42ebdf2e Validate the SSL cert using the TOFU (Trust On First Use) model 2012-03-08 22:39:30 +01:00
mathieui
13a269d6b2 Fix a bug in the configuration writer 2012-03-08 22:38:26 +01:00
mathieui
0e18a7bc05 Fix the behaviour of /join 2012-03-07 18:07:29 +01:00
mathieui
b62940372f Fixes #2340 2012-03-07 17:46:11 +01:00
mathieui
232bc999d8 Fixes #2341 (also for /server_cycle) 2012-03-07 17:36:40 +01:00
mathieui
c04d194ad0 Fix a crash on completion_affiliation 2012-03-01 19:37:09 +01:00
mathieui
63805e59f6 Fixes #2327 (used "seconds" instead) 2012-02-29 20:31:46 +01:00
mathieui
73c8206cc7 Fourth of #2336 (fixes #2336) 2012-02-25 18:58:33 +01:00
mathieui
a1cc350f77 Second and third of #2336 2012-02-25 02:53:16 +01:00
mathieui
a98cb42cf0 First of #2336 2012-02-25 02:52:48 +01:00
mathieui
b7cbe7d392 Fixes #2334 2012-02-24 02:22:02 +01:00
mathieui
ce1c6e4ec6 Fixes #2333 2012-02-24 01:38:51 +01:00
mathieui
ae6fa61b84 Fixes #2332 2012-02-23 18:13:41 +01:00
mathieui
fb9767a803 ^S → half-screen up 2012-02-19 22:29:40 +01:00
mathieui
687b9106e7 Revert a regression on the conversation_msg event 2012-02-19 22:24:10 +01:00
mathieui
762bd953cb Add some new events for the plugins 2012-02-16 02:24:54 +01:00
mathieui
55788f6127 Add half-page scrolling (C-u / C-d) 2012-02-16 00:24:18 +01:00
mathieui
8478641ad0 Add shortcuts to browse the history one line at a time
(C-b / C-f)
2012-02-16 00:04:59 +01:00
mathieui
c7da566f0a Fixes #2324 2012-02-15 23:01:50 +01:00
mathieui
6f34260d89 Disconnected tabs remain visible until closed or rejoined
Fixes #2314
2012-02-15 22:18:18 +01:00
mathieui
a78fb1f62d Do not show joined tabs on startup
and put 0 priority to disconnected tabs
2012-02-15 21:47:09 +01:00
Florent Le Coz
695a7ebeba Merge branch 'master' of https://git.louiz.org/poezio 2012-02-15 20:10:00 +01:00
Florent Le Coz
28d790717f Add an option to configure the max nick length 2012-02-15 20:05:38 +01:00
mathieui
b89cd8fd83 Fixes #2303 (add user_list_sort option) 2012-02-14 11:49:09 +01:00
mathieui
0f5ba0a711 Fixes #2310 2012-02-14 02:53:31 +01:00
mathieui
560390793d Add 'joined' tab state, and rewrite the function handling the priorities 2012-02-14 00:33:29 +01:00
mathieui
af11058129 Fix a traceback when in debug mode 2012-02-13 20:01:11 +01:00
mathieui
be5ccce421 Useless option ssl=True (deprecated & unused) 2012-02-13 14:04:23 +01:00
mathieui
ed4f74faf1 Allow setting the affiliation of a JID, and add outcast affiliation
(also, remove the reason of the affiliation change for the time being)
2012-02-12 00:51:01 +01:00
mathieui
f76959c78c Restrict nick change for gmail users because gmail.com is buggy 2012-02-09 17:45:28 +01:00
mathieui
f96c895a8d New unified /set command (fixes #2323) 2012-02-09 16:13:45 +01:00
mathieui
6df406b7c1 Config.write_in_file() now works as expected
(can add sections, add inexistant options, and edit in place)
2012-02-09 15:45:18 +01:00
mathieui
42c8deb9e1 Remove some debugging prints 2012-02-09 11:08:14 +01:00
mathieui
93c17f8ece Fixed #2328 2012-02-07 21:47:40 +01:00
mathieui
5593fabe6c Log the private messages sent 2012-02-05 16:38:40 +01:00
mathieui
e74a640fdd Do not crash when given a link without text
(e.g <a href="example.com"/>)
2012-01-30 01:10:41 +01:00
Florent Le Coz
c9c066ae33 [Link Mauve] Add the ability to send and receive Attention (XEP-0224). 2012-01-27 19:13:04 +01:00
Florent Le Coz
dde7875d2c Merge branch 'master' of https://git.louiz.org/poezio 2012-01-27 18:27:31 +01:00
Florent Le Coz
e8b0c302fe Typo. 2012-01-27 18:26:33 +01:00
mathieui
d77e79cd6b Fixes #2312 (delay element in normal conversations) 2012-01-26 21:23:14 +01:00
mathieui
bbcd9c631c Add an auto_reconnect option 2012-01-26 17:21:13 +01:00
Florent Le Coz
7433510470 Merge branch 'master' of https://git.louiz.org/poezio
Conflicts:
	src/theming.py
	src/windows.py
2012-01-26 10:08:43 +01:00
Florent Le Coz
a3344b11b2 Handle autojoin="1" for bookmarks. 2012-01-26 10:05:37 +01:00
Florent Le Coz
d6989db025 Make /theme error more descriptive 2012-01-26 10:05:37 +01:00
Florent Le Coz
fc6db466f5 New participant list. Displaying the nick color, the affiliation, role, chatstate and status! 2012-01-26 10:05:37 +01:00
Florent Le Coz
7512001612 Make the color for information messages themable 2012-01-26 10:05:37 +01:00
Florent Le Coz
5924cd4a13 Remove all the .replace('"', '\\"') which are useless since the new
way to express colors in messages.
2012-01-26 10:05:36 +01:00
Florent Le Coz
7d5fa2a316 Fix the comments in the theming.py file 2012-01-26 10:05:36 +01:00
Florent Le Coz
e17b70e285 Display colors for /me messages in a better way. 2012-01-26 10:05:36 +01:00
mathieui
3d7d7425ee Do not quotify topic completion 2012-01-26 10:05:36 +01:00
mathieui
2240916efe Fixes #2319 2012-01-26 10:05:36 +01:00
mathieui
88f7e690bd Fix the alias plugin 2012-01-26 10:05:36 +01:00
Florent Le Coz
83abd9f196 Add a simple_notify plugin
And also fix some issues, like the split of the exec_command arguments.
And the doc for the plugin, too.
2012-01-26 10:05:35 +01:00
mathieui
13430de1f4 Fix the resize issues with the /configure tab 2012-01-26 10:05:35 +01:00
mathieui
765f1807a9 Fix various issues with the /configure tab
Vertical tab list, text not erased from previous tab
2012-01-26 10:05:35 +01:00
mathieui
adf3cfe694 Fix a little incoherence in /query 2012-01-26 10:05:35 +01:00
mathieui
91698b6f1b Fix the completion for /decline and /invite 2012-01-26 10:05:35 +01:00
mathieui
f1fae6b387 Add a /invites command 2012-01-26 10:05:34 +01:00
mathieui
825d5a6dd1 Beep when receiving a MUC invitation (by default) 2012-01-26 10:05:34 +01:00
Florent Le Coz
3d9193509e Make non-remote commands work. 2012-01-26 10:05:34 +01:00
Florent Le Coz
fe00f0eb23 ALWAYS display affiliation or role changes, in MucTabs. fixes #2309 2012-01-26 10:05:34 +01:00
Florent Le Coz
edf2392fcf Avoid a traceback on focusing a PrivateTab from a MucTab we already left. fixed #2308 2012-01-26 10:05:34 +01:00
mathieui
0d5b96fd8d Improve /names command 2012-01-26 10:05:34 +01:00
Florent Le Coz
ef72674102 Add manfraid to thanks section. 2012-01-26 10:05:33 +01:00
Florent Le Coz
cf1cdd1834 Fix sorting columns when a room has no name. (we use '' instead of None) 2012-01-26 10:05:33 +01:00
Florent Le Coz
5fe3c49d40 /recolor random works correctly. 2012-01-26 10:05:33 +01:00
manfraid
73e9d83711 Fixe 2104 2012-01-26 10:05:33 +01:00
Florent Le Coz
94140aba91 Fix a crash on empty command in muclisttab 2012-01-26 10:05:33 +01:00
mathieui
80047cdebe Fixes #2241 2012-01-26 10:05:33 +01:00
Florent Le Coz
23fa1df9ed show_tab_names option lets you display the name of the tabs in the horizontal bar 2012-01-26 10:05:33 +01:00
mathieui
8eea23f7d7 Fix a traceback when using ^W with xhtml-im
(it does not work perfectly as it should, but it doesn’t crash anymore, at least)
2012-01-26 10:05:32 +01:00
mathieui
4d7a11e238 Add an XML tab (/xml_tab) to view incoming/outgoing stanzas
Fixes #2074
2012-01-26 10:05:32 +01:00
mathieui
a1575237fd Python 3.0/.1 compatibility 2012-01-26 10:05:32 +01:00
mathieui
3d879a6677 Curses operations must operate within the lock 2012-01-26 10:05:32 +01:00
Florent Le Coz
8e2e1fcd4e We can now configure each conversation independently, for some options.
Fixed #2039.
2012-01-26 10:05:32 +01:00
mathieui
17fdd5d606 Fixes #2316 2012-01-25 18:14:07 +01:00
mathieui
7ba6061362 Add affiliation chars in the theme 2012-01-25 17:51:11 +01:00
Florent Le Coz
561af013b1 New participant list. Displaying the nick color, the affiliation, role, chatstate and status! 2012-01-24 17:07:04 +01:00
Florent Le Coz
99a16f2b86 Make the color for information messages themable 2012-01-24 15:46:51 +01:00
Florent Le Coz
1f7db8cfaa Remove all the .replace('"', '\\"') which are useless since the new
way to express colors in messages.
2012-01-24 15:18:08 +01:00
Florent Le Coz
09f16804a3 Fix the comments in the theming.py file 2012-01-24 15:17:54 +01:00
Florent Le Coz
c1dd012b7a Merge branch 'master' of http://git.louiz.org/poezio 2012-01-24 14:49:58 +01:00
Florent Le Coz
7425231f47 Display colors for /me messages in a better way. 2012-01-24 14:49:03 +01:00
mathieui
d4ec0ba442 Do not quotify topic completion 2012-01-21 00:06:18 +01:00
mathieui
1f9a6f5883 Fixes #2319 2012-01-15 16:40:49 +01:00
mathieui
92d96f3f36 Fix the alias plugin 2012-01-11 18:13:32 +01:00
Florent Le Coz
5fee56440c Add a simple_notify plugin
And also fix some issues, like the split of the exec_command arguments.
And the doc for the plugin, too.
2012-01-10 16:30:59 +01:00
mathieui
62c4f67ea5 Fix the resize issues with the /configure tab 2011-12-29 18:55:43 +01:00
mathieui
3c4b2e9683 Fix various issues with the /configure tab
Vertical tab list, text not erased from previous tab
2011-12-28 23:32:23 +01:00
mathieui
4c5c3101a2 Fix a little incoherence in /query 2011-12-19 17:19:18 +01:00
mathieui
08b374cb29 Fix the completion for /decline and /invite 2011-12-18 20:43:40 +01:00
mathieui
2ed6b20594 Add a /invites command 2011-12-18 20:35:19 +01:00
mathieui
9e7842d014 Beep when receiving a MUC invitation (by default) 2011-12-18 20:16:19 +01:00
Florent Le Coz
0b2037a67c Make non-remote commands work. 2011-12-15 20:29:20 +01:00
Florent Le Coz
a6b1a1d4d8 ALWAYS display affiliation or role changes, in MucTabs. fixes #2309 2011-12-12 20:31:05 +01:00
Florent Le Coz
df6a8a0cc3 Avoid a traceback on focusing a PrivateTab from a MucTab we already left. fixed #2308 2011-12-12 20:04:39 +01:00
mathieui
1b30cd09a7 Improve /names command 2011-12-10 16:36:18 +01:00
Florent Le Coz
3958b112ad Add manfraid to thanks section. 2011-12-09 14:06:57 +01:00
Florent Le Coz
a25b39777c Fix sorting columns when a room has no name. (we use '' instead of None) 2011-12-09 13:56:55 +01:00
Florent Le Coz
77ecd70274 /recolor random works correctly. 2011-12-09 13:56:55 +01:00
manfraid
02099123b0 Fixe 2104 2011-12-09 13:56:55 +01:00
mathieui
0954c12a07 Add a /remove_bookmark command 2011-11-28 16:28:44 +01:00
mathieui
5abf8ab3ae Add a /bookmarks command 2011-11-28 16:09:44 +01:00
mathieui
72eeba42a2 Fix the informations displayed on /bookmark and /bookmark_remote 2011-11-28 16:02:30 +01:00
mathieui
4bab9d4216 Some function rewriting and docstrings for bookmark.py 2011-11-27 20:24:44 +01:00
mathieui
a257681b9f Add a Bookmark.local() method for local bookmarks 2011-11-27 17:46:20 +01:00
mathieui
24b9931b8b It would be silly to erase the remote bookmarks when we just want not to use them 2011-11-27 17:38:01 +01:00
mathieui
96a9a88384 Add a new option 'use_remote_bookmarks' to force local bookmarks if
needed
2011-11-27 13:02:08 +01:00
mathieui
ea0f191555 Fix a tb in save_local() 2011-11-27 12:59:06 +01:00
mathieui
fe06d58e74 Completion for /bookmark and /bookmark_local 2011-11-26 23:29:39 +01:00
mathieui
f1a637f24b Add a new /bookmark_local command (that acts like the old one)
And modify the /bookmark command to send bookmarks online
2011-11-26 23:28:42 +01:00
mathieui
d2726c8892 Adapt the startup to the new bookmarks system 2011-11-26 23:27:42 +01:00
mathieui
4ce8721c3d Default to privatexml instead of pep for bookmarks storage
(since private xml sadly has a better support)
2011-11-26 23:26:15 +01:00
mathieui
97aaeb1d13 Load the XEP-0048 plugin on startup 2011-11-26 23:09:51 +01:00
mathieui
2ff8e40c22 Add stanza generators for the <storage/> element 2011-11-26 23:09:03 +01:00
mathieui
68c0ddeb29 Add save() methods to save bookmarks in every way 2011-11-26 23:08:41 +01:00
mathieui
1d5b331663 Add get_ methods to retrieve bookmarks locally/w/pubsub/privatexml 2011-11-26 23:07:31 +01:00
mathieui
2f5ecf24b7 Add a parser from xml Element to Bookmark 2011-11-26 23:06:11 +01:00
mathieui
64b8970d25 Enhance the Bookmark class 2011-11-26 23:05:09 +01:00
mathieui
2eaa540589 Add a Bookmark class 2011-11-26 15:47:41 +01:00
Florent Le Coz
bab0a143a3 Fix an error on data_forms tab 2011-11-25 22:13:20 +01:00
Florent Le Coz
67419b4a7f Fix split of args for /groupadd 2011-11-25 21:54:40 +01:00
Florent Le Coz
bbda0b7481 Fix /me in history messages in a better way. 2011-11-25 12:07:22 +01:00
Florent Le Coz
587bd44f9b Fix something with /me etc. 2011-11-25 12:02:03 +01:00
Florent Le Coz
b7f05a8aaf /recolor now reloads OWN_NICK_COLOR from the theme, and also add an
option to make /recolor choose random colors for others’ nicks.
2011-11-25 11:54:15 +01:00
Florent Le Coz
06156c3b77 Use the nick color for the “*” char in /me messages. 2011-11-25 11:42:50 +01:00
Florent Le Coz
bb22b39d55 /me now works in all chatabs
fixes #2302
2011-11-25 11:42:50 +01:00
Florent Le Coz
72c634aaea fixes #2270 2011-11-25 11:42:50 +01:00
Florent Le Coz
ac2b71e1ed Add the F4 key to toggle the left panel. 2011-11-25 11:42:50 +01:00
mathieui
42e9e29845 Add a /decline command 2011-11-24 23:03:43 +01:00
mathieui
77b386d0f1 Handle invitations (and do not show them as a message) 2011-11-24 23:03:43 +01:00
mathieui
cd9684043f Add a /invite command 2011-11-24 23:03:43 +01:00
mathieui
5e05ede948 Increase the size of the information buffer (20 is not enough) 2011-11-24 20:34:12 +01:00
mathieui
aa342ca341 Add a way to scroll up and down the information buffer 2011-11-24 20:33:52 +01:00
mathieui
a360588fa0 Fixes #2301 2011-11-24 14:28:34 +01:00
mathieui
c48e9ff582 Fixes #2299 2011-11-24 13:36:54 +01:00
mathieui
0206920a10 Fixes #2298 2011-11-24 13:30:48 +01:00
Florent Le Coz
8918163609 Nick completion doesn’t add a space after 2011-11-23 19:48:19 +01:00
Florent Le Coz
52fd54d2ff Remove this usell ++-- from poopt 2011-11-23 19:48:12 +01:00
Florent Le Coz
592d4fa300 Plugin API: add a method to put text in the input. 2011-11-23 09:09:15 +01:00
Florent Le Coz
fa9ea5d168 Use almost all available 256 colors for nick colors
(only colors that look too much like white or black are not used)
2011-11-23 09:08:02 +01:00
Florent Le Coz
97f7877ddb May improve some performance, but should be unnoticeable. 2011-11-20 00:42:13 +01:00
Florent Le Coz
f895d4a2f9 Restaure try: except: on derwin 2011-11-19 18:23:58 +01:00
mathieui
9361b12ce2 Add a simple args parser for commands in common.py 2011-11-18 23:35:11 +01:00
mathieui
6ef488ae80 Add some __doc__ to the parse from/to str/secs methods 2011-11-18 23:34:38 +01:00
Florent Le Coz
2d4d8e3f1c Restaure the enter key on contacts in the roster.
Don’t know why I broke that…
2011-11-18 20:03:16 +01:00
Florent Le Coz
abcd05d74b Restaure Ctrl+Enter -> \n 2011-11-18 19:34:38 +01:00
Florent Le Coz
7dd8691f8c Pasting text is now handled has one single big key.
This avoids looping over each char we are pasting, making it
a lot faster (actually, should be instant).
2011-11-18 19:14:07 +01:00
Florent Le Coz
18dbc880e1 Do not try to interpret keys as key shortcuts when pasting text.
Avoiding, for example, nickname completions when pasting a text containing
the \t char. Also, pasting is a little because it doesn’t search an associated
command for each pasted char. AWESOME.
2011-11-18 18:28:07 +01:00
Florent Le Coz
27e587118b Merge branch 'master' of http://git.louiz.org/poezio 2011-11-16 20:43:17 +01:00
Florent Le Coz
b2c84055df Add a vertical separator between the vertical tab list and the rest 2011-11-16 20:42:33 +01:00
mathieui
24ba3b6ed9 Add CHAR_CHATSTATE_* to the available theme options 2011-11-16 11:25:20 +01:00
mathieui
75f7d71080 Use os.path.expanduser to interpret '~' for _dir config options 2011-11-16 09:46:09 +01:00
mathieui
f40f5cb6c2 Add a wrapper for RawConfigParser.options() in PluginConfig 2011-11-16 09:44:07 +01:00
Florent Le Coz
c5b15c8119 Disable horizontal tab list when vertical one is enabled. 2011-11-16 03:10:37 +01:00
Florent Le Coz
a40199d8ef Add an option to display vertical tabs from bottom to top. 2011-11-16 02:23:40 +01:00
Florent Le Coz
1777d7414d Document the two new options. 2011-11-16 02:09:30 +01:00
Florent Le Coz
d67ec3278a Add an optional vertical tab list. 2011-11-16 02:09:30 +01:00
mathieui
9a32229d0b Add the 's' modifier (allow a string to be "50s1d1d4m1s") 2011-11-15 21:37:04 +01:00
mathieui
d6ceb78c82 Also parse strings with only seconds properly 2011-11-15 21:25:28 +01:00
mathieui
50b4b4989a Some utility functions to go from/to seconds/strings 2011-11-15 21:21:01 +01:00
mathieui
5c47b735b3 Should avoir connecting on port -1.
Fixes #2289
2011-11-15 19:41:49 +01:00
mathieui
c7ba8fd5b6 Fixes #2264 2011-11-15 19:37:59 +01:00
mathieui
e8837e252f Fixes #2292 2011-11-15 19:15:06 +01:00
mathieui
68aa832a49 Use Theme.CHAR_STATUS whenever it is possible
Fixes #2293
2011-11-15 19:07:57 +01:00
mathieui
0fe7061eb5 Fixes #2294 2011-11-15 18:48:09 +01:00
mathieui
4208920f42 Fixes #2279 2011-11-15 01:42:24 +01:00
mathieui
6e35dcf612 Fix PluginConfig.set 2011-11-14 20:45:59 +01:00
mathieui
e4634b9095 Completion for /version 2011-11-14 20:05:41 +01:00
mathieui
e4dccc8d8f Fix priority for command completion
(tab command > core command)
2011-11-14 20:05:13 +01:00
mathieui
a5f115a6e2 Fix Plugin.config.get to use the right section instead of Poezio 2011-11-14 00:45:15 +01:00
mathieui
338a4b5717 Add a way for a plugin to add a keybind only for a type of tab 2011-11-13 20:17:33 +01:00
mathieui
39fcd9a4f6 Allow a plugin to add a keybinding 2011-11-13 19:43:31 +01:00
mathieui
ba7ee1d76c Tweak auto_completion in order to add quotes only when needed 2011-11-13 18:45:44 +01:00
mathieui
587a74df6e Fix the completion with space-separated items
Fixes #2261
2011-11-13 18:37:17 +01:00
mathieui
34511797a9 Completion for /nick 2011-11-13 17:36:16 +01:00
mathieui
6af593f44b Completion for /info 2011-11-13 16:31:03 +01:00
mathieui
ed53ab4edf Completion for /query (re-uses /ignore) 2011-11-13 16:29:36 +01:00
mathieui
552c504559 Completion for /affiliation 2011-11-13 16:28:11 +01:00
mathieui
3ddbac5e47 Completion for /role 2011-11-13 16:25:11 +01:00
mathieui
23f5ee5e11 Fix /kick with nicks with spaces in it 2011-11-13 16:21:27 +01:00
mathieui
33f8efd772 Completion for /kick 2011-11-13 16:21:15 +01:00
mathieui
283b258d4e Completion for /ignore 2011-11-13 16:15:34 +01:00
mathieui
8f826388f0 Completion for /export and /import 2011-11-13 16:11:39 +01:00
mathieui
1fd21bc783 Completion for /server_cycle 2011-11-13 15:43:40 +01:00
mathieui
9d575afbf8 Completion for /message (re-uses the completion for /version) 2011-11-13 15:38:32 +01:00
mathieui
48679cb703 Completion for /theme 2011-11-13 15:33:17 +01:00
mathieui
97ac583aac Completion for /set_plugin 2011-11-13 15:27:21 +01:00
mathieui
23a9d88ce2 Completion for /set 2011-11-13 15:20:11 +01:00
mathieui
8cf237680b Completion for /bookmark 2011-11-13 15:12:52 +01:00
mathieui
98c342c1d4 Completion for /version 2011-11-13 14:34:45 +01:00
mathieui
30b9827a27 Move /clear to the chattab instead of the muctab 2011-11-13 14:31:11 +01:00
mathieui
6dfc2ef9b5 Completion for /presence 2011-11-13 14:28:25 +01:00
mathieui
1efdfcd566 Fix some incoherences and possible bugs with PluginConfig objects 2011-11-13 00:58:16 +01:00
mathieui
aac980cd4c Add a /set_plugin command 2011-11-13 00:57:54 +01:00
mathieui
4b02b1a812 Fix add_tab_command (and remove) 2011-11-13 00:25:30 +01:00
Florent Le Coz
e677a5bec1 When we receive a message, open a tab with the concerned FULL jid. 2011-11-12 06:09:22 +01:00
Florent Le Coz
a1096281e0 Fix an tb because the get_jid method was changed. 2011-11-12 06:02:05 +01:00
Florent Le Coz
9e8706a2e8 a plugin can now add informations in ConversationTab’s InfoWin. And the GPG plugin does that. 2011-11-12 05:48:29 +01:00
Florent Le Coz
744af2459d Add three new events to modify a message JUST before we send it. It is NOT safe, and the doc says that pretty clearly. It is used to encrypt messages just before sending them (this way we can remove ALL potential in-clear bodies). 2011-11-12 03:42:07 +01:00
Florent Le Coz
3dda32ea5b Do not ignore presence coming from a JID not in our roster. 2011-11-12 02:46:44 +01:00
Florent Le Coz
0c7674efb1 New event: send_normal_presence 2011-11-12 02:40:24 +01:00
mathieui
4d5e2d21a4 /xhtml command, Fixes #2237 2011-11-12 00:00:17 +01:00
mathieui
632175b79f Fix the xhtml parser (do not add wrong colors) 2011-11-11 23:55:31 +01:00
mathieui
1cca4b8a1f /rawxml command 2011-11-11 22:58:48 +01:00
mathieui
101b20724f Fix a refresh issue in the ConversationTab on status change 2011-11-11 22:45:44 +01:00
mathieui
b13f8786cf Modify /presence 2011-11-11 22:36:43 +01:00
mathieui
e53446a7b2 Add a /presence command for directed presences 2011-11-11 22:15:04 +01:00
mathieui
0cfe87a9a6 Fix a (possible) traceback on /remove 2011-11-11 22:13:51 +01:00
mathieui
ea5692544a Fixes presence handhake 2011-11-11 21:49:27 +01:00
mathieui
0cb9a5a61f Fixes #2271 2011-11-10 21:12:33 +01:00
mathieui
fde8a8a1c9 Fixes #2231 2011-11-10 20:59:55 +01:00
mathieui
80edd248ec Make custom_host and custom_port work better 2011-11-10 17:20:25 +01:00
mathieui
bd2d1caa0a Autoload plugins in session_start instead of core.__init__ 2011-11-10 17:06:28 +01:00
mathieui
eaced10c16 Also, do not crash when receiving a message from someone who is not a
contact
2011-11-10 15:26:34 +01:00
mathieui
5c12216392 Also in the DataFormTab 2011-11-10 15:17:30 +01:00
mathieui
628ff3b0d9 Add per_tab_type commands for the plugins 2011-11-10 14:39:19 +01:00
mathieui
953dc36c47 typo 2011-11-10 11:45:23 +01:00
mathieui
138a0b78cd Forgotten changes 2011-11-10 11:29:36 +01:00
mathieui
e467020e29 Add messages on plugin load/unload 2011-11-09 23:28:01 +01:00
mathieui
4e0c1b0820 New events in the plugins API 2011-11-09 23:17:00 +01:00
mathieui
f55a0c92f2 Do not send chatstates when the contact is offline 2011-11-09 22:34:16 +01:00
mathieui
1f5d104834 -get -set +@property +@property.setter 2011-11-09 22:00:38 +01:00
mathieui
e6663c317c Do not display an empty message when only a chatstate is received
(again).
2011-11-09 21:02:37 +01:00
mathieui
a7ed473437 What. 2011-11-09 18:39:33 +01:00
mathieui
e8e4b0bb4c Plugin docstrings 2011-11-09 18:38:56 +01:00
mathieui
0e10c04cce Fixed a display bug (the info buffer popped even in the RosterInfoTab) 2011-11-09 17:55:43 +01:00
mathieui
aee7baab24 Same as previous commit, but with _say 2011-11-09 14:29:13 +01:00
mathieui
5e840e6437 Give the concerned tab to the _msg handlers 2011-11-09 14:23:38 +01:00
mathieui
cc7f010aed Do not create a private tab when receiving only a chatstate 2011-11-09 14:07:10 +01:00
mathieui
98b9506983 Remove poezio_event_handler to keep only event_handler 2011-11-09 14:02:17 +01:00
Florent Le Coz
cfb074c178 Set version to 0.7.5 and update the changelog 2011-11-09 01:35:27 +01:00
Florent Le Coz
4a961c0dc6 Merge branch 'releases' 2011-11-09 01:34:48 +01:00
Florent Le Coz
23d81901e7 Merge remote-tracking branch 'origin/master' 2011-11-09 01:24:56 +01:00
Florent Le Coz
d3d7b397d0 Remove useless commands 2011-11-09 01:24:45 +01:00
Florent Le Coz
ad0b3b41ec Merge branch 'plugins'
Conflicts:
	README
	src/core.py
	src/tabs.py
2011-11-09 01:23:35 +01:00
mathieui
33b3c7e31a Correct the firstrun message 2011-11-09 00:13:54 +01:00
Florent Le Coz
8fad2f464a Update version to 0.7.2 2011-11-08 23:48:32 +01:00
mathieui
e61f496d29 Edited the help messages of the commands for clarity/consistency 2011-11-08 23:28:29 +01:00
mathieui
08349495af Fix /kick with the optional message 2011-11-08 22:03:33 +01:00
mathieui
95dcaa7fec Forgot those hardcoded values… 2011-11-08 20:51:48 +01:00
Florent Le Coz
d28b70ccd4 Some documentation improvements. 2011-11-08 19:39:52 +01:00
Florent Le Coz
d2c02174c8 /theme takes an optional argument to change the theme directly. 2011-11-08 19:56:46 +01:00
Florent Le Coz
cd0b2681e0 Fix new messages separator when it is a the top of the text window 2011-11-08 02:41:19 +01:00
Florent Le Coz
b3072bd261 Merge branch 'master' into plugins
Conflicts:
	src/tabs.py
	src/xhtml.py
2011-11-08 02:15:57 +01:00
Florent Le Coz
d83eda6fd4 escape <, > and & in xhtml-im bodies. 2011-11-08 02:07:40 +01:00
Florent Le Coz
1ccfd09552 poopt now handles correctly the size of the chars by jumping
the color attributes properly and ignoring their length.
2011-11-08 01:52:39 +01:00
Florent Le Coz
b8b54735c7 Merge remote-tracking branch 'origin/plugins' into plugins 2011-11-08 00:53:31 +01:00
mathieui
c2798ba8de Display actual status message on contact connection instead of
unreadable status type
2011-11-08 00:47:56 +01:00
mathieui
1b06a7d48b Add a warning in case of theme not found, and now unsetting 'theme',
setting it to 'default' or a number of spaces has the same effect
2011-11-08 00:47:56 +01:00
mathieui
9c688795d1 Removed "WARNING" debug messages, because they are irrelevant 2011-11-08 00:47:56 +01:00
mathieui
f2b228e692 Refresh the RosterInfoTab on got_offline and got_online 2011-11-08 00:47:56 +01:00
mathieui
1f0ffa9253 Fix subscriptions (/add → /accept instead of /add → /accept → /accept) 2011-11-08 00:47:56 +01:00
mathieui
b3b5d0229e Move a space (for perfectionnists) 2011-11-08 00:47:56 +01:00
mathieui
8c231287bd Make private join/parts work properly 2011-11-08 00:47:56 +01:00
mathieui
51364f7bea Code cleanup (unused import, variables, undefined names, etc…) 2011-11-08 00:47:56 +01:00
Florent Le Coz
9c5cab09d4 fix the last errors that are in another commit that I don’t want
to cherry-pick.
2011-11-08 00:41:32 +01:00
Florent Le Coz
52599f9b8c use only full color mode when sending messages. Simple color mode should never
be used in any part of the code except inside the input.
(cherry picked from commit 17e5411d8f)

Conflicts:

	src/tabs.py
2011-11-08 00:31:11 +01:00
mathieui
7d6c92ffc6 Add a command /clear_infos 2011-11-08 00:30:53 +01:00
Florent Le Coz
4610a1d6e3 trigger events *_say BEFORE generating the xhtml, making it possible to add colors in the hook
Conflicts:

	src/tabs.py
2011-11-08 00:19:31 +01:00
Florent Le Coz
f13d03c149 poezio_colors_to_html now takes full colors (\x19xxx}) to generate the xhtml code
(cherry picked from commit 2b9a43ce6a)
2011-11-08 00:16:35 +01:00
Florent Le Coz
2404358689 Fix the curses -> html color conversion
(cherry picked from commit 689f17cfd7)
2011-11-08 00:15:41 +01:00
Florent Le Coz
f271ef0620 Add a function to convert ncurses colors to HTML color code.
(cherry picked from commit 04f103b9e6)
2011-11-08 00:15:27 +01:00
mathieui
33997e4356 Should fix day_change plugin 2011-11-08 00:14:44 +01:00
Florent Le Coz
2c9cbc9f58 avoid a crash on invalid colors
(cherry picked from commit 15780364cf)
2011-11-08 00:14:24 +01:00
Florent Le Coz
32a75fd5c7 Trigger conversation_say and private_say only once,
and fix the place where we add the message to the window (before
removing the colors)
2011-11-07 23:49:24 +01:00
mathieui
27f28f2624 Display actual status message on contact connection instead of
unreadable status type
2011-11-07 23:07:32 +01:00
mathieui
0bfabab834 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 21:08:30 +01:00
mathieui
f4201bf754 Add a /plugins command that lists the plugins currently in use 2011-11-07 21:05:41 +01:00
mathieui
7e78353621 Add a warning in case of theme not found, and now unsetting 'theme',
setting it to 'default' or a number of spaces has the same effect
2011-11-07 19:56:59 +01:00
Florent Le Coz
2b9a43ce6a poezio_colors_to_html now takes full colors (\x19xxx}) to generate the xhtml code 2011-11-07 19:56:03 +01:00
Florent Le Coz
60b58301d3 Little cleanup 2011-11-07 19:55:40 +01:00
Florent Le Coz
689f17cfd7 Fix the curses -> html color conversion 2011-11-07 19:55:16 +01:00
Florent Le Coz
36cd91dc9c trigger events *_say BEFORE generating the xhtml, making it possible to add colors in the hook 2011-11-07 19:54:45 +01:00
Florent Le Coz
15780364cf avoid a crash on invalid colors 2011-11-07 19:54:12 +01:00
Florent Le Coz
cd16403cb4 typo 2011-11-07 19:57:16 +01:00
mathieui
153137e5d2 Removed "WARNING" debug messages, because they are irrelevant 2011-11-07 19:38:37 +01:00
mathieui
70a809a7b4 Refresh the RosterInfoTab on got_offline and got_online 2011-11-07 19:28:12 +01:00
Florent Le Coz
953783c200 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 15:15:34 +01:00
mathieui
d6b8ca50f2 Remove first&last and only use "position" in plugins events 2011-11-07 15:09:39 +01:00
Florent Le Coz
41b5497330 Merge branch 'plugins' of https://git.louiz.org/poezio into plugins 2011-11-07 14:57:13 +01:00
Florent Le Coz
54962e6796 Merge branch 'plugins' of /home/louiz/git/poezio into plugins
Conflicts:
	src/core.py
2011-11-07 19:48:16 +01:00
Florent Le Coz
17e5411d8f use only full color mode when sending messages. Simple color mode should never
be used in any part of the code except inside the input.
2011-11-07 19:47:16 +01:00
Florent Le Coz
04f103b9e6 Add a function to convert ncurses colors to HTML color code. 2011-11-07 19:43:13 +01:00
mathieui
1f3fafe155 Add somme triggers 2011-11-07 14:45:08 +01:00
mathieui
10fe12086d Fix subscriptions (/add → /accept instead of /add → /accept → /accept) 2011-11-07 14:33:37 +01:00
mathieui
78174a6eae Move a space (for perfectionnists) 2011-11-07 13:47:23 +01:00
mathieui
452f62ecf4 Actually add the events.py file 2011-11-07 13:06:57 +01:00
Florent Le Coz
8911f85a42 Merge branch 'master' into plugins
Conflicts:
	src/core.py
2011-11-07 01:02:03 +01:00
mathieui
961cf5df85 New type of events to be used with the plugins 2011-11-06 23:46:00 +01:00
mathieui
14c05b2dee Make private join/parts work properly 2011-11-06 21:22:59 +01:00
mathieui
c3c67b5e0a Code cleanup (unused import, variables, undefined names, etc…) 2011-11-06 21:10:09 +01:00
Florent Le Coz
a0404f3077 Fix a crash on empty command in muclisttab 2011-11-06 20:30:41 +01:00
mathieui
fcbe84e5a6 Fixes #2241 2011-12-03 17:51:22 +01:00
Florent Le Coz
cb32f6d30a show_tab_names option lets you display the name of the tabs in the horizontal bar 2011-11-30 23:26:22 +01:00
mathieui
1e8383c3e3 Fix a traceback when using ^W with xhtml-im
(it does not work perfectly as it should, but it doesn’t crash anymore, at least)
2011-11-29 00:18:31 +01:00
mathieui
f92e875611 Add an XML tab (/xml_tab) to view incoming/outgoing stanzas
Fixes #2074
2011-11-29 00:00:47 +01:00
mathieui
4b549406ce Python 3.0/.1 compatibility 2011-11-28 21:27:40 +01:00
mathieui
2f8f4eccb8 Curses operations must operate within the lock 2011-11-28 16:48:02 +01:00
Florent Le Coz
122d700ac3 We can now configure each conversation independently, for some options.
Fixed #2039.
2011-11-28 22:32:44 +01:00
Florent Le Coz
6a0ac419c5 Merge branch 'master' into plugins 2011-11-06 19:24:37 +01:00
Florent Le Coz
0315b05f51 Fix the sending of colors in private.
fixes #2287
2011-11-06 19:22:20 +01:00
Florent Le Coz
07f9fab401 Merge branch 'master' into plugins
Conflicts:
	src/core.py
2011-11-06 17:54:05 +01:00
Florent Le Coz
7d861ee885 Fix another thing related to Room removale 2011-11-06 17:31:56 +01:00
Florent Le Coz
1a57fcc4fa Actually, no, messages are in _text_buffer 2011-11-06 17:20:59 +01:00
Florent Le Coz
aa78a454fb Merge branch 'master' of https://git.louiz.org/poezio 2011-11-06 17:11:55 +01:00
Florent Le Coz
200019574d Use threads RLock to avoid crash on simultaneous refresh and resize.
fixes #2180
2011-11-06 17:08:40 +01:00
Florent Le Coz
b9c6f08a79 Wasn’t that already remove, like, TWICE? 2011-11-06 16:50:10 +01:00
mathieui
8b8128c416 Fixes #2286 (with /info) 2011-11-06 16:27:47 +01:00
Florent Le Coz
16854c39fd Remove a tab._room reference in a plugin API. 2011-11-06 16:01:14 +01:00
Florent Le Coz
6597d83355 Merge branch 'master' into plugins 2011-11-06 16:00:41 +01:00
Florent Le Coz
7bf63c51e2 Fix a remaining crash from the Room class deletion. 2011-11-06 15:57:03 +01:00
mathieui
bf9857b782 Fixes mostly #2285 (no more crashes), but as for why we get an iqerror
when trying to get the version from a full jid……
2011-11-06 15:46:52 +01:00
mathieui
fc20de76ff Should really fix #2284 and some other tbs 2011-11-06 14:38:00 +01:00
mathieui
fbb465a092 Fixes #2284 2011-11-06 14:18:45 +01:00
mathieui
12850ed062 Use Tab.state proxy everywhere, also, use the right color on private
message
2011-11-06 03:57:43 +01:00
Florent Le Coz
9ff6380149 fix variable name, and remove ALL tab._room references. 2011-11-06 03:34:39 +01:00
Florent Le Coz
e3477d7db8 Remove the Room class. fixes #2122 2011-11-06 03:31:47 +01:00
Florent Le Coz
3412c119a9 First part of the “remove the Room class” change 2011-11-06 03:27:56 +01:00
mathieui
e6797c29a5 Smaller means being insane, and even then, it should’nt bug too much
Fixes #2259
2011-11-06 00:15:38 +01:00
mathieui
af6e534578 More @property magic, for transparency 2011-11-05 22:12:55 +01:00
mathieui
25fb35d7e1 Things related to priority, fixes #2266 (imo) 2011-11-05 22:12:03 +01:00
mathieui
a49af71f7c Fixes #2255 with some lambda fun 2011-11-05 21:25:17 +01:00
mathieui
3f08e235a1 Fix some chat states problems (e.g. /dnd sending inactive) 2011-11-05 21:10:16 +01:00
mathieui
038869d2f7 Fix the /kick command 2011-11-05 19:38:03 +01:00
mathieui
4a8ef77839 Partial fix to #2266 and #2255 (removes the idea of "color state" and
adds state, that are computed to the current theme color)
2011-11-05 19:35:24 +01:00
Florent Le Coz
458e853874 Merge branch 'master' of https://git.louiz.org/poezio into plugins 2011-11-05 01:42:50 +01:00
mathieui
a603f46906 Fix a typo that causes a curses TB 2011-11-03 08:57:21 +01:00
Emmanuel Gil Peyrot
dac8a12abf Add a config option that display the nick in join/part/status
change/etc. in that user color. Fixes #2282.
2011-11-01 17:14:43 +01:00
mathieui
ecf3685db6 Fixed #2281 2011-11-01 12:17:17 +01:00
mathieui
611acbeb2a Fixes #2277 2011-10-30 23:18:47 +01:00
mathieui
9d64bd1398 Remove aliases to /status 2011-10-29 17:46:45 +02:00
Florent Le Coz
21f0c8f3f3 Fix the url matching in the link plugin 2011-10-29 17:20:18 +02:00
Florent Le Coz
db1e84d34e Daemon now reads from a pipe and not in the fifo directly 2011-10-29 16:58:36 +02:00
Florent Le Coz
0451127ff8 Merge branch 'master' into plugins 2011-10-29 07:20:10 +02:00
Florent Le Coz
881de6a7c0 add get_conversation_messages for the plugin API 2011-10-29 07:05:19 +02:00
Florent Le Coz
a090b235d7 Make the PluginConfig class heritate the poezio Config
We can use the nice and safe get() method
2011-10-29 07:04:32 +02:00
Florent Le Coz
cb2796abc5 Add a \n when writing the command to the fifo 2011-10-29 07:03:49 +02:00
Florent Le Coz
f8fcf6696d Remove any mention of “coucou” 2011-10-29 05:14:05 +02:00
Florent Le Coz
1303919706 Add the daemon. 2011-10-29 05:13:12 +02:00
Florent Le Coz
7e16ffd9e0 Remote execution.
We can use a fifo to write command, and execute them on the local
machine by running a simple daemon.
2011-10-29 05:11:30 +02:00
mathieui
6d436f570a Fixed a TB on /kick 2011-10-27 21:20:26 +02:00
Florent Le Coz
aa6738800d Fix crash on completion of recent words containing xhtml-im attributes
fixes #2278
2011-10-20 21:55:24 +02:00
mathieui
b29f11ce19 /affiliation command
(without the 'outcast' affiliation ATM)
2011-10-17 21:30:36 +02:00
mathieui
69c6b38894 remove /visitor /participant /moderator and replace them with /role 2011-10-17 21:29:39 +02:00
Mathieu Pasquet
7d392c6093 Typo 2011-10-17 19:07:53 +02:00
mathieui
ad45e89ded User role management in MUC (ie /visitor /particpant /moderator) 2011-10-14 01:32:14 +02:00
mathieui
14702b1806 Fixed some typos 2011-10-11 23:04:40 +02:00
mathieui
2479201b30 Fix the data forms 2011-10-11 23:00:29 +02:00
mathieui
be2d66f8a2 Fixed #2268 2011-10-09 19:54:13 +02:00
Florent Le Coz
e35bf19aed fixes #2263 2011-10-04 18:56:02 +02:00
Florent Le Coz
bfcf20f301 By default, log only critical messages. This avoid
warnings to be displayed on stdout if no debug file was
specified
2011-10-02 21:18:25 +02:00
Florent Le Coz
5ae665b253 Fix completion case-sensitiveness 2011-10-02 17:39:18 +02:00
mathieui
d589896599 Adds a way to delete the commands without reloading the plugin 2011-10-02 13:21:51 +02:00
Todd Eisenberger
b7279678df Frumious hacks to make plugins less likely to kill a client 2011-10-02 00:09:50 -07:00
mathieui
ed87f26db7 Added a connect() function to the plugins API, for internal event 2011-10-01 23:48:42 +02:00
Florent Le Coz
4dfe2229da remove white from the nick colors 2011-10-01 22:47:47 +02:00
mathieui
a5c067fd93 /clear command in MUC 2011-10-02 00:12:22 +02:00
Florent Le Coz
347733804f Do not try to cycle completion on commands if there was only one possibily.
You can now see by the space appended at the end if it was the only one.
It lets you complete arguments without having to add a stupid space after the command name
2011-10-01 20:46:20 +02:00
Todd Eisenberger
d02c764c47 More contact management commands 2011-10-01 05:26:19 -07:00
Florent Le Coz
7683bf92a7 fixed #2258 2011-09-30 17:30:06 +02:00
Florent Le Coz
fdf6a00bbc fixes #2185 completion can be done with the cursor ANYWHERE! 2011-09-30 17:20:36 +02:00
Florent Le Coz
c89d9a3aa4 use getiterator if python < 3.2 2011-09-29 23:19:21 +02:00
Florent Le Coz
90699130b9 ² 2011-09-29 02:08:47 +02:00
Florent Le Coz
e9e15058bd Mais putain 2011-09-29 02:07:45 +02:00
Florent Le Coz
deea31d9b7 merge missing changeset from default into plugin, so both branches are up to date 2011-09-29 00:25:01 +02:00
Florent Le Coz
31cad9a4ac Fix that resize bug AGAIN 2011-09-29 00:19:33 +02:00
Todd Eisenberger
7b8a860de9 Fix loading already loaded plugins 2011-09-27 10:14:18 -07:00
mathieui
ff3c40c5b4 Fixes a bug when the user leaves a MucTab, goes to a privatetab and /join with no args
(it joined the muc, but did not open a new tab)
2011-09-26 10:40:04 +02:00
mathieui
a80338f25b [teisenbe] Make the data forms more usable (highlight of the selected row) + theme colors instead of hardcoded ones 2011-09-26 09:35:58 +02:00
mathieui
4f96907653 Fix the DataFormTab (was broken with the new theming method) 2011-09-26 01:12:15 +02:00
Florent Le Coz
55d624c0ee exec plugin 2011-09-25 21:16:31 +02:00
Florent Le Coz
47c052acf4 Add a send_message() function for plugins 2011-09-25 21:15:00 +02:00
mathieui
c427ce7ac0 Remove /pubsub command 2011-09-25 20:30:23 +02:00
mathieui
6037c4be65 Fix some more presence leaks 2011-09-25 20:28:57 +02:00
Florent Le Coz
c80022e816 merge default into plugins branch. So that branch is still up to date too 2011-09-25 20:12:43 +02:00
Florent Le Coz
d5a013dd6a Fixes the refresh issue when the user of a private conversation leaves/joins 2011-09-25 19:36:08 +02:00
Florent Le Coz
24dda3ff25 and that 2011-09-25 19:31:42 +02:00
Florent Le Coz
7ee5f251d9 Restaure that 2011-09-25 19:30:09 +02:00
Florent Le Coz
8d67fbf133 merge 2011-09-25 19:28:31 +02:00
Florent Le Coz
674f151c38 Default theme is now ok, I think 2011-09-25 19:24:14 +02:00
mathieui
0f7ec35c97 Remove /pubsub command for the time being 2011-09-25 18:25:50 +02:00
Florent Le Coz
412e9c281c Convert 256 colors to 8 if the terminal doesn’t support them 2011-09-25 15:58:27 +02:00
Florent Le Coz
e718682c7f That. 2011-09-25 15:33:05 +02:00
Florent Le Coz
0ee2194d3c Backed out changeset e811b4e21013 2011-09-25 15:32:00 +02:00
Florent Le Coz
b5ce85869b Forgot that… 2011-09-25 15:31:12 +02:00
mathieui
00ed9b4842 [teisenbe] Fix a bug in case of XDG_CONFIG_HOME not set 2011-09-25 03:01:32 +02:00
mathieui
fd99fb32bb [teisenbe] Make the data forms more usable (add color to the labels) 2011-09-25 02:50:03 +02:00
mathieui
b63132d32d remove yet another unneeded call for GlobalInfoBar 2011-09-25 02:43:52 +02:00
mathieui
1a6d903e34 Add a config file to the plugins by default 2011-09-25 02:39:00 +02:00
Florent Le Coz
cac130e754 Autoload plugins 2011-09-24 23:44:52 +02:00
Florent Le Coz
eb096892a9 Completion for load and unload commands 2011-09-24 23:10:55 +02:00
Florent Le Coz
f275567478 [teisenbe] Use the imp module to import modules.
Also add a simple translator module
2011-09-24 22:26:31 +02:00
Florent Le Coz
5ac6b7f8dc tg 2011-09-24 00:10:16 +02:00
Florent Le Coz
c7a0659a1d merge 2011-09-24 00:02:09 +02:00
Emmanuel Gil Peyrot
6f1481e830 Really, really fix whitespace handling. 2011-09-23 23:50:43 +02:00
Emmanuel Gil Peyrot
8f675044b1 Really fix whitespace handling, and malformed CSS. 2011-09-23 23:47:25 +02:00
Florent Le Coz
1ff421075d Do not remove trailing spaces in an XHTML-IM element’s text. 2011-09-23 23:01:13 +02:00
Florent Le Coz
a9d2cf8ff2 make colors work with 3-digits color numbers 2011-09-23 22:50:14 +02:00
Florent Le Coz
b5beb9d8bf Merge branch 256 into master 2011-09-23 21:31:18 +02:00
Florent Le Coz
e3b933445f [teisenbe] first attempt at a plugin system. 2011-09-23 17:43:01 +02:00
Emmanuel Gil Peyrot
8845cdce8e Fix whitespace handling in XHTML. 2011-09-23 00:20:34 +02:00
Emmanuel Gil Peyrot
e37f98aa5d Add support for 256 colors in XHTML messages, and fix a stupid bug with img without @alt. 2011-09-23 00:09:01 +02:00
mathieui
f34d3172a1 Fixes #2251 2011-09-21 17:44:41 +02:00
Florent Le Coz
700b11e42d Handles 256 colors, easier theming and more flexible way to define colors
Doesn’t run yet if term doesn’t support 256 colors, I know
(thus the branch "256")
2011-09-21 00:52:03 +02:00
Florent Le Coz
46705e1861 oh, merge 2011-09-20 21:31:10 +02:00
Florent Le Coz
b9348519bb merge 2011-09-20 21:22:24 +02:00
Florent Le Coz
6debaa6c3f Do not limit the size of the windows, fixes #2246 2011-09-20 21:21:26 +02:00
mathieui
6ec1ca42cc Fixes #2221 2011-09-20 01:27:57 +02:00
mathieui
a3b8452358 Fixes #2245 2011-09-20 00:53:49 +02:00
Emmanuel Gil Peyrot
00e12ccec1 Remove Elinks support and add a pure python XHTML/CSS parser. 2011-09-19 22:41:46 +02:00
Florent Le Coz
324fcf817c And fix the display of the part message in that case 2011-09-17 19:18:49 +02:00
Florent Le Coz
195d461a86 merge 2011-09-17 18:59:32 +02:00
Florent Le Coz
900bf8c97a Fix a bug where the private tabs would pop on the screen when the user parts or join the associated room 2011-09-17 18:59:14 +02:00
Florent Le Coz
02593a265e merge 2011-09-17 14:17:12 +02:00
Florent Le Coz
a8537481ac Refresh only once, not at every refresh() call, after we resized the screen once. 2011-09-17 14:15:31 +02:00
mathieui
f5258c2e92 Cycle on the disconnected tabs with M-e 2011-09-16 23:33:04 +02:00
Florent Le Coz
2484889225 merge 2011-09-16 16:00:59 +02:00
Florent Le Coz
489852a593 Fixes the new-message-separator (I think) 2011-09-16 16:00:33 +02:00
mathieui
a3959bd12c Fixes #2244 2011-09-15 00:15:05 +02:00
Florent Le Coz
c332732d13 Clean a little bit the poopt module, and fix some comments 2011-09-14 13:59:25 +02:00
Florent Le Coz
b33a09f0f6 Keep one bool LESS in each line, YAY, that’s HUGE. 2011-09-13 01:59:50 +02:00
Florent Le Coz
c8d80807c7 fix issues with too long nicknames 2011-09-13 01:55:52 +02:00
mathieui
d1bf1dfa53 Fix the (now rare) tracebacks from curses. 2011-09-12 20:22:12 +02:00
mathieui
455a2746bc Disable the pubsub.louiz.org browser 2011-09-12 20:21:32 +02:00
mathieui
7fd3f9b0fa Fixes #2213 2011-09-12 18:44:19 +02:00
mathieui
1df856969f The active chat state is not sent anymore with a message when being xa or away. 2011-09-12 17:17:49 +02:00
mathieui
e372d2e8bc Refresh properly the display after private part/join 2011-09-12 10:56:38 +02:00
mathieui
7a31299292 Add a color state for disconnected rooms (Fixes #2166) 2011-09-12 10:56:02 +02:00
mathieui
d24b3c4295 PGUP/PGDOWN on muc list (partially fixes #2165) 2011-09-12 01:24:43 +02:00
mathieui
a20b42d2b4 Add an history in the RosterInfoTab (Fixes #2223) 2011-09-12 00:55:00 +02:00
Florent Le Coz
71ed190f30 By the way, that’s version 0.7.2 2011-09-11 20:29:19 +02:00
Florent Le Coz
fa0939622b Fix an issue that breaks the message display if it contains \t 2011-09-11 19:29:14 +02:00
Florent Le Coz
96794a4e49 Change license to zlib (MIT sucks :() 2011-09-11 17:10:05 +02:00
Florent Le Coz
e6622db4ca fix a offset size issue that made the text be cut in too short lines. 2011-09-11 15:19:33 +02:00
Florent Le Coz
b7b1faebdb merge 2011-09-11 04:22:04 +02:00
Florent Le Coz
362ff75e32 fixes crashes on too small size (except on the /configure tab, but that’s an other issue)
fixes #2186
2011-09-11 04:17:17 +02:00
Florent Le Coz
1a485318bf Fix a traceback when a contact not yet accepted goes offline 2011-09-11 03:32:54 +02:00
Florent Le Coz
e84cbf6ba5 Make the roster tab shine when someone added you in her roster 2011-09-11 03:29:27 +02:00
Florent Le Coz
555b915669 w t f
t
f
2011-09-10 20:14:00 +02:00
Florent Le Coz
1ed0581357 cleanup in build_new_message, and very little speedups as well 2011-09-10 20:02:01 +02:00
mathieui
78c216cd61 Added a help message for the first run 2011-09-10 16:41:47 +02:00
mathieui
62233527c5 Fixes #2215 2011-09-10 16:07:29 +02:00
Florent Le Coz
eacf2bf62d Merge changes from default branch, too 2011-09-09 19:13:56 +02:00
Florent Le Coz
eb180ed52e Add (optional) lazy resize, and also fix the screen becoming empty when resizing to a lower width. 2011-09-09 19:12:20 +02:00
Florent Le Coz
fa5b5fc45d Make it work. MAY segfault. Need intensive testing.
Should be A. LOT. FASTER. though.
2011-09-09 18:43:20 +02:00
Florent Le Coz
2e04c5c77e c code that doesn’t work 2011-09-08 17:05:02 +02:00
mathieui
ff6f829e8d Fixes #2235 2011-09-06 21:05:00 +02:00
mathieui
1fcc2ec83c Fixed various things regarding privatetabs:
the room nick is used when it is not defined in the config file (was appearing as a message from the room itself)
connections/deconnections are now monitored (→ Fixes #2233, and thus fixes #2211)
2011-09-06 20:59:11 +02:00
mathieui
6c3b43bb1c Fixes #2236 2011-09-06 17:01:08 +02:00
mathieui
229d64d355 Fixed shell completion 2011-09-06 14:52:17 +02:00
mathieui
70c63691f8 An 'inactive' chat state is now sent to the current room when going away 2011-09-06 14:42:10 +02:00
mathieui
ee8eb0934d Clean up chatstate stuff (removed empty_before), and fixed some bugs 2011-09-06 14:41:12 +02:00
Florent Le Coz
d41634d4ea Change license to MIT 2011-09-06 02:45:53 +02:00
Florent Le Coz
f56295650d merge 2011-09-06 02:31:14 +02:00
Florent Le Coz
a6932c688a Add the /quit command 2011-09-06 02:30:19 +02:00
Florent Le Coz
a808187550 Fix a refresh bug on /query with a message 2011-08-21 01:25:07 +02:00
Florent Le Coz
d917ec5ea2 Do not print a message on the screen on error 2011-08-16 14:53:29 +02:00
Emmanuel Gil Peyrot
84fc61eec4 Show /info in the info window, like /version. Fixes #2225. 2011-08-14 14:49:41 +02:00
Emmanuel Gil Peyrot
12bcb9235f Display the JID of an error sender. Fixes #2218. 2011-08-12 21:24:28 +02:00
Florent Le Coz
94436e075b Fix a tb on invalid show in presence from a muc
(Displays a warning in that case, so that we can laugh about it.)
2011-08-11 23:31:03 +02:00
Florent Le Coz
9426b25902 Fix 2 typos 2011-08-04 17:22:25 +02:00
Florent Le Coz
8da125bbc5 Merge 2011-08-01 00:45:50 +02:00
Florent Le Coz
04f67c1b4e Fix typos in some command help messages. 2011-08-01 00:45:16 +02:00
Florent Le Coz
0866c9eb94 Deactivate the /info command for private rooms until it’s finished 2011-08-01 00:44:32 +02:00
Florent Le Coz
a93069e3a0 Fix the crash on Escape key 2011-07-31 19:03:15 +02:00
Florent Le Coz
c2ba5388a5 Fix a crash on missing completion for /bind 2011-07-18 22:22:13 +02:00
mathieui
f967a81142 Fixes #2220 …… 2011-07-18 22:17:46 +02:00
Florent Le Coz
1a50dd9241 Fix that correctly :) 2011-07-18 00:05:10 +02:00
Florent Le Coz
60a8fe2444 Fix the size of the text area in ConversationTab. fixed #2193 2011-07-15 16:42:13 +02:00
Florent Le Coz
8084e5cd36 /version doesn’t block anymore waiting for the answer. 2011-07-11 20:55:05 +02:00
Florent Le Coz
956bda066b PUBSUB: publish items on node, with a text editor 2011-07-11 02:23:45 +02:00
Florent Le Coz
c03557efd7 Remove useless feedparser import 2011-07-10 18:17:38 +02:00
Florent Le Coz
fa464e4d86 Pubsub browser can display atom element, etc 2011-07-10 18:15:52 +02:00
Florent Le Coz
0327e5aca3 [pubsub] use callbacks to make everything non-blocking.
And add an informative message in the top bar to know what just happened
2011-07-09 18:21:19 +02:00
Florent Le Coz
bd2d63f8a5 Check that all needed config sections are there at startup, and create them if not 2011-07-05 23:48:28 +02:00
Florent Le Coz
d9cc0aac4d Merge these forgotten commits as well. 2011-07-04 22:54:38 +02:00
Florent Le Coz
3dbf9228d8 Merge that too 2011-07-04 22:48:40 +02:00
Florent Le Coz
e24d513c23 Merge pubsub branch to default 2011-07-04 22:44:26 +02:00
Florent Le Coz
1935f5ec23 Remove useless keyboard shortcuts 2011-07-03 02:40:28 +02:00
Florent Le Coz
606360e07c /bind command 2011-07-03 02:24:56 +02:00
Florent Le Coz
a99257ad9a Key bindings \o/ 2011-07-03 02:06:40 +02:00
Florent Le Coz
13f885fb74 merge 2011-06-30 23:23:29 +02:00
Florent Le Coz
8127f66e4d Fix the roster erasing in the refresh() 2011-06-30 23:22:27 +02:00
mathieui
5a5736bb3c Fixes #2220 (that was hard) 2011-06-29 00:13:22 +02:00
Florent Le Coz
b470c7875f Beep() on highlight/message/private-messages (configurable) 2011-06-27 22:01:57 +02:00
Florent Le Coz
d0231331fa Fixed a stupid crash caused by mathieui. Shame on him. 2011-06-25 15:57:07 +02:00
Florent Le Coz
67639847eb Fixed #2190 2011-06-25 15:52:53 +02:00
mathieui
306abbf974 Fixes #1736 2011-06-23 23:33:02 +02:00
Florent Le Coz
4e04c0bb7b Fix receipt of private message. They were seen as comig from the room. 2011-06-23 02:29:34 +02:00
Florent Le Coz
f25013f540 Fix a stupid traceback. 2011-06-21 17:37:30 +02:00
mathieui
7d6a03c9bb /reconnect is too dangerous for retards 2011-06-21 17:17:42 +02:00
Florent Le Coz
76cacb32a6 Enter displays the content of the selected item 2011-06-21 02:43:59 +02:00
Florent Le Coz
0fa3cf756a Reset the cursor position from the item list when node changes 2011-06-21 02:01:23 +02:00
Florent Le Coz
06f4dd783e Nodes can be scrolled and the item list is updated accordingly 2011-06-21 01:58:24 +02:00
Florent Le Coz
511ecf6195 Meta + up and down scrolls the nodes, up and down scrolls the items 2011-06-21 00:10:41 +02:00
Florent Le Coz
ca0b4af364 First pubsub browser iteration: can list root nodes, create an item and receive items 2011-06-20 03:19:37 +02:00
Florent Le Coz
283d06e3c2 Remove a useless refresh (that would make things a little slower) 2011-06-20 00:20:19 +02:00
mathieui
afab9e050f Fixes bug #2183 2011-06-18 18:31:57 +02:00
Florent Le Coz
f4c2438046 Oups. 2011-06-18 16:23:41 +02:00
Florent Le Coz
53ee85ea6d Fix colors in private quit messages 2011-06-18 16:09:34 +02:00
Florent Le Coz
77a2165639 Handler error messages even when not comming from a room 2011-06-18 15:48:19 +02:00
mathieui
c51559b14f Fixes #2209 2011-06-18 14:28:49 +02:00
Florent Le Coz
c93815737f Empty roster on disconnect 2011-06-18 12:52:58 +02:00
mathieui
07ce4dcb10 Fix /connect (and renamed it to /reconnect) 2011-06-18 12:00:28 +02:00
mathieui
da5623094d hopefully fix chat states 2011-06-18 11:17:20 +02:00
Florent Le Coz
dd9186c72a Fix the refresh of the muc info header on new messae 2011-06-15 23:33:29 +02:00
Florent Le Coz
40d445e509 I add a char to show the active and paused chatstates in muc user lists 2011-06-14 22:20:04 +02:00
mathieui
7d82a4fb19 some path.join forgotten causing the config file to be overwritten an not taken into account… 2011-06-04 20:44:14 +02:00
mathieui
e27c6d74ad fix the display of the action 'emptying the status', and some few minor changes 2011-06-04 20:15:18 +02:00
mathieui
fc3f6d936d make command case-insentitive (which means /w 1 works as fine as /W 1) 2011-06-02 17:30:03 +02:00
mathieui
edbd07cf54 Added a /names command 2011-06-02 00:32:42 +02:00
mathieui
aa0c054f9f don’t leak presences with chat states when xa or away 2011-05-29 16:40:41 +02:00
mathieui
c44e182a00 Remove InfoTab references 2011-05-29 16:29:38 +02:00
mathieui
f6d38cbd10 fixes #2121 2011-05-29 16:08:02 +02:00
Florent Le Coz
e0fcaeac86 fixes #2153 Remove the anon-specific tab 2011-05-29 02:15:52 +02:00
Florent Le Coz
8021283e65 Fix some bug due to the new way chars are returned 2011-05-29 02:07:30 +02:00
Florent Le Coz
0db064fdf7 Merge, whatever 2011-05-29 00:35:47 +02:00
Florent Le Coz
8d3053bd93 fixes #2164. Restore multiline messages on paste of big text. That’s now faster and works ~100% of the time (no more message cut in two part for no reason, I think) 2011-05-29 00:35:11 +02:00
mathieui
67881b9779 Fixes #2179 2011-05-28 23:51:58 +02:00
mathieui
1c9fc655dd Fixes #2174 2011-05-27 23:36:52 +02:00
mathieui
2d570a4028 Fixes #2137 (altough it could have been done better) 2011-05-27 23:36:20 +02:00