Commit graph

127 commits

Author SHA1 Message Date
louiz’
abb41d5750 Rename /reset to /filter_reset in XML tab, for consistency 2016-10-14 11:01:43 +02:00
mathieui
b026bb190d Update sources for the next version 2016-10-09 18:23:10 +02:00
Emmanuel Gil Peyrot
f8d5fa9b1c Remove the resource option from the configuration.
It’s considered bad practice nowadays to force a specific resource, it
can lead to presence leaks or reconnection loops so should be avoided.

Moreover this was already possible in the jid option, by setting it to
user@domain/resource, setting it would append it a second time in that
case.
2016-10-09 17:06:33 +02:00
mathieui
3a608c191f Add a raw parameter to all data form windows
Otherwise it will obviously traceback when calling it with that
parameter
2016-10-08 23:06:40 +02:00
Emmanuel Gil Peyrot
1252f21e10 Replace sendPresence() with send_presence(), fix adding a contact. 2016-10-07 01:14:01 +01:00
mathieui
3c9eac5dc9 Add monkeypatching hack on the event loop
Previously inside slixmpp, it’s cleaner to do it only in poezio.
2016-10-05 20:20:46 +02:00
mathieui
eacc5a6fb1 Fix #3100 (Allow pasting in a data form) 2016-10-05 19:37:34 +02:00
mathieui
9dd5f0b4de "information" is already plural, fix wording 2016-10-04 00:54:57 +02:00
Emmanuel Gil Peyrot
c5e80b9688 Don’t put the cursor at the top-left if a move() failed. 2016-10-02 16:14:52 +01:00
mathieui
8f9e14dcb6 Display status changes in one to one chats
Make hide_status_change work there as well, with per-jid configuration
2016-09-29 23:47:54 +02:00
mathieui
b035d9f2cf Make enable_xhtml_im tab-specific 2016-09-29 01:01:34 +02:00
Emmanuel Gil Peyrot
91ced4d391 Normalise the user-facing name of MUC from chatroom to room everywhere. 2016-09-25 07:37:58 +02:00
Emmanuel Gil Peyrot
0ed8923459 Fix wrong quit char color when someone leaves a MUC. 2016-09-25 07:36:47 +02:00
Emmanuel Gil Peyrot
661ee90ea2 MUC: Fix a traceback on room configuration. 2016-09-21 23:45:03 +09:00
mathieui
5a55552b67 Next version is 0.10 2016-09-20 20:46:27 +02:00
Emmanuel Gil Peyrot
77d0a7a46d multiuserchat: Use newer MUC plugin from slixmpp. 2016-09-21 01:29:30 +09:00
Eijebong
3199e05e33 Add a PgUp/PgDown keybind to /bookmarks.
Fixes #3231
2016-09-20 16:58:42 +09:00
Emmanuel Gil Peyrot
5a5c1fe992 Stop using deprecated aliases from slixmpp. 2016-09-20 16:52:11 +09:00
mathieui
f252f66b50 Fix a possible traceback in /win with some tabs open 2016-09-13 20:03:51 +02:00
mathieui
2886d10ea9 Fix a traceback in the kick/ban handler 2016-09-13 19:40:29 +02:00
mathieui
859dc90d51 Fix coloring of messages in the privatetab 2016-08-29 20:36:36 +02:00
Emmanuel Gil Peyrot
8eb7daad3a Remove an except block targetting Python 3.1. 2016-08-29 09:21:49 +01:00
Emmanuel Gil Peyrot
680a3e8d44 daemon: Remove outdated mention of Python 3.3. 2016-08-29 09:18:08 +01:00
mathieui
29b95f1820 Really fix that traceback 2016-08-28 20:58:22 +02:00
mathieui
a9fa0ee377 Fix a traceback introduced in the last commit 2016-08-28 20:44:19 +02:00
mathieui
2252f2779c Fix some type inconsistencies
(pylint)
2016-08-28 16:51:24 +02:00
mathieui
50d6edc30b Fix a traceback on malformed logs 2016-08-28 16:17:51 +02:00
mathieui
50610a0684 Remove useless debug from the /rawxml command 2016-08-27 16:40:52 +02:00
mathieui
b83c113575 Fix #3194 (don’t highlight on embedded XHTML image)
Remove the link, which wasn’t really useful anyway
2016-08-26 22:44:07 +02:00
mathieui
8495492c75 Fix #3193 (report PM errors in PM tab) 2016-08-26 22:34:32 +02:00
mathieui
a6c4db6c2f decorators: fix the case where there is no argument
can’t believe we didn’t hit that before
2016-08-26 21:56:30 +02:00
mathieui
ad7b724690 Fix #3179 (/join completion broken) 2016-08-26 19:26:14 +02:00
mathieui
d36ecbd7b4 Remove walls of text from the main body of core.handlers
It’s not pleasant to read
2016-08-26 19:12:49 +02:00
mathieui
b7c23313b6 Fix #3217 (allow /groupadd "group" with selected row in the roster) 2016-08-25 20:22:01 +02:00
mathieui
e8aa89687f Fix #3223 (close privatetab logfiles properly)
It wasn’t applying the transformation jid→filename used in log_message
2016-08-25 20:11:12 +02:00
mathieui
4f942bd48f Make log parsing a little better
Separate log items in two different classes instead of just trying the
length of a tuple
2016-08-24 23:14:34 +02:00
mathieui
ec04070611 Don’t traceback in theming if called without poezio installed
If we just want to see the color list, we shouldn’t need to be able to
import poezio.config
2016-08-24 23:13:21 +02:00
mathieui
3ed31ed282 Don’t use camelcase for accessing data forms
(except with getXML that will need more work)
2016-08-22 20:23:27 +02:00
mathieui
ca682cf23d Muctab: Only search for matching colors on user join
this call is actually quite expensive, so it will help in specific cases
where we receive a lot of presence stanzas (e.g. a netsplit in an irc
gateway, or a +vvvvvvvvvvvvvvvvvvvvvvvvv, etc) that are not joins
2016-08-22 19:55:17 +02:00
mathieui
84e59b05ff Don’t call input completion() functions inside completion methods
Use a placeholder object that can run it afterwards, so that we don’t
have side effects inside those functions.
2016-08-21 15:39:30 +02:00
mathieui
11b193fb36 Fix #3219, Fix #3220 (no connection loops on some stream errors)
Do not reconnect if the stream error is a conflict or an host-unknown;
also add a sleep(1) in order to not DoS the server if it loops on other
conditions.
2016-08-20 13:13:23 +02:00
mathieui
04939cc6c3 Fix a typo in the httpauth dialog 2016-08-20 00:56:40 +02:00
mathieui
9cd8788400 Implement XEP-0070 using the confirmtab 2016-08-20 00:12:59 +02:00
mathieui
9230126a89 Remove unused leftover imports 2016-08-19 01:15:32 +02:00
mathieui
0c21af12b0 Use the confirmtab for TLS cert validation
And wipe the YesNoInput from the codebase
2016-08-19 01:04:43 +02:00
mathieui
82d00d495b Add a "confirm" tab type
This tab will be used when an external events prompts a boolean choice
to a user, like a new ssl cert, or a XEP (e.g. 0070) that needs an
answer, and for which a command-line interface with an info message
would be a pain.
2016-08-19 01:00:06 +02:00
Eijebong
c94df86b2c Use conversation.get_nick() instead of conversation.nick when adding a
message to a conversation tab.

When you rename one of your contact and have a conversation opened, the
nickname wasn't updated when you received new messages.
2016-08-18 21:21:08 +02:00
Luke Marlin
ec077496ba fixes #3147 (/message auto-complete misses offline users) by adding every jids to the completion list 2016-08-13 19:40:49 +02:00
mathieui
d7ffaa44a2 Fix /help 2016-08-11 22:38:00 +02:00
Emmanuel Gil Peyrot
ae51999a6f Disable unused logging levels, makes logging.debug about 25 times faster. 2016-07-30 12:59:58 +01:00