about summary refs log tree commit diff stats
path: root/src/ui/ui.h
Commit message (Collapse)AuthorAgeFilesLines
* Move declaration and definition of win_get_last_sent_message to the correct ↵MarcoPolo-PasTonMolo2021-10-221-0/+1
| | | | place
* Format code correctlyMichael Vetter2021-10-051-1/+1
|
* Add option to only allow messages from jids in rosterMichael Vetter2021-07-011-0/+1
| | | | | | | `/silence on` will throw away all messages (type: chat, normal) that come from jids that are not in the roster. Implement https://github.com/profanity-im/profanity/issues/955
* XEP-0157: Print contact addressesMichael Vetter2021-06-301-0/+1
|
* Add command to show single bookmark detailsMichael Vetter2021-06-091-0/+1
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* Attention flag - Implemented Alt+mDebXWoody2021-05-291-0/+3
|
* Attention flag for groupchatsDebXWoody2021-05-291-0/+1
| | | | Attention flag for groupchat and display the windows via "/wins attention"
* Update ui_ask_password to support confirmationThorben Günther2021-03-111-1/+1
| | | | | Just prints a different string to console. Useful for changing passwords or account registration.
* Add /mam commandMichael Vetter2021-01-281-0/+1
| | | | Regards https://github.com/profanity-im/profanity/issues/660
* Update copyrightMichael Vetter2021-01-081-1/+1
|
* Pass window to functions so we dont have to call twiceMichael Vetter2020-07-091-3/+3
|
* Dont hilight console once all messages have been readMichael Vetter2020-07-091-1/+5
| | | | | | | | | | | | | | | | 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-211/+211
|
* Revert "Apply coding style"Michael Vetter2020-07-071-213/+213
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-213/+213
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* List ignored bookmarksMichael Vetter2020-05-241-0/+1
| | | | | | `/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
* Add /executable commandMichael Vetter2020-05-201-1/+1
| | | | | This is used to set the openers for various commands. So far for /avatar and /urlopen.
* Add slashguard featureMichael Vetter2020-03-181-0/+1
| | | | | New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters.
* xep-0084/avatar: add option to open avatar directlyMichael Vetter2020-03-101-0/+1
| | | | | | | | | | | 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
* Dont filter out own MUC messages if muc history is set to 'regular'Michael Vetter2020-02-211-1/+1
| | | | | | | | 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
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-2/+2
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Parse mentions and triggers in muc history if display is 'regular'Michael Vetter2020-02-201-1/+2
| | | | Fix https://github.com/profanity-im/profanity/issues/1261
* Refactor mucwin_history()Michael Vetter2020-02-191-1/+1
| | | | Just pass ProfMessage.
* Add define names to commentMichael Vetter2020-02-191-1/+0
|
* xep-0308: remove replace_id from privwin signatureMichael Vetter2020-02-141-1/+1
| | | | No `/correct` allowed in privwins
* xep-0308: Implement LMC for outgoing MUC messagesMichael Vetter2020-02-141-1/+1
| | | | | | 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: Dont allow to correct MUC PMsMichael Vetter2020-02-141-1/+0
| | | | | People could change messages of other people if the nick isn't registered.
* xep-0308: update the UI upon sending a corrected messageMichael Vetter2020-02-111-3/+3
| | | | | So far we don't do this for encrypted messages. Still needs to be done. And MUC also needs to be done.
* xep-0308: add `correction` autocompletionMichael Vetter2020-02-101-0/+1
|
* XEP-0092: Add configuration option to choose whether to send OS nameMichael Vetter2020-01-241-0/+1
| | | | | `/os on|off` now let's one choose whether to include the OS name once `/software` (XEP-0092) is ran on us.
* Add initial support for XEP-0392Michael Vetter2019-12-091-0/+1
| | | | | | | | | | | | | | The last 3 commits added basic support. Thanks @aaptel! This commit adds basic settings interface to use it. See `/color on|off`. We still have to enable settings for color blindness. And maybe another setting to decide whether to color the occupantslist/roster with the same algo. Regards https://github.com/profanity-im/profanity/issues/1191
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Merge /chlog and /grlog commands into /loggingMichael Vetter2019-11-121-2/+1
| | | | | | | Instead of `/chlog on` we now have `/logging chat on`. Instead of `/grlog on` we now have `/logging group on`. Fix https://github.com/profanity-im/profanity/issues/1224
* Move /encwarn command into /titlebarMichael Vetter2019-11-051-2/+1
| | | | | | Instead of `/encwarn on|off` we now have `/titlebar show|hide encwarn`. Regards https://github.com/profanity-im/profanity/issues/1116
* Fix handling of encrypted carbonsPaul Fariello2019-06-211-1/+1
|
* Rename prof_message_t into ProfMessagePaul Fariello2019-06-201-3/+3
|
* Set foreground color for untrusted messagesPaul Fariello2019-06-201-1/+1
|
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-201-4/+6
| | | | | | | 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 trustPaul Fariello2019-06-201-7/+0
|
* Put occupants update into own functionMichael Vetter2019-04-231-0/+1
|
* Add OMEMO policyPaul Fariello2019-04-171-0/+1
| | | | | | | | | | | | There is 3 policy: - manual: OMEMO session are only started manually - automatic: OMEMO session are only started if they have been started manually before - always: OMEMO session are always started unless they have been ended manually before Closes #1040 and fixes #1052
* Rework MUC reflected message filteringPaul Fariello2019-04-101-2/+2
| | | | | | | | | 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 OMEMO in prefs commandPaul Fariello2019-04-101-0/+1
|
* Log and print outgoing encrypted messagePaul Fariello2019-04-101-1/+2
|
* Add OMEMO message encryption and decryptionPaul Fariello2019-04-101-1/+2
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Fix comment about config windowsPaul Fariello2018-09-051-1/+1
|
* Add support for command config executionPaul Fariello2018-09-051-1/+1
|
* Add conf win callbackPaul Fariello2018-09-051-1/+2
|
* Rename mucconf wins into conf winsPaul Fariello2018-09-051-8/+8
| | | | Configuration windows are now being used by both muc and cmd.