about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fixed crashes when server doesn't support registrationswirl2021-10-101-1/+1
|
* registration: remove auth param and excess functionsswirl2021-08-179-210/+5
|
* REGISTRATION FIXEDMichael Vetter2021-08-171-8/+8
|
* progress on fixing registrationswirl2021-08-172-8/+6
| | | | | | doesnt segfault on register, but aborts when you type after registering need to find a way to disconnect later
* hacky fix(?) for registerswirl2021-08-174-20/+366
| | | | very bad and spaghetti will fix later
* fixed some bugs, added some moreswirl2021-08-179-15/+96
| | | | | | | | | - 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
* /register: parameter updatesswirl2021-08-172-14/+24
| | | | add auth param, switch host and username params, rename host param to server
* initial register command testswirl2021-08-179-0/+274
|
* omemo: always free error and print warningMichael Vetter2021-07-221-0/+9
| | | | Fix https://github.com/profanity-im/profanity/issues/1584
* chatwin: fix memory leak when load historyDmitry Podgorny2021-07-201-0/+4
| | | | | | | | _chatwin_history() reassigns msg->plain without freeing previous string. This leads to memory leak. As a temporary solution, free replaced string. Fixes #1585.
* accounts: get rid of guard around freeMichael Vetter2021-07-171-11/+5
|
* Merge pull request #1583 from profanity-im/memleakMichael Vetter2021-07-172-12/+11
|\ | | | | Fix memory leak in accounts_get_login_status()
| * Reduce copy-paste in sv_ev_roster_received()Dmitry Podgorny2021-07-171-11/+5
| |
| * Fix memory leak in accounts_get_login_status()Dmitry Podgorny2021-07-172-1/+6
| |
* | Don't handle /me in the middle of a message with mentionsDmitry Podgorny2021-07-171-2/+3
| |
* | Fix buffer overread in _mucwin_print_mention()Dmitry Podgorny2021-07-171-3/+3
|/ | | | | | Offset for g_utf8_substring() is higher than the string length. We can avoid g_utf8_substring() for the tail and simply convert starting offset to a pointer.
* 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