Michael Vetter
75a43f923f
Fix omemo autocompletion mitake
...
Don't return too early. We still need to check for regular omemo
autocompletion (omemo_ac).
2020-04-02 23:57:06 +02:00
Michael Vetter
15e05d1706
Merge pull request #1296 from wstrm/ci-without-coreutils
...
Fallback for nproc for systems without GNU coreutils
2020-04-01 15:01:50 +02:00
William Wennerström
06f8299e7c
Fallback for nproc for systems without GNU coreutils
2020-04-01 14:21:12 +02:00
Michael Vetter
7eec3107fc
Merge pull request #1295 from wstrm/upgrade-docker
...
Use latest Docker in CI
2020-03-30 22:20:01 +02:00
William Wennerström
bec7189295
Use latest Docker in CI
...
Force a Docker upgrade for all Linux runners.
Fixes : #1294
2020-03-30 20:45:22 +02:00
Michael Vetter
6c17a36465
thanks travis..
...
Regards https://github.com/profanity-im/profanity/issues/1294
2020-03-30 15:19:10 +02:00
Michael Vetter
8a2fa7e8c1
travis: use bionic
2020-03-30 15:17:42 +02:00
Michael Vetter
cb755a5c84
Next travis try
...
https://github.com/profanity-im/profanity/issues/1294
2020-03-30 15:14:13 +02:00
Michael Vetter
1e2511eba4
Another try at docker
...
Regards https://github.com/profanity-im/profanity/issues/1294
2020-03-30 15:08:44 +02:00
Michael Vetter
8386cac8e7
Run docker in privileged mode
...
From https://docs.docker.com/engine/reference/run/ :
```
When the operator executes docker run --privileged, Docker will enable
access to all devices on the host as well as set some configuration in
AppArmor or SELinux to allow the container nearly all the same access to
the host as processes running outside containers on the host.
```
Regards https://github.com/profanity-im/profanity/issues/1294
2020-03-30 14:43:29 +02:00
Michael Vetter
e88113afa1
os TW 20200325 test
2020-03-30 12:28:42 +02:00
Michael Vetter
67c0d11629
Test oS TW 20200324
...
Tests fail in TW image. Doesn't seem our fault.
Let's try to find out since when.
2020-03-30 12:16:46 +02:00
Michael Vetter
1bcfd4ece6
Remove 'use' from titlebar autocompletion
...
This was forgotten in f131680055
.
2020-03-29 23:21:23 +02:00
Michael Vetter
89502ca199
Merge pull request #1292 from profanity-im/memleak-issue1279
...
Fix memory leak of presence object
2020-03-29 21:57:57 +02:00
Michael Vetter
c520c3d3c3
Fix edit mistake
2020-03-27 14:24:48 +01:00
Michael Vetter
53aa8d7cbf
Upgrade examples
2020-03-26 15:55:19 +01:00
Michael Vetter
a8bc3c38b2
Add jubalian theme
2020-03-25 15:45:59 +01:00
Michael Vetter
4b56fe6c57
Add history.muc.color to theme template
2020-03-25 15:45:23 +01:00
Michael Vetter
4fc938d804
Add setting to not colorize own nick according to xep-0392
...
Some users might want there nick to always stay white (etc) for easier
recognition.
Now we can do `/color own off` to not generate the color based on
xep-0392. The `me=` color (etc) from the theme will then be used.
Once we run this command `theme_load()` is called again.
And the theme looks totally wrong.
We encountered this at other times already and I think it's nothing
wrong with this new code here now but that there seems to be a missing
closing attr for the color when drawing.
Should be investigated seperately.
Fix https://github.com/profanity-im/profanity/issues/1288
2020-03-25 12:54:25 +01:00
Michael Vetter
4f19ea2642
Add -t theme option
...
`profanity -t bios` loads the bios theme now.
Fix https://github.com/profanity-im/profanity/issues/1286
2020-03-24 23:00:39 +01:00
Michael Vetter
4c8e78664c
Fix old typo in titlebar presence
2020-03-24 22:24:25 +01:00
Michael Vetter
f131680055
titlebar: allow displaying MUC name and MUC jid
...
`/titlebar use name|jid` -> `/titlebar show|hide name|jid`
Fix https://github.com/profanity-im/profanity/issues/1284
2020-03-24 22:22:16 +01:00
Michael Vetter
fd090d384d
move titlebar code in correct function
2020-03-24 21:46:40 +01:00
Michael Vetter
3c56b289ed
Add slashguard feature
...
New command `/slashguard` tries to protect against typing ` /quit` by
not allowing a slash in the first 4 characters.
2020-03-18 18:20:05 +01:00
Michael Vetter
ed97e3730a
Enable popular features by default
...
Most clients have them enabled by default already for a smoother modern XMPP experience.
Enable by default: allowing message corrections, sending of read
receipts, enabling carbons, typing/chat states.
2020-03-17 09:13:57 +01:00
Michael Vetter
d570546d7d
Add note about 256 color support
2020-03-17 09:01:21 +01:00
Michael Vetter
0cc4ac5cbc
Add cons_avatar_setting to unit test stub
2020-03-10 07:17:54 +01:00
Michael Vetter
52e7e596aa
xep-0084/avatar: add option to open avatar directly
...
Change:
`/avatar me@somewhere.org` -> `/avatar get me@somewhere.org`
New:
`/avatar cmd feh`
`/avatar open me@somewhere.org`
Implement https://github.com/profanity-im/profanity/issues/1281
2020-03-10 07:12:13 +01:00
Michael Vetter
7e62d458ee
Make statusbar tab more resilient
...
If users input strange stuff and we can't create a jid from it even the
setting is set to 'user' we still should fallback to the regular
identifer.
For example with `/msg @name%matrix.domain.org@matrix.org hi`.
2020-03-09 16:33:42 +01:00
Michael Vetter
a23d4e4af7
Merge branch 'buffer-from'
...
Regards https://github.com/profanity-im/profanity/issues/805
Completes https://github.com/profanity-im/profanity/pull/1267
We now check who tries to "correct" a sent message.
2020-03-09 13:37:01 +01:00
Michael Vetter
083ba7808d
Remove caution about LMC
...
We check the from now.
2020-03-09 13:35:27 +01:00
Michael Vetter
a3889c94bc
Rename ProfBufferEntry jid variable
2020-03-09 13:33:48 +01:00
Michael Vetter
f3d9de133e
Check for sender of LMC message
2020-03-09 13:31:49 +01:00
Michael Vetter
f7fe87dd4e
Write from jid in buffer
...
Not all cases covered yet.
2020-03-09 12:52:47 +01:00
Michael Vetter
95a16c2486
Add barejid to buffer struct
2020-03-09 12:47:43 +01:00
Michael Vetter
441e31984e
Remove old comments
2020-03-09 12:31:49 +01:00
Michael Vetter
56836fb72d
Use correct MUC message timestamp
...
win_println_incoming_muc_msg() always used the current time. Now let's
use whatever is sent int he message struct (from the delay stanza or
the current time that we set now once the message is received).
No playing with the time upon display anymore.
2020-03-09 12:22:36 +01:00
Michael Vetter
3d7e6fae7c
Use ProfMessage as parameter for win_println_incoming_muc_msg()
2020-03-09 12:00:15 +01:00
Michael Vetter
0801623018
window.c: Rename variable
2020-03-09 11:51:32 +01:00
Michael Vetter
8112b8c84b
Use proper OS names for OpenBSD and NetBSD
2020-03-09 11:24:14 +01:00
Michael Vetter
c9fcd01865
Dont check before freeing
...
Regards d18ec23d0a
2020-02-27 16:29:23 +01:00
Michael Vetter
ca14f3a1a2
Fix memory leak in win_create_muc()
...
I suspect this was just a copy paste error.
`_win_create_simple_layout()` is called in other creation functions like
`win_create_config()` or `win_create_private()`.
I suspect when `win_create_muc()` was created it was just copied. But in
this function we actually set the layout ourself later.
So calling the function isn't needed.
Regards https://github.com/profanity-im/profanity/issues/1279
2020-02-27 16:14:54 +01:00
Michael Vetter
16f5106f10
Merge pull request #1278 from profanity-im/memleaks
...
Fix few memory leaks
2020-02-27 16:02:15 +01:00
Dmitry Podgorny
d18ec23d0a
Fix few memory leaks
2020-02-27 01:35:36 +02:00
Michael Vetter
779c2efc17
Set muc history correctly in _handle_groupchat()
...
Fix init. mistake introduced in e9c5c1979d
2020-02-25 16:34:43 +01:00
Michael Vetter
063b5243f1
Free jid in muc_members_add()
...
Fix memleak.
2020-02-25 16:31:41 +01:00
Michael Vetter
fc35a5a492
Stop buffer_remove_entry_by_id() once we found the entry
...
No need to continue to loop through the rest.
2020-02-25 16:11:59 +01:00
Michael Vetter
f597de4889
Properly free buffer entry
...
g_slist_delete_link() is not enough we also need to call _free_entry()
on the entry.
This fixes a memleak in win_insert_last_read_position_marker()
2020-02-25 16:06:00 +01:00
Michael Vetter
62730367d6
Fix memleak in stanza_get_oldest_delay
...
We need to unref the temp datetimes again.
2020-02-25 15:54:44 +01:00
Michael Vetter
e9c5c1979d
Fix memleak in _handle_groupchat()
...
We need to unref the timestamp before setting a new one.
2020-02-25 15:26:33 +01:00