Florent Le Coz
900b67c01d
get_tab_by_name() should specify a tab type whenever possible
...
For example, a tab can be named muc.example.com, if you do /list
muc.example.com. If you then do /join muc.example.com, the error handler
needs to get the correct tab (the MucTab, not the MucListTab previously
opened).
This commit fixes the above issue (a traceback), and maybe some others like
that.
2014-05-31 17:37:15 +02:00
Florent Le Coz
06fdc82f60
Do not traceback if the server does not oprived options for list fields
2014-05-31 15:27:03 +02:00
mathieui
7049fe7c21
Do not exit from SIGPIPE as it is creating more problems than it solves
2014-05-27 22:34:29 +02:00
mathieui
35e46c499d
Fix a regression that prevented beeps with OTR messages
2014-05-25 12:40:07 +02:00
mathieui
d7bbf339cf
Fix the color of OTR conversations in private chats
2014-05-22 22:07:49 +02:00
mathieui
f782516e95
End all otr conversations when the plugins is unloader (or poezio exits)
2014-05-19 23:58:15 +02:00
mathieui
2ec83f3412
Fix a wrong nick displayed in privatetab (our default one instead of the muc one)
2014-05-19 23:53:20 +02:00
mathieui
e06a06c232
Document the PEP mood/activity stuff with images
2014-05-18 19:47:23 +02:00
mathieui
3ce4454282
Use simple chars for PEP mood/activity/gaming
2014-05-18 19:34:36 +02:00
mathieui
71ae29df97
Make the otr plugin messages use the information color
2014-05-18 15:11:32 +02:00
mathieui
db8111c295
Handle the case where the contact does not support anything
2014-05-18 13:53:30 +02:00
mathieui
e356c442b2
Do not autocorrect when the remote entity does not support correction
2014-05-17 15:54:06 +02:00
mathieui
2dafd6d5cf
Only display the supported features when they change
...
also, check the features every rejoin for PrivateTabs
and refresh the window after displaying the features
2014-05-17 15:51:42 +02:00
mathieui
a1f86720d1
Add an informative message about what the contact supports feature-wise
...
and add a handler for missing commands
2014-05-17 15:28:17 +02:00
mathieui
97ef9d7fb9
Make detecting the features supported by the remote entity less awful
...
no more stalling while waiting for a disco info while sending a message.
2014-05-15 23:33:51 +02:00
mathieui
916416a019
Add an ugly fix to avoid endless disco#info queries with each message (with receipts)
...
We need to check if the remote entity supports 0184, but if it doesn’t
support disco#info, then we will get an iq type="error" and nothing
will be cached, leading to disco#info queries being sent each time.
Keep a cache valid 2 hours of the JIDs which replied with an error.
TODO: check that this the kind of time period we want.
2014-05-08 01:37:52 +02:00
mathieui
9786592b80
Fix a hidden traceback on error message outside MUCs
2014-05-08 00:27:26 +02:00
mathieui
51d5520626
Update CHANGELOG
2014-05-07 21:20:23 +02:00
mathieui
c66bae5412
When closing a tab, go to the previous one, and not the one before it in the tab list
2014-05-06 00:27:05 +02:00
mathieui
16276cd163
Provide our own (non-blocking) wrappers for room configuration functions
2014-05-06 00:17:22 +02:00
mathieui
467ae18290
Obsolete docstring in dataforms tab
2014-05-06 00:07:41 +02:00
mathieui
4a46e7ed5f
Make the theming module executable
2014-05-05 23:31:25 +02:00
mathieui
72c7a3c355
Add the windows module to the setup.py
2014-05-05 23:30:56 +02:00
mathieui
950a864d2f
Move the Windows from the DataFormsTab to the windows directory
2014-05-05 23:27:03 +02:00
mathieui
2f629ee686
Split the windows.py module into a subdirectory
2014-05-05 23:16:33 +02:00
mathieui
109e86cbab
Fix a potential traceback when creation of the plugins conf dir fails
...
(error during error handling)
2014-05-05 23:04:13 +02:00
mathieui
c9059b98c7
Fix a traceback on adhoc error
2014-05-05 23:01:03 +02:00
mathieui
c5b85d3b5d
Fix a traceback on the listtab
2014-05-05 20:13:57 +02:00
mathieui
9c8d577737
Revert "Fix #2072 (only resize a tab if the size changed since the last display)"
...
This reverts commit b46f0f5e26
.
Conflicts:
src/tabs/muclisttab.py
Doing this made the unresized elements refresh in the old subwins,
causing glitches and weirdness. And anyway, the only problematic
element is the TextWin (rebuilding all the lines of a buffer is
expensive), but it already checks if the width changed.
2014-05-05 20:01:04 +02:00
mathieui
b8972ad940
Fix a traceback when creating a gaptab
2014-05-05 00:01:09 +02:00
mathieui
5cfe79e5e1
Do not beep in a MUC if we receive a message from one of our resources
...
happens when beep_on contains "message".
thanks eijebong
2014-05-04 23:31:25 +02:00
Florent Le Coz
7378ea96d3
Make the inputs bigger in DataForm, to be able to see long values more easily
2014-05-04 21:05:47 +02:00
Florent Le Coz
ce90a37249
Remove a useless copyright notice
2014-05-04 21:05:47 +02:00
Florent Le Coz
3858273084
Fix two tb in the DataFormTab
...
- when list-multi doesn't have selected values at all
- text-multi.options() provided by sleekxmpp is apparently a '\n' separated
string, and not a list
2014-05-04 21:05:47 +02:00
Florent Le Coz
d78b7df68b
Implement the execution of ad-hoc commands ( #1832 )
2014-05-04 21:05:47 +02:00
Florent Le Coz
bbc55fa40e
Add the /ad-hoc <jid> command to list commands of the given jid
2014-05-04 21:05:47 +02:00
Florent Le Coz
36620901e8
Create a more generic ListTab class, and make MucListTab inherite from it
2014-05-04 21:05:47 +02:00
mathieui
b46f0f5e26
Fix #2072 (only resize a tab if the size changed since the last display)
2014-05-03 02:27:19 +02:00
mathieui
ea935ded09
Highlight the newlines characters in the input instead of plain "|"s
2014-05-03 02:12:05 +02:00
mathieui
db7fc6abb2
Fix an infinite recursion error on recursive aliases
2014-05-02 12:43:56 +02:00
mathieui
d1e33e1863
Make the FormWin handle resize properly
...
(also, wrap one forgotten call to curses funcs)
2014-05-02 03:01:13 +02:00
Florent Le Coz
b080c53ac4
Scroll the FormWin when resize moves the current line out of the visible area
2014-05-01 16:40:00 +02:00
Florent Le Coz
16d80a2f25
FormWin now scrolls when needed, as the cursor is moved up and down
2014-05-01 16:33:44 +02:00
Florent Le Coz
f7a5847f75
Move data_forms in the tabs directory
2014-05-01 05:24:50 +02:00
mathieui
c287a959b4
Fix bugs in the previous/next highlight functions
2014-05-01 02:28:01 +02:00
mathieui
48e59d377f
Fix #2282 (change the terminal title depending on the tab name)
...
- change_title plugin
2014-04-30 21:55:19 +02:00
mathieui
c1d19fa548
Set the terminal title to "poezio" by default
2014-04-30 21:54:25 +02:00
mathieui
bbdc14aaa5
Remove Tab.get_name() and use Tab.name instead
...
(keep a get_name() fallback just in case for now)
2014-04-30 21:34:09 +02:00
mathieui
d859ec2ea1
Add a 'tab_change' event
2014-04-30 20:37:18 +02:00
mathieui
4e4ab569cf
Fix #2447 (OTR & HTML) -- partial WONTFIX
...
- Guess-parse the OTR messages in search for xhtml upon arrival
- add a configurable option to decode it or not
- We have XHTML-IM for a reason, and therefore we will *not* implement a
full html parser for clients that dump whatever formatting inside the
OTR payload (looking at you, pidgin)
2014-04-30 01:55:23 +02:00