| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This theme color applies to the tab title text of the statusbar tab that
is currently shown.
The (somewhat confusingly named) `statusbar.active` theme color now
applies to all other tabs (before, it applied to all tabs).
Coloring of a tab that is highlighted/has new messages is done as before
using the `statusbar.new` theme color.
The default color is set to `cyan`, and thus causes no visible change
for users -- until modified.
|
|
|
|
|
|
|
| |
Glib can print error messages to stderr and blocking write freezes
Profanity if the buffer is full. Move stderr to nonblocking mode
in hope that glib will skip printing on EWOULDBLOCK error. In this
case we lose some error messages, but Profanity continues working.
|
|
|
|
|
|
|
|
|
|
| |
https://gultsch.de/dino_multiple.html mentions CVE-2019-16235, CVE-2019-16236 and CVE-2019-16237.
CVE-2019-16235: Is checking the from in carbon messages. We do that.
CVE-2019-16236: Is checking the from in roster pushes. We do that but
didn't log it yet.
CVE-2019-16237: Is checking the form in MAM messages. We don't support
them yet.
|
|
|
|
| |
Also print `main.text.history` setting when `/theme properties' is run.
|
|
|
|
| |
Might be related to https://github.com/profanity-im/profanity/issues/1186
|
|
|
|
|
|
|
|
| |
History was always printed with `THEME_DEFAULT` we now use
`THEME_TEXT_HISTORY` which is accesible in theme files via
`main.text.history`.
Fix https://github.com/profanity-im/profanity/issues/1170
|
|
|
|
|
|
| |
Carbons where not logged so far.
Fix https://github.com/profanity-im/profanity/issues/1181
|
|
|
|
|
| |
message->plain should always contain something. In the case of the
carbons we forgot to set if rom the body in case it's empy.
|
|
|
|
|
|
|
|
| |
Profanity uses the node part of a JID as display name for a tab. If such
a JID doesn't contain the node part, Profanity crashes on NULL pointer
dereference.
In the above case, use barejid which is just a domain. Fixes #1153.
|
|
|
|
| |
Dont rely on PACKAGE_BUGREPORT being James' mail.
|
|
|
|
|
|
|
|
| |
Just to be on the safe side.
Probably only relevant for unit tests where ncurses vars are not
initialized with real values.
Fix unit tests on all platforms.
|
| |
|
|
|
|
| |
Seems this can cause trouble in case we cant use the theme properly.
|
|
|
|
| |
Fix https://github.com/profanity-im/profanity/issues/1178
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We only need the colour pairs initialized that the theme actually uses.
It's otherwise possible that we run over the max value of initialzed
pairs.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Themes can now use color names from the xterm color name list [1].
1: https://jonasjacek.github.io/colors/
|
| |
|
| |
|
| |
|
|
|
|
| |
There is actually no reason to get the window number here.
|
|
|
|
|
| |
Part of what `roster_update()` does manually is actually done in
`roster_change_name()`.
|
| |
|
|
|
|
|
|
|
|
| |
Double-check that a <delay/> tag on a groupchat message was actually
added by the MUC service (rather than the sending client) before
assuming it was received from the MUC history.
Fixes #1173.
|
|\
| |
| | |
Possibility to specify alternative config file
|
| |
| |
| |
| | |
Introduce `profanity -c` to specify an alternative config file.
|
|/
|
|
|
| |
We don't need to do all the timing stuff if last activity is disabled
anyways.
|
|\
| |
| | |
Don't print subscribed message if contact is already in roster
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This occured with a user running Cisco Jabber. It seems this server
sends repeated presence subscribed stanzas. And although I find this
strange according to RFC this seems to be ok.
So let's filter them and only display in the console output and to the
log. But don't open seperate windows.
Fix https://github.com/profanity-im/profanity/issues/1165
|
|/
|
|
|
|
|
| |
Most applications have an 'apply changes' button. This makes testing
easier too.
Implement https://github.com/profanity-im/profanity/issues/1164
|
|\
| |
| | |
Fix memleak in /cmd exec
|
| | |
|
|\ \
| |/
|/| |
Fix memleaks in OMEMO
|
| |
| |
| |
| | |
I don't see a reason for strdupping here.
|
| | |
|
| |
| |
| |
| | |
I don't see a reason for strdupping here.
|
|/
|
|
|
| |
Command form userdata were freed by iq_id_handler.
We should now free the command ourself.
|
| |
|
|\
| |
| | |
Fix segfault in group add/remove command
|
| |
| |
| |
| |
| | |
Also regarding destructor.
Fix https://github.com/profanity-im/profanity/issues/1159
|
| | |
|
| | |
|
| |
| |
| |
| | |
Exiting without freeing in some cases.
|
| |
| |
| |
| | |
strdup() is not needed here but will actually lead to a memleak.
|
| |
| |
| |
| | |
current_name should not be const and should be freed.
|