We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

  1. 24 Apr, 2010 1 commit
  2. 05 Apr, 2010 1 commit
  3. 29 Mar, 2010 2 commits
    • Brion Vibber's avatar
      Tweak to Eugene Crosser's patch to make transactions and acks configurable;... · faa14b64
      Brion Vibber authored
      Tweak to Eugene Crosser's patch to make transactions and acks configurable; disabling them gets basic message delivery working under MorbidQ, and may help with RabbitMQ etc.
      
      I swapped the settings from negative to positive ($config['queue']['stomp_transactions'] = false rather than $config['queue']['stomp_no_transactions'] = true), gave them defaults (both on for best ActiveMQ experience), and added notes to the README about configuring them.
      faa14b64
    • Brion Vibber's avatar
      Add $config['db']['annotate_queries'] option to include caller ID comments... · d44e5ac9
      Brion Vibber authored
      Add $config['db']['annotate_queries'] option to include caller ID comments into queries. Comment can then be seen in process list, slow query logs on the server, aiding in tracking down unexpected slow queries.
      
      SELECT /* queuedaemon.php Ostatus_profile->processPost */ * FROM notice WHERE ( notice.uri = 'http://stormcloud.local/mublog2/notice/479' )
      INSERT /* POST Notice::saveNew */ INTO notice (profile_id , content ....
      d44e5ac9
  4. 22 Mar, 2010 1 commit
  5. 17 Mar, 2010 1 commit
  6. 16 Mar, 2010 1 commit
  7. 08 Mar, 2010 1 commit
  8. 04 Mar, 2010 1 commit
  9. 03 Mar, 2010 4 commits
  10. 02 Mar, 2010 2 commits
  11. 26 Feb, 2010 1 commit
  12. 21 Feb, 2010 1 commit
  13. 20 Feb, 2010 1 commit
    • Evan Prodromou's avatar
      Add a library to mint tag URIs · 61a072b3
      Evan Prodromou authored
      We've been making pretty crummy tag: URIs for a while. We should
      continue to favor HTTP URIs, since it's nice to be able to discover
      things about an object you've shared the ID of. Where that's not
      possible, this makes nicer tag URIs.
      61a072b3
  14. 18 Feb, 2010 1 commit
    • Brion Vibber's avatar
      Queues: redid the breakout control model so we can start up and subscribe to... · ce6be4f8
      Brion Vibber authored
      Queues: redid the breakout control model so we can start up and subscribe to queues without running through the complete site list, which is ok at 1k sites but too slow at 10k.
      All breakout queues that we're going to need to listen to now need to be explicitly listed in $config['queue']['breakout'].
      
      Until XMPP is moved to component model, this setting will let the individual processes work with their own queues:
      $config['queue']['breakout'][] = 'xmpp/xmppout/' . $config['site']['nickname'];
      ce6be4f8
  15. 16 Feb, 2010 1 commit
    • Brion Vibber's avatar
      Stomp queue restructuring for mass scalability: · c74aea58
      Brion Vibber authored
      - Multiplexing queues into groups and for multiple sites.
      - Sharing vs breakout configurable per site and per queue via $config['queue']['breakout']
      - Detect how many times a message is redelivered, discard if it's killed too many daemons
       - count configurable with $config['queue']['max_retries']
       - can dump the items to files in $config['queue']['dead_letter_dir']
      
      Queue daemon memory & resource leak fixes:
      - avoid unnecessary reconnections to memcached server (switch persistent connections back in on second initialization, assuming it's child process)
      - monkey-patch for leaky .ini loads in DB_DataObject::databaseStructure() - was leaking 200k per active switch
      - applied leak fixes to Status_network as well, using intermediate base Safe_DataObject for both it and Memcache_DataObject
      
      Misc queue fixes:
      - correct handling of child processes exiting due to signal termination instead of regular exit
      - shutdown instead of infinite respawn loop if we're already past the soft memory limit at startup
      - Added --all option for xmppdaemon... still opens one xmpp connection per site that has xmpp active
      
      Cache updates:
      - add Cache::increment() method with native support for memcached atomic increment
      c74aea58
  16. 11 Feb, 2010 6 commits
  17. 09 Feb, 2010 2 commits
  18. 04 Feb, 2010 1 commit
  19. 31 Jan, 2010 1 commit
    • Evan Prodromou's avatar
      Add a robots.txt URL to the site root · dc622464
      Evan Prodromou authored
      Adds a robots.txt file to the site root. Defaults defined by
      'robotstxt' section of config. New events StartRobotsTxt and
      EndRobotsTxt to let plugins add information. Probably not
      useful if path is not /, but won't hurt anything, either.
      dc622464
  20. 29 Jan, 2010 3 commits
    • Zach Copley's avatar
      Move sessions settings to its own panel · 58685117
      Zach Copley authored
      58685117
    • Zach Copley's avatar
      Move sessions settings to its own panel · 440ee00b
      Zach Copley authored
      440ee00b
    • Brion Vibber's avatar
      Manual failover for stomp queues. · 155a5d44
      Brion Vibber authored
      If an array of multiple servers is put in $config['queue']['stomp_server'], enqueues will pick a random server to send to (failing over automatically if any are down).
      Queue handling daemons connect all servers so they get events no matter where they were delivered.
      In case of disconnection, daemons should now handle it gracefully and attempt to reconnect every 60 seconds or so, automatically resubscribing to all queues once it's back up.
      
      Can put to 'native' failover for reads as well by disabling $config['stomp']['manual_failover'] = false; but this is untested and may explode in addition to requiring that your ActiveMQ cluster actually be set up to handle its own data distribution.
      
      Additionally, can choose which queues to mark as persistent by setting $config['stomp']['persistent'] to an array of queue names.
      155a5d44
  21. 28 Jan, 2010 2 commits
  22. 27 Jan, 2010 1 commit
    • Evan Prodromou's avatar
      Optionally set a separate Javascript server and path · c52951ce
      Evan Prodromou authored
      We have about 10-12 JavaScript pages per Web page. They usually
      are based on the same server as the Web pages, but since they're
      static files, it makes sense to offload them to a lite server that
      handles static files well.
      
      This commit lets you set a separate Javascript server and path for the
      default Javascript code in StatusNet.
      
      Squashed commit of the following:
      
      commit 139d1622fdafe5ad00c820224416d9021efc3234
      Author: Evan Prodromou <evan@status.net>
      Date:   Wed Jan 27 11:30:24 2010 -0500
      
          modules that call htmloutputter::script() don't prescribe js/ path
      
      commit c6ca3174af73efed55eaed5ff1e2a3bdc77d2d87
      Author: Evan Prodromou <evan@status.net>
      Date:   Wed Jan 27 11:28:07 2010 -0500
      
          configurable server and path for javascript files
      c52951ce
  23. 26 Jan, 2010 3 commits
    • Zach Copley's avatar
      aad42427
    • Brion Vibber's avatar
      Control channel for queue daemons to request graceful shutdown, restart, or... · 58be61b6
      Brion Vibber authored
      Control channel for queue daemons to request graceful shutdown, restart, or update to listen to a newly added or reconfigured site.
      
        queuectl.php --update -s<site>
        queuectl.php --stop
        queuectl.php --restart
      
      Default control channel is /topic/statusnet-control. For external utilities to send a site update ping direct to the queue server, connect via Stomp and send a message formatted thus:
      
        update:<nickname>
      
      (Nickname here, *not* server hostname! The rest of the queues will be updated to use nicknames later.)
      
      Note that all currently-connected queue daemons will get these notifications, including both queuedaemon.php and xmppdaemon.php. (XMPP will ignore site update requests for sites that it's not handling.)
      
      Limitations:
      * only implemented for stomp queue manager so far
      * --update may not yet handle a changed server name properly
      * --restart won't reload PHP code files that were already loaded at startup. Still need to stop and restart the daemons from 'outside' when updating code base.
      58be61b6
    • Evan Prodromou's avatar
      Single-user mode · 655573c2
      Evan Prodromou authored
      New configuration options to define a single-user mode. This hides
      most of the "community" pages, like the public timeline and groups.
      The main user's timeline becomes the main page, and most other URLs
      are changed.
      
      Switching back and forth between 1-user and multi-user mode is
      probably hazardous.
      
      Squashed commit of the following:
      
      commit d814aa5c92d14a27a12baba7893f3f8bf63f1d08
      Author: Evan Prodromou <evan@status.net>
      Date:   Tue Jan 26 00:17:27 2010 -0500
      
          don't show inbox and outbox in single-user mode
      
      commit 47f19b9523a7015d4c6e460b73ea32c839e00aa1
      Author: Evan Prodromou <evan@status.net>
      Date:   Tue Jan 26 00:15:22 2010 -0500
      
          show correct URL for logo in single-user mode
      
      commit 552010cffc33eadbc512ec5a67619dbc2015239a
      Author: Evan Prodromou <evan@status.net>
      Date:   Tue Jan 26 00:15:06 2010 -0500
      
          make singleuser its own config section
      
      commit 786ab260a3ca172e57b555c75ca10946d8f258a1
      Author: Evan Prodromou <evan@status.net>
      Date:   Tue Jan 26 00:05:19 2010 -0500
      
          make single-user mode work
      
      commit 5b21d7309b3a8dd5a4e0f29aea76f7897f1818b1
      Author: Evan Prodromou <evan@status.net>
      Date:   Mon Jan 25 23:45:55 2010 -0500
      
          add single-user mode
      655573c2
  24. 25 Jan, 2010 1 commit