mathieui
cedc5a6ec8
Fix the ssl check for asyncio
2014-10-30 19:55:19 +01: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
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
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
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
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
Florent Le Coz
d84071a804
Privacy: do leak our last activy when our status is away or xa
2014-08-01 13:32:07 +02:00
Florent Le Coz
52f50cd949
The password used can be changed at runtime using /set and /reconnect
2014-08-01 04:07:38 +02:00
Florent Le Coz
df569d4e66
First implementation of auto_reconnect, poezio-side
2014-08-01 04:01:08 +02:00
Florent Le Coz
2fd71cd637
Display “authentication failed” only when all auth methods failed
2014-08-01 03:15:39 +02:00
Florent Le Coz
87cf38995a
Make the TimedEvents work with asyncio
...
Improvements: events now occur precisely at the specified date. You don’t
need to stop touching your keyboard to execute them.
2014-08-01 01:22:59 +02:00
Florent Le Coz
55daf9d49d
Make the resize work, using an ugly workaround
...
It seems efficient (more than the curses.endwin(); stdscr.refresh() stuf,
which is slow and really really ugly) and it doesn't break my lovely main
loop, so it’s all good (except that it uses shutil…)
2014-07-31 04:45:02 +02:00
Florent Le Coz
b0accad5c0
Make the bookmark stuff non-blocking
2014-07-30 17:35:21 +02:00
Florent Le Coz
39c8319ec4
Fix a bunch of iq.send() by removing the block
argument
2014-07-30 17:35:21 +02:00
Florent Le Coz
ecf22cb4a4
Fix all the connect() reconnect() stuff
...
The /reconnect command should now properly work everytime.
2014-07-30 17:35:21 +02:00
Florent Le Coz
a404195a0a
Send pings only when we are connected
2014-07-30 17:35:21 +02:00
Florent Le Coz
fccf7f5af7
Do not traceback when we receive a message from a JID with no resource
2014-07-28 14:58:26 +02:00
Florent Le Coz
c166e79a89
First adaptation to slixmpp
2014-07-24 15:19:26 +02:00
Florent Le Coz
9c3fece96b
Use slixmpp
2014-07-24 02:11:45 +02:00
mathieui
e0e2123a4b
Fix #2534 (display who changed the topic)
2014-07-06 00:18:29 +02:00
Florent Le Coz
d11ea32f0b
Fix a traceback when we trigger the reload using a signal
2014-07-01 17:54:40 +02:00
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
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
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
c9059b98c7
Fix a traceback on adhoc error
2014-05-05 23:01:03 +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
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
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
mathieui
b46f0f5e26
Fix #2072 (only resize a tab if the size changed since the last display)
2014-05-03 02:27:19 +02:00
Florent Le Coz
f7a5847f75
Move data_forms in the tabs directory
2014-05-01 05:24:50 +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
5f0afab060
Do not ask for receipts in messages without a body
2014-04-29 22:14:03 +02:00
mathieui
6391d97b3a
Fix most UI issues with introduced in 0caf941
2014-04-29 02:20:06 +02:00
mathieui
0caf9417b2
Make the size modular, remove small-size lock (also seems to fix #2155 )
...
some stuff is now hidden wen the window size gets too small (might need
some adjustments). The info buffer in the roster tab, the userlist in
mucs, the vertical tab list, the info buffer everywhere, etc…
2014-04-28 23:29:21 +02:00
mathieui
31716565a7
Provide our own wrapper for checking the host category (ref #2511?)
...
xmpp.plugin['xep_0030'].has_identity appears to be unreliable at best,
so we provide our own.
Might help the case of carbons not displayed.
2014-04-27 22:38:24 +02:00
mathieui
5999b71c41
Fix #2106 (implement message delivery receipts)
...
- two options request/ack_message_receipts
- two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK
- if a message has a receipt, the character is displayed between the
timestamp and the nick, using the color
2014-04-27 16:32:03 +02:00
mathieui
4172a79117
Fix #2514 (add a /toggle command)
2014-04-26 14:27:02 +02:00
mathieui
1f0ff4f0c3
Fix #2444 (implement room destroy)
...
- destroy the current room if no parameter
- destroy the room given as a parameter if any
- no reason or alt room because it would be ambiguous in a command
(implementation ideas welcome)
2014-04-26 14:05:28 +02:00
mathieui
4c4e2083a6
Fix the nickname of server-generated messages
2014-04-26 11:50:00 +02:00