| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
|/
|
|
|
| |
It just does a free.
Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
|
|
|
|
|
| |
Fix for some build cases introduced in 2c94ee5a88f64332a3f41f41a4d314fc52200e31
Fix https://github.com/profanity-im/profanity/issues/1376
|
|
|
|
|
|
|
|
|
| |
Basic implementation of XEP-0373: OpenPGP for XMPP.
https://xmpp.org/extensions/xep-0373.html
Command /ox
Issue: #1331
|
|
|
|
| |
Check for pointer to be NULL before dereferencing it.
|
|
|
|
|
|
| |
"base" was not really base but the filename :-)
Fix https://github.com/profanity-im/profanity/issues/1362
|
|
|
|
|
|
|
|
| |
Some systems don't provide recent libstrophe releases. When older
version of libstrophe is detected, don't build legacy auth support.
To simplify this patch, report about unsupported legacy auth and
keep commands option as is.
|
|
|
|
|
|
|
|
| |
New options:
/connect <account> [auth default|legacy]
/account <account> set auth default|legacy
Fixes #1236.
|
|
|
|
| |
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
NOTE: as per XEP-0060 §12.20, it is RECOMMENDED for the publisher to specify an
ItemID of "current" to ensure that the publication of a new item will overwrite
the existing item.
https://xmpp.org/extensions/xep-0384.html#devices
Issue: 1329
|
|\ \
| | |
| | | |
Incoming iq stanza - Reset the autoping timer
|
| |/
| |
| |
| |
| |
| |
| |
| | |
A autoping is to make sure that there is still a connection between server and
client. If the application receives incoming stanza, the connection is fine.
There is no need to wait for response, if there are other incomings.
Issue: #1333 and #1315
|
| |
| |
| |
| | |
Regards https://github.com/profanity-im/profanity/issues/1342
|
| |
| |
| |
| | |
Instead of connection_get_fulljid() and then creating a Jid from it.
|
|/
|
|
| |
Introduced in 36f2569e53e67fda6023c5ec5f6a7714cbce1946
|
|
|
|
|
| |
Fix 88c36745fe3f568f09fcd4078fc760a52e826eb7
Copy paste mistake.
|
|
|
|
| |
Implement https://github.com/profanity-im/profanity/issues/1326
|
|
|
|
|
|
|
|
| |
`/bookmark add|update` got `name` field.
By default localpart of JID is used (like before) but now we can set the
name ourselves.
Regards https://github.com/profanity-im/profanity/issues/697
|
|
|
|
|
|
| |
Have field in struct and display the name in `/bookmark list`.
Regards https://github.com/profanity-im/profanity/issues/697
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With d1d0ad8d1a8e28690aa8723566dd64c1ccdcf9d6 we set a timestamp to now
for all messages upon receival. Even if the original message didn't
contain any timestamp. So we can use the timestamp of retrieval for
logging and displaying and don't get them at each of those location
where they might differ.
This means that timestamp will never be NULL.
I don't see why we would want to check for the chat state only if
timestamp isn't there.
Probably because in XEP-0085 there is not timestamp defined.
So if it thats stanza it's not there and we can parse quicker, but there
is nothing forbidden it to be there.
Related to https://github.com/profanity-im/profanity/issues/1339
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the new `/serversoftware` command.
```
/software user@domain.org/resource
/serversoftware domain.org
```
Fix https://github.com/profanity-im/profanity/issues/1338
|
| |
|
|
|
|
| |
No effect here.
|
|
|
|
|
| |
Each of those should only occur one time. But let's make sure we only
write/alloc one time to be on the safe side.
|
|
|
|
|
|
|
| |
Profanity request the OMEMO Device List for all members, also if the MUC is
anonymouse. If the user is Admin / Owner, the device list will be requtest.
Issue #1315
|
|
|
|
|
|
|
|
| |
That's actually not good practise.
Realized this when checking for multiple symbol definition in issue
mentioned below.
Regards https://github.com/profanity-im/profanity/issues/1314
|
| |
|
| |
|
|
|
|
|
| |
Some stuff just floods the log file. We only need this when debugging.
Others are useless without more info.
|
|
|
|
| |
g_date_time_add_days() actually creates a new one.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Later we will have several options.
Getting everything since last timestamp (if none everything at all).
Getting everything since today + configure time (1 week).
Should also have a reload all command like conversations once you
cleared the history.
All MAM messages should be written into sql db.
And then probably displayed from there so that regular history works
too.
|
| |
|
|
|
|
|
| |
Is usefult in many cases if we want cleaner code.
Hope this edit didn't break anything though ;-)
|
| |
|
|
|
|
| |
Let's not crash :-)
|
|
|
|
|
|
|
|
| |
MAM messages don't have a type nor a from.
If we detect a message without type let's log it and exit without
continuing to try to parse it.
Otherwise we go into _handle_chat() and crash on the no from.
|
|
|
|
|
|
| |
Send a request (which we can't handle yet) :-)
Regards https://github.com/profanity-im/profanity/issues/660
|
|
|
|
|
|
|
|
|
| |
The function creates a form to find such strings as software, os, etc.
It remembers the strings allocated by form_create() and use them below
in caps_create(). The issue is that the form is destroyed before and as
result the strings are freed too.
As solution, allocate own copy of strings.
|
| |
|
| |
|
| |
|
|
|
|
| |
The mucuser boolean is not now needed anymore.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Timestamps are only set if a message is delayed.
If none is set let's set it upon recaival so we don't have to set it
when it gets displayed.
This means we will also have it for logs etc in the ProfMessage.
|