about summary refs log tree commit diff stats
path: root/src/xmpp/bookmark.c
Commit message (Collapse)AuthorAgeFilesLines
* Add command to show single bookmark detailsMichael Vetter2021-06-091-0/+7
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* xmpp/bookmark: don't use uninitialised fieldDmitry Podgorny2020-10-191-0/+1
| | | | | | | | | | When a bookmark is created with '/bookmark add' command, ext_gajim_minimize remains uninitialised in new bookmark object and is read further in _send_bookmarks(). Initialise the field with 0. Fixes #1432.
* Replace stanza_get_child_by_name_and_ns with ↵Michael Vetter2020-09-301-1/+1
| | | | | | | | xmpp_stanza_get_child_by_name_and_ns Replace our own stanza_get_child_by_name_and_ns() with the upstreamed xmpp_stanza_get_child_by_name_and_ns() provided by the new libstrophe/libmesode 0.10.0.
* Apply coding styleMichael Vetter2020-07-071-55/+54
|
* Revert "Apply coding style"Michael Vetter2020-07-071-58/+59
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-59/+58
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Fix memleak in bookmark minimizeMichael Vetter2020-05-241-0/+1
| | | | Introduced in 36f2569e53e67fda6023c5ec5f6a7714cbce1946
* Fix segfault in new bookmark featureMichael Vetter2020-05-221-2/+2
| | | | | Fix 88c36745fe3f568f09fcd4078fc760a52e826eb7 Copy paste mistake.
* Preserve Gajims minimize flag in bookmarksMichael Vetter2020-05-221-1/+34
| | | | Implement https://github.com/profanity-im/profanity/issues/1326
* Add option to add bookmark nameMichael Vetter2020-05-221-6/+21
| | | | | | | | `/bookmark add|update` got `name` field. By default localpart of JID is used (like before) but now we can set the name ourselves. Regards https://github.com/profanity-im/profanity/issues/697
* Display bookmark nameMichael Vetter2020-05-221-0/+4
| | | | | | Have field in struct and display the name in `/bookmark list`. Regards https://github.com/profanity-im/profanity/issues/697
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-311-1/+1
| | | | Fix #1068
* Use OMEMO for offline MUC members (#1242)Paul Fariello2020-01-201-0/+3
|
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* 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
|