about summary refs log tree commit diff stats
path: root/src/ui/win_types.h
Commit message (Collapse)AuthorAgeFilesLines
* Add vCard supportMarouane L2022-10-181-1/+11
| | | | | | | | | | | | Only nicknames, photos, birthdays, addresses, telephone numbers, emails, JIDs, titles, roles, notes, and URLs are supported Due to the synopsis array not having enough space, `/vcard photo open-self` and `/vcard photo save-self` are not documented properly in the synopsis section of the `/vcard` command, but they are documented in the arguments section Fixed memory leak in vcard autocomplete (thanks to debXwoody)
* Add quote autocompletion for previous messagesMarcoPolo-PasTonMolo2022-03-211-0/+1
| | | | | | | | | | Fixes https://github.com/profanity-im/profanity/issues/1649 Type `>` then press tab or shift tab to autocomplete previous messages, then type your reply and send message. Newlines are replaced with newline followed by `> `. A newline is added at the end so that the user can immediately type a message without manually adding a new line.
* Attention flag for groupchatsDebXWoody2021-05-291-0/+1
| | | | Attention flag for groupchat and display the windows via "/wins attention"
* Attention flag for chat windowsDebXWoody2021-05-291-0/+1
| | | | | | | User is able to toggle a flag for chat windows. This flag should be used to mark the window for "Attention". Use Ctrl+f to mark the window.
* MUC: Show offline members in sidebarThorben Günther2021-03-081-0/+1
|
* Basic support for building on NetBSD.nia2020-09-041-0/+2
| | | | | | - Add NetBSD as a recognized platform without -ldl. - Allow building with NetBSD libcurses instead of ncurses. - Portability to NetBSD sh - use POSIX '=' instead of '=='.
* Apply coding styleMichael Vetter2020-07-071-61/+75
|
* Revert "Apply coding style"Michael Vetter2020-07-071-76/+62
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-62/+76
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Feature request - XEP-0373: OpenPGP for XMPP (OX)DebXWoody2020-06-291-0/+1
| | | | | | | | | Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331
* Build URL ac upon printing of message in windowMichael Vetter2020-05-201-0/+1
|
* xep-0308: Implement LMC for outgoing MUC messagesMichael Vetter2020-02-141-0/+3
| | | | | | Including OMEMO encrypted ones. Also rename `win_println_me_message()` to `win_print_outgoing_muc_msg() as I think it's a more descriptive name.
* xep-0308: Implement `/correct` to correct the last send messageMichael Vetter2020-02-101-0/+3
| | | | | | | | So far the correction is sent. But the UI in Profanity itself is not updated. Also autocompletion for `/correct` with the last sent message is missing.
* Save MUC room name in ProfMucWinMichael Vetter2020-01-231-0/+1
| | | | We will need this if we want to display the Name instead of the JID.
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Replace sent_messages list with algoMichael Vetter2019-10-311-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.
* Safe last MUC message timestamp per MUCMichael Vetter2019-06-111-0/+1
| | | | | | After pasis review of my code he thinks it's better to safe the timestamp per MUC so we can account for some problems that could occur with timing.
* Rework MUC reflected message filteringPaul Fariello2019-04-101-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.
* Add MUC message decryptionPaul Fariello2019-04-101-0/+1
|
* Move OMEMO initialization to profanity intializationPaul Fariello2019-04-101-0/+1
| | | | Also store identity keys into account
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Add support for command config executionPaul Fariello2018-09-051-0/+1
|
* Add conf win callbackPaul Fariello2018-09-051-2/+7
|
* Rename mucconf wins into conf winsPaul Fariello2018-09-051-3/+3
| | | | Configuration windows are now being used by both muc and cmd.
* Add preferences for tab displayJames Booth2018-03-091-1/+0
|
* Show name in statusbar tabs WIPJames Booth2018-03-081-1/+2
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Allow room display properies to be set by pluginsJames Booth2017-01-201-0/+2
|
* Allow chat prefix char to be set by pluginsJames Booth2017-01-201-0/+2
|
* Add titlebar encryption text to plugins apiJames Booth2017-01-191-0/+1
|
* Tidy headersJames Booth2016-07-241-1/+2
|
* Moved chat_state.cJames Booth2016-07-241-1/+1
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Remove plugin window on /closeJames Booth2016-07-121-0/+1
|
* Fix OSX compileJames Booth2016-04-261-1/+43
|
* Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-3/+3
|
* Merge branch 'master' into plugins-cJames Booth2016-02-141-1/+1
|\ | | | | | | | | | | Conflicts: src/main.c src/ui/console.c
| * Updated copyrightJames Booth2016-02-141-1/+1
| |
* | Added C plugin code from plugins branchJames Booth2016-02-141-4/+12
|/
* Don't show notification reminders for messages the user does not want ↵James Booth2016-02-041-3/+0
| | | | notifications for
* Handle self leaving room in private winsJames Booth2016-02-031-0/+1
|
* Show message in private windows when user offlineJames Booth2016-02-021-0/+1
|
* Added themes for roster room mention and triggersJames Booth2016-01-251-0/+2
| | | | closes #718
* Only show reminder notifications when notifications are enabledJames Booth2015-11-251-0/+3
|
* Split PGP incoming and outgoing message handlingJames Booth2015-08-301-7/+3
|
* Added window encyption mode for PGPJames Booth2015-06-201-1/+2
|
* Added current window reference to command functionsJames Booth2015-06-171-0/+145