about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add slashguard featureMichael Vetter2020-03-1810-1/+54
| | | | | New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters.
* Enable popular features by defaultMichael Vetter2020-03-171-0/+5
| | | | | | | 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.
* Add note about 256 color supportMichael Vetter2020-03-171-1/+2
|
* Add cons_avatar_setting to unit test stubMichael Vetter2020-03-101-0/+1
|
* xep-0084/avatar: add option to open avatar directlyMichael Vetter2020-03-109-9/+88
| | | | | | | | | | | 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
* Make statusbar tab more resilientMichael Vetter2020-03-091-4/+8
| | | | | | | | 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`.
* Merge branch 'buffer-from'Michael Vetter2020-03-094-31/+41
|\ | | | | | | | | | | | | 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.
| * Remove caution about LMCMichael Vetter2020-03-091-1/+1
| | | | | | | | We check the from now.
| * Rename ProfBufferEntry jid variableMichael Vetter2020-03-093-7/+7
| |
| * Check for sender of LMC messageMichael Vetter2020-03-091-11/+17
| |
| * Write from jid in bufferMichael Vetter2020-03-091-10/+13
| | | | | | | | Not all cases covered yet.
| * Add barejid to buffer structMichael Vetter2020-03-093-15/+16
|/
* Remove old commentsMichael Vetter2020-03-091-4/+0
|
* Use correct MUC message timestampMichael Vetter2020-03-092-5/+8
| | | | | | | | 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.
* Use ProfMessage as parameter for win_println_incoming_muc_msg()Michael Vetter2020-03-093-7/+6
|
* window.c: Rename variableMichael Vetter2020-03-091-3/+3
|
* Use proper OS names for OpenBSD and NetBSDMichael Vetter2020-03-091-2/+2
|
* Dont check before freeingMichael Vetter2020-02-271-8/+4
| | | | Regards d18ec23d0a38bd538d48f7e827fec0fceb9f230d
* Fix memory leak in win_create_muc()Michael Vetter2020-02-271-1/+0
| | | | | | | | | | | | | 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
* Merge pull request #1278 from profanity-im/memleaksMichael Vetter2020-02-273-6/+31
|\ | | | | Fix few memory leaks
| * Fix few memory leaksDmitry Podgorny2020-02-273-6/+31
|/
* Set muc history correctly in _handle_groupchat()Michael Vetter2020-02-251-1/+1
| | | | Fix init. mistake introduced in e9c5c1979d836ed75c37d48651710b4fd125cfb2
* Free jid in muc_members_add()Michael Vetter2020-02-251-0/+1
| | | | Fix memleak.
* Stop buffer_remove_entry_by_id() once we found the entryMichael Vetter2020-02-251-0/+1
| | | | No need to continue to loop through the rest.
* Properly free buffer entryMichael Vetter2020-02-251-0/+1
| | | | | | | 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()
* Fix memleak in stanza_get_oldest_delayMichael Vetter2020-02-251-2/+14
| | | | We need to unref the temp datetimes again.
* Fix memleak in _handle_groupchat()Michael Vetter2020-02-251-1/+6
| | | | We need to unref the timestamp before setting a new one.
* Make cmd_logging() saferMichael Vetter2020-02-251-2/+3
| | | | Could be that args[1] is not set.
* Only use enc_char in win_print_incoming() when neededMichael Vetter2020-02-251-1/+4
| | | | Fixes potential memory leak too.
* readem: add chat badgeMichael Vetter2020-02-251-3/+2
|
* Merge pull request #1276 from wstrm/fix-formattingMichael Vetter2020-02-251-12/+12
|\ | | | | Improve formatting for some help instructions
| * Improve formatting for some help instructionsWilliam Wennerström2020-02-241-12/+12
|/ | | | Some instructions were missing whitespace or punctuation.
* Fix errors in log.cMichael Vetter2020-02-221-1/+2
|
* Fix log test stubMichael Vetter2020-02-211-4/+5
|
* get_log_file_location () should return const char*Michael Vetter2020-02-213-3/+3
| | | | Make clear that result should never be freed.
* Allow setting custom log file via -f FILENAMEMichael Vetter2020-02-217-23/+53
| | | | | `profanity -f TEST` will use `~/.local/share/profanity/logs/TEST.log` as the log file.
* Rename separator to trackbarMichael Vetter2020-02-211-4/+4
|
* Fix test stubMichael Vetter2020-02-211-1/+1
| | | | Change done in eb2fbdba2efb9c81275461bf3651215b9456e496
* Make trackbar color configurableMichael Vetter2020-02-214-0/+9
| | | | Use `main.trackbar` in themes.
* Dont filter out own MUC messages if muc history is set to 'regular'Michael Vetter2020-02-213-5/+5
| | | | | | | | We use the same incoming function as for regular incoming text here. But don't want to filter out our own messages since we didn't print them during sending. Follow up to 8ee2cdadc88978ea26e6b6eb56f2aaa1fd5a81df
* Improve setting encryption char error handlingMichael Vetter2020-02-213-16/+27
|
* Expand omemo error messageMichael Vetter2020-02-211-2/+2
|
* pref: Use helper functions for setting/getting the encryption charMichael Vetter2020-02-211-38/+24
| | | | Dont duplicate code.
* win_print_incoming() strdup the charactarMichael Vetter2020-02-211-1/+1
| | | | | Fix bug introduced in 1f8b1eb740391941e79e1004ad041f8178a2b674. Forgot to strdup() here.
* Fix missing change from last commitMichael Vetter2020-02-201-1/+1
|
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-2021-622/+643
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Fix theme setting correction charMichael Vetter2020-02-201-1/+1
| | | | Copy paste error. We actually set the omemo char..
* Merge branch 'master' of github.com:profanity-im/profanityMichael Vetter2020-02-201-1/+1
|\
| * Merge pull request #1273 from wstrm/add-sr.ht-badgeMichael Vetter2020-02-181-1/+1
| |\ | | | | | | Add builds.sr.ht badge for Profanity builds
| | * Add builds.sr.ht badge for Profanity buildsWilliam Wennerström2020-02-181-1/+1
| |/