Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Dont filter out own MUC messages if muc history is set to 'regular' | Michael Vetter | 2020-02-21 | 3 | -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 handling | Michael Vetter | 2020-02-21 | 3 | -16/+27 |
| | |||||
* | Expand omemo error message | Michael Vetter | 2020-02-21 | 1 | -2/+2 |
| | |||||
* | pref: Use helper functions for setting/getting the encryption char | Michael Vetter | 2020-02-21 | 1 | -38/+24 |
| | | | | Dont duplicate code. | ||||
* | win_print_incoming() strdup the charactar | Michael Vetter | 2020-02-21 | 1 | -1/+1 |
| | | | | | Fix bug introduced in 1f8b1eb740391941e79e1004ad041f8178a2b674. Forgot to strdup() here. | ||||
* | Fix missing change from last commit | Michael Vetter | 2020-02-20 | 1 | -1/+1 |
| | |||||
* | Allow utf8 symbols as omemo/pgp/otr indicator char | Michael Vetter | 2020-02-20 | 21 | -622/+643 |
| | | | | Fix https://github.com/profanity-im/profanity/issues/1264 | ||||
* | Fix theme setting correction char | Michael Vetter | 2020-02-20 | 1 | -1/+1 |
| | | | | Copy paste error. We actually set the omemo char.. | ||||
* | Merge branch 'master' of github.com:profanity-im/profanity | Michael Vetter | 2020-02-20 | 1 | -1/+1 |
|\ | |||||
| * | Merge pull request #1273 from wstrm/add-sr.ht-badge | Michael Vetter | 2020-02-18 | 1 | -1/+1 |
| |\ | | | | | | | Add builds.sr.ht badge for Profanity builds | ||||
| | * | Add builds.sr.ht badge for Profanity builds | William Wennerström | 2020-02-18 | 1 | -1/+1 |
| |/ | |||||
* | | Parse mentions and triggers in muc history if display is 'regular' | Michael Vetter | 2020-02-20 | 6 | -25/+33 |
| | | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1261 | ||||
* | | Put getting mentions in own function | Michael Vetter | 2020-02-20 | 3 | -10/+17 |
| | | | | | | | | | | | | So we can use it somewhere else too. Regards https://github.com/profanity-im/profanity/issues/1261 | ||||
* | | Add option to color MUC history like regular messages | Michael Vetter | 2020-02-20 | 7 | -17/+72 |
| | | | | | | | | | | | | | | | | | | `/logging group color` has: * `unanimous` which will color it with one unanimous color. Like it was done always. * `regular` which colors it like regular incoming messages. Regards https://github.com/profanity-im/profanity/issues/1261 | ||||
* | | Refactor mucwin_history() | Michael Vetter | 2020-02-19 | 3 | -8/+9 |
| | | | | | | | | Just pass ProfMessage. | ||||
* | | Add define names to comment | Michael Vetter | 2020-02-19 | 2 | -7/+6 |
|/ | |||||
* | Merge pull request #1269 from wstrm/add-sr.ht-ci | Michael Vetter | 2020-02-17 | 6 | -23/+105 |
|\ | | | | | Add builds.sr.ht CI for OpenBSD | ||||
| * | Add builds.sr.ht CI for OpenBSD | William Wennerström | 2020-02-17 | 6 | -23/+105 |
| | | | | | | | | | | | | | | | | * Add .builds/openbsd.yml for builds.sr.ht * Update travis-build.sh -> ci-build.sh with OpenBSD case * Fix libdl check in configure.ac (OpenBSD has libdl built-in) * Fix some minor issues found when compiling on OpenBSD with GCC (e.g. uninitialized variables) | ||||
* | | omemo: switch to 12 byte IV | Michael Vetter | 2020-02-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | We decrypt both 12 and 16 bytes. And send 12 instead of 16 bytes now. Close https://github.com/profanity-im/profanity/issues/1272 | ||||
* | | Refactor win_print_history() | Michael Vetter | 2020-02-17 | 4 | -14/+6 |
| | | | | | | | | We never use the printf like behaviour anyways. | ||||
* | | Refactor win_print_outgoing_muc_msg() | Michael Vetter | 2020-02-17 | 3 | -15/+7 |
| | | | | | | | | We never use the printf like behaviour anyways. | ||||
* | | Refactor win_println_incoming_muc_msg() | Michael Vetter | 2020-02-17 | 3 | -15/+7 |
| | | | | | | | | We never use the printf like behaviour anyways. | ||||
* | | Refactor win_print_outgoing() | Michael Vetter | 2020-02-17 | 4 | -19/+10 |
| | | | | | | | | We never use the printf like behaviour anyways. | ||||
* | | Fix typo | Michael Vetter | 2020-02-17 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'feature/sendfile-enc-warn' | Michael Vetter | 2020-02-17 | 7 | -7/+157 |
|\ \ | |/ |/| | | | Close https://github.com/profanity-im/profanity/pull/1270 | ||||
| * | Mention how to enable unencrypted file transer | Michael Vetter | 2020-02-17 | 1 | -2/+2 |
| | | | | | | | | Regards https://github.com/profanity-im/profanity/pull/1270 | ||||
| * | Make /sendfile in PGP session configurable | Michael Vetter | 2020-02-17 | 6 | -3/+33 |
| | | | | | | | | | | | | `/pgp sendfile on` allows unencrypted file transfer in an PGP session. Regards https://github.com/profanity-im/profanity/pull/1270 | ||||
| * | Make /sendfile in OTR session configurable | Michael Vetter | 2020-02-17 | 7 | -6/+47 |
| | | | | | | | | | | | | `/otr sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270 | ||||
| * | Make /sendfile in OMEMO session configurable | Michael Vetter | 2020-02-17 | 7 | -10/+54 |
| | | | | | | | | | | | | | | `/omemo sendfile on` allows unencrypted file transfer in an OMEMO session. Regards https://github.com/profanity-im/profanity/pull/1270 | ||||
| * | Disallow sendfile in e2ee chat sessions | moppman | 2020-02-17 | 1 | -0/+35 |
|/ | |||||
* | test: Init window.layout to make compiler happy | Michael Vetter | 2020-02-14 | 1 | -0/+1 |
| | | | | | Fix tests/unittests/test_cmd_otr.c:415: warning: 'window.layout' is used uninitialized in this function on openbsd (thanks optmzr) | ||||
* | Add workaround for compiler warning | Michael Vetter | 2020-02-14 | 1 | -1/+1 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1265 | ||||
* | xep-0308: Add note about tab completion | Michael Vetter | 2020-02-14 | 1 | -1/+2 |
| | |||||
* | xep-0308: add note about where corrections are possible | Michael Vetter | 2020-02-14 | 1 | -1/+2 |
| | |||||
* | xep-0308: only allow /correct when corrections are enabled | Michael Vetter | 2020-02-14 | 1 | -0/+5 |
| | |||||
* | Merge pull request #1267 from profanity-im/feature/xep-0308-lmc | Michael Vetter | 2020-02-14 | 34 | -154/+594 |
|\ | | | | | XEP-0308 Last Message Correction | ||||
| * | xep-0308: add caution note | Michael Vetter | 2020-02-14 | 1 | -1/+1 |
| | | | | | | | | | | We need to change the buffer structure first, so that we save the from field there. | ||||
| * | Rename buffer->from to buffer->display_from | Michael Vetter | 2020-02-14 | 3 | -10/+12 |
| | | |||||
| * | xep-0308: enable for carbon copied messages | Michael Vetter | 2020-02-14 | 2 | -1/+15 |
| | | | | | | | | | | | | | | If we are connected with another client and send a message, then correct it. We now display it correctly in Profanity. Id wasn't saved for carbon copied messages too so far. | ||||
| * | xep-0308: enable correction in outgoing messages with delivery receipts | Michael Vetter | 2020-02-14 | 3 | -8/+10 |
| | | |||||
| * | Always send delivery receipts if enabled | Michael Vetter | 2020-02-14 | 1 | -14/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | So far receipts are only send if we have enabled it and the other client supports it. But it could be that the other person is connected with several clients. One supporting it and the other which doesn't. If the not supporting one is active and we send to a fulljid, then we won't get receipts. Probably it's best to just always send them if they are enabled in Profanity. And not try to find out the capabilities of the other client. Fix https://github.com/profanity-im/profanity/issues/1268 | ||||
| * | Rename win_print_with_receipt() -> win_print_outgoing_with_receipt() | Michael Vetter | 2020-02-14 | 3 | -4/+4 |
| | | |||||
| * | Add myself to copyright | Michael Vetter | 2020-02-14 | 4 | -0/+4 |
| | | |||||
| * | Rename `win_println_them_message()` -> `win_println_incoming_muc_msg()` | Michael Vetter | 2020-02-14 | 3 | -3/+3 |
| | | | | | | | | | | | | | | | | In aa3693daa211b36c78d136d5a1ee9f3258e21352 I renamed `win_println_me_message()` -> `win_print_outgoing_muc_msg()`. Now: `win_println_them_message()` -> `win_println_incoming_muc_msg()` to be more consistent and descriptive. | ||||
| * | Fix tests | Michael Vetter | 2020-02-14 | 2 | -8/+8 |
| | | |||||
| * | xep-0308: remove replace_id from privwin signature | Michael Vetter | 2020-02-14 | 3 | -4/+4 |
| | | | | | | | | No `/correct` allowed in privwins | ||||
| * | xep-0308: adapt unit test stubs | Michael Vetter | 2020-02-14 | 2 | -8/+6 |
| | | |||||
| * | xep-0308: only replace messages if the user enabled the feature | Michael Vetter | 2020-02-14 | 1 | -3/+3 |
| | | | | | | | | Outgoing `/correct` will still work. | ||||
| * | xep-0308: Make /correct work without quotation marks | Michael Vetter | 2020-02-14 | 4 | -11/+14 |
| | | | | | | | | | | | | Now we can specify an unlimited amount of arguments for commands. Maybe this is also helpful for other commands that use quotation marks so far. | ||||
| * | xep-0308: Fix sending corrections for multiple words | Michael Vetter | 2020-02-14 | 3 | -4/+7 |
| | |