about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak in accounts_get_login_status()Dmitry Podgorny2021-07-172-1/+6
|
* Merge pull request #1576 from DebXWoody/autocomplete-untrustMichael Vetter2021-07-121-0/+27
|\ | | | | OMEMO autocomplete untrust
| * OMEMO autocomplete untrustDebXWoody2021-07-101-0/+27
| | | | | | | | Just a copy-past of autocomplete trust implementation.
* | Add limitations info to /help editorMichael Vetter2021-07-081-1/+3
| |
* | Add MAM notice to /help mamMichael Vetter2021-07-081-1/+3
| |
* | Fix segfault in /blocked with no argsMichael Vetter2021-07-061-1/+1
| | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1575
* | Fix log rotationMichael Vetter2021-07-051-1/+1
| | | | | | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1518 See https://github.com/profanity-im/profanity/issues/1518#issuecomment-870581988
* | cmd_blocked: Exit when wrong argumentsMichael Vetter2021-07-021-0/+1
| |
* | Initialize jidThorben Günther2021-07-011-2/+2
| |
* | XEP-0377: Fix arg parsingMichael Vetter2021-07-011-12/+23
| |
* | XEP-0377: Add forgotten namespaceMichael Vetter2021-07-012-0/+2
| |
* | Merge pull request #1566 from DebXWoody/bugfixing/oxMichael Vetter2021-07-016-52/+88
|\ \ | | | | | | Bugfixes for OX implementation
| * | OX bug fixDebXWoody2021-07-013-22/+22
| | | | | | | | | | | | | | | * Help / message description * C-Code format
| * | OX bug fixingDebXWoody2021-06-292-6/+12
| | | | | | | | | | | | | | | * Don't decryption if there is no private key * Decryption error messages
| * | Bugfixes for OX implementationDebXWoody2021-06-285-43/+73
| |/ | | | | | | | | | | | | * 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-019-1/+62
| | | | | | | | | | | | | | `/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-017-19/+91
|\ \ | | | | | | Add XEP-0377: Spam Reporting
| * | Reorder /blocked commandsMichael Vetter2021-07-013-26/+37
| | | | | | | | | | | | | | | | | | | | | | | | Instead of `/blocked add [<jid>] [report-abuse|report-spam [<message>]` have: * /blocked add [<jid>] [<message>] (like before) * /blocked report-abuse [<jid>] [<message>] * /blocked report-spam [<jid>] [<message>]
| * | Mention feature details when not supportedMichael Vetter2021-07-012-7/+7
| | | | | | | | | | | | So that we will get aware of a version mismatch.
| * | Add XEP-0377: Spam ReportingMichael Vetter2021-07-015-12/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Restore last status string when connectingThorben Günther2021-07-013-5/+17
| | |
* | | Merge pull request #1529 from dustinlagoy/access-roster-from-pluginsMichael Vetter2021-07-018-0/+103
|\ \ \ | |/ / |/| | Access roster from plugins
| * | Add plugin get_barejid_from_roster functionDustin Lagoy2021-04-296-0/+38
| | |
| * | Change nick to name in api to match conventionDustin Lagoy2021-04-286-12/+12
| | | | | | | | | | | | | | | Change all instances of *get_nick_from_roster to *get_name_from_roster to match the convention of names in the roster itself.
| * | Add plugin prof_get_nick_from_roster functionDustin Lagoy2021-04-288-0/+65
| | |
* | | Fix /disco info contact address headerMichael Vetter2021-06-301-3/+5
| | | | | | | | | | | | | | | Only display server contact information heading when we have actual addresses.
* | | Fix segfault when aesgcm url isn't the expected sizeMichael Vetter2021-06-302-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fixes the bug mentioned in https://github.com/profanity-im/profanity/issues/1478#issuecomment-794161606 The rest of https://github.com/profanity-im/profanity/issues/1478 I can't reproduce. Seems to work fine.
* | | Adjust contact addresses output to the rest of disco infoMichael Vetter2021-06-301-2/+3
| | | | | | | | | | | | Format the output of cons_show_disco_contact_information() so that it matches cons_show_disco_info().
* | | command: Mention xep-0157 in /disco infoMichael Vetter2021-06-301-1/+2
| | |
* | | XEP-0157: Print all available addressesMichael Vetter2021-06-302-8/+26
| | |
* | | XEP-0157: Print contact addressesMichael Vetter2021-06-305-20/+29
| | |
* | | XEP-0157: Parse contact address stanzaMichael Vetter2021-06-293-4/+56
| | |
* | | OMEMO LoggingDebXWoody2021-06-282-5/+6
| |/ |/|
* | Merge pull request #1564 from profanity-im/fix/977Michael Vetter2021-06-281-9/+0
|\ \ | | | | | | Disable notifications by default
| * | Disable notifications by defaultMichael Vetter2021-06-281-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | Since I didn't find a way to discover whether a notification server is running I decided to disable them by default. So people without one will not have such a bad lag due to timeout from libnotify. Fix https://github.com/profanity-im/profanity/issues/977
* | | Merge pull request #1563 from profanity-im/fix/1518-logrotMichael Vetter2021-06-281-7/+1
|\ \ \ | | | | | | | | Fix log rotation
| * | | Fix log rotationMichael Vetter2021-06-281-7/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/profanity-im/profanity/issues/1518 It has a good explanation of what happened: ``` Apparently, the _rotate_log_file function tried to extract user-provided name from currently used mainlogfile and restart logging to the same place after rotation, but currently this is interpreted as a full path instead. As I understand, the log rotation is no longer done with user-provided paths at all so this should be simply skipped altogether now as passing any non-NULL value is interpreted as user-provided. Replacing start with NULL appears to fix it for me. ``` In log_msg() we only rotate the log if not user_provided_log. https://github.com/profanity-im/profanity/pull/1455 changed the behaviour from user defined filename in the log dir to using full path.
* / / Escape all parameters in SQL statementsCIacademic2021-06-111-8/+5
|/ / | | | | | | | | Some more parameters might contain quotes, so escape all of them with %q by using sqlite3_mprintf.
* | Fix executable exampleMichael Vetter2021-06-101-1/+1
| | | | | | | | Changed in a5a0dd6c919a2b4f12ef2b4f57a0d9a2a9cabf34
* | Print editor command in /executable overviewMichael Vetter2021-06-101-0/+4
| |
* | editor: dont print preview in windowMichael Vetter2021-06-101-2/+0
| | | | | | | | See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
* | editor: dont check whether compose file existsMichael Vetter2021-06-101-6/+0
| | | | | | | | | | No need to check anymore since we are now saving per account. Like this we also could reopen the same file again.
* | editor: use status to check for being onlineMichael Vetter2021-06-101-3/+4
| |
* | editor: Use datadir instead of tmp dirMichael Vetter2021-06-102-8/+17
| | | | | | | | | | See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
* | Add editor hintMichael Vetter2021-06-101-1/+1
| | | | | | | | | | See https://github.com/profanity-im/profanity/issues/1521#issuecomment-854110973
* | 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
* | win unread: fix window testMichael Vetter2021-06-091-5/+4
| | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1554
* | Add command to show single bookmark detailsMichael Vetter2021-06-097-5/+57
| | | | | | | | | | | | | | `/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
* | Merge pull request #1553 from DebXWoody/bugfix/fix1552Michael Vetter2021-06-091-1/+12
|\ \ | | | | | | | | | | | | | | | | | | OMEMO: Separate handling of device list Two changes: * First register the handler before sending the request * Don't add own jid to handler
| * | OMEMO: Separate handling of device listDebXWoody2021-06-051-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In profanity are two handlers for device list: * _handle_own_device_list * _handle_device_list_start_session I seems both handler will start a session via omemo_start_device_session_handle_bundle _handle_own_device_list will also make sure, that the own device is withing the omemo device list. If we add the _handle_device_list_start_session into the hashmap, we are not going the republish ourself, in case we clean-up the device list from another client. This will maybe fix #1552 99 Little Bugs in my Code. Take one down. Patch it around. 113 Bugs in my Code