]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Implemented WebFinger and replaced our XRD with PEAR XML_XRD
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 30 Sep 2013 15:13:03 +0000 (17:13 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 30 Sep 2013 20:04:52 +0000 (22:04 +0200)
commita0e107f17f27bc1dfc49de2a4493a461213e782e
tree7a0e29be46f6b884d9b35fc478a01eef5d300fdc
parent44f7ad612aef2f113c5e265064475d801196d13e
Implemented WebFinger and replaced our XRD with PEAR XML_XRD

New plugins:
* LRDD
    LRDD implements client-side RFC6415 and RFC7033 resource descriptor
    discovery procedures. I.e. LRDD, host-meta and WebFinger stuff.

    OStatus and OpenID now depend on the LRDD plugin (XML_XRD).

* WebFinger
    This plugin implements the server-side of RFC6415 and RFC7033. Note:
    WebFinger technically doesn't handle XRD, but we serve both that and
    JRD (JSON Resource Descriptor), depending on Accept header and one
    ugly hack to check for old StatusNet installations.

    WebFinger depends on LRDD.

We might make this even prettier by using Net_WebFinger, but it is not
currently RFC7033 compliant (no /.well-known/webfinger resource GETs).

Disabling the WebFinger plugin would effectively render your site non-
federated (which might be desired on a private site).

Disabling the LRDD plugin would make your site unable to do modern web
URI lookups (making life just a little bit harder).
61 files changed:
EVENTS.txt
actions/hostmeta.php [deleted file]
actions/userxrd.php [deleted file]
classes/Profile.php
classes/User.php
index.php
lib/accountmover.php
lib/discovery.php [deleted file]
lib/httpclient.php
lib/invalidurlexception.php [new file with mode: 0644]
lib/linkheader.php [deleted file]
lib/plugin.php
lib/router.php
lib/siteprofile.php
lib/xrd.php [deleted file]
lib/xrdaction.php [deleted file]
plugins/AccountManager/AccountManagerPlugin.php
plugins/LRDD/EVENTS.txt [new file with mode: 0644]
plugins/LRDD/LRDDPlugin.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Element/Link.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Element/Property.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Exception.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Loader.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Loader/Exception.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Loader/JSON.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Loader/XML.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/LogicException.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/PropertyAccess.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Serializer.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Serializer/Exception.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Serializer/JSON.php [new file with mode: 0644]
plugins/LRDD/extlib/XML/XRD/Serializer/XML.php [new file with mode: 0644]
plugins/LRDD/lib/discovery.php [new file with mode: 0644]
plugins/LRDD/lib/linkheader.php [new file with mode: 0644]
plugins/LRDD/lib/lrddmethod.php [new file with mode: 0644]
plugins/LRDD/lib/lrddmethod/hostmeta.php [new file with mode: 0644]
plugins/LRDD/lib/lrddmethod/linkheader.php [new file with mode: 0644]
plugins/LRDD/lib/lrddmethod/linkhtml.php [new file with mode: 0644]
plugins/LRDD/lib/lrddmethod/webfinger.php [new file with mode: 0644]
plugins/OMB/OMBPlugin.php
plugins/OStatus/OStatusPlugin.php
plugins/OStatus/actions/ostatusinit.php
plugins/OStatus/actions/ostatustag.php
plugins/OStatus/actions/ownerxrd.php [deleted file]
plugins/OStatus/actions/xrd.php [deleted file]
plugins/OStatus/classes/Ostatus_profile.php
plugins/OStatus/lib/discoveryhints.php
plugins/OStatus/lib/magicenvelope.php
plugins/OStatus/scripts/update_ostatus_profiles.php
plugins/OpenID/OpenIDPlugin.php
plugins/WebFinger/EVENTS.txt [new file with mode: 0644]
plugins/WebFinger/WebFingerPlugin.php [new file with mode: 0644]
plugins/WebFinger/actions/hostmeta.php [new file with mode: 0644]
plugins/WebFinger/actions/ownerxrd.php [new file with mode: 0644]
plugins/WebFinger/actions/webfinger.php [new file with mode: 0644]
plugins/WebFinger/lib/webfinger.php [new file with mode: 0644]
plugins/WebFinger/lib/webfingerreconstructionexception.php [new file with mode: 0644]
plugins/WebFinger/lib/xrdaction.php [new file with mode: 0644]
scripts/command.php
socialfy-your-domain/dot-well-known/host-meta