about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1571 from profanity-im/feature/955-silenceMichael Vetter2021-07-0110-1/+68
|\ | | | | Add option to only allow messages from jids in roster
| * Add silence test stubMichael Vetter2021-07-011-0/+6
| |
| * 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-018-20/+92
|\ | | | | 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>]
| * Adjust test stub of blocking commandMichael Vetter2021-07-011-1/+1
| |
| * 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
* | Merge pull request #1570 from xenrox/restore-statusMichael Vetter2021-07-014-5/+23
|\ \ | | | | | | Restore last status string when connecting
| * | Restore last status string when connectingThorben Günther2021-07-014-5/+23
|/ /
* | Merge pull request #1529 from dustinlagoy/access-roster-from-pluginsMichael Vetter2021-07-0113-0/+171
|\ \ | |/ |/| Access roster from plugins
| * Add unit tests for roster_get_display_nameDustin Lagoy2021-06-303-0/+38
| |
| * Fix prof_get_name_from_roster documentationDustin Lagoy2021-04-292-2/+2
| |
| * Add plugin get_barejid_from_roster functionDustin Lagoy2021-04-298-0/+53
| |
| * Change nick to name in api to match conventionDustin Lagoy2021-04-288-14/+14
| | | | | | | | | | 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-2810-0/+80
| |
* | 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.
* | Merge pull request #1567 from profanity-im/feature/1524-contactMichael Vetter2021-06-306-5/+86
|\ \ | | | | | | Add support for XEP-0157 server contact information discovery
| * | 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
|/ /
* | Merge pull request #1565 from DebXWoody/omemo-logging2Michael Vetter2021-06-282-5/+6
|\ \ | | | | | | Change some OMEMO Logging to info
| * | 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.
* | | Merge pull request #1561 from CIacademic/masterMichael Vetter2021-06-111-8/+5
|\ \ \ | |/ / |/| | Escape all parameters in SQL statements
| * | 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
* | gh: fix typo in issue templateMichael Vetter2021-06-101-1/+1
| |
* | Merge pull request #1560 from profanity-im/feature/1525-jingleMichael Vetter2021-06-102-0/+26
|\ \ | | | | | | XEP-0353: Display a notice when receiving a call
| * | 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
* | | gh: 50 issue feature request banMichael Vetter2021-06-101-0/+3
|/ /
* | win unread: fix window testMichael Vetter2021-06-091-5/+4
| | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1554
* | Merge pull request #1559 from profanity-im/feature/1558-bookmarkMichael Vetter2021-06-099-5/+68
|\ \ | | | | | | Add command to show single bookmark details
| * | Add command to show single bookmark detailsMichael Vetter2021-06-099-5/+68
|/ / | | | | | | | | | | | | `/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
* | | Merge pull request #1557 from profanity-im/fix/1231-displayMichael Vetter2021-06-081-6/+16
|\ \ \ | | | | | | | | Fix wrong message display when mention is triggered
| * | | Fix multiple mentions in one lineMichael Vetter2021-06-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `jubalh: jubalh jubalh` resulted in `20:32:34 - testuser1: jubalh20:32:34 - testuser1: : jubalh20:32:34 - testuser1: jubalh` Print date/nick only once at beginning of line.