about summary refs log tree commit diff stats
path: root/src/ui/ui.h
Commit message (Collapse)AuthorAgeFilesLines
* Improve const-correctness of APISteffen Jaeckel2023-05-121-1/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* add `/strophe` command to modify libstrophe-specific settingsSteffen Jaeckel2023-01-181-0/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* Merge MAM improvements from #1724Michael Vetter2022-10-211-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think this PR already solves and improves the MAM situation a lot. What's @MarcoPolo-PasTonMolo still wanted to do in this branch is: * MAM for mucs * Check if url and quotes autocompletion works fine * Check if the api still works fine * Resolve conflicts Conflicts are solved with this commit. MAM for mucs can be another feature PR. The rest we can check while being on master. And more people can help testing.
| * Handle scrolling down when buffer fills upMarcoPolo-PasTonMolo2022-07-101-1/+1
| |
| * Fix initial MAM not displayingMarcoPolo-PasTonMolo2022-07-051-1/+1
| | | | | | | | | | | | Did this by waiting for a batch of MAM messages to arrive before prepending them to the buffer. Also limited the number of messages to fetch to 10 so that the user gets more frequent updates.
| * Get messages from history when scrolling up.MarcoPolo-PasTonMolo2022-07-031-0/+1
| |
* | Add vCard supportMarouane L2022-10-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Display mood preferencesMichael Vetter2022-06-221-0/+1
|/
* Use our omemo sid/fingerprint in qr codeMichael Vetter2022-05-311-1/+1
| | | | | | | Current clients sid/fingerprint will be shown in following format: `xmpp:<user@server>?omemo-sid-<numerical-sid>=<omemo-fingerprint-hex-string>` Fix https://github.com/profanity-im/profanity/issues/1320
* Add basic qrcode functionsMichael Vetter2022-05-301-0/+4
|
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* ox: show ox preferencesMichael Vetter2022-05-051-0/+1
|
* a tad more `const`-correctnessSteffen Jaeckel2022-03-221-2/+2
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* 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
|