Commit graph

2869 commits

Author SHA1 Message Date
mathieui
29942d38bb
Add some unit tests using py.test
- we need to have more
2014-10-27 20:01:22 +01:00
mathieui
f55ac9edbf
Mention that setuptools is kind of mandatory 2014-10-27 19:16:32 +01:00
mathieui
22f9b7a66a
Prevent a (harmless) traceback while generating the documentation 2014-10-27 19:00:38 +01:00
mathieui
0f1beb89e9
Use a setuptools entry point instead of a custom script 2014-10-27 18:49:10 +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
55e6b9c4be
Document the group_corrections option 2014-10-19 23:48:14 +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
Florent Le Coz
088c6c6a0b Trivial line wrapping of the events.rst doc page 2014-10-13 19:05:16 +02:00
Florent Le Coz
2b10325be4 Document the changing_nick plugin event 2014-10-13 19:05:07 +02:00
mathieui
8305f3bd53
Document the before_quote and the after_quote options of the quote
plugin
2014-10-13 00:39:55 +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
25e91b0c94
Give feedback on the OTR commands in the current tab
instead of the global info buffer
2014-10-12 22:23:45 +02:00
mathieui
a0c5f95881
Add a notification in the OTR plugin if the session isn't established
With a timeout option that lets the user choose the timeout
and if they want this notification.
2014-10-12 22:08:28 +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
mathieui
2400b2c5d9
Update the quickstart guide 2014-09-26 14:19:32 +02:00
mathieui
41a89dc2ac
Update OTR documentation 2014-09-26 13:55:26 +02:00
mathieui
bec71fe38d
Fix #2581 (fix /untell completion) 2014-09-17 18:51:56 +02:00
mathieui
d95ec953c3
Fix the doc for remote_fifo_path (fixes #2584) 2014-09-17 17:17:47 +02:00
Florent Le Coz
1390c87c05 [link] add a way to use a custom browser, directly with the command arguments 2014-09-17 16:16:51 +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
0e2bba640e Update the pipe_cmd plugin to use asyncio and be awesome 2014-08-01 17:56:43 +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
Florent Le Coz
ba93f3f236 Ad-hoc requests can be sent on any JID, not just servers 2014-08-01 15:12:58 +02:00
Florent Le Coz
992fe72554 Fix a few blocking iq, and remove all block=False function arguments 2014-08-01 15:01:25 +02:00
Florent Le Coz
3ec9e80de4 Little comments fix 2014-08-01 13:38:12 +02:00