1. 05 May, 2011 1 commit
    • Evan Prodromou's avatar
      Option to pre-load a plugin with checkschema script · f8c34582
      Evan Prodromou authored
      One of the problems we've had with running large-scale hosting systems
      for StatusNet is enabling new plugins. If the plugin is not enabled,
      its database tables are not checked at script time. Conversely, if it
      is enabled, it may take several hours to run checkschema for tens of
      thousands of sites -- during which time users might see DB errors.
      A new argument to checkschema lets it pre-load one or more plugins
      before checking the schema. This lets us prepare the plugins' database
      tables before they're used in production. In a multihome environment,
      this can be combined with tags to gradually roll out a new plugin.
      In the config file, a stanza like:
         $site = Status_network::getFromHostname(...);
         if ($site->hasTag('fooenabled')) {
      ...will only enable the plugin on certain sites. Meanwhile, a bash
      script like this should gradually enable the plugin:
         # For all sites...
         for site in `php allsites.php`; do
             # Update the schema for the Foo plugin
             php checkschema.php -s$site.wildcard -xFoo;
             # Enable the Foo plugin
             php settag.php -s$site.wildcard fooenabled;
  2. 29 Oct, 2010 1 commit
  3. 30 Nov, 2009 1 commit
  4. 01 Oct, 2009 1 commit
  5. 25 Aug, 2009 2 commits
  6. 22 Jun, 2009 1 commit
  7. 20 Jun, 2009 2 commits
  8. 23 Dec, 2008 1 commit
    • Evan Prodromou's avatar
      replace all tabs with four spaces · edbc0c66
      Evan Prodromou authored
      The PEAR coding standards decree: no tabs, but indent by four spaces.
      I've done a global search-and-replace on all tabs, replacing them by
      four spaces. This is a huge change, but it will go a long way to
      getting us towards phpcs-compliance. And that means better code
      readability, and that means more participation.
  9. 06 Sep, 2008 1 commit
  10. 13 Aug, 2008 1 commit
  11. 09 Jul, 2008 1 commit
  12. 07 Jul, 2008 1 commit
  13. 04 Jul, 2008 1 commit
    • Gina Haeussge's avatar
      Validate action parameter · e3e047b2
      Gina Haeussge authored
      Make sure the action request parameter only consists of a-z, A-Z, 0-9, _ or -
      to discourage tampering with the following require_once.
  14. 22 Jun, 2008 1 commit
    • Evan Prodromou's avatar
      remove check immediate · a69dbe7c
      Evan Prodromou authored
      After getting a lot of problems and bugs with this, I'm removing the
      check_immediate code. Instead, I'm going to add this functionality in
      JavaScript. I think that's a preferred practice, anyways.
  15. 19 Jun, 2008 1 commit
  16. 20 May, 2008 1 commit
    • Evan Prodromou's avatar
      trim whitespace · 52600ce0
      Evan Prodromou authored
  17. 19 May, 2008 1 commit
    • Evan Prodromou's avatar
      better headers · 749178f3
      Evan Prodromou authored
      Added H1 headers to all pages. Added H2 headers to sections of pages,
      where appropriate.
      Moved a lot of TODOs around.
      Made the public stream the default if no action is specified.
  18. 17 May, 2008 4 commits
  19. 14 May, 2008 3 commits
  20. 07 May, 2008 1 commit