about summary refs log tree commit diff stats
path: root/src/event/client_events.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearMichael Vetter2023-01-101-1/+1
|
* Split log.c into log.c and chatlog.cMichael Vetter2022-06-281-0/+1
|
* Update copyright yearMichael Vetter2022-05-091-1/+1
|
* Format new register code correctlyMichael Vetter2021-10-131-1/+0
|
* registration: remove auth param and excess functionsswirl2021-08-171-7/+0
|
* fixed some bugs, added some moreswirl2021-08-171-0/+8
| | | | | | | | | - Added JABBER_RAW_CONNECT[ING/ED] connection states - Added cl_ev_connect_raw and session_connect_raw to conform to normal connection functions - Fixed SIGABRT during registration - Added a check in cmd_register to ensure it's actually connected before registering--but this will always fail atm
* Msg sending: don't write to chatwin nor to log if sending failedMaximilian Wuttke2021-04-081-12/+18
| | | | | | Currently, only `chat_log_omemo_msg_out` can fail (i.e. return `NULL` instead of a stanza id). In this case, the message is neither printed to the chat window nor added to the log (since it wasn't sent).
* Update copyrightMichael Vetter2021-01-081-1/+1
|
* Apply coding styleMichael Vetter2020-07-071-27/+27
|
* Revert "Apply coding style"Michael Vetter2020-07-071-30/+30
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-30/+30
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Feature request - XEP-0373: OpenPGP for XMPP (OX)DebXWoody2020-06-291-0/+9
| | | | | | | | | Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331
* Cleanup defines - client_events.cDebXWoody2020-06-191-179/+5
|
* Add option for legacy authenticationDmitry Podgorny2020-06-051-2/+2
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Add and use connection_get_barejid()Michael Vetter2020-05-251-4/+3
| | | | Instead of connection_get_fulljid() and then creating a Jid from it.
* Fix copy paste errorMichael Vetter2020-04-061-1/+1
|
* db: log all incoming and outgoing messagesMichael Vetter2020-04-061-2/+22
|
* db: log outgoing message in one caseMichael Vetter2020-04-061-0/+2
| | | | Not all cases covered yet.
* Rename PROF_MSG_ENC_PLAIN to PROF_MSG_ENC_NONEMichael Vetter2020-04-061-10/+10
|
* Always send delivery receipts if enabledMichael Vetter2020-02-141-14/+1
| | | | | | | | | | | | | So far receipts are only send if we have enabled it and the other client supports it. But it could be that the other person is connected with several clients. One supporting it and the other which doesn't. If the not supporting one is active and we send to a fulljid, then we won't get receipts. Probably it's best to just always send them if they are enabled in Profanity. And not try to find out the capabilities of the other client. Fix https://github.com/profanity-im/profanity/issues/1268
* Fix testsMichael Vetter2020-02-141-7/+7
|
* 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-8/+18
| | | | | | 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: enable corrections for outgoing encrypted messagesMichael Vetter2020-02-121-21/+21
|
* xep-0308: update the UI upon sending a corrected messageMichael Vetter2020-02-111-5/+6
| | | | | 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 messageMichael Vetter2020-02-101-7/+19
| | | | | | | | 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.
* Update my Copyright to 2020Michael Vetter2020-01-031-1/+1
|
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Update chat_log_pgp_msg_out() usageMichael Vetter2019-10-291-6/+6
| | | | Fix build
* Actually log MUC PM messagesMichael Vetter2019-10-281-10/+14
| | | | | | | | | | If I'm not mistaken MUC PMs have not been logged at all if there was no other client sending carbons. This should add MUC PM logging functionality. We still need to make sure carbons log to the same file. Regards https://github.com/profanity-im/profanity/issues/1214
* Show MUC history on intentional reconnectMichael Vetter2019-07-031-0/+2
| | | | | Small bug caused by 13675fb and ce5a4ed. Fix https://github.com/profanity-im/profanity/issues/1142
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-201-19/+19
| | | | | | | 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 myself to copyrightMichael Vetter2019-06-171-0/+1
| | | | Like discussed with James.
* Close windows on connection loss not general disc.Michael Vetter2019-05-271-0/+1
| | | | | | | | | | Call `ui_close_all_wins();` only if we disconnect on purpose not when connection is lost. Otherwise users might miss messages. This partly reverts 6ac73db876c83c7068c4795b19c09ea59eb18a40. Regards https://github.com/profanity-im/profanity/issues/1083
* Create seperate function for disconnect cleanupMichael Vetter2019-05-191-17/+3
| | | | | Duplicate code in client_events.c and server_events.c. Let's have events/common.c and a function containing that code.
* Rework MUC reflected message filteringPaul Fariello2019-04-101-5/+7
| | | | | | | | | 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 support for disconnect in OMEMOPaul Fariello2019-04-101-0/+3
|
* Log and print outgoing encrypted messagePaul Fariello2019-04-101-5/+24
|
* Add support for sending encrypted message in MUCPaul Fariello2019-04-101-4/+19
|
* Add support for OMEMO, OTR, PGP built togetherPaul Fariello2019-04-101-4/+93
|
* Add OMEMO message encryption and decryptionPaul Fariello2019-04-101-0/+19
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Add /rooms service autocompletionJames Booth2018-02-051-0/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Add pre chat and room message blockingJames Booth2017-01-221-0/+6
|
* Fix compileJames Booth2017-01-161-1/+1
|
* Remove status from cl_ev_presence_sendJames Booth2017-01-151-2/+3
| | | | fixes #888
* Allow clearing account resourceJames Booth2016-11-221-4/+10
| | | | issue #880