about summary refs log tree commit diff stats
path: root/src/xmpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosMichael Vetter2021-09-221-2/+2
|
* Fix memleakPaul Fariello2021-08-201-0/+2
|
* Log error received while publishing OMEMO device listPaul Fariello2021-08-201-1/+2
|
* OMEMO: Fix precondition-not-met handlingPaul Fariello2021-08-192-6/+15
|
* Create devicelist if it doesn't existsPaul Fariello2021-08-191-1/+18
|
* OMEMO: try device list creation and reconfigure on precondition-not-metPaul Fariello2021-08-192-6/+25
|
* Ensure devicelist access model is configured before updating itPaul Fariello2021-08-192-23/+93
|
* XEP-0377: Add forgotten namespaceMichael Vetter2021-07-012-0/+2
|
* Merge pull request #1566 from DebXWoody/bugfixing/oxMichael Vetter2021-07-012-42/+51
|\ | | | | Bugfixes for OX implementation
| * OX bug fixDebXWoody2021-07-011-18/+17
| | | | | | | | | | * Help / message description * C-Code format
| * OX bug fixingDebXWoody2021-06-291-6/+7
| | | | | | | | | | * Don't decryption if there is no private key * Decryption error messages
| * Bugfixes for OX implementationDebXWoody2021-06-282-33/+42
| | | | | | | | | | | | | | * autocomplete for /ox discover * fixed help description * Implemented /ox char command * Validated KeyID length
* | Add option to only allow messages from jids in rosterMichael Vetter2021-07-011-0/+22
| | | | | | | | | | | | | | `/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
* | Merge pull request #1569 from profanity-im/feature/1434-spam-reportingMichael Vetter2021-07-014-4/+40
|\ \ | | | | | | Add XEP-0377: Spam Reporting
| * | Mention feature details when not supportedMichael Vetter2021-07-011-2/+2
| | | | | | | | | | | | So that we will get aware of a version mismatch.
| * | Add XEP-0377: Spam ReportingMichael Vetter2021-07-013-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report and block: `/blocked add someone@domain.org report-abuse This is not nice` `/blocked add someone@domain.org report-spam This is not nice` Regular block: `/blocked add someone@domain.org` Implement https://github.com/profanity-im/profanity/issues/1434
* | | Merge pull request #1529 from dustinlagoy/access-roster-from-pluginsMichael Vetter2021-07-012-0/+25
|\ \ \ | |/ / |/| | Access roster from plugins
| * | Add plugin prof_get_nick_from_roster functionDustin Lagoy2021-04-282-0/+25
| | |
* | | XEP-0157: Print all available addressesMichael Vetter2021-06-301-5/+18
| | |
* | | XEP-0157: Print contact addressesMichael Vetter2021-06-303-20/+14
| | |
* | | XEP-0157: Parse contact address stanzaMichael Vetter2021-06-293-4/+56
| |/ |/|
* | XEP-0353: Display a notice when receiving a callMichael Vetter2021-06-092-0/+26
| | | | | | | | | | | | Display a notice in the console when someone tries to call us. Implement https://github.com/profanity-im/profanity/issues/1525
* | Add command to show single bookmark detailsMichael Vetter2021-06-092-0/+8
| | | | | | | | | | | | | | `/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
* | Message received without body error logDebXWoody2021-06-031-2/+2
| | | | | | | | | | | | | | This is not an error, the message has no body because of XEP-0085: Chat State Notifications. Changed log level from error to info.
* | OMEMO - Unable to publish own device listDebXWoody2021-06-011-0/+16
| | | | | | | | | | | | | | | | | | | | If we are not able to publish our own device list, we just ignored it. This commit will show at least an error message and informs the user that this device is currently not in the list of devices. See Issue: #1538 Next task will be to handle the <precondition-not-met/> conflict properly.
* | Improved OMEMO loggingDebXWoody2021-05-282-8/+17
| | | | | | | | | | | | | | | | | | | | | | The most loggings has been set to debug. Just in case of error / problem the logging should be done with log-level ERROR or WARNING. We will see later, which loggings should be switched to log-level INFO. This improvement has been done to find OMEMO bugs. See also: #1070 #1530 #1538
* | message: correct type checkingMichael Vetter2021-05-141-1/+1
|/ | | | | Found by DebXWoody. Led to always be true (which still made it work in most cases).
* Goodbye beautiful IDsMichael Vetter2021-04-143-30/+18
| | | | | | | | | | | | | | | It was a great ride! IDs look instead of `TE5BTDc2ZTc3YTMwZGU3MDgzMzllOTliNGExNjVmMjZkMTY1ZmUyZGEyNTUxMjVmODBkMmQzOGMxYWI2ZjAxNzdiM2Q=` more like `7HcnNSoO1MVvb0p9a9e293152922853e910b8b1a65bb26e225a0568` now. Regards https://github.com/profanity-im/profanity/issues/1520 We still has our identifier into it to filter MUC reflected messages. profident maybe should be changed to be longer or be generated upon each start.
* Get rid of asprintf and _GNU_SOURCE defineMichael Vetter2021-03-301-5/+3
| | | | | | | _GNU_SOURCE was even in some files where it was not needed at all (http*). Let's replace asprintf() with g_strdup_printf().
* Add config.h in files were it was missingMichael Vetter2021-03-2611-0/+22
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* iq: use define for 'cancel'Michael Vetter2021-03-261-2/+2
|
* message: parse stanzaid in MUC caseMichael Vetter2021-03-251-1/+9
| | | | | | | | | | | | | | | | | | There was a todo for this in message.c which got forgotten. This was most likely also the reason why there were NULL entries for this in the DB which DebXWoody mentioned in the MUC. Thus comparison was with NULL and no new entries were added to the database. Edit: After checking pull requests I see Stefans draft PR: https://github.com/profanity-im/profanity/pull/1505 So let's add him as co-author. Co-authored-by: Stefan Kropp <stefan@debxwoody.de>
* ox: fix memleak in ox_announce_public_keyMichael Vetter2021-03-251-1/+3
|
* message: make _handle_error saferMichael Vetter2021-03-251-2/+4
|
* avatar: make _avatar_request_item_result_handler saferMichael Vetter2021-03-251-0/+4
|
* avatar: make _avatar_metadata_handler saferMichael Vetter2021-03-251-11/+20
|
* ox: make _ox_public_key_result saferMichael Vetter2021-03-251-5/+15
|
* ox: guard printing of fingerprintMichael Vetter2021-03-251-1/+3
|
* ox: improve error log in _ox_metadata_resultMichael Vetter2021-03-251-1/+1
|
* ox: add logging prefixMichael Vetter2021-03-251-15/+15
|
* stanza: guard mallocsMichael Vetter2021-03-251-70/+88
| | | | | If this happens we have more serious problems :-) But anyways..
* stanza: simplify stanza_get_muc_destroy_alternative_roomMichael Vetter2021-03-251-4/+1
|
* stanza: replae strcmp with g_strcmp0Michael Vetter2021-03-251-17/+17
| | | | since its NULL safe
* message: simplify _handle_headlineMichael Vetter2021-03-251-4/+2
|
* message: make _receipt_request_handler saferMichael Vetter2021-03-251-1/+1
|
* message: make _handle_receipt_received saferMichael Vetter2021-03-251-1/+5
|
* message: make _handle_groupchat saferMichael Vetter2021-03-251-0/+6
|
* message: simplify _handle_conferenceMichael Vetter2021-03-251-7/+5
|
* message: make _handle_form saferMichael Vetter2021-03-251-0/+3
|
* message: make _message_handler saferMichael Vetter2021-03-251-7/+9
|