about summary refs log tree commit diff stats
path: root/src/ui/window_list.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix quote and url autocompletion for MAM and historyMarcoPolo-PasTonMolo2023-02-131-4/+13
| | | | | | | | After adding MAM quote and url autocompletion wouldn't pick up messages from MAM or history(from DB) or would have them in the wrong order. This commit fixes that. Fixes https://github.com/profanity-im/profanity/issues/1770
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* Add vCard supportMarouane L2022-10-181-0/+33
| | | | | | | | | | | | 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)
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* Add quote autocompletion for previous messagesMarcoPolo-PasTonMolo2022-03-211-0/+22
| | | | | | | | | | 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.
* Format code correctlyMichael Vetter2021-10-051-1/+1
|
* win unread: fix window testMichael Vetter2021-06-091-5/+4
| | | | Fix https://github.com/profanity-im/profanity/issues/1554
* Change restarted omemo textMichael Vetter2021-06-021-2/+2
|
* Restart OMEMO Session after lost connectionDebXWoody2021-06-021-7/+29
| | | | | | | | | | When the connection has been re-established, chat and groupchat with OMEMO should restat the OMEMO Session. Fix: #1530 * Added HAVE_OMEMO * clang-format and user output
* Attention-flag: Fix next windowDebXWoody2021-05-291-8/+25
|
* Attention flag - Implemented Alt+mDebXWoody2021-05-291-0/+32
|
* Attention flag for groupchatsDebXWoody2021-05-291-0/+45
| | | | Attention flag for groupchat and display the windows via "/wins attention"
* Update copyrightMichael Vetter2021-01-081-1/+1
|
* Fix various typosMichael Vetter2020-12-101-1/+1
|
* Dont hilight console once all messages have been readMichael Vetter2020-07-091-0/+15
| | | | | | | | | | | | | | | | If we receive a message we get: << room message: eagle@conference.anoxinon.me (win 2) Same for private chats and regular chats. And several other kinds of notifications. If we only receive notifications from a chat window it would be nice to also clear the hilight on the console window since we already catched up by reading the actual message in the chat window. Probably not the best description :-) I hope you get it.. Regards https://github.com/profanity-im/profanity/issues/1399
* Apply coding styleMichael Vetter2020-07-071-185/+179
|
* Revert "Apply coding style"Michael Vetter2020-07-071-182/+188
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-188/+182
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Add aesgcm to urls grabberPierre Mazière2020-06-251-1/+1
| | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
* urlopen: get last URL firstMichael Vetter2020-05-291-2/+2
| | | | Fix https://github.com/profanity-im/profanity/issues/1348
* Only save max 20 urlsMichael Vetter2020-05-201-0/+2
|
* Build URL ac upon printing of message in windowMichael Vetter2020-05-201-1/+40
|
* ui: fix conditionDmitry Podgorny2020-04-231-2/+1
| | | | | Fix mistake in a condition. Also add sanity check to win_refresh_with_subwin().
* Fixup for bad56b50623837644d0888cf8e5b059111b65ac2Michael Vetter2020-04-221-1/+1
| | | | sorry.. doing too many things at once..
* wins_show_subwin(): Add windows type testMichael Vetter2020-04-221-0/+6
| | | | Fix https://github.com/profanity-im/profanity/issues/1321
* Remove unused func wins_close_current()Michael Vetter2020-04-201-6/+0
|
* Don't expose upload_processesMichael Vetter2020-04-171-9/+2
| | | | | | | | That's actually not good practise. Realized this when checking for multiple symbol definition in issue mentioned below. Regards https://github.com/profanity-im/profanity/issues/1314
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-3/+3
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-311-2/+2
| | | | Fix #1068
* Update my Copyright to 2020Michael Vetter2020-01-031-1/+1
|
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Remove not needed if blocksMichael Vetter2019-11-011-9/+2
|
* 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.
* Bind key to switch to next active windowMichael Vetter2019-09-301-0/+26
| | | | | | alt-a brings one to the next window with unread messages. Regards https://github.com/profanity-im/profanity/issues/1114
* Free last_msg_timestampMichael Vetter2019-06-191-0/+4
| | | | Fix memory leak.
* Only print room history for new messages upon reconnectMichael Vetter2019-06-051-0/+21
| | | | | | | | | | | | | | | | If re-establish a connection don't print the room history again. In case there there happened nothing at all since we got the room history on the last connection. And in case there were no new messages during the time we have been disconnected. Instead of printing the room history again we now print 'Re-established Connection'. This adds a bit of overhead since we save the timestamp upon every MUC message. See: https://github.com/profanity-im/profanity/issues/704
* 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.
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Add support for command config executionPaul Fariello2018-09-051-2/+2
|
* Add conf win callbackPaul Fariello2018-09-051-2/+2
|
* Rename mucconf wins into conf winsPaul Fariello2018-09-051-8/+8
| | | | Configuration windows are now being used by both muc and cmd.
* Add support for form edition in command executionPaul Fariello2018-09-051-1/+1
| | | | Also change wins_get_by_string prototype in order to handle const str.
* Only allow swapping active windowsJames Booth2018-03-091-5/+1
|
* Remove empty tabsJames Booth2018-03-091-3/+1
|
* Add preferences for tab displayJames Booth2018-03-091-11/+19
|
* Show name in statusbar tabs WIPJames Booth2018-03-081-11/+10
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Allow previous autocompletion with shift tabJames Booth2017-04-011-4/+4
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Add win_printJames Booth2016-10-151-2/+2
|