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

  1. 01 Jan, 2016 1 commit
  2. 27 Dec, 2015 1 commit
  3. 22 Nov, 2015 1 commit
  4. 03 Oct, 2015 1 commit
  5. 10 Jul, 2015 1 commit
  6. 15 Apr, 2015 1 commit
  7. 24 Feb, 2015 1 commit
    • mattl's avatar
      Don't store duplicates of files. · 325e784c
      mattl authored
      If a new file is uploaded, it will be matched with a previously uploaded
      file so we don't have to store duplicates. SHA256 is random enough and
      also unlikely enough to cause collisions.
      325e784c
  8. 19 Feb, 2015 2 commits
  9. 17 Feb, 2015 1 commit
  10. 27 Nov, 2014 1 commit
  11. 27 Jun, 2014 1 commit
    • mattl's avatar
      pluginified most of hasFave, getFaves and related calls · fcdd061b
      mattl authored
      The code is now more event-driven when it comes to rendering notices
      and their related HTML elements, since we can't have direct calls from
      core to a plugin.
      
      lib/activitymover.php has a function to move a Favorite activity which
      will not happen now. The move must be pluginified and performed as an
      event which plugins can catch on to.
      fcdd061b
  12. 12 May, 2014 1 commit
    • mattl's avatar
      File_thumbnail fixes (run scripts/upgrade.php) · 214a10dd
      mattl authored
      We're now capable of doing image rotation for thumbnails based on
      EXIF orientation data. Also, thumbnails are tracked by filenames and
      thus we can delete them from storage when we feel like it.
      214a10dd
  13. 22 Apr, 2014 1 commit
  14. 21 Apr, 2014 1 commit
    • mattl's avatar
      Dynamically generate thumbnails (see full text) · d59eb5e1
      mattl authored
      The File object now stores width and height of files that can
      supply this kind of information. Formats which we can not read
      natively in PHP do not currently benefit from this. However an
      event hook will be introduced later.
      
      The CreateFileImageThumbnail event is renamed to:
      CreateFileImageThumbnailSource to clarify that the hooks should not
      generate their own thumbnails but only the source image. Also it now
      accepts File objects, not MediaFile objects.
      
      The thumbnail generation is documented in the source code. For
      developers, call 'getThumbnail' on a File object and hope for the best.
      
      Default thumbnail sizes have increased to be more appealing.
      d59eb5e1
  15. 06 Mar, 2014 1 commit
    • mattl's avatar
      Removed Inbox from core (unused since 4b2a66ed) · 2272cc24
      mattl authored
      Added the following FIXME:
      How should a Twitter user get their Inbox filled with foreign tweets?
      
      Every imported Twitter user has a profile in the Profile table, so we
      could setup a Subscription entry for each of those, meaning they get
      collected in the InboxNoticeStream... But this would mean a lot of
      unnecessary entries and listings that generally just point to the
      locked down Twitter service.
      
      Let's figure out a good relation so we can connect any profile to any
      imported foreign notice, so it shows up in the "all" feed.
      2272cc24
  16. 15 Oct, 2013 1 commit
  17. 18 Aug, 2013 1 commit
    • mattl's avatar
      The overloaded DB_DataObject function staticGet is now called getKV · 2a4dc77a
      mattl authored
      I used this hacky sed-command (run it from your GNU Social root, or change the first grep's path to where it actually lies) to do a rough fix on all ::staticGet calls and rename them to ::getKV
      
         sed -i -s -e '/DataObject::staticGet/I!s/::staticGet/::getKV/Ig' $(grep -R ::staticGet `pwd`/* | grep -v -e '^extlib' | grep -v DataObject:: |grep -v "function staticGet"|cut -d: -f1 |sort |uniq)
      
      If you're applying this, remember to change the Managed_DataObject and Memcached_DataObject function definitions of staticGet to getKV!
      
      This might of course take some getting used to, or modification fo StatusNet plugins, but the result is that all the static calls (to staticGet) are now properly made without breaking PHP Strict Standards. Standards are there to be followed (and they caused some very bad confusion when used with get_called_class)
      
      Reasonably any plugin or code that tests for the definition of 'GNUSOCIAL' or similar will take this change into consideration.
      2a4dc77a
  18. 27 Sep, 2011 1 commit
  19. 15 Sep, 2011 1 commit
  20. 12 Sep, 2011 2 commits
  21. 07 Sep, 2011 7 commits
  22. 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')) {
            addPlugin('Foo');
         }
      
      ...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;
         done
      f8c34582
  23. 29 Oct, 2010 1 commit
  24. 30 Nov, 2009 1 commit
  25. 01 Oct, 2009 1 commit
  26. 25 Aug, 2009 2 commits
  27. 22 Jun, 2009 1 commit
  28. 20 Jun, 2009 2 commits
  29. 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.
      
      darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
      edbc0c66
  30. 06 Sep, 2008 1 commit