Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
| | ||||||
* | Merge pull request #1510 from profanity-im/fix/1210-muc-register | Michael Vetter | 2021-03-25 | 8 | -6/+164 | |
|\ | | | | | Register nickname with MUC | |||||
| * | Add support to register with a room | Michael Vetter | 2021-03-25 | 8 | -6/+164 | |
|/ | | | | | | | | | | `/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 | |||||
* | debug build: build without -fsanitize=address | Michael Vetter | 2021-03-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | Sorry :-) Seems then we can't use valgrind since that does its own ASAN things. So maybe developers needs to set some flags by themselves to find these memory issues. https://fuzzing-project.org/tutorial-cflags.html might be of help. Regards: https://github.com/profanity-im/profanity/issues/1512 | |||||
* | debug build: build with -fsanitize=address | Michael Vetter | 2021-03-24 | 1 | -1/+1 | |
| | | | | | | | | Let's compile with this flag to detect memory erros in the debug build. See https://clang.llvm.org/docs/AddressSanitizer.html Regards: https://github.com/profanity-im/profanity/issues/1512 | |||||
* | Merge pull request #1511 from mwuttke97/doc_bookmark_join | Michael Vetter | 2021-03-24 | 1 | -6/+13 | |
|\ | | | | | Command doc: Improve description and examples of `/bookmark` and `/join` | |||||
| * | Command doc: Improve description and examples of `/bookmark` and `/join` | Maximilian Wuttke | 2021-03-21 | 1 | -6/+13 | |
| | | ||||||
* | | Merge pull request #1508 from profanity-im/fix/1507-voice-accept | Michael Vetter | 2021-03-17 | 4 | -2/+53 | |
|\ \ | | | | | | | Support to approve MUC voice requests | |||||
| * | | 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 | |||||
* | | profanity.c: move var into function | Michael Vetter | 2021-03-16 | 1 | -1/+2 | |
| | | ||||||
* | | Merge pull request #1504 from xenrox/request-voice | Michael Vetter | 2021-03-16 | 8 | -11/+107 | |
|\ \ | |/ |/| | MUC: Add voice request | |||||
| * | MUC: Add voice request | Thorben Günther | 2021-03-12 | 8 | -3/+92 | |
| | | | | | | | | closes https://github.com/profanity-im/profanity/issues/1211 | |||||
| * | Completion: Split up role and affiliation completion | Thorben Günther | 2021-03-12 | 1 | -8/+15 | |
|/ | | | | Needed for affiliation request | |||||
* | Dont build paths manually in cmd_funcs.c | Michael Vetter | 2021-03-12 | 1 | -36/+13 | |
| | | | | | Some time ago we introduced get_expanded_path(). No need to build paths manually anymore to get ~. | |||||
* | Merge pull request #1503 from profanity-im/cleanup/autocomplete-1 | Michael Vetter | 2021-03-12 | 1 | -86/+46 | |
|\ | | | | | Cleanup autocomplete | |||||
| * | autocomplete: remove duplicate code in search functions | Michael Vetter | 2021-03-11 | 1 | -54/+16 | |
| | | | | | | | | | | | | _search_next and _search_prev where exactly the same except taking the nex/prev from the list. Use one function with a direction argument. | |||||
| * | autocomplete: Use asprintf don't calculate length twice | Michael Vetter | 2021-03-11 | 1 | -4/+9 | |
| | | | | | | | | | | | | | | | | Through asprintf() we can get rid of malloc() + sprintf(). Also we don't need to calculate the strlen() again since asprintf() returns the bytes printes. Only non UTF-8 characters. But that was true before already. | |||||
| * | Remove duplicate code in autocomplete_param* | Michael Vetter | 2021-03-11 | 1 | -29/+22 | |
|/ | | | | | autocomplete_param_with_func and -autocomplete_param_with_ac had lots of duplicate code. | |||||
* | Merge pull request #1502 from xenrox/fix-unused-return | Michael Vetter | 2021-03-11 | 1 | -4/+9 | |
|\ | | | | | Upload: Fix unused return | |||||
| * | Upload: Fix unused return | Thorben Günther | 2021-03-11 | 1 | -4/+9 | |
|/ | ||||||
* | Merge pull request #1501 from xenrox/change-password | Michael Vetter | 2021-03-11 | 12 | -7/+148 | |
|\ | | | | | Add command to change password of logged in user | |||||
| * | Add command to change password of logged in user | Thorben Günther | 2021-03-11 | 9 | -1/+138 | |
| | | ||||||
| * | Update ui_ask_password to support confirmation | Thorben Günther | 2021-03-11 | 4 | -6/+10 | |
| | | | | | | | | | | Just prints a different string to console. Useful for changing passwords or account registration. | |||||
* | | Merge pull request #1500 from mwuttke97/bugfix/1499 | Michael Vetter | 2021-03-11 | 5 | -36/+67 | |
|\ \ | |/ |/| | Fix HTTP upload | |||||
| * | Update to the newest version of XEP 0363 (HTTP Upload) | Maximilian Wuttke | 2021-03-11 | 5 | -36/+67 | |
|/ | | | | | | | | | | | | | 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> | |||||
* | Merge pull request #1496 from mwuttke97/omemo-bugfixes | Michael Vetter | 2021-03-10 | 6 | -78/+128 | |
|\ | | | | | [OMEMO]: Fix bundle publishing | |||||
| * | [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>. |