Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Implement client side support for private XML storage and bookmarks. #88

Merged
merged 6 commits into from
Apr 8, 2017

Conversation

sebastianriese
Copy link
Collaborator

Closes #50 and #48.

Note: The design of the bookmark service was reworked to be radically simple. It is out of scope for aioxmpp to solve the subtle issues when modifying bookmarks. However, groundwork has been laid
and explained in the documentation: The XSOs representing bookmarks have a definition of equality, this allows the use of by value list operations to modify Storage.bookmarks.

* this is intended as a development tool, to determine which
  non standard extensions of XEP-0048 roam in the wild.

* it will break when the bookmark subpackage will be loaded (since
  then "storage:bookmarks" will be registered_payload in a private
  XML query.
.. note:: Some other clients extend the bookmark format. For now
those extensions are silently dropped by our XSOs, and
therefore are lost, when changing the bookmarks with
aioxmpp. This is considered a bug to be fixed in the future.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open an issue for it so that we don’t forget about that :-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue created: #89.

try:
(_, (arg,), kwargs), = mock_send.mock_calls
except ValueError:
self.fail("send called with wrong signature")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I don’t consider that check needed.

@horazont horazont merged commit ba317f6 into devel Apr 8, 2017
@horazont horazont deleted the feature/private-xml-and-bookmarks branch April 11, 2017 14:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants