1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-09 21:30:42 +00:00
Commit Graph

6581 Commits

Author SHA1 Message Date
Michael Vetter
e6f96cd7d7 Release 0.11.1 2021-09-28 19:48:42 +02:00
Michael Vetter
8e43ab05da Fix typos 2021-09-22 13:01:55 +02:00
Michael Vetter
31d72689c7 Add more keybindings to /help navigation 2021-09-15 11:29:20 +02:00
Michael Vetter
619204f4f5 man: add more keybindings 2021-09-15 11:24:59 +02:00
Michael Vetter
1dbe1a33b4 cmd_funcs: Use glib function 2021-09-09 09:53:23 +02:00
Michael Vetter
8c4ce7a939 notifier: Use glib function 2021-09-09 09:48:04 +02:00
Michael Vetter
0a8d69dc46 Enable whole word only notifications by default
Set PREF_NOTIFY_MENTION_WHOLE_WORD to true.

If I'm not mistaken the _mucwin_print_mention() / get_mentions()
functions only work correctly since
6bc440c6f7.

This changed the behaviour for users.
They got notified when their nick was `kaffee` and in the message the
string `kaffeekanne` occured.

Setting `/notify room mention word_whole` corrected this.

So my idea is that only now the mention function work correctly. And to
have a good default behaviour we should set the `word_whole` on by
default.

Regards https://github.com/profanity-im/profanity/issues/1578
2021-09-08 12:04:34 +02:00
Michael Vetter
c89e31269c Mention keybindings in man page 2021-08-31 22:33:00 +02:00
Michael Vetter
c397657061 Change attentionflag shortcut to alt+v
alt+f is the default readline shortcut for forward one word.

Regards https://github.com/profanity-im/profanity/issues/1580
2021-08-31 22:25:29 +02:00
Michael Vetter
e4ada15f21
Merge pull request #1593 from a1346054/fixes
Minor cleanup
2021-08-26 08:23:48 +02:00
a1346054
a1dc3d1237 Trim excess whitespace 2021-08-26 01:18:10 +00:00
a1346054
4368a22114 Fix spelling 2021-08-26 01:17:42 +00:00
a1346054
6573661096 License: use upstream license file
File obtained from:
https://www.gnu.org/licenses/gpl-3.0.txt
2021-08-26 00:30:55 +00:00
a1346054
c7d5379d24 Fix: files missing final ending newline 2021-08-26 00:28:49 +00:00
Michael Vetter
1d08d8ccf0
Merge pull request #1591 from paulfariello/fix/omemo-devicelist-access-model
Fix OMEMO devicelist access model by reconfiguring it
2021-08-20 15:57:03 +02:00
Paul Fariello
314d0034ed Fix memleak 2021-08-20 15:33:31 +02:00
Paul Fariello
35814d8bd0 Log error received while publishing OMEMO device list 2021-08-20 15:32:00 +02:00
Paul Fariello
6f33706e92 Cosmetic 2021-08-20 15:29:30 +02:00
Paul Fariello
4d93df4aba OMEMO: Fix precondition-not-met handling 2021-08-19 10:02:07 +02:00
Paul Fariello
d8cee98cc7 Create devicelist if it doesn't exists 2021-08-19 10:02:07 +02:00
Paul Fariello
0b6cf20183 OMEMO: try device list creation and reconfigure on precondition-not-met 2021-08-19 10:02:07 +02:00
Paul Fariello
46fe69de9b Ensure devicelist access model is configured before updating it 2021-08-19 10:02:06 +02:00
Michael Vetter
4641537721 omemo: always free error and print warning
Fix https://github.com/profanity-im/profanity/issues/1584
2021-07-22 08:29:05 +02:00
Michael Vetter
25cc479b2f
Merge pull request #1587 from profanity-im/memleak-history
Fix memory leak in chatwin when load history (#1585)
2021-07-20 19:08:03 +02:00
Dmitry Podgorny
2e0adbd004 chatwin: fix memory leak when load history
_chatwin_history() reassigns msg->plain without freeing previous
string. This leads to memory leak. As a temporary solution, free
replaced string.

Fixes #1585.
2021-07-20 22:15:57 +03:00
Michael Vetter
8be49e9e21 Check for curl version nr
We use `curl_url()` since e9d587578 which according to
https://curl.se/libcurl/c/curl_url.html is only available in libcurl >= 7.62.0 .

Related to https://github.com/profanity-im/profanity/issues/1581
2021-07-20 17:26:07 +02:00
Michael Vetter
9bd635d7e6 accounts: get rid of guard around free 2021-07-17 23:13:01 +02:00
Michael Vetter
ba414eb0ac
Merge pull request #1583 from profanity-im/memleak
Fix memory leak in accounts_get_login_status()
2021-07-17 23:10:15 +02:00
Michael Vetter
1511e921d2
Merge pull request #1586 from profanity-im/mentions
Fix invalid reads on mentions in MUC
2021-07-17 20:20:00 +02:00
Dmitry Podgorny
c0ea27f2f0 Don't handle /me in the middle of a message with mentions 2021-07-17 19:36:31 +03:00
Dmitry Podgorny
a5d15e224c Fix buffer overread in _mucwin_print_mention()
Offset for g_utf8_substring() is higher than the string length. We can
avoid g_utf8_substring() for the tail and simply convert starting offset
to a pointer.
2021-07-17 19:33:28 +03:00
Dmitry Podgorny
afdae6ac02 Reduce copy-paste in sv_ev_roster_received() 2021-07-17 18:12:42 +03:00
Dmitry Podgorny
e7b6051e57 Fix memory leak in accounts_get_login_status() 2021-07-17 18:11:32 +03:00
Michael Vetter
45fd229c11
Merge pull request #1579 from d3npa/patch-1
Fix typo in color name
2021-07-14 18:38:26 +02:00
d3npa
1759a75dad
fix typo in color name 2021-07-14 11:59:15 -04:00
Michael Vetter
275c3132a5 Start next cycle 2021-07-14 16:25:08 +02:00
Michael Vetter
563f08164e Release 0.11.0 2021-07-14 16:23:05 +02:00
Michael Vetter
4c8b6e9d90
Merge pull request #1577 from raspbeguy/python-api-doc
Fix examples in python API doc.

Seems API was changed in 2016 4f7af4e429 and documentation wasn't adapted.
2021-07-13 09:27:31 +02:00
raspbeguy
c0fe3cf155
Fix typos in functions names
Probably a refactoring that didn't go well.
2021-07-12 16:43:48 +02:00
Michael Vetter
edb32f9798 Mention OX in README 2021-07-12 09:32:44 +02:00
Michael Vetter
73571f0aa3
Merge pull request #1576 from DebXWoody/autocomplete-untrust
OMEMO autocomplete untrust
2021-07-12 09:20:21 +02:00
DebXWoody
11476c3e90
OMEMO autocomplete untrust
Just a copy-past of autocomplete trust implementation.
2021-07-10 10:55:29 +02:00
Michael Vetter
8100dbdd6a Add limitations info to /help editor 2021-07-08 10:54:49 +02:00
Michael Vetter
cc0bac1746 Add MAM notice to /help mam 2021-07-08 10:53:02 +02:00
Michael Vetter
20e1f16b1f Fix segfault in /blocked with no args
Fix https://github.com/profanity-im/profanity/issues/1575
2021-07-06 10:21:26 +02:00
Michael Vetter
5022aeb337 Fix log rotation
Fix https://github.com/profanity-im/profanity/issues/1518
See
https://github.com/profanity-im/profanity/issues/1518#issuecomment-870581988
2021-07-05 11:52:06 +02:00
Michael Vetter
7de261b1c2
Merge pull request #1573 from xenrox/fix-uninitialized
Initialize jid
2021-07-02 08:38:26 +02:00
Michael Vetter
2cbea9daad cmd_blocked: Exit when wrong arguments 2021-07-02 08:36:51 +02:00
Thorben Günther
34b5e0f8c6
Initialize jid 2021-07-01 21:32:23 +02:00
Michael Vetter
516fd7d909
Merge pull request #1572 from profanity-im/fix/spamreporting
Fix spamreporting
2021-07-01 21:10:21 +02:00