Commit graph

2417 commits

Author SHA1 Message Date
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
6f7ac5a4a6 Use ChatTab in day_change 2014-08-01 01:26:19 +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
0da967850d Fix the git pull in update.sh 2014-07-30 18:09:48 +02:00
Florent Le Coz
3510e8f5fa Minor fix of a function signature 2014-07-30 18:05:31 +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
fe16d52b7b Fix the main launch point to use asyncio correctly, and read stdin using it 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
mathieui
2275b61a4d
Add dummy on_delete handlers for input placeholders 2014-07-27 00:15:27 +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
Florent Le Coz
459471d716 The most important resource of a bare jid is the one with the highest priority 2014-07-24 02:01:10 +02:00
mathieui
2363e3f1bd
Scroll the input after erasing the last visible char 2014-07-19 00:45:12 +02:00
mathieui
2e8d99be30
Fix #2563 (fix the asserts in adjust_view_pos)
Thanks djanos
2014-07-19 00:41:47 +02:00
mathieui
a3556a793a
Remove the -OO in launch.sh 2014-07-19 00:36:44 +02:00
mathieui
d790465d6d
Fix #2520 (feedback on roster changes) 2014-07-09 16:25:15 +02:00
mathieui
dc5e3b33f7
Fix #2546 (ugly tb with the gpg plugin) 2014-07-09 16:00:22 +02:00
mathieui
e0e2123a4b
Fix #2534 (display who changed the topic) 2014-07-06 00:18:29 +02:00
mathieui
cfd344edc3
Fix #2537 (crash on adhoc tab without items) 2014-07-06 00:08:43 +02:00
mathieui
390bb8e2b4
Fix #2554 (traceback on last activity in the roster) 2014-07-06 00:05:42 +02:00
Florent Le Coz
dc46286afb Make the thread from the cmd_plugin be a daemon
Without it, poezio never exits when the plugin is loaded

Thanks to xunien

fix #2542
2014-07-05 17:07:02 +02:00
Florent Le Coz
4b0d9a2872 Add the pipe_cmd plugin
This plugins lets the user manipulate a poezio instance by writing commands
into a pipe, read by poezio which will execute them.
2014-07-05 17:05:17 +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
Akim Sadaoui
ba32d74a61 Use xdg-open by default in the /link plugin
fix #2550
2014-06-26 15:56:32 +02:00
Florian Duraffourg
6698ed806e Redirect stderr to /dev/null when executing a command
fix #2545
2014-06-26 17:45:05 +02:00
mathieui
c1803944ba
fix a tb in the otr plugin 2014-06-14 22:01:25 +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
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