1. 10 Feb, 2016 1 commit
  2. 28 Jan, 2016 1 commit
    • Don't use system include path · 5b112380
      mmn authored
      Sometimes systems have _old_ DB_DataObject classes lying around that
      get included by default, so we just try to avoid anything that we don't
      ship ourselves.
      
      <MMN-o> BeS: I'll commit a patch that will make this issue go away
      <BeS> MMN-o: that would be awesome!
      <MMN-o> but it might upset bashrc who's working on a Debian package (where you're _supposed_ to include from /usr/php etc. :P)
      <MMN-o> but I'll leave a comment along with it
  3. 14 Jan, 2016 1 commit
  4. 27 Feb, 2015 1 commit
    • StatusNet class renamed GNUsocial · 8fac7a9f
      mmn authored
      also added backward compatible StatusNet class for the two calls I know
      third party plugins use, isHTTPS and getActivePlugins
  5. 10 Jul, 2014 1 commit
  6. 04 Jul, 2014 1 commit
  7. 09 Mar, 2014 1 commit
  8. 23 Feb, 2014 1 commit
  9. 30 Sep, 2013 1 commit
    • 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).
  10. 17 Sep, 2013 1 commit
  11. 29 Aug, 2013 1 commit
    • Preparing more object-oriented Action handling · b18e2472
      mmn authored
      Action classes can now be run by calling the static function 'run'.
      Eventually actions will be migrated so most functionality gets put
      into parent classes, and the children don't have to have as much
      duplicate code as they have now.
  12. 03 Oct, 2011 2 commits
  13. 26 Jul, 2011 1 commit
  14. 07 May, 2011 1 commit
  15. 03 Apr, 2011 2 commits
  16. 31 Jan, 2011 2 commits
    • Performance counters: records number of total and unique cache… · de7726dd
      Brion Vibber authored
      Performance counters: records number of total and unique cache get/set/incr/deletes and queries, and logs to syslog.
      
      $config['site']['logperf'] = true; // to record & dump total hits of each type and the runtime to syslog
      $config['site']['logperf_detail'] = true; // very verbose -- dump the individual cache keys and queries as they get used (may contain private info in some queries)
      
      Seeing 180 cache gets on a timeline page seems not unusual currently; since these run in serial, even relatively small roundtrip times can add up heavily.
      We should consider ways to reduce the number of round trips, such as more frequently storing compound objects or the output of processing in memcached.
      Doing parallel multi-key lookups could also help by collapsing round-trip times, but might not be easy to fit into SN's object model. (For things like streams this should actually work pretty well -- grab the list, then when it's returned go grab all the individual items in parallel and return the list)
  17. 04 Jan, 2011 1 commit
  18. 27 Nov, 2010 1 commit
  19. 26 Nov, 2010 1 commit
  20. 19 Nov, 2010 1 commit
  21. 21 Oct, 2010 1 commit
  22. 07 Sep, 2010 1 commit
  23. 04 Sep, 2010 1 commit
  24. 08 Jun, 2010 1 commit
  25. 27 May, 2010 1 commit
  26. 28 Apr, 2010 2 commits
  27. 18 Apr, 2010 2 commits
  28. 22 Mar, 2010 1 commit
  29. 16 Mar, 2010 3 commits
    • Pull back for now on switch of PEAR error mode to exceptions; seems to trigger… · f62b8a80
      Brion Vibber authored
      Pull back for now on switch of PEAR error mode to exceptions; seems to trigger out exceptions at various times we don't want them.
      
      For instance this was throwing an exception for DB_DataObject::staticGet when there's no match... definitely not what we want when all our code expects to get a nice null.
      Example of this causing trouble: http://gitorious.org/statusnet/mainline/merge_requests/131
      
      Revert "Don't attempt to retrieve the current user from the DB while processing a DB error"
      
      This reverts commit 68347691.
      
      Revert "Use PHP exceptions for PEAR error handling."
      
      This reverts commit d8212977.
    • Pull back for now on switch of PEAR error mode to exceptions; seems to trigger… · 88f66131
      Brion Vibber authored
      Pull back for now on switch of PEAR error mode to exceptions; seems to trigger out exceptions at various times we don't want them.
      
      For instance this was throwing an exception for DB_DataObject::staticGet when there's no match... definitely not what we want when all our code expects to get a nice null.
      Example of this causing trouble: http://gitorious.org/statusnet/mainline/merge_requests/131
      
      Revert "Don't attempt to retrieve the current user from the DB while processing a DB error"
      
      This reverts commit 68347691.
      
      Revert "Use PHP exceptions for PEAR error handling."
      
      This reverts commit d8212977.
    • Fixed IE7 prompting the user to download OpenSearch description xml after login… · fa1262f5
      Jeffery To authored
      Fixed IE7 prompting the user to download OpenSearch description xml after login (for a private site)
      
      Flow:
      1. Browser (IE7) is redirected to the login page.
      2. Browser reads the page, sees OpenSearch descriptions, tries to
         download them. Each request gets recorded by SN as the page the user
         should be redirected to after logging in (returnto).
      3. User logs in, then gets redirected to the returnto action, which is
         an OpenSearch description.
      
      The OpenSearch descriptions aren't sensitive so making them public in a
      private site should be okay.
      
      (I recall fixing this in 0.8.x... :-( )
  30. 03 Mar, 2010 3 commits
  31. 02 Mar, 2010 1 commit