gnu-social/plugins
Stephen Paul Weber a9b1b60a97 Refactor on File::processNew
The code was so involved there was even a comment asking for a refactor.

Now, File_redirection::where always returns a nice File_redirection
object instead of an array or string or nothing.  The object is
either one which already existed or else a new, unsaved object.

Instead of duplicating "does it exist" checks everywhere, do it in
File_redirection::where.  You either get what exists or something to save.

An unsaved File_redirection may be paired with an unsaved File.
You will want to save the File first (using ->saveFile()) and put the
id in File_redirection#file_id before saving.
2015-11-02 05:15:08 +00:00
..
AccountManager Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Activity Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ActivityModeration Syntax and minor fixes 2015-10-10 22:23:24 +02:00
ActivitySpam Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ActivityVerb Plugins didn't match lib/plugin.php onPluginVersion function definition 2015-06-06 22:04:01 +02:00
ActivityVerbPost Bookmark:addNew did not add a proper rel=related 2015-10-13 12:31:35 +02:00
AnonymousFave Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
AntiBrute Remove executable permissions where unnecessary 2015-07-10 14:36:34 +05:30
ApiLogger Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
AuthCrypt Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Autocomplete Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
AutoSandbox Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Awesomeness Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
BitlyUrl Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Blacklist Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
BlankAd Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
BlogspamNet Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Bookmark Removing excess debug logging 2015-10-13 22:55:27 +02:00
CacheLog Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
CasAuthentication Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ChooseTheme Removed the full AGPL license file 2015-06-13 11:11:50 +02:00
ClientSideShorten Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Comet Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ConversationTree Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Cronish Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
DefaultLayout Plugins didn't match lib/plugin.php onPluginVersion function definition 2015-06-06 22:04:01 +02:00
Diaspora Found newer Diaspora protocol specifications 2015-10-05 12:49:54 +02:00
DirectionDetector Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
DirectMessage Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Directory Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
DiskCache Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
doc Documentation about plugins 2015-06-14 11:59:46 -04:00
DomainStatusNetwork Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
DomainWhitelist Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
EmailAuthentication Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
EmailRegistration Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
EmailReminder Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
EmailSummary Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Event Merge branch 'master' into 'nightly' 2015-10-10 20:38:01 +00:00
ExtendedProfile Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
FacebookBridge Type-aware comparison is necessary for Notice is_local/scope 2015-10-14 00:42:15 +02:00
Favorite Merge branch 'translation-snapshot-october-2015' into 'nightly' 2015-10-10 20:36:04 +00:00
FeedPoller Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
FirePHP Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
FollowEveryone Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ForceGroup Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Geonames Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
GeoURL Type-aware comparison is necessary for Notice is_local/scope 2015-10-14 00:42:15 +02:00
GNUsocialPhoto Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
GNUsocialPhotos Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
GNUsocialProfileExtensions Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
GNUsocialVideo Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
GoogleAnalytics Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
GroupFavorited Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
GroupPrivateMessage Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ImageMagick Plugins didn't match lib/plugin.php onPluginVersion function definition 2015-06-06 22:04:01 +02:00
Imap Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
InfiniteScroll Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
InProcessCache Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
LdapAuthentication Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
LdapAuthorization Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
LdapCommon Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
LilUrl Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Linkback Type-aware comparison is necessary for Notice is_local/scope 2015-10-14 00:42:15 +02:00
LinkPreview Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
LogFilter Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
LRDD Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Mapstraction Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Memcache Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Memcached Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Meteor Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Minify Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Mobile Function declarations not matching their parents 2015-06-06 22:14:56 +02:00
MobileProfile Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ModHelper Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ModLog Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ModPlus Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Mollom Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
NoticeTitle Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Oembed Refactor on File::processNew 2015-11-02 05:15:08 +00:00
OfflineBackup Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
OpenExternalLinkTarget Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
OpenID Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
OpenX Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
OpportunisticQM Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Orbited Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
OStatus Link source==share notices 2015-10-14 01:30:29 +02:00
PiwikAnalytics Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Poll Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
PostDebug Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
PtitUrl Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
QnA Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Realtime Type-aware comparison is necessary for Notice is_local/scope 2015-10-14 00:42:15 +02:00
Recaptcha Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
RegisterThrottle Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
RequireValidatedEmail Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
ReverseUsernameAuthentication Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
RSSCloud Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Sample Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
SearchSub Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Share Only set ->actor in a case where it has not yet been set 2015-10-14 01:20:50 +02:00
ShareNotice Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
SimpleUrl Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Sitemap Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
SiteNoticeInSidebar SiteNoticeInSidebar widget did not define divId() 2015-03-10 17:33:58 +01:00
SlicedFavorites Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
SphinxSearch Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
SQLProfile Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
SQLStats Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
StoreRemoteMedia Refactor on File::processNew 2015-11-02 05:15:08 +00:00
StrictTransportSecurity Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
SubMirror Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
SubscriptionThrottle Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
TabFocus Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
TagSub Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
TightUrl Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
TwitterBridge Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
UserFlag Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
UserLimit Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
VideoThumbnails Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
WebFinger Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
WikiHashtags Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
WikiHowProfile Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
Xmpp Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
README.md Add link to 'community plugins' 2015-06-14 12:05:54 -04:00

Several example plugins are included in the plugins/ directory. You can enable a plugin with the following line in config.php:

    addPlugin('Example', array('param1' => 'value1',
                               'param2' => 'value2'));

This will look for and load files named 'ExamplePlugin.php' or 'Example/ExamplePlugin.php' either in the plugins/ directory (for plugins that ship with StatusNet) or in the local/ directory (for plugins you write yourself or that you get from somewhere else) or local/plugins/.

Plugins are documented in their own directories.

Additional information on using and developing plugins can be found at the following locations: