Age | Commit message (Collapse) | Author |
|
Make the "default" parameter optional and thus move it to the end of
the command with the other optional parameters.
And change all the calls.
|
|
- Add two new options: tmp_image_dir and extract_inline_images
- tmp_image_dir is $XDG_CACHE_HOME(usually ~/.cache)/poezio/images if unset
- Name the images from a SHA-1 of their data and their mimetype
- Output file:// links inside the message
|
|
|
|
this option determines if the non-autojoin bookmarks will
be opened on startup or not.
It is false by default.
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
no more stalling while waiting for a disco info while sending a message.
|
|
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.
|
|
|
|
tab list
|
|
|
|
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.
|
|
happens when beep_on contains "message".
thanks eijebong
|
|
|
|
|
|
|
|
|
|
(keep a get_name() fallback just in case for now)
|
|
|
|
|
|
|
|
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…
|
|
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.
|
|
- 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
|
|
|
|
- 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)
|
|
|
|
- fix the bug where messages from our own jid were incorrectly displayed
- the nick is now fixed for the whole conversation
|
|
(SIGTERM, SIGHUP, and SIGPIPE for now)
|
|
|
|
- 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
|
|
wrap some curses calls with try/except block
|
|
- add a show_composing_tabs option, default value: "direct"
- todo: find a nice different color for this
|
|
- 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
|
|
|
|
also clean up some newlines mess
|
|
|
|
It was actually doing that for old python version but not recent onces
|
|
|
|
|
|
fixes whitespace issues, some builtin overrides, and some enormous lines
might make poezio run nanoseconds faster!
|
|
|
|
as it is unused code anyway.
|
|
Although the logic stays the same, and everything is put back together
in a single class.
|