Commit graph

1849 commits

Author SHA1 Message Date
mathieui
a8ed5bc4e1
Fix /name 2014-11-29 19:12:23 +01:00
mathieui
a0a00d5e7d
Add our own JID to the roster 2014-11-29 18:53:02 +01:00
Florent Le Coz
823e3d178e fix wrong argument name (1/78) 2014-11-25 17:12:47 +01:00
Florent Le Coz
e1808a8455 Parse command arguments using a decorator and make things more consistent
Avoid surprises with some commands accepting quoted arguments and some other
not.

fix #2555
2014-11-25 17:07:45 +01:00
mathieui
61b5c6a91e
Merge branch 'master' of git.poez.io:poezio into slix 2014-11-15 19:20:43 +01:00
mathieui
0eb5c241f0
Fix the color of the first line for offline messages 2014-11-15 19:18:50 +01:00
mathieui
d2bbbbffb9
Merge branch 'master' of git.poez.io:poezio into slix 2014-11-13 23:36:12 +01:00
mathieui
a400bfc1e9
Fix a typo in /unlock help 2014-11-13 21:33:17 +01:00
mathieui
c2f9ffff33
Merge branch 'master' of git.poez.io:poezio into slix 2014-11-12 21:46:18 +01:00
mathieui
20487e46b7
Don’t display a feature check of the remote party if it doesn’t support anything
it’s confusing.
2014-11-12 21:45:52 +01:00
mathieui
5cd854f7cc
Add a stream error handler in order to display error messages 2014-11-02 17:57:03 +01:00
mathieui
1c1ab3cb83
Merge branch 'master' of git.poez.io:poezio into slix
Conflicts:
	src/bookmark.py
	src/config.py
	src/connection.py
	src/core/commands.py
	src/core/core.py
	src/core/handlers.py
	src/windows/info_bar.py
	src/windows/muc.py
	src/windows/roster_win.py
	src/windows/text_win.py
	src/xhtml.py
2014-10-31 19:16:44 +01:00
mathieui
ea2b703bfd
Fix the default value of Config.get to None
Might fix some not-yet-seen bugs
2014-10-31 18:14:56 +01:00
mathieui
f097efd852
Fix some tracebacks on /set completion
(introduced by the automated default arguments of config.get)
2014-10-31 15:54:33 +01:00
mathieui
58b424a923
notify_messages is of course True by default 2014-10-30 22:02:23 +01:00
mathieui
f93f92517d
Use a space instead of a cross while checking features 2014-10-30 21:43:49 +01:00
mathieui
cedc5a6ec8
Fix the ssl check for asyncio 2014-10-30 19:55:19 +01:00
mathieui
616d0d2c73
Fix two potential tracebacks on /set completion 2014-10-29 23:28:20 +01:00
mathieui
29942d38bb
Add some unit tests using py.test
- we need to have more
2014-10-27 20:01:22 +01:00
mathieui
d2ca062eaa
Make the features disco in chat more user-friendly 2014-10-25 16:50:51 +02:00
mathieui
0dc36d9598
Typo 2014-10-22 19:10:40 +02:00
mathieui
9d58c9d32e
Fix #2719 (write/read in the plugin config files even when not loaded) 2014-10-20 23:24:27 +02:00
mathieui
6b8af2413e
Fix #2713 (make /set <option> return the value of the option)
Should work for any case (plugin, different section, etc)
2014-10-20 22:54:00 +02:00
mathieui
7bc5d0de66
Initialize PluginConfig properly 2014-10-20 22:52:41 +02:00
mathieui
b803db7ff6
Make the runtime changes to max_lines_in_memory useful 2014-10-20 21:21:06 +02:00
mathieui
b44dae8fae
If the whitespace_interval value set in the config is null or negative, don’t send any 2014-10-20 21:21:06 +02:00
mathieui
f9734cde56
Remove the (sometimes wrong) default values in the config.get() calls 2014-10-20 21:21:04 +02:00
mathieui
7b01c62e07
Change the API of Config.get_by_tabname
Make the "default" parameter optional and thus move it to the end of
the command with the other optional parameters.

And change all the calls.
2014-10-20 21:20:43 +02:00
mathieui
ece9b2082b
Keep the default config options in a dict and make the “default” parameter of config.get() optional
the Config object now also optionally takes a dict of default values
in its constructor.
2014-10-20 21:20:41 +02:00
mathieui
a9f642f743
Extract XHTML-IM inline imags by default
- Add two new options: tmp_image_dir and extract_inline_images
- tmp_image_dir is $XDG_CACHE_HOME(usually ~/.cache)/poezio/images if unset
- Name the images from a SHA-1 of their data and their mimetype
- Output file:// links inside the message
2014-10-16 18:56:12 +02:00
Florent Le Coz
d4590949f7 Do not ignore empty topics 2014-10-16 10:45:00 +02:00
mathieui
076b899b45
Fix a traceback when the terminal is not behaving as it should 2014-10-14 16:16:11 +02:00
mathieui
545ad1bd71
Merge branch 'master' of git.poez.io:poezio into slix
Conflicts:
	src/core/handlers.py
	src/tabs/xmltab.py
2014-10-14 15:51:30 +02:00
mathieui
5a5d5812ed
Add an open_all_bookmarks option
this option determines if the non-autojoin bookmarks will
be opened on startup or not.

It is false by default.
2014-10-12 23:06:44 +02:00
mathieui
6c62f62402
Color the JID in locking/unlocking messages 2014-10-12 22:34:41 +02:00
mathieui
577d6ea87b
Output the result of the /info command in the MUC window
and not the global info buffer
2014-10-12 22:28:10 +02:00
mathieui
8e29f6d1ff
Add a /dump <filename> command to the XML tab 2014-10-11 16:52:41 +02:00
mathieui
8f6ab25fc9
Fix /me display in delayed messages 2014-10-10 14:20:59 +02:00
mathieui
8d2408c169
Use SHA-2 (SHA-512) to store the certificate fingerprint instead of SHA-1
Because SHA-1 is not really relevant anymore.
Too bad it's significantly longer and tiring to check, even if that is
to be expected.
2014-10-08 12:55:22 +02:00
mathieui
dc4f9cc35a
Fix #2692 (ad-hoc mistakes show /help list) 2014-10-03 22:46:21 +02:00
Florent Le Coz
37fe4be7ec Fix an other call to an old SleekXMPP function name 2014-09-30 22:11:38 +02:00
Emmanuel Gil Peyrot
5a618cf2c2 Don’t use deprecated-then-removed aliases from slixmpp. 2014-09-29 00:07:37 +02:00
Emmanuel Gil Peyrot
b6953d3fcf Get the asyncio event loop only once. 2014-09-29 00:07:27 +02:00
Florent Le Coz
07c4c53e03 Clear the numbers already entered on alt+j when the new one is not digit 2014-08-25 13:34:34 +02:00
Florent Le Coz
2e73331d07 Fix a traceback on command_win: matchin_names() must return strings, not JIDs 2014-08-08 18:11:56 +02:00
Florent Le Coz
8a32ab2514 Remove the timeout and the pre-get_wch things from the keyboard module 2014-08-07 23:31:56 +02:00
Florent Le Coz
3ef9228211 Continuation keys (like after M-j or Ctrl-c) are handled without blocking 2014-08-07 23:20:21 +02:00
Florent Le Coz
30b31b3215 Fix an indentation issue introduced earlier (bar tab displaying only one tab) 2014-08-01 17:06:19 +02:00
Florent Le Coz
30194a8a91 Fix a traceback when a receiving a message from a bare JID 2014-08-01 16:13:52 +02:00
Florent Le Coz
271fd662a1 Entirely remove the g_lock (used to avoid a few race conditions with ncures) 2014-08-01 16:00:01 +02:00