Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | avatar: make _avatar_request_item_result_handler safer | Michael Vetter | 2021-03-25 | 1 | -0/+4 | |
| | ||||||
* | avatar: make _avatar_metadata_handler safer | Michael Vetter | 2021-03-25 | 1 | -11/+20 | |
| | ||||||
* | ox: make _ox_public_key_result safer | Michael Vetter | 2021-03-25 | 1 | -5/+15 | |
| | ||||||
* | ox: guard printing of fingerprint | Michael Vetter | 2021-03-25 | 1 | -1/+3 | |
| | ||||||
* | ox: improve error log in _ox_metadata_result | Michael Vetter | 2021-03-25 | 1 | -1/+1 | |
| | ||||||
* | ox: add logging prefix | Michael Vetter | 2021-03-25 | 1 | -15/+15 | |
| | ||||||
* | stanza: guard mallocs | Michael Vetter | 2021-03-25 | 1 | -70/+88 | |
| | | | | | If this happens we have more serious problems :-) But anyways.. | |||||
* | stanza: simplify stanza_get_muc_destroy_alternative_room | Michael Vetter | 2021-03-25 | 1 | -4/+1 | |
| | ||||||
* | stanza: replae strcmp with g_strcmp0 | Michael Vetter | 2021-03-25 | 1 | -17/+17 | |
| | | | | since its NULL safe | |||||
* | message: simplify _handle_headline | Michael Vetter | 2021-03-25 | 1 | -4/+2 | |
| | ||||||
* | message: make _receipt_request_handler safer | Michael Vetter | 2021-03-25 | 1 | -1/+1 | |
| | ||||||
* | message: make _handle_receipt_received safer | Michael Vetter | 2021-03-25 | 1 | -1/+5 | |
| | ||||||
* | message: make _handle_groupchat safer | Michael Vetter | 2021-03-25 | 1 | -0/+6 | |
| | ||||||
* | message: simplify _handle_conference | Michael Vetter | 2021-03-25 | 1 | -7/+5 | |
| | ||||||
* | message: make _handle_form safer | Michael Vetter | 2021-03-25 | 1 | -0/+3 | |
| | ||||||
* | message: make _message_handler safer | Michael Vetter | 2021-03-25 | 1 | -7/+9 | |
| | ||||||
* | mesage: make _handle_ox_chat safer | Michael Vetter | 2021-03-25 | 1 | -11/+27 | |
| | | | | And on the way fix a memleak | |||||
* | message: make _handle_chat safer | Michael Vetter | 2021-03-25 | 1 | -0/+3 | |
| | ||||||
* | message: make _handle_muc_private_message safer | Michael Vetter | 2021-03-25 | 1 | -0/+7 | |
| | ||||||
* | message: fix potential segfault in _receipt_request_handler | Michael Vetter | 2021-03-25 | 1 | -3/+7 | |
| | ||||||
* | message: safeguard _handle_receipt_received | Michael Vetter | 2021-03-25 | 1 | -15/+17 | |
| | | | | | | This shouldnt be necessary since we check for the receipt outside alreayd. Let's be on the safe side though in case code gets changed later. | |||||
* | message: reorder _handle_groupchat | Michael Vetter | 2021-03-25 | 1 | -12/+9 | |
| | ||||||
* | message: fix possible segfault in _handle_conference | Michael Vetter | 2021-03-25 | 1 | -19/+23 | |
| | ||||||
* | message: fix possible segfault in _handle_muc_user | Michael Vetter | 2021-03-25 | 1 | -0/+4 | |
| | ||||||
* | message: fix possible segfault in _message_handler | Michael Vetter | 2021-03-25 | 1 | -3/+3 | |
| | ||||||
* | Add support to register with a room | Michael Vetter | 2021-03-25 | 4 | -4/+144 | |
| | | | | | | | | | | `/affiliation register` can now be used to register a nickname with a MUC. Tested with a server without forms. Couldn't find a server which supports forms yet. Implements https://github.com/profanity-im/profanity/issues/1210 | |||||
* | form.c: fix memleak in form_tag_exists | Michael Vetter | 2021-03-17 | 1 | -0/+1 | |
| | ||||||
* | Add support to approve MUC voice requests | Michael Vetter | 2021-03-17 | 3 | -2/+52 | |
| | | | | | | A form will open. One can then use `/field4 on` `/form submit`. Implements https://github.com/profanity-im/profanity/issues/1507 | |||||
* | MUC: Add voice request | Thorben Günther | 2021-03-12 | 4 | -1/+77 | |
| | | | | closes https://github.com/profanity-im/profanity/issues/1211 | |||||
* | Merge pull request #1501 from xenrox/change-password | Michael Vetter | 2021-03-11 | 5 | -1/+87 | |
|\ | | | | | Add command to change password of logged in user | |||||
| * | Add command to change password of logged in user | Thorben Günther | 2021-03-11 | 5 | -1/+87 | |
| | | ||||||
* | | Update to the newest version of XEP 0363 (HTTP Upload) | Maximilian Wuttke | 2021-03-11 | 3 | -36/+35 | |
|/ | | | | | | | | | | | | | Main changes: 1. Attributes instead of tags 2. Read the optional <header> tags and send them in the HTTP PUT header: * Authorization * Cookie * Expires Co-authored-by: Martin Dosch <martin@mdosch.de> | |||||
* | [OMEMO]: Fix bundle publishing | Maximilian Wuttke | 2021-03-09 | 1 | -14/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the following options in `omemo_bundle_publish()`: - "pubsub#persist_items" = "true" - "pubsub#access_model" = "open" The same options are also used in Gajim. I've tested this on two different servers. The bundle was successfully added as a new PEP node. Test cases: 1. Normal use on my main account 2. Log in into a fresh tesst account on a different server 3. `/omemo clear_device_list`. In this case, the client(s) may have to be restarted. Note: In `_omemo_bundle_publish_result`, there's a route that is taken when the bundle publish stanza failed. In this case, the node is configured manually, i.e. the access_model is set to 'open'. I have manually tested this case, but this case didn't naturally occur for me. Note: The option "pubsub#max_items=max" is REQUIRED for the bundle publication, as per XEP-0384. However, this is not done in other clients (I've checked the source code of Gajim and Conversations), and it is also not supported by Prosody. Cf. <https://github.com/xsf/xeps/pull/988>. | |||||
* | Logging [OMEMO] | Maximilian Wuttke | 2021-03-09 | 1 | -1/+26 | |
| | | | | | Also "handle" some errors in `_omemo_bundle_publish_configure` if the stanzas can't be found | |||||
* | Variadic version of `stanza_attach_publish_options` | Maximilian Wuttke | 2021-03-09 | 2 | -16/+37 | |
| | ||||||
* | Logging [OMEMO] | Maximilian Wuttke | 2021-03-09 | 1 | -6/+10 | |
| | ||||||
* | Logging [CONNECTION] | Stefan | 2021-03-09 | 1 | -0/+1 | |
| | ||||||
* | Remove forgotten debug line | Michael Vetter | 2021-02-15 | 1 | -1/+0 | |
| | ||||||
* | Use correct time for MAM messages | Michael Vetter | 2021-02-04 | 1 | -8/+17 | |
| | | | | | | We need the delay value from the <forward> element. Regards https://github.com/profanity-im/profanity/issues/660 | |||||
* | Enable error logging on MAM RSM | Michael Vetter | 2021-01-28 | 1 | -4/+1 | |
| | ||||||
* | Get MAM from last 7 days | Michael Vetter | 2021-01-28 | 1 | -1/+1 | |
| | | | | Probably should make this configurable later. | |||||
* | MAM: Request more pages via RSM | Michael Vetter | 2021-01-28 | 1 | -6/+22 | |
| | | | | Send another request with same jid and last id we got. | |||||
* | Adapt MAM RSM code to latest functions | Michael Vetter | 2021-01-28 | 1 | -3/+3 | |
| | | | | | | Some functions changed in the meantime. stanza_get_child_by_name_and_ns() got dropped and xmpp_stanza_get_child_by_name_and_ns() from newer libstrophe is used. | |||||
* | wip: add rsm after we get the first couple of mam messages | Michael Vetter | 2021-01-28 | 3 | -5/+46 | |
| | ||||||
* | mam: Use correct ID in rsm handler | Michael Vetter | 2021-01-28 | 1 | -3/+1 | |
| | | | | Thanks to DebXWoody for the help. | |||||
* | mam: fix logging message | Michael Vetter | 2021-01-28 | 1 | -1/+1 | |
| | ||||||
* | Start working on MAM RSM to get more pages | Michael Vetter | 2021-01-28 | 2 | -1/+27 | |
| | | | | Regards https://github.com/profanity-im/profanity/issues/660 | |||||
* | Update copyright | Michael Vetter | 2021-01-08 | 5 | -5/+5 | |
| | ||||||
* | Remove not needed include | Michael Vetter | 2020-12-16 | 1 | -1/+0 | |
| | ||||||
* | Fix various typos | Michael Vetter | 2020-12-10 | 3 | -5/+5 | |
| |