Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix more memory leaks | Steffen Jaeckel | 2023-01-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | add `now` option to `/reconnect` command | Steffen Jaeckel | 2023-01-18 | 1 | -6/+4 |
| | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | Make mood display optional | Michael Vetter | 2022-06-22 | 1 | -2/+8 |
| | |||||
* | fix handling of connection errors | Steffen Jaeckel | 2022-02-08 | 1 | -3/+2 |
| | | | | | | | | | | | | | When a `see-other-host` stream-error is received we try to re-connect to the other host. Erroneously this also started the `reconnect_timer`. This lead to the behavior that in cases where e.g. the login failed we try to reconnect instead of bailing out with an error. This commit fixes the wrong behavior by not starting the `reconnect_timer`. Fix 0e58509c161ae8409c9accabb9606e0c7006b880 Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | handle `see-other-host` XMPP stream error | Steffen Jaeckel | 2022-02-01 | 1 | -1/+32 |
| | | | | | | Fixes #1628 Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | session: combine internal free-functions | Steffen Jaeckel | 2022-02-01 | 1 | -12/+8 |
| | | | | | | `_session_free_saved_details()` remains as it's still required alone Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | xep-0107: code review | DebXWoody | 2021-12-06 | 1 | -9/+7 |
| | | | | | | | | * Remarks in the Merge Request (ac_reset, help) * Defines in iq.c * Mood help and null check * Added additional information about tab key in CMD_DESC. * Added additional null check | ||||
* | Add xep-0107: User Mood support | DebXWoody | 2021-12-06 | 1 | -0/+35 |
| | | | | Implementation of XEP 0107 - User Mood | ||||
* | Format new register code correctly | Michael Vetter | 2021-10-13 | 1 | -1/+0 |
| | |||||
* | registration: remove auth param and excess functions | swirl | 2021-08-17 | 1 | -37/+0 |
| | |||||
* | fixed some bugs, added some more | swirl | 2021-08-17 | 1 | -0/+40 |
| | | | | | | | | | - 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 | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -34/+34 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 1 | -45/+45 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -45/+45 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1396 | ||||
* | Remove prefs_free_string() | Michael Vetter | 2020-07-02 | 1 | -3/+3 |
| | | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef | ||||
* | Add option for legacy authentication | Dmitry Podgorny | 2020-06-05 | 1 | -5/+14 |
| | | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236. | ||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Call message_handlers_clear() upon disconnect | Michael Vetter | 2019-06-20 | 1 | -0/+1 |
| | | | | Free pubsub_event_handlers. Fix memory leaks. | ||||
* | Call iq_handlers_clear() upon disconnect | Michael Vetter | 2019-06-20 | 1 | -0/+1 |
| | | | | Free id_handlers. Fix memory leaks. | ||||
* | Don't clear saved account data in session_disconnect() | Dmitry Podgorny | 2019-06-03 | 1 | -28/+7 |
| | | | | | | | | | | | | | | | | | | | | If connection loss occurs, it calls session_disconnect() eventually. This function clears saved account data which is required for reconnection. Therefore, when reconnect timer expires, we get errors: 02/06/2019 04:53:42: stderr: ERR: (profanity:17115): GLib-CRITICAL **: 04:53:42.305: g_key_file_has_group: assertion 'group_name != NULL' failed 02/06/2019 04:53:43: prof: ERR: Unable to reconnect, account no longer exists: (null) To solve it, don't clear the saved data in session_disconnect(). It will be cleared properly on connection loss if reconnect timer is not configured. But won't be cleared with /disconnect command. So, after /disconnect the data will live in memory until the next /connect. Also, remove some copy-paste in connection loss path. | ||||
* | Add random string at the end of the default resource | Paul Fariello | 2019-04-12 | 1 | -1/+3 |
| | | | | | | | | When connecting for the first time or when creating a new account don't use only 'profanity' as default resource. Some server don't support having 2 connection with same resource. Using profanity as default lead to deconnections. | ||||
* | Wait for discovery end to publish omemo devicelist and bundle | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | | | | Add sv_ev_connection_features_received for that purpose | ||||
* | Ensure saved_account is set before calling sv_ev_login_account_success | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | |||||
* | device_list iq should be from barejid or none | Paul Fariello | 2019-04-10 | 1 | -12/+6 |
| | | | | | | | Ensure we request device_list and remove non conforming handling of responses. Move initialisation of iq_handlers before call to sv_ev_login_account_success | ||||
* | Fix devicelist subscription and handle pubsub event | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | | | | Devicelist subscription can be done directly with caps_add feature. | ||||
* | Add devicelist and bundle publication | Paul Fariello | 2019-04-10 | 1 | -1/+5 |
| | |||||
* | Add devicelist subscription | Paul Fariello | 2019-04-10 | 1 | -0/+7 |
| | |||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Clear rooms cache on disconnect | James Booth | 2018-02-05 | 1 | -0/+2 |
| | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Remove status from cl_ev_presence_send | James Booth | 2017-01-15 | 1 | -8/+14 |
| | | | | fixes #888 | ||||
* | Allow clearing account resource | James Booth | 2016-11-22 | 1 | -7/+20 |
| | | | | issue #880 | ||||
* | Handle NULL saved_status | James Booth | 2016-07-27 | 1 | -1/+5 |
| | |||||
* | Copy curr_status and free original in session.c | James Booth | 2016-07-27 | 1 | -1/+2 |
| | |||||
* | Free ProfAccount | James Booth | 2016-07-25 | 1 | -0/+1 |
| | |||||
* | Move autoaway check | James Booth | 2016-07-24 | 1 | -0/+141 |
| | |||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -5/+5 |
| | |||||
* | Move event timeout to connection module | James Booth | 2016-07-24 | 1 | -9/+2 |
| | |||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Add connection_set_disconnected() | James Booth | 2016-05-11 | 1 | -8/+13 |
| | |||||
* | Add connection_clear_data() | James Booth | 2016-05-10 | 1 | -13/+7 |
| | |||||
* | Remove connection_free_conn(), connection_free_ctx() | James Booth | 2016-05-10 | 1 | -6/+6 |
| | |||||
* | Add connection_shutdown() | James Booth | 2016-05-10 | 1 | -4/+1 |
| | |||||
* | Remove JABBER_STARTED, JABBER_UNDEFINED connection states | James Booth | 2016-05-10 | 1 | -15/+4 |
| | |||||
* | Remove _session_free_session_data from session.c | James Booth | 2016-05-10 | 1 | -38/+42 |
| | |||||
* | Fixed compile | James Booth | 2016-05-08 | 1 | -1/+1 |
| | |||||
* | Tidy session.c | James Booth | 2016-05-08 | 1 | -3/+4 |
| | |||||
* | Free features on disconnect | James Booth | 2016-05-08 | 1 | -0/+1 |
| | |||||
* | Move conneciton initialisation to _connection_handler | James Booth | 2016-05-08 | 1 | -5/+0 |
| |