Commit Graph

10 Commits

Author SHA1 Message Date
Guus der Kinderen 073686d003 ProtoXEP: PubSub Server Information renamed version to 0.0.1 2024-01-22 15:27:55 +01:00
Guus der Kinderen 692ce44657 PubSub Server Info: replace data form fields with URI
As per Flow's suggestion, replace two data form fields that hold a pub-sub service address and node with one field, that uses a URI to identify the same pub-sub node.
2023-12-22 11:23:41 +01:00
Guus der Kinderen 67fbffa4fa
PubSub Server Info: fix reference to XEP specifying namespace
XEP-0157 specifies the 'serverinfo' form, XEP-0128 just uses it as example.

Co-authored-by: Florian Schmaus <flo@geekplace.eu>
2023-12-22 11:13:33 +01:00
Guus der Kinderen f1a628c6b0 PubSub Server Info: fixed typo 2023-12-20 19:51:55 +01:00
Guus der Kinderen e7fcb86c91 PubSub Server Info: rework Discovering Support
Instead of basing Discovery of Support on the presence of a well-known pub-sub service node, an explicit Service Discovery feature is used. This prevents a scenario in which a non-administrative user flags 'opt-in' by creating the pub-sub node.
2023-12-20 18:53:48 +01:00
Guus der Kinderen 7e82fc1fd0 PubSub Server Info: Add privacy consideration
The XEP now mandates to include domain names of remote domains only after those remote domains advertise support for this XEP. This is intended as an opt-in mechanism.
2023-12-20 16:10:22 +01:00
Guus der Kinderen d1606cda1e PubSub Server Info: fixed typo in examples 2023-12-20 13:26:44 +01:00
Guus der Kinderen 7f522c35fa PubSub Server Info: refactored data format
Following discussion with Flow, MattJ and Jonas`, the data format was modified to:
- group connections under a remote domain
- use attributes instead of elements where appropriate
2023-12-20 12:54:11 +01:00
Guus der Kinderen da26a65685 PubSub Server Info: change connection type 'both' to 'bidi'
Remove ambiguity with regards to having more than one connection to a remote domain. With this update, each actual (eg TCP) connection is represented by a distinct `connection` element.
2023-12-20 11:38:22 +01:00
Guus der Kinderen 57b90ecb88 ProtoXEP: PubSub Server Information
This defines a data format and a pub-sub based way of distributing data that describes an XMPP domain and its connections to federated domains.
2023-12-19 21:51:30 +01:00