gnu-social/plugins/OMB
Mikael Nordfeldth a23c4aa236 Avatar resizing improvements and better code reuse
* getOriginal added to Avatar class
    This is a static function that retrieves the original avatar in a leaner
    way than Profile->getOriginalAvatar() did (see below).
    This will throw an Exception if there was none to be found.

* getProfileAvatars added to Avatar class
    This gets all Avatars from a profile and returns them in an array.

* newSize added to Avatar class
    This will scale an original avatar or throw an Exception (originally from
    Avatar::getOriginal) if one wasn't found.

* deleteFromProfile added to Avatar class
    Deletes all avatars for a Profile. This makes the code much smarter when
    removing all avatars from a user.
    Previously only specific, hardcoded (through constants) sizes would be
    deleted. If you ever changed lib/framework.php then many oddsized avatars
    would remain with the old method.

* Migrated Profile class to new Avatar::getOriginal support
    Profile class now uses Avatar::getOriginal through its own
    $this->getOriginalAvatar and thus remains backwards compatible.

* Updating stock GNU Social to use Avatar::getOriginal
    All places where core StatusNet code used the
    $profile->getOriginalAvatar, it will now useAvatar::getOriginal with
    proper error handling.

* Updated Profile class to use Avatar::newSize
    When doing setOriginal, the scaling will be done with the new method
    introduced in this merge.
    This also edits the _fillAvatar function to avoid adding NULL values to
    the array (which causes errors when attempting to access array entries as
    objects). See issue #3478 at http://status.net/open-source/issues/3478
2013-09-30 22:23:03 +02:00
..
actions The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
extlib/libomb Squashed commit of the following: 2011-07-15 12:13:57 -07:00
lib Avatar resizing improvements and better code reuse 2013-09-30 22:23:03 +02:00
locale Localisation updates from http://translatewiki.net. 2012-06-30 11:10:38 +00:00
OMBPlugin.php Implemented WebFinger and replaced our XRD with PEAR XML_XRD 2013-09-30 22:04:52 +02:00
README Fix broken translator documentation because "// TRANS: " is not exactly in the line above the _m() method call. 2011-08-19 16:50:31 +02:00

OMB (OpenMicroBlogging) plugin
==============================

This plugin encapsulates OpenMicroBlogging 0.1 functionality. OMB was the
original federation protocol for StatusNet, but has been deprecated
in favor of OStatus (see the OStatus plugin). This plugin is provided for
backward-compatibility with older sites, and for posterity.

External libraries
------------------

This is provided with the plugin, but you may wish to use a newer version of
the library, if and when it becomes available.

- libomb. a library for implementing OpenMicroBlogging 0.1
  http://gitorious.org/libomb


Installation
------------

[TODO]

Offline Processing
------------------

Note: once you have a sizable number of users, sending OMB messages whenever
someone posts a message can really slow down your site; it may cause posting
to timeout. You may wish to enable queuing and handle OMB communication
offline. See the "queues and daemons" section of the main StatusNet README.