| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| | |
This prevents scrolling to top and initiating another MAM request while
still fetching the initial one.
Also free timestamp object in database.c
|
| |
| |
| |
| |
| |
| | |
Did this by waiting for a batch of MAM messages to arrive before
prepending them to the buffer. Also limited the number of messages
to fetch to 10 so that the user gets more frequent updates.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Fetch from mam without displaying when all mam messages get received
display new messages from db.
Unstable, initial mam doesn't get displayed unless we start scrolling.
|
| | |
|
| |
| |
| |
| |
| | |
Taken from here:
https://github.com/modernxmpp/modernxmpp/commit/cd3e871e55c2cff45dffd05d6e50380b99845849
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Only nicknames, photos, birthdays, addresses, telephone numbers, emails,
JIDs, titles, roles, notes, and URLs are supported
Due to the synopsis array not having enough space, `/vcard photo
open-self` and `/vcard photo save-self` are not documented properly in
the synopsis section of the `/vcard` command, but they are documented in
the arguments section
Fixed memory leak in vcard autocomplete (thanks to debXwoody)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`/lastactivity` used autocompletion for /status instead.
There was no get/set autocompletion thus user had to write `/lastactivity
get` to get the proper results.
Original fix by Stefan at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021028
Proper commit message and adapted patch by jubalh.
Co-authored-by: jubalh@iodoru.org
|
| |
| |
| |
| | |
Let /win and /msg both autocomplete roster nickname and actual barejid
|
|\ \
| | |
| | | |
Replace `call_external`'s implementation with an async one
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Drawback is that we can't check the exitcode anymore.
But we were unsure why/when we need this, see:
https://github.com/profanity-im/profanity/pull/1760/files#r980868708
Fixes https://github.com/profanity-im/profanity/issues/1759
|
| | |
| | |
| | |
| | |
| | |
| | | |
Only display help message on first start.
This is a fixup for:
https://github.com/profanity-im/profanity/commit/27a5c9d287e856bd774988b4066667db54b65de7
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
In the function stanza_create_avatar_metadata_publish_iq, use the format
string `"%"G_GSIZE_FORMAT` instead of "%lu", for an argument of type
gsize.
|
|\ \
| | |
| | | |
plugin: python: fix build for Python 3.11
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
From Python 3.11, PyFrameObject has been changed into opaque struct.
We need to access those fields via API.
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
support for "update" and "uninstall"
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For command /plugins :
Don't print files that do not correspond to the plugins design
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
|
| |
| |
| |
| |
| |
| | |
Improvement of f8ff93234eb118de2e69d0c4667a6cbbe90e8f8c
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
| |
| |
| |
| | |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
| |
| |
| |
| | |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
| |
| |
| |
| |
| |
| | |
in before it just used the input command line as it was but this fixes
this by adding formatting using `format_call_external_argv` which is
already used in `url open` executable.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
unluckily here the code neglected the fact that glib will set an error
to a location that was pointed by the error pointer if it is not null.
but it was of an undefined value hence profanity crashed. now it is null
as it must be.
also spawn error is returned when glib could not spawn the task for
some reason like the executable file does not exist but if the exit
status was non-zero it neglected the exit error and tried to output a
spawn error instead. now we check whether the process that we
instantiated has exited successfully
also now code uses `g_spawn_check_wait_status` which
`g_spawn_check_exit_status` has been aliased to.
|
| |
| |
| |
| | |
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* save SM state and send-queue entries on disconnect
* restore SM state and send-queue entries on reconnect
fixes #698
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
|
| |
| |
| |
| |
| |
| | |
We need to use a new one or call `g_clear_error()`.
Fix segfault in https://github.com/profanity-im/profanity/issues/1738
|
| |
| |
| |
| | |
Related to https://github.com/profanity-im/profanity/issues/1738
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Two issues were fixed in the parser logic:
* A call to cons_bad_cmd_usage() was placed at the end of the "time"
parser section that blocked reachability to both "message" and
"check" parser sections. This caused "/autoaway message ..." and
"/autoaway check ..." to always fail with "Invalid usage". This
issue was introduced in commit 3c1e4ba.
* "/autoaway message xa" with no message argument returns message
set to (null). This should be fixed the same way as
"/autoaway message away" was fixed in commit 3c1e4ba.
|
| |
| |
| |
| | |
Explaining how to register/connect/set up an account.
|
| |
| |
| |
| | |
Fix https://github.com/profanity-im/profanity/issues/1733
|
| |
| |
| |
| |
| |
| | |
In case we dont have plain but have body, copy this (like in
_sv_ev_incoming_pgp).
In case we have neither, return.
|
| |
| |
| |
| |
| |
| | |
This let's us whole `/me` messages and other messages starting with `>`.
Fix https://github.com/profanity-im/profanity/issues/1732
|
|\ \
| | |
| | | |
Retrieve enc type from db
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
When we get a message from the database, also retrieve the encryption
type.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
If we are in a window with a lot of text and press PAGE UP we scroll up
and write [scrolled] in the titlebar.
So far we also wrote [scrolled] in there even when actually nothing
happened. Like when opening a new window (/msg someone) and there is no
text inside.
|
| |
| |
| |
| |
| | |
Most likely they didnt trust/sign the key. Which is described in the
profanity-ox-setup man page.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|