Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only print chathistory if regular chat message | Michael Vetter | 2020-04-13 | 1 | -1/+4 |
| | | | | | | | | | | | MUCPMs and regular chat messages get printed with the same code. But we don't save MUC PMs in the sqldb, because another jid could use the same nick the next time. And if we would take the log out we would need a different routine, checking for resourcepart too. Fix https://github.com/profanity-im/profanity/issues/1312 | ||||
* | Add hidden MAM setting and trigger MAM retrievel when opening new window | Michael Vetter | 2020-04-12 | 1 | -8/+13 |
| | | | | | | | | | | | | Only when we start the conversation. Not yet when we get messaged and a new window is opened. Need to have sorting of messages in the window buffer then, I guess. Also MAM IQ should only be send one time in such a case. If MAM is enabled history from sql backend will not be shown. `mam` in profrc enables experimental MAM. Can change soon again. Don't rely on stuff in this stage ;) | ||||
* | MAM: Correctly display incoming MAM chat message | Michael Vetter | 2020-04-11 | 1 | -3/+10 |
| | |||||
* | Add to_jid field to ProfMessage struct | Michael Vetter | 2020-04-11 | 1 | -3/+3 |
| | | | | | Is usefult in many cases if we want cleaner code. Hope this edit didn't break anything though ;-) | ||||
* | Quick and dirty display of MAM messages | Michael Vetter | 2020-04-11 | 1 | -3/+6 |
| | |||||
* | Retrieve message type from database | Michael Vetter | 2020-04-08 | 1 | -1/+1 |
| | | | | So we don't have to check for MUC another way. | ||||
* | db: Fix memleaks | Michael Vetter | 2020-04-06 | 1 | -2/+1 |
| | |||||
* | Adapt win_print_history() to work with muc too | Michael Vetter | 2020-04-06 | 1 | -2/+1 |
| | |||||
* | Remove chat_log_get_previous() | Michael Vetter | 2020-04-06 | 1 | -7/+3 |
| | | | | | | | | | | | | We now dont get the log files from the text files via chat_log_get_previous() anymore. We use the sql backend via log_database_get_previous_chat(). So far it just has the same behaviour like chat_log_get_previous(), except that in _chatwin_history() we don't pass the sender to win_print_history() which should be fixed in a commit soon. And log_database_get_previous_chat() can later easily be expanded to fix https://github.com/profanity-im/profanity/issues/205. | ||||
* | Get regular chat history out of sql backend | Michael Vetter | 2020-04-06 | 1 | -19/+8 |
| | |||||
* | Allow utf8 symbols as omemo/pgp/otr indicator char | Michael Vetter | 2020-02-20 | 1 | -21/+29 |
| | | | | Fix https://github.com/profanity-im/profanity/issues/1264 | ||||
* | Refactor win_print_history() | Michael Vetter | 2020-02-17 | 1 | -1/+1 |
| | | | | We never use the printf like behaviour anyways. | ||||
* | Refactor win_print_outgoing() | Michael Vetter | 2020-02-17 | 1 | -2/+2 |
| | | | | We never use the printf like behaviour anyways. | ||||
* | xep-0308: enable for carbon copied messages | Michael Vetter | 2020-02-14 | 1 | -1/+0 |
| | | | | | | | If we are connected with another client and send a message, then correct it. We now display it correctly in Profanity. Id wasn't saved for carbon copied messages too so far. | ||||
* | xep-0308: enable correction in outgoing messages with delivery receipts | Michael Vetter | 2020-02-14 | 1 | -2/+1 |
| | |||||
* | Rename win_print_with_receipt() -> win_print_outgoing_with_receipt() | Michael Vetter | 2020-02-14 | 1 | -1/+1 |
| | |||||
* | Add myself to copyright | Michael Vetter | 2020-02-14 | 1 | -0/+1 |
| | |||||
* | xep-0308: update the UI upon sending a corrected message | Michael Vetter | 2020-02-11 | 1 | -8/+10 |
| | | | | | So far we don't do this for encrypted messages. Still needs to be done. And MUC also needs to be done. | ||||
* | xep-0308: Implement `/correct` to correct the last send message | Michael Vetter | 2020-02-10 | 1 | -0/+16 |
| | | | | | | | | 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. | ||||
* | Initial work on last-read-position feature | Michael Vetter | 2019-12-13 | 1 | -0/+1 |
| | | | | | | | | Print dashes on the position we last left off in a chat window. So far the number of dashes is hardcoded, and the feature only works in chat windows. Regards https://github.com/profanity-im/profanity/issues/1238 | ||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Make sure date vars are initialized | Michael Vetter | 2019-10-21 | 1 | -3/+3 |
| | |||||
* | Properly display chatwin history | Michael Vetter | 2019-10-21 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | | | | | | So far if one had enabled `/history` and did `/msg somenick` the history was loaded from file and displayed like this: ``` 04-04-17 15:23 - 3/4/2017: 01-01-00 10:30 - me: .... 01-01-00 10:31 - somebody: .... 01-01-00 10:32 - somebody: .... ``` So the first line contained the actual date. But the date used in each line was always 01-01-2000. This date was for some reason hardcoded. This commit now actually uses that date to build the proper GDateTime instead of just printing it. Fix https://github.com/profanity-im/profanity/issues/922 | ||||
* | Fix handling of encrypted carbons | Paul Fariello | 2019-06-21 | 1 | -4/+4 |
| | |||||
* | Rename prof_message_t into ProfMessage | Paul Fariello | 2019-06-20 | 1 | -1/+1 |
| | |||||
* | Add prof_message_t to wrap all message attributes | Paul Fariello | 2019-06-20 | 1 | -14/+16 |
| | | | | | | | 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. | ||||
* | Add OMEMO policy | Paul Fariello | 2019-04-17 | 1 | -0/+10 |
| | | | | | | | | | | | | 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 | ||||
* | Ensure encrypted carbon of own message are marked as encrypted | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Add OMEMO message encryption and decryption | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Add preferences for tab display | James Booth | 2018-03-09 | 1 | -4/+4 |
| | |||||
* | Show name in statusbar tabs WIP | James Booth | 2018-03-08 | 1 | -6/+8 |
| | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Allow chat prefix char to be set by plugins | James Booth | 2017-01-20 | 1 | -1/+39 |
| | |||||
* | Add titlebar encryption text to plugins api | James Booth | 2017-01-19 | 1 | -0/+18 |
| | |||||
* | Add win_print_history | James Booth | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Use win_print_outgoing for carbons | James Booth | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Rename win_print_incoming_message -> win_print_incoming | James Booth | 2016-10-15 | 1 | -2/+2 |
| | |||||
* | Add win_print_outgoing | James Booth | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Add win_print | James Booth | 2016-10-15 | 1 | -19/+19 |
| | |||||
* | Remove win_vprintln_ch | James Booth | 2016-10-15 | 1 | -12/+12 |
| | |||||
* | Use win_printf_line where appropriate | James Booth | 2016-10-15 | 1 | -6/+6 |
| | |||||
* | Add ch arg to win_printf_line | James Booth | 2016-10-15 | 1 | -1/+1 |
| | |||||
* | Use THEME_DEFAULT | James Booth | 2016-10-14 | 1 | -1/+1 |
| | |||||
* | Add win_printf_line | James Booth | 2016-10-14 | 1 | -1/+1 |
| | |||||
* | Always use string format in win_printf | James Booth | 2016-10-12 | 1 | -4/+4 |
| | |||||
* | Remove args from win_print_with_receipt | James Booth | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | Remove win_print, use win_printf instead | James Booth | 2016-10-11 | 1 | -9/+9 |
| | |||||
* | Rename win_vprint -> win_printf | James Booth | 2016-10-11 | 1 | -1/+1 |
| |