Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | XEP-0392: theme, ui: conditionally colorize user nicks | Aurelien Aptel | 2019-12-03 | 1 | -0/+4 |
| | | | | | | | | | * add theme_hash_attrs() * when printing a user message check PREF_COLOR_NICK to decide whether to colorize it or not ideally we should hash the jid instead of the nick but this is already a first step. | ||||
* | _win_print: Guard against time being null | Michael Vetter | 2019-12-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This is encountered when biboumi is used. Example: `/join #debian-next%irc.oftc.net@biboumi.lebihan.pl` It seems then time can be null. g_date_time_format() will not work in this case although time_pref will not be "off". So let's not call g_date_time_format() in this case. But treat it like time is set to off. However message reflection will not work properly with biboumi. Probably we dont get origin-id. Fix https://github.com/profanity-im/profanity/issues/1230 | ||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Move id from DeliveryReceipt to ProfBuffEntry struct | Michael Vetter | 2019-11-01 | 1 | -16/+14 |
| | | | | | | | | | | | | | | | | | XEP-0184: Message Delivery Receipts, *requires* the id attribute. Generally this is not the case. For this reason the id was only present in the DeliveryReceipt struct since it was only used for XEP-0184. For https://github.com/profanity-im/profanity/issues/660 XEP-0313 MAM and https://github.com/profanity-im/profanity/issues/805 XEP-0308 Last Message Correction we will also need the id. So in preparation for further work let's move the id to the general ProfBuffEntry. We will need to adapt code so that we actually always write the ID if we receive one. | ||||
* | Replace sent_messages list with algo | Michael Vetter | 2019-10-31 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For OMEMO we had a list with our sent messages. It was used so that we don't decrypt our own messages in MUCs that come in via reflection. Recently for https://github.com/profanity-im/profanity/pull/1209 we started to use origin-id and use an algorithm so we can detect our own sent messages via checking origin-id. Profanity uses the same id for the message ID and origin-id. With 06f300a42c4c627b6f1817bd48d92f083ffd9883 we added the message_is_sent_by_us() function. We implemented XEP-0359 this way to fix https://github.com/profanity-im/profanity/issues/1201 so that we don't log our own messages in MUCs twice. We can now check whether the message was sent by us using this function and can get rid of the list. Probably we could also put many parts of the sv_ev_room_message() function inside (else) part of `if (!(g_strcmp0(mynick, message->jid->resourcepart) == 0 && message_is_sent_by_us(message))) {`. Have to look more closely whether any of this needs to be run in case the message actually comes from us. | ||||
* | Merge pull request #874 from spiridoncha/master | Michael Vetter | 2019-10-05 | 1 | -1/+9 |
|\ | | | | | Change /clear behaviour. Closes issue #855. | ||||
| * | Makes /clear behavior configurable. | Spiridonov Alexander | 2016-11-07 | 1 | -0/+5 |
| | | |||||
| * | Change /clear behaviour. Closes issue #855. | Spiridonov Alexander | 2016-10-22 | 1 | -1/+4 |
| | | |||||
* | | Allow colorization of history messages | Michael Vetter | 2019-09-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | History was always printed with `THEME_DEFAULT` we now use `THEME_TEXT_HISTORY` which is accesible in theme files via `main.text.history`. Fix https://github.com/profanity-im/profanity/issues/1170 | ||||
* | | Remove dead assignments | Michael Vetter | 2019-07-22 | 1 | -1/+1 |
| | | |||||
* | | Rename prof_message_t into ProfMessage | Paul Fariello | 2019-06-20 | 1 | -1/+1 |
| | | |||||
* | | Set foreground color for untrusted messages | Paul Fariello | 2019-06-20 | 1 | -6/+5 |
| | | |||||
* | | Add prof_message_t to wrap all message attributes | Paul Fariello | 2019-06-20 | 1 | -14/+13 |
| | | | | | | | | | | | | | | Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all. | ||||
* | | Use flags in xmmp/message.c for encryption and trust | Paul Fariello | 2019-06-20 | 1 | -2/+12 |
| | | |||||
* | | Rework MUC reflected message filtering | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | Reflected messages can't be filtered by nick only otherwise you might ignore messages comming from you on another devices. Consequently we maintain a list of sent messages id in mucwin. To be sure the id will be correctly reflected we use the origin-id stanza. | ||||
* | | Log and print outgoing encrypted message | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | | |||||
* | | Add OMEMO message encryption and decryption | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | | |||||
* | | Move OMEMO initialization to profanity intialization | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | | | | | | | | Also store identity keys into account | ||||
* | | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | | |||||
* | | Fix command exec error output | Paul Fariello | 2018-09-05 | 1 | -1/+1 |
| | | |||||
* | | Add support for command config execution | Paul Fariello | 2018-09-05 | 1 | -1/+2 |
| | | |||||
* | | Add conf win callback | Paul Fariello | 2018-09-05 | 1 | -1/+10 |
| | | |||||
* | | Rename mucconf wins into conf wins | Paul Fariello | 2018-09-05 | 1 | -17/+17 |
| | | | | | | | | Configuration windows are now being used by both muc and cmd. | ||||
* | | Add command exec error handling | Paul Fariello | 2018-09-05 | 1 | -0/+15 |
| | | |||||
* | | Handle simple execution | Paul Fariello | 2018-09-05 | 1 | -0/+7 |
| | | | | | | | | Tested with ping from biboumi | ||||
* | | Add command subcommands: list and exec | Paul Fariello | 2018-09-05 | 1 | -0/+28 |
| | | | | | | | | Also handle list result | ||||
* | | Add preferences for tab display | James Booth | 2018-03-09 | 1 | -14/+45 |
| | | |||||
* | | Add prefs for empty tabs and tab names | James Booth | 2018-03-08 | 1 | -2/+5 |
| | | |||||
* | | Show name in statusbar tabs WIP | James Booth | 2018-03-08 | 1 | -3/+11 |
| | | |||||
* | | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | | |||||
* | | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | | |||||
* | | Allow room display properies to be set by plugins | James Booth | 2017-01-20 | 1 | -8/+12 |
| | | |||||
* | | Allow chat prefix char to be set by plugins | James Booth | 2017-01-20 | 1 | -1/+10 |
| | | |||||
* | | Add titlebar encryption text to plugins api | James Booth | 2017-01-19 | 1 | -0/+2 |
| | | |||||
* | | Remove unused function | James Booth | 2016-11-24 | 1 | -10/+0 |
|/ | |||||
* | Rename buffer functions | James Booth | 2016-10-16 | 1 | -16/+16 |
| | |||||
* | Fix win_append buffer push | James Booth | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Add win highlight fuctions | James Booth | 2016-10-15 | 1 | -19/+107 |
| | |||||
* | Use varargs in win_println_indent | James Booth | 2016-10-15 | 1 | -6/+20 |
| | |||||
* | Add win_print_history | James Booth | 2016-10-15 | 1 | -0/+20 |
| | |||||
* | Rename win_print_incoming_message -> win_print_incoming | James Booth | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Add win_print_outgoing | James Booth | 2016-10-15 | 1 | -0/+20 |
| | |||||
* | Add win_append | James Booth | 2016-10-15 | 1 | -31/+50 |
| | |||||
* | Add win_appendln | James Booth | 2016-10-15 | 1 | -15/+33 |
| | |||||
* | Add win_print | James Booth | 2016-10-15 | 1 | -15/+35 |
| | |||||
* | Rename win_println -> win_println_indent | James Booth | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Remove win_vprintln_ch | James Booth | 2016-10-15 | 1 | -12/+0 |
| | |||||
* | Remove whitespace | James Booth | 2016-10-15 | 1 | -1/+0 |
| | |||||
* | Rename win_get_string -> win_to_string | James Booth | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Use win_printf_line where appropriate | James Booth | 2016-10-15 | 1 | -4/+4 |
| |