about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Final touches for `/avatar set`Michael Vetter2022-05-275-10/+8
|
* Add checks for whether gdk-pixbuf exists before using avatar setMarcoPolo-PasTonMolo2022-05-266-3/+31
|
* Add `/avatar set` command to publish avatarMarcoPolo-PasTonMolo2022-05-268-1/+181
| | | | | | | | Use `/avatar set <path>` where <path> is an image file to upload a new avatar for the current user. When the avatar is too big it gets scaled down. Scaling code copied from dino. Fixes https://github.com/profanity-im/profanity/issues/1687
* Merge pull request #1711 from MarcoPolo-PasTonMolo/fix/roomname-updateMichael Vetter2022-05-231-0/+8
|\ | | | | Fix room name not updating.
| * Fix room name not updating.MarcoPolo-PasTonMolo2022-05-181-0/+8
|/ | | | | | Now whenever the name of a room changes, either in profanity or another client, it gets updated inside profanity. Fixes https://github.com/profanity-im/profanity/issues/1710
* Merge pull request #1708 from wurstsalat3000/patch-1Michael Vetter2022-05-091-1/+1
|\ | | | | DOAP: Use correct namespace for xmlns:schema
| * DOAP: Use correct namespace for xmlns:schemaDaniel Brötzmann2022-05-091-1/+1
|/
* Update copyright yearMichael Vetter2022-05-0948-50/+50
|
* Merge pull request #1707 from profanity-im/change-redact-defaultsMichael Vetter2022-05-092-7/+7
|\ | | | | Log encrypted messages by default to chatlog
| * Log encrypted messages by default to chatlogMichael Vetter2022-05-092-7/+7
|/ | | | | In case chatlogs are available lets log everything by default. Seems like most users expect this behaviour and I agree.
* Merge pull request #1705 from profanity-im/feat/ox-improvements2Michael Vetter2022-05-0910-27/+91
|\ | | | | Improvements for OX part 2
| * ox: remove /ox sendfile because its actually not implementedMichael Vetter2022-05-052-11/+1
| |
| * ox: show ox preferencesMichael Vetter2022-05-055-0/+35
| |
| * ox: Add /ox log commandMichael Vetter2022-05-056-1/+41
| |
| * ox: only process proper messagesMichael Vetter2022-05-041-12/+11
| | | | | | | | | | | | | | | | | | | | We only want to have the decrypted message or the alternative body in message->plain. Also let's print error messages if it makes sense and log other issues. Partly addresses the commit in the comit mesage of: 2dc0cc489c872941e18a622c091f74bf5b0b043f
| * ox: prefix function _openpgp_signcrypt with ox_Michael Vetter2022-05-041-3/+3
|/ | | | To make the destinction clearer and easier to search.
* ox: have metadata node openMichael Vetter2022-05-041-0/+6
| | | | | | | Should have been done alogn with e9f218cdf6e15f4469d77cbaee59cc8501ed4e82. Like this people who are not in the roster can get our public key and write messages to use.
* ox: return upon invalid fingerprintMichael Vetter2022-05-041-1/+2
|
* Merge pull request #1703 from profanity-im/feat/ox-improvements1Michael Vetter2022-05-047-112/+236
|\ | | | | Several OX improvements
| * ox: fix mistakes in p_ox_gpg_decrypt()Michael Vetter2022-05-041-1/+3
| | | | | | | | | | | | | | strcpy() can't work here because the data doesn't have to be NULL-terminated. So let's use memcpy. Fix memleak of plain_str.
| * Improve ox command helpMichael Vetter2022-05-041-2/+3
| | | | | | | | | | Mention new man page. Correct the usage of /ox request.
| * ox: print message when `/ox end` is run but not startedMichael Vetter2022-05-041-4/+8
| |
| * ox: print more error messages to UIMichael Vetter2022-05-031-2/+6
| |
| * ox: dont require marginal trust levelMichael Vetter2022-05-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Maybe we can make this configurable later. So users have the freedom to be more strict. This commit partly reverts 62018f48c5f1a0410445fce5bca5fdd6a9e4d907. Example to edit trust level: ``` gpg --edit-key somekeyid gpg (GnuPG) 2.3.4; Copyright (C) 2021 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. pub rsa4096/keyid created: 2020-06-26 expires: 2022-06-26 usage: SC trust: unknown validity: full sub rsa4096/keyid created: 2020-06-26 expires: 2022-06-26 usage: E [ full ] (1). xmpp:user@domain.de gpg> trust pub rsa4096/keyid created: 2020-06-26 expires: 2022-06-26 usage: SC trust: unknown validity: full sub rsa4096/keyid created: 2020-06-26 expires: 2022-06-26 usage: E [ full ] (1). xmpp:user@domain.de Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.) 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu Your decision? 3 pub rsa4096/keyid created: 2020-06-26 expires: 2022-06-26 usage: SC trust: marginal validity: full sub rsa4096/keyid created: 2020-06-26 expires: 2022-06-26 usage: E [ full ] (1). xmpp:user@domain.de Please note that the shown key validity is not necessarily correct unless you restart the program. gpg> quit ```
| * Bugfix OX rpad generationStefan Kropp2022-05-031-4/+6
| | | | | | | | | | | | | | | | | | | | ________________________________________ < No comment - should be much better now > ---------------------------------------- \ \ \ >()_ (__)__ _
| * ox_key_is_usable - Logging and owner trust checkStefan Kropp2022-05-031-0/+6
| | | | | | | | | | | | | | * Added logging messages (INFO if key can not be used) * Check owner_trust < GPGME_VALIDITY_MARGINAL The key can not be used if the owner_trust is less than MARGINAL.
| * ox: use glib date function in _gettimestamp and fix memleakMichael Vetter2022-05-031-12/+10
| |
| * ox: Use connection_create_stanza_id() instead of xmpp_uuid_gen()Michael Vetter2022-05-031-4/+4
| |
| * ox: implement `/ox end`Michael Vetter2022-05-031-0/+12
| | | | | | | | We also need to be able to stop an ox conversation :-)
| * ox: use iq_id_handler_add instead of xmpp_id_handler_addMichael Vetter2022-05-031-6/+6
| |
| * ox: use iq_send_stanza instead of xmpp_sendMichael Vetter2022-05-031-4/+10
| |
| * ox: use pubsub acces model open when announce ox public keyMichael Vetter2022-05-031-0/+7
| |
| * Add draft of OX setup manpageMichael Vetter2022-05-031-0/+153
| | | | | | | | | | | | | | | | | | | | | | This man page should help people to set up OX in profanity. We have profanity-ox.1 which is the same as `/help ox` and describes how to use OX. This man page will help with the setup with the external gpg program. Based on the blogpost of Stefan: https://profanity-im.github.io/blog/post/openpgp-for-xmpp-ox/
| * Remove developer notes on OXMichael Vetter2022-05-031-76/+0
|/ | | | | | | | | This was done before OX was implemented. In 0.10 ox landed in Profanity and we have the blogpost: https://profanity-im.github.io/blog/post/openpgp-for-xmpp-ox/ to describe the usage. We will have a man page to help users with the setup as well.
* Restore default behaviour for stampsMichael Vetter2022-05-032-2/+2
| | | | | | | | | | | | @mdosch discovered that we now don't print `:` for messages from others anymore. Until https://github.com/profanity-im/profanity/pull/1663#issuecomment-1114625151 is fixed lets restore the default behaviour to always add `:` in `_win_print_internal()`. The result will be that a stamp set to `-->` will also look like `-->:`.
* Merge pull request #1702 from mdosch/fix-autocomplete-ox-discoverMichael Vetter2022-05-021-1/+1
|\ | | | | Fix autocomplete for `/ox discover`.
| * Fix autocomplete for `/ox discover`.Martin Dosch2022-05-021-1/+1
|/
* ox: add jid autocompletion for /ox requestMichael Vetter2022-05-021-0/+5
|
* contrib: request screenshot upon UI changeMichael Vetter2022-05-021-0/+1
|
* Merge pull request #1701 from profanity-im/log-changesMichael Vetter2022-04-292-11/+16
|\ | | | | Log file improvements
| * Use profanity.001.log instead of profanity.log.001 for rotated logsMichael Vetter2022-04-291-8/+13
| | | | | | | | | | | | | | | | Rotated log files will now be: `.local/share/profanity/logs/profanity.001.log` We only use logrotation if we use the default log file ending with .log. So Replacing the `.` should be fine. User supplied log files are not rotated.
| * Use 3 digits for rotated logfilesMichael Vetter2022-04-291-3/+3
| | | | | | | | profanity.log.001 -> 999.
| * Set default max log size to 10MBMichael Vetter2022-04-291-1/+1
|/ | | | In case logrotate is on.
* Merge pull request #1700 from profanity-im/feat/change-chatlogMichael Vetter2022-04-291-3/+3
|\ | | | | Use ISO8601 as date format in log files
| * Use ISO8601 for log filesMichael Vetter2022-04-291-1/+1
| |
| * Use ISO8601 for chatlogsMichael Vetter2022-04-291-2/+2
| | | | | | | | For both 1:1 and groupchat.
* | Merge pull request #1663 from akaWolf/add_stamp_settingsMichael Vetter2022-04-287-2/+95
|\ \ | |/ |/| Add option to configure incoming/outgoing stamps
| * Merge branch 'master' into add_stamp_settingsMichael Vetter2022-04-2830-325/+636
| |\ | |/ |/|
* | Merge pull request #1697 from cockroach/feature/offline-muc-notificationsMichael Vetter2022-04-289-1/+63
|\ \ | | | | | | Add support for offline MUC notifications
| * | Add support for offline MUC notificationsStefan Ott2022-04-239-1/+63
| | |