1. 07 Feb, 2016 1 commit
  2. 25 Jan, 2016 2 commits
  3. 22 Jan, 2016 1 commit
  4. 18 Jan, 2016 1 commit
  5. 13 Jan, 2016 3 commits
  6. 11 Jan, 2016 1 commit
  7. 07 Jan, 2016 1 commit
  8. 05 Jan, 2016 1 commit
  9. 30 Nov, 2015 2 commits
  10. 02 Jun, 2015 1 commit
  11. 27 Jan, 2015 1 commit
  12. 22 Jan, 2015 2 commits
  13. 01 Nov, 2013 1 commit
  14. 27 Oct, 2013 1 commit
  15. 14 Oct, 2013 1 commit
  16. 30 Sep, 2013 1 commit
    • mmn's avatar
      Implemented WebFinger and replaced our XRD with PEAR XML_XRD · a0e107f1
      mmn authored
      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).
      a0e107f1
  17. 19 Sep, 2013 1 commit
  18. 03 Jan, 2011 1 commit
    • Evan Prodromou's avatar
      Configuration options for using an HTTP proxy · 98a0d7f5
      Evan Prodromou authored
      We can make a lot of HTTP requests from the server side. This change
      adds some configuration options for using an HTTP proxy, which can
      cache hits from multiple sites (good for status.net-like services, for example).
      98a0d7f5
  19. 06 Aug, 2010 1 commit
    • Brion Vibber's avatar
      Partial fix for ticket #2489 -- problems with SNI SSL virtual host certificate validation. · ebd2fc2f
      Brion Vibber authored
      Two prongs here:
      * We attempt to enable SNI on the SSL stream context with the appropriate hostname... This requires PHP 5.3.2 and OpenSSL that supports the TLS extensions. Unfortunately this doesn't seem to be working in my testing.
      * If set $config['http']['curl'] = true, we'll use the CURL backend if available. In my testing on Ubuntu 10.04, this works. No guarantees on other systems.
      
      I'm not enabling CURL mode by default just yet; want to make sure there's no other surprises.
      ebd2fc2f
  20. 21 May, 2010 1 commit
    • Brion Vibber's avatar
      Disable SSL peer/hostname verification for HTTPClient unless we've configured... · 2c12d837
      Brion Vibber authored
      Disable SSL peer/hostname verification for HTTPClient unless we've configured a trusted CA bundle like this: $config['http']['ssl_cafile'] = '/usr/lib/ssl/certs/ca-certificates.crt';
      The previous state was failing on all HTTPS hits due to HTTP_Request2 library turning on the validation check but not specifying a CA file.
      2c12d837
  21. 29 Mar, 2010 1 commit
  22. 10 Mar, 2010 1 commit
  23. 08 Feb, 2010 1 commit
    • Brion Vibber's avatar
      First steps on converting FeedSub into the pub/sub basis for OStatus communications: · dc09453a
      Brion Vibber authored
      * renamed FeedSub plugin to OStatus
      * now setting avatar on subscriptions
      * general fixes for subscription
      * integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly
      * set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though)
      * a few bits of code documentation
      * HMAC support for verified distributions (safest if sub setup is on HTTPS)
      
      And a couple core changes:
      * minimizing HTML output for exceptions in API requests to aid in debugging
      * fix for rel=self link in apitimelineuser when id given
      
      This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions.
      Needs some further cleanup to treat posts as status updates instead of link references.
      dc09453a
  24. 02 Nov, 2009 3 commits
    • Brion Vibber's avatar
      Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding... · 5581143b
      Brion Vibber authored
      Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
      Caching support will be added in future work after unit tests have been added.
      
      * extlib: add PEAR HTTP_Request2 0.4.1 alpha
      * extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
      * moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
      * adapted GeonamesPlugin for new HTTPResponse interface
      
      Note some plugins haven't been fully tested yet.
      5581143b
    • Brion Vibber's avatar
      Revert "Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2... · b22fc5b7
      Brion Vibber authored
      Revert "Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions."
      Going to restructure a little more before finalizing this...
      
      This reverts commit fa379678.
      b22fc5b7
    • Brion Vibber's avatar
      Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding... · fa379678
      Brion Vibber authored
      Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
      Caching support will be added in future work after unit tests have been added.
      
      * extlib: add PEAR HTTP_Request2 0.4.1 alpha
      * extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
      * moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
      
      Note some plugins haven't been tested yet.
      fa379678
  25. 22 Oct, 2009 1 commit
  26. 16 Sep, 2009 7 commits