about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | Use utf-8 safe functions in _mucwin_print_mention()Michael Vetter2021-06-081-5/+12
|/ / | | | | | | | | | | | | | | | | | | get_mentions() correctly counts utf-8 chars. So the positions of mentions we get from there are correct. But in _mucwin_print_mention() we set position equal to byte. We need to use utf-8 safe functions here. Regards https://github.com/profanity-im/profanity/issues/1231
* | Merge pull request #1550 from DebXWoody/messagewithoutbodyMichael Vetter2021-06-041-2/+2
|\ \ | |/ |/| Message received without body error log
| * 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.
* Merge pull request #1542 from DebXWoody/bugfix/fix1541Michael Vetter2021-06-031-0/+13
|\ | | | | OMEMO: Don't encrypt to yourself (MUC)
| * OMEMO: Don't encrypt to yourself (MUC)DebXWoody2021-05-291-4/+4
| | | | | | | | Use connection_get_barejid instead of connection_get_fulljid.
| * OMEMO: Don't encrypt to yourself (MUC)DebXWoody2021-05-281-0/+13
| | | | | | | | | | | | | | | | | | As defined in XEP-0384 the application should not encrypt the message to own devices. Within a groupchat, yourself are a recipients as well. We will check the recipients and filter out the own device of the own jid. This Pull Request will fix Issue: #1541
* | http upload: use correct content typeMichael Vetter2021-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | This bug was introduced in 1ec606540eb0f474f3d968d3566a7c56d778a367 when `g_strdup_printf` was used instead of `asprintf`. Problem discoverd by raspeguy. Mistake discovered by optmzr and Martin. Thanks to everybody involved!
* | Merge pull request #1549 from DebXWoody/bugfix/fix1530Michael Vetter2021-06-021-7/+29
|\ \ | | | | | | Restart OMEMO Session after lost connection
| * | Change restarted omemo textMichael Vetter2021-06-021-2/+2
| | |
| * | Restart OMEMO Session after lost connectionDebXWoody2021-06-021-7/+29
|/ / | | | | | | | | | | | | | | | | | | When the connection has been re-established, chat and groupchat with OMEMO should restat the OMEMO Session. Fix: #1530 * Added HAVE_OMEMO * clang-format and user output
* | Merge pull request #1548 from DebXWoody/bugfix/bugfix1538Michael Vetter2021-06-012-2/+19
|\ \ | | | | | | OMEMO - Notify user when unable to publish own device list
| * | OMEMO - Unable to publish own device listDebXWoody2021-06-012-2/+19
|/ / | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #1543 from DebXWoody/feature/attention-flagMichael Vetter2021-05-3114-1/+255
|\ \ | | | | | | Feature - attention flag
| * | Change ui_win_has_attention() logicMichael Vetter2021-05-311-3/+5
| | |
| * | Change attention descriptionMichael Vetter2021-05-311-1/+1
| | |
| * | Display attention hint in titlebar for mucs tooMichael Vetter2021-05-311-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | * Display the `[ATTENTION]` hint in the titlebar for both chatwins and mucwins. * Use THEME_TITLE_TEXT instead of THEME_TITLE_ENCRYPT * Have separate function `_show_attention` and don't do it in unrelated `_show_privacy`.
| * | Attention-flag: Fix next windowDebXWoody2021-05-291-8/+25
| | |
| * | attention-flag - unittest - stub_uiDebXWoody2021-05-291-0/+20
| | |