Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Respect silent nick change in mucs | MarcoPolo-PasTonMolo | 2022-05-26 | 1 | -0/+2 |
| | | | | | | | | | Profanity would ignore the silent nick change in some places. The roster and history would show the correct nick, new messages from the current user and the "Autojoined <jid> as <nick>" message would show the wrong one. This commit fixes that problem. Fixes https://github.com/profanity-im/profanity/issues/757 | ||||
* | presence: guard against invalid input | Michael Vetter | 2022-01-27 | 1 | -3/+12 |
| | | | | | | | | | | | | | | | | | | | | | | It shouldn't happen that we get the presence stanza without a resource. https://datatracker.ietf.org/doc/html/rfc6120 ``` Implementation Note: It is the server's responsibility to deliver only stanzas that are addressed to the client's full JID or the user's bare JID; thus, there is no need for the client to check the 'to' address of incoming stanzas. However, if the client does check the 'to' address then it is suggested to check at most the bare JID portion (not the full JID), since the 'to' address might be the user's bare JID, the client's current full JID, or even a full JID with a different resourcepart (e.g., in the case of so- called "offline messages" as described in [XEP-0160]). ``` Let's not segfault though. Close https://github.com/profanity-im/profanity/issues/1630 | ||||
* | first step to remove libmesode | Steffen Jaeckel | 2021-10-27 | 1 | -6/+0 |
| | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -205/+201 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 1 | -206/+210 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -210/+206 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1396 | ||||
* | Review logging in presence.c | Michael Vetter | 2020-04-14 | 1 | -5/+4 |
| | | | | | Some stuff just floods the log file. We only need this when debugging. Others are useless without more info. | ||||
* | Add context to autocomplete_with_func and use it for omemo trust command | Paul Fariello | 2020-01-31 | 1 | -1/+1 |
| | | | | Fix #1068 | ||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Remove prefix from stanza id | Michael Vetter | 2019-10-17 | 1 | -5/+5 |
| | | | | | We sent `prof_prefix_uuid` as id. Where the prefix was also optional. We don't need this at all. | ||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Move ID generation to xmpp folder | Michael Vetter | 2018-08-30 | 1 | -5/+5 |
| | | | | | | | | | | | create_unique_id() was changed to use UUIDs instead of a counter in the last commit. Since now it depends on connection_create_uuid() which is in the xmpp subfolder the function should also be moved there. Renamed it to connection_create_stanza_id() and moved it to src/xmpp/connection.c. Discussion happened in https://github.com/boothj5/profanity/pull/1010 | ||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Allow previous autocompletion with shift tab | James Booth | 2017-04-01 | 1 | -7/+7 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Remove status from cl_ev_presence_send | James Booth | 2017-01-15 | 1 | -3/+2 |
| | | | | fixes #888 | ||||
* | Use hash table for bookmarks | James Booth | 2016-08-21 | 1 | -0/+3 |
| | |||||
* | Tidy presence.c | James Booth | 2016-08-20 | 1 | -249/+311 |
| | |||||
* | Use libstrophe xmpp_presence_new convenience function | James Booth | 2016-08-20 | 1 | -3/+2 |
| | |||||
* | Use libstrophe convenience functions for stanza attributes | James Booth | 2016-08-20 | 1 | -11/+11 |
| | |||||
* | Rename caps_contains -> caps_cache_contains | James Booth | 2016-08-13 | 1 | -2/+2 |
| | |||||
* | Rename rooms vars in _send_room_presence | James Booth | 2016-07-25 | 1 | -8/+6 |
| | |||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -5/+6 |
| | |||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Move available resources to connection struct | James Booth | 2016-05-07 | 1 | -2/+2 |
| | |||||
* | Move connection fulljid function | James Booth | 2016-05-06 | 1 | -1/+1 |
| | |||||
* | Rename jabber_ functions | James Booth | 2016-05-06 | 1 | -9/+9 |
| | |||||
* | Add session.c | James Booth | 2016-05-05 | 1 | -4/+5 |
| | |||||
* | Renamed connection.c -> session.c | James Booth | 2016-05-05 | 1 | -1/+1 |
| | |||||
* | Tidy xmpp headers | James Booth | 2016-05-04 | 1 | -1/+2 |
| | |||||
* | Rename stanza handler init functions | James Booth | 2016-05-02 | 1 | -1/+1 |
| | |||||
* | Free stanza text and DiscoInfo features | James Booth | 2016-05-02 | 1 | -0/+2 |
| | |||||
* | Free stanza text on plugin send hooks | James Booth | 2016-05-01 | 1 | -0/+1 |
| | |||||
* | Define stanza's attributes as const char* | Dmitry Podgorny | 2016-04-27 | 1 | -27/+29 |
| | | | | | | | | | | | | In most get-like funcitons libstrophe returns pointer to a string that resides in an internal structure (e.g. xmpp_stanza_t). Hence, Profanity must not change such strings. Define respective variables as 'const char*' to reduce a chance of error and conform future libstrophe's interface. This patch mostly replaces 'char *' with 'const char*', but also fixes two memory leaks after stanza_get_reason(). Add comment within stanza_get_reason() to fix conflict with different allocator types. | ||||
* | Fix typo: diso -> disco | Dominik Heidler | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Removed #AX_PREFIX_CONFIG_H | James Booth | 2016-03-31 | 1 | -3/+3 |
| | |||||
* | Use one stanza handler per type (message, iq, presence) | James Booth | 2016-03-28 | 1 | -126/+93 |
| | | | | Allows plugins to stop stanza processing | ||||
* | Added basic stanza receive eooks | James Booth | 2016-03-27 | 1 | -2/+33 |
| | |||||
* | Use xmpp_send_raw_string instead of xmpp_send_raw | James Booth | 2016-03-26 | 1 | -4/+4 |
| | |||||
* | Added stanza send hooks for plugins | James Booth | 2016-03-26 | 1 | -7/+41 |
| | |||||
* | Merge branch 'master' into plugins-c | James Booth | 2016-02-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: src/main.c src/ui/console.c | ||||
| * | Updated copyright | James Booth | 2016-02-14 | 1 | -1/+1 |
| | | |||||
* | | Added C plugin code from plugins branch | James Booth | 2016-02-14 | 1 | -3/+3 |
|/ | |||||
* | Removed ui_handle_room_join_error | James Booth | 2015-11-02 | 1 | -1/+1 |
| | |||||
* | Removed ui_input_nonblocking() | James Booth | 2015-11-01 | 1 | -3/+3 |
| | |||||
* | Applied coding style to src/xmpp/ | James Booth | 2015-10-26 | 1 | -38/+30 |
| | |||||
* | Moved idle time check for last activity | James Booth | 2015-10-14 | 1 | -1/+3 |
| | |||||
* | Added auto xa option, tidied autoaway code | James Booth | 2015-09-27 | 1 | -1/+3 |
| | |||||
* | Check for libmesode, fall back to libstrophe | James Booth | 2015-09-21 | 1 | -0/+9 |
| | |||||
* | Fixed various jid and account mem leaks | James Booth | 2015-06-24 | 1 | -0/+1 |
| |