about summary refs log tree commit diff stats
path: root/src/xmpp/bookmark.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove prefix from stanza idMichael Vetter2019-10-171-1/+1
| | | | | We sent `prof_prefix_uuid` as id. Where the prefix was also optional. We don't need this at all.
* _bookmark_destroy: follow normal logicMichael Vetter2019-06-201-7/+5
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Move ID generation to xmpp folderMichael Vetter2018-08-301-1/+1
| | | | | | | | | | | 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
* Add /rooms service autocompletionJames Booth2018-02-051-0/+12
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Allow previous autocompletion with shift tabJames Booth2017-04-011-2/+2
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Add sv_ev_bookmark_autojoinJames Booth2016-08-281-16/+1
|
* Rename Bookmark->jid to Bookmark->barejidJames Booth2016-08-281-19/+19
|
* Use hash table for bookmarksJames Booth2016-08-211-195/+128
|
* Use libstrophe xmpp_iq_new convenience functionJames Booth2016-08-201-4/+1
|
* Free ProfAccountJames Booth2016-07-251-0/+1
|
* Tidy headersJames Booth2016-07-241-3/+4
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Add ProfIdFreeCallback to free stale id handlers on connectJames Booth2016-06-081-1/+1
|
* Option to bookmark room invitesJames Booth2016-05-231-0/+18
| | | | issue #813
* Move connection fulljid functionJames Booth2016-05-061-1/+1
|
* Rename jabber_ functionsJames Booth2016-05-061-4/+4
|
* Renamed connection.c -> session.cJames Booth2016-05-051-1/+1
|
* Tidy xmpp headersJames Booth2016-05-041-2/+3
|
* Rename id_handler_add -> iq_id_handler_addJames Booth2016-05-021-1/+1
|
* Define stanza's attributes as const char*Dmitry Podgorny2016-04-271-16/+17
| | | | | | | | | | | | 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.
* Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-3/+3
|
* Use one stanza handler per type (message, iq, presence)James Booth2016-03-281-48/+5
| | | | Allows plugins to stop stanza processing
* Added basic stanza receive eooksJames Booth2016-03-271-7/+11
|
* Use xmpp_send_raw_string instead of xmpp_send_rawJames Booth2016-03-261-2/+2
|
* Added stanza send hooks for pluginsJames Booth2016-03-261-2/+20
|
* Merge branch 'master' into plugins-cJames Booth2016-02-141-1/+1
|\ | | | | | | | | | | Conflicts: src/main.c src/ui/console.c
| * Updated copyrightJames Booth2016-02-141-1/+1
| |
* | Added C plugin code from plugins branchJames Booth2016-02-141-3/+3
|/
* Applied coding style to src/xmpp/James Booth2015-10-261-11/+11
|
* Check for libmesode, fall back to libstropheJames Booth2015-09-211-1/+9
|
* Use null check convention in bookmark.cJames Booth2015-05-041-11/+11
|
* Moved server_events to event/James Booth2015-04-191-1/+1
|
* Updated copyrightJames Booth2015-02-101-1/+1
|
* Simplified autocompleters and command historyJames Booth2015-01-161-1/+1
|
* Removed function pointersJames Booth2014-12-221-27/+15
|
* Removed bookmark autojoin limitJames Booth2014-11-201-26/+15
|
* Tidied muc moduleJames Booth2014-09-281-5/+5
|
* Check for NULL inside autocomplete_freeJames Booth2014-09-261-3/+1
|
* Removed bookmarks todoJames Booth2014-08-311-1/+0
|
* Added license exemption for OpenSSL to source headersJames Booth2014-08-241-0/+12
|
* "/bookmark add foo" crash - fixJan Hacker2014-08-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | A user providing an invalid JID when creating a new bookmark (like 'foo') would reproducibly crash/segfault profanity, as it insists on checking string length behind the @ of the JID. However, it could be NULL if the user accidentally omitted it. The patch avoids the crash by NULL-checking and prevents getting there in the first place by checking the argument to "add". Backtrace of unpatched profanity with above command: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x00007fff85699732 in strlen () (gdb) bt #0 0x00007fff85699732 in strlen () #1 0x00000001000965d2 in xmpp_strdup () #2 0x0000000100095d6d in xmpp_stanza_set_attribute () #3 0x0000000100011c5c in _send_bookmarks () #4 0x00000001000115a8 in _bookmark_add () #5 0x000000010003320d in cmd_bookmark () #6 0x000000010002a0f2 in cmd_execute () #7 0x0000000100003a1d in process_input () #8 0x00000001000037c7 in prof_run () #9 0x0000000100045032 in main () (gdb)
* Added quote param to autocomplete_completeJames Booth2014-07-091-1/+1
|
* Renamed generate_unique_id -> create_unique_idJames Booth2014-06-151-1/+1
|
* Fixed usages of get_unique_id to free resultJames Booth2014-06-151-1/+2
|
* Use account muc_nick when no nick for bookmarkJames Booth2014-05-231-1/+4
|
* Refactored bookmarks to use option parser, allow bookmarking rooms with ↵James Booth2014-05-101-39/+128
| | | | passwords
* Chat room windows now created only after successful joinJames Booth2014-04-211-1/+1
|