about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in functions namesraspbeguy2021-07-121-8/+8
| | | Probably a refactoring that didn't go well.
* Mention OX in READMEMichael Vetter2021-07-121-1/+1
|
* 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
* | Merge pull request #1573 from xenrox/fix-uninitializedMichael Vetter2021-07-021-2/+3
|\ \ | | | | | | Initialize jid
| * | cmd_blocked: Exit when wrong argumentsMichael Vetter2021-07-021-0/+1
| | |
| * | Initialize jidThorben Günther2021-07-011-2/+2
|/ /
* | Merge pull request #1572 from profanity-im/fix/spamreportingMichael Vetter2021-07-013-12/+25
|\ \ | | | | | | Fix spamreporting
| * | 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
* | 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.