Michael Vetter
ac7abc5475
readme: test new screenshot
2020-06-05 14:54:39 +02:00
Michael Vetter
46405dc50b
Merge pull request #1355 from profanity-im/iss1236
...
Add option for legacy authentication
2020-06-05 13:32:11 +02:00
Dmitry Podgorny
ac410445af
Add option for legacy authentication
...
New options:
/connect <account> [auth default|legacy]
/account <account> set auth default|legacy
Fixes #1236 .
2020-06-05 11:37:51 +03:00
Michael Vetter
8c9aee22e8
Correctly check for 'expect'
...
The expect library doesnt export 'main'. But it exports (and we use)
exp_expectl.
2020-06-04 12:29:49 +02:00
Michael Vetter
12cafe4e60
Add include for waitpid to functionaltest
2020-06-04 12:02:02 +02:00
Michael Vetter
98c38dc6d6
Merge pull request #1351 from toogley/master
...
Use always c99
2020-06-04 11:28:24 +02:00
Michael Vetter
0071bbb4be
Merge pull request #1349 from profanity-im/autotools
...
configure.ac: add additional check for libstrophe
2020-06-03 15:15:10 +02:00
Michael Vetter
42eb9ba63d
Include mesode.h in libmesode test case
...
Regards https://github.com/profanity-im/profanity/issues/1334
2020-06-03 14:31:41 +02:00
Michael Vetter
140ac99c0c
Fix memleak again
...
Memleak was reinroduced in d92c576aa5
It was already fixed in ac5ce105ac
But the rebase peetahs rebase ontop of master took the wrong changes.
I decided to pull anyways and fix since reviewing/giving feedback
without GH probably takes longer.
2020-06-03 13:21:39 +02:00
Michael Vetter
b7d5b964a2
Merge remote-tracking branch 'peetah/externalCallWithGSpawnSync' into
...
peetah-external-cmd
Merge peetahs external command calling improvements from his mirror at
https://framagit.org/peetah/profanity .
2020-06-03 13:20:25 +02:00
Pierre Mazière
fad77d9d70
Use external_call to get password via eval_password command
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2020-06-03 13:09:29 +02:00
Pierre Mazière
d92c576aa5
Get output and error streams from the command spawned by external_call()
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2020-06-03 13:09:29 +02:00
Michael Vetter
f1fe18b474
Merge pull request #1352 from wstrm/fix-test_cmd_otr
...
Initialize ProfWin.urls_ac to NULL to fix OpenBSD build
2020-06-03 09:11:22 +02:00
William Wennerström
05dde4bab4
Initialize ProfWin.urls_ac to NULL to fix OpenBSD build
2020-06-03 08:31:23 +02:00
toogley
26cda6b5e6
use always c99; fixes "universal character names" error msg
...
without this, i receive this error on openbsd 6.7:
src/event/server_events.c:1477:19: error: universal character names are only valid in C++ and C99
src/event/server_events.c:1478:19: error: universal character names are only valid in C++ and C99
gmake[1]: *** [Makefile:1925: src/event/server_events.o] Error 1
gmake[1]: Leaving directory '/home/toogley/profanity'
gmake: *** [Makefile:1212: all] Error 2
2020-06-02 15:30:55 +00:00
Michael Vetter
3d7a3134af
Fix offline roster contacts
...
Fix https://github.com/profanity-im/profanity/issues/1280
p_contact_set_presence() is triggered in
(roster_process_pending_presence) to set the presence to online
after the roster is displayed.
This happened to me _every time_ with one certain account on my server.
But not even once with other accounts on my server.
I don't understand why that is the case, but AFAIK the code should be
like it is in this PR anyways.
roster_process_pending_presence() was added there in
973a05d15a
to fix
https://github.com/profanity-im/profanity/issues/1050
2020-06-02 14:24:37 +02:00
Michael Vetter
7ca03562b5
Merge pull request #1350 from DebXWoody/configure-sqlite
...
Fix: configure sqlite
2020-06-02 09:53:24 +02:00
Dmitry Podgorny
75bb00368f
configure.ac: add additional check for libstrophe
...
After the library is found by pkg-config, try to build a simple program
to check the installation. The motivation of this check is that the
chance that users manually install libstrophe/libmesode is higher than
for other libs.
Fixes #1334 .
2020-05-31 20:02:48 +03:00
DebXWoody
cf78fac508
Fix: configure sqlite
2020-05-30 19:39:12 +02:00
Michael Vetter
ac5ce105ac
Fix memleak in cmd_urlopen()
2020-05-29 11:32:32 +02:00
Michael Vetter
de91a99178
Fix memleak in autocomplete_remove_older_than_max*
2020-05-29 11:28:58 +02:00
Michael Vetter
bfaf737efa
urlopen: get last URL first
...
Fix https://github.com/profanity-im/profanity/issues/1348
2020-05-29 11:26:18 +02:00
Michael Vetter
e19bf0e303
Merge branch 'bugfix/1329'
2020-05-29 10:29:20 +02:00
Michael Vetter
24e8243a98
_omemo_receive_devicelist() use if/else
2020-05-29 10:28:41 +02:00
Michael Vetter
8d9cbef1e3
Merge pull request #1343 from DebXWoody/bugfix/1333
...
Incoming iq stanza - Reset the autoping timer
2020-05-29 10:21:51 +02:00
Michael Vetter
4c047b0cb5
Merge pull request #1344 from DebXWoody/bugfix/1327
...
Bugfix: Status with PGP shows offline in titlebar
2020-05-28 20:47:48 +02:00
Michael Vetter
ceb5dcc0e5
Fix clears_chat_sessions unittest
2020-05-28 16:09:32 +02:00
Michael Vetter
d4692b1b2d
Fix carbon logging
...
Regards https://github.com/profanity-im/profanity/issues/1342
2020-05-27 22:06:04 +02:00
Michael Vetter
d240eb629c
Update readme and sponsors
...
new bade, more details in project, add dismail to sponsors.
2020-05-27 10:13:24 +02:00
Michael Vetter
c7a05a70e1
sponsors: fix formatting
2020-05-27 10:03:30 +02:00
Michael Vetter
d0dfe53076
radme: add project and install section
2020-05-27 10:01:45 +02:00
Michael Vetter
30c02e2656
Add SPONSORS
2020-05-27 09:53:44 +02:00
Michael Vetter
b49c1b8e37
readme: fix formatting
2020-05-27 09:45:23 +02:00
Michael Vetter
2db1118f4d
readme: add repology nr of repos
2020-05-27 09:44:20 +02:00
Michael Vetter
65e90dbad1
Restructure readme
2020-05-27 09:42:11 +02:00
Michael Vetter
d251b56166
Fix titlebar write position
...
Mistake introduced in 86f0e0ea70
The functions later on dont set an explitic position when writing their
strings.
Fix https://github.com/profanity-im/profanity/issues/1346
2020-05-27 08:59:00 +02:00
Michael Vetter
438552c14c
Save bookmark ignore list
2020-05-25 13:49:24 +02:00
Michael Vetter
1cfab017a4
Handle listing ignored bookmarks when none are ignored
2020-05-25 13:38:47 +02:00
Michael Vetter
de8975c008
Add and use connection_get_barejid()
...
Instead of connection_get_fulljid() and then creating a Jid from it.
2020-05-25 13:04:19 +02:00
Michael Vetter
4b5711fad5
Add cons_show_bookmarks_ignore stub
2020-05-24 17:59:08 +02:00
Michael Vetter
f6799029db
Add /bookmark ignore
autocompletion
...
Regards https://github.com/profanity-im/profanity/issues/1115
2020-05-24 17:55:15 +02:00
Michael Vetter
be4a6cac78
Add bookmark ignore add|remove
...
Regards https://github.com/profanity-im/profanity/issues/1115
2020-05-24 17:55:15 +02:00
Michael Vetter
f121554088
List ignored bookmarks
...
`/bookmarl ignore` lists the ignored bookmarks.
Regards https://github.com/profanity-im/profanity/issues/1115
2020-05-24 17:55:08 +02:00
Michael Vetter
ca3972b3ca
Add bookmark_ignore to unittest sources
2020-05-24 13:57:18 +02:00
Michael Vetter
090732ed96
Fix invalid read in titlebar
2020-05-24 13:47:21 +02:00
Michael Vetter
a2af4c3184
Fix memleak in bookmark minimize
...
Introduced in 36f2569e53
2020-05-24 13:35:09 +02:00
Michael Vetter
242ffbcf70
Add bookmark ignore functionality for multiple accounts
...
```
cat ~/.local/share/profanity/bookmark_ignore
[jubalh@iodoru.org ]
profanity@rooms.dismail.de=true
[testuser@domain.org ]
testr@rooms.domain.org=true
```
Regards https://github.com/profanity-im/profanity/issues/1115
2020-05-24 13:31:24 +02:00
Michael Vetter
d03c953d4a
PoC for bookmark ignore
...
```
~/.local/share/profanity % cat bookmark_ignore
[ignore]
profanity@rooms.dismail.de=
```
Regards https://github.com/profanity-im/profanity/issues/1115
2020-05-24 12:55:43 +02:00
DebXWoody
b882fd495a
OMEMO - Request only "current" item
...
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
2020-05-23 07:41:06 +02:00
DebXWoody
d3e23ff030
Bugfix: Status with PGP shows offline in titlebar
...
There is code to redraw the ui, because the user may enter a passphase for the
private key. There was also a ui_init, which shouldn't be called, because it
will set the status to the initial state, which is 'offline' and 'no tls'.
Issue: #1327
2020-05-23 07:09:08 +02:00