summaryrefslogtreecommitdiff
path: root/src/core/core.py
AgeCommit message (Collapse)Author
2014-08-25Clear the numbers already entered on alt+j when the new one is not digitFlorent Le Coz
2014-08-07Continuation keys (like after M-j or Ctrl-c) are handled without blockingFlorent Le Coz
2014-08-01Entirely remove the g_lock (used to avoid a few race conditions with ncures)Florent Le Coz
2014-08-01Fix a few blocking iq, and remove all block=False function argumentsFlorent Le Coz
2014-08-01Little comments fixFlorent Le Coz
2014-08-01Privacy: do leak our last activy when our status is away or xaFlorent Le Coz
2014-08-01The password used can be changed at runtime using /set and /reconnectFlorent Le Coz
2014-08-01First implementation of auto_reconnect, poezio-sideFlorent Le Coz
2014-08-01Display “authentication failed” only when all auth methods failedFlorent Le Coz
2014-08-01Make the TimedEvents work with asyncioFlorent Le Coz
Improvements: events now occur precisely at the specified date. You don’t need to stop touching your keyboard to execute them.
2014-07-31Make the resize work, using an ugly workaroundFlorent Le Coz
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-30Fix a bunch of iq.send() by removing the `block` argumentFlorent Le Coz
2014-07-30Fix all the connect() reconnect() stuffFlorent Le Coz
The /reconnect command should now properly work everytime.
2014-07-24First adaptation to slixmppFlorent Le Coz
2014-07-24Use slixmppFlorent Le Coz
2014-07-01Fix a traceback when we trigger the reload using a signalFlorent Le Coz
2014-05-31get_tab_by_name() should specify a tab type whenever possibleFlorent Le Coz
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-15Make detecting the features supported by the remote entity less awfulmathieui
no more stalling while waiting for a disco info while sending a message.
2014-05-08Add an ugly fix to avoid endless disco#info queries with each message (with ↵mathieui
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-06When closing a tab, go to the previous one, and not the one before it in the ↵mathieui
tab list
2014-05-05Revert "Fix #2072 (only resize a tab if the size changed since the last ↵mathieui
display)" This reverts commit b46f0f5e266c321632738ca40839759486b47a7e. 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-04Implement the execution of ad-hoc commands (#1832)Florent Le Coz
2014-05-04Add the /ad-hoc <jid> command to list commands of the given jidFlorent Le Coz
2014-05-03Fix #2072 (only resize a tab if the size changed since the last display)mathieui
2014-05-01Move data_forms in the tabs directoryFlorent Le Coz
2014-04-30Remove Tab.get_name() and use Tab.name insteadmathieui
(keep a get_name() fallback just in case for now)
2014-04-30Add a 'tab_change' eventmathieui
2014-04-29Fix most UI issues with introduced in 0caf941mathieui
2014-04-28Make the size modular, remove small-size lock (also seems to fix #2155)mathieui
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-27Fix #2106 (implement message delivery receipts)mathieui
- 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-26Fix #2514 (add a /toggle command)mathieui
2014-04-26Fix #2444 (implement room destroy)mathieui
- 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-20Log exit from signals to the error logmathieui
(SIGTERM, SIGHUP, and SIGPIPE for now)
2014-04-18Mostly line-wrap at 80 chars and add docstringsmathieui
- also fix some erroneous comment(s) - remove self.background which wasn’t set to something other than false - fix the chatroom address (and the doc) in the first help message
2014-04-18Fix #2297 (crash after resize)mathieui
wrap some curses calls with try/except block
2014-04-15Fix #2440 (highlight composing tabs)mathieui
- add a show_composing_tabs option, default value: "direct" - todo: find a nice different color for this
2014-04-14Implement XEP-0249 (Direct MUC Invitations)mathieui
- fallback to mediated invitations if only the bare jid is given to the command or if the jid does not advertise support TODO: provide a way to send passwords
2014-04-12Fix #2503/4 (use “.” as an alias for the current tab in /move_tab)mathieui
2014-04-11Fix #2421 (load and unload several plugins)mathieui
2014-04-09Fix #2497/#2498 (/theme should return an error when loading fails)mathieui
It was actually doing that for old python version but not recent onces
2014-04-08Fix a forgotten "self." that caused alt+k to tracebackFlorent Le Coz
2014-04-06fix a wrong naming in the previous commitmathieui
2014-04-06Code cleanupmathieui
fixes whitespace issues, some builtin overrides, and some enormous lines might make poezio run nanoseconds faster!
2014-04-05Do not instantiate Keyboard at module-levelmathieui
2014-04-05Remove the pubsub-related stuff from the main branchmathieui
as it is unused code anyway.
2014-04-05Split the Core classmathieui
Although the logic stays the same, and everything is put back together in a single class.