gnu-social/plugins
Mikael Nordfeldth 3bc2454e91 Avoid excessive remote requests on oEmbed lookups
I noticed that each time a notice was accessed it'd do a remote lookup
with HEAD (and continue despite 404 etc.) and then another attempt to
download the resource. If this wasn't successful new attempts would be
made for each loading of the resource, which is extremely resource
intensive.

Whenever we can say "it's been n seconds since the last attempt" we
could probably enable this again - or just manually reload remote
thumbnails (as part of the StoreRemoteMedia plugin etc.)
2017-07-10 14:41:03 +02:00
..
AccountManager Update handle() method on Action subclasses. 2016-06-01 02:26:44 +00:00
Activity Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
ActivityModeration doActionPost for delete should use deleteAs 2016-03-21 18:07:29 +01:00
ActivitySpam Update handle() method on Action subclasses. 2016-06-01 02:26:44 +00:00
ActivityVerb Plugins didn't match lib/plugin.php onPluginVersion function definition 2015-06-06 22:04:01 +02:00
ActivityVerbPost Avoid having to check for notices without rendered copies in upgrade.php 2016-01-06 15:32:27 +01:00
AnonymousFave Update handle() method on Action subclasses. 2016-06-01 02:26:44 +00:00
AntiBrute Add plugin READMEs 2016-02-08 17:48:37 +00:00
ApiLogger Add plugin READMEs 2016-02-08 17:48:37 +00:00
AuthCrypt Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
Autocomplete Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
AutoSandbox Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
Awesomeness Add plugin READMEs 2016-02-08 17:48:37 +00:00
BitlyUrl Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes 2016-03-21 03:10:19 +01:00
Blacklist Test URLs against blacklist also on PuSH subscriptions. 2017-04-26 22:41:59 +02:00
BlankAd Add plugin READMEs 2016-02-08 17:48:37 +00:00
BlogspamNet Add plugin READMEs 2016-02-08 17:48:37 +00:00
Bookmark Properly parse incoming bookmarks 2016-06-24 13:51:40 +02:00
CacheLog Add plugin READMEs 2016-02-08 17:48:37 +00:00
CasAuthentication Update handle() method on Action subclasses. 2016-06-01 02:26:44 +00:00
ChooseTheme Removed the full AGPL license file 2015-06-13 11:11:50 +02:00
ClientSideShorten Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
Comet Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
ConversationTree Add var type to newListItem() parameter 2017-03-16 22:57:16 -04:00
Cronish Add plugin READMEs 2016-02-08 17:48:37 +00:00
DefaultLayout Plugins didn't match lib/plugin.php onPluginVersion function definition 2015-06-06 22:04:01 +02:00
Diaspora Handle exception from Magic Envelope toXML function 2016-06-23 23:27:18 +02:00
DirectionDetector Add plugin READMEs 2016-02-08 17:48:37 +00:00
DirectMessage Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
Directory Add plugin READMEs 2016-02-08 17:48:37 +00:00
DiskCache Add plugin READMEs 2016-02-08 17:48:37 +00:00
doc Documentation about plugins 2015-06-14 11:59:46 -04:00
DomainStatusNetwork Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
DomainWhitelist Add plugin READMEs 2016-02-08 17:48:37 +00:00
EmailAuthentication Add plugin READMEs 2016-02-08 17:48:37 +00:00
EmailRegistration Move mail_confirm_address out of mail.php 2016-03-06 17:27:40 +01:00
EmailReminder Add plugin READMEs 2016-02-08 17:48:37 +00:00
EmailSummary Consistent behaviour for ScopingNoticeStream $scoped 2016-03-01 14:51:47 +01:00
Event Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
ExtendedProfile Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
FacebookBridge Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
Favorite Add var type to newListItem() parameter 2017-03-16 22:57:16 -04:00
FeedPoller Change mentions of PuSH to WebSub 2017-05-01 11:04:27 +02:00
FetchRemote Initial (not yet working) fetch remote plugin 2016-03-27 15:01:44 +02:00
FollowEveryone Add plugin READMEs 2016-02-08 17:48:37 +00:00
ForceGroup Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes 2016-03-21 03:10:19 +01:00
Geonames Add plugin READMEs 2016-02-08 17:48:37 +00:00
GeoURL Add plugin READMEs 2016-02-08 17:48:37 +00:00
GNUsocialPhoto Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
GNUsocialPhotos Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
GNUsocialProfileExtensions Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
GNUsocialVideo Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
GroupFavorited Add plugin READMEs 2016-02-08 17:48:37 +00:00
GroupPrivateMessage Add plugin READMEs 2016-02-08 17:48:37 +00:00
HTMLPurifierSchemes Don't use default_port for irc schemes 2016-03-21 02:48:37 +01:00
ImageMagick Add plugin READMEs 2016-02-08 17:48:37 +00:00
Imap Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
InfiniteScroll Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
InProcessCache Add plugin READMEs 2016-02-08 17:48:37 +00:00
LdapAuthentication Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
LdapAuthorization Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
LdapCommon Manual merge of !87 Update LDAP2 extlib to 2.2.0 (stable) released on 2015-10-30 2016-01-28 13:35:23 +01:00
LilUrl Add plugin READMEs 2016-02-08 17:48:37 +00:00
Linkback repost_of -> repeat_of, also trying with isset() 2016-06-17 23:53:05 +02:00
LinkPreview Update handle() method on Action subclasses. 2016-06-01 02:26:44 +00:00
LogFilter Add plugin READMEs 2016-02-08 17:48:37 +00:00
LRDD LRDD blacklisted URL test 2017-04-26 23:21:13 +02:00
Mapstraction Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
Memcache Add plugin READMEs 2016-02-08 17:48:37 +00:00
Memcached Add plugin READMEs 2016-02-08 17:48:37 +00:00
MentionURL Add plugin READMEs 2016-02-08 17:48:37 +00:00
Meteor Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
Mobile Add plugin READMEs 2016-02-08 17:48:37 +00:00
MobileProfile Add plugin READMEs 2016-02-08 17:48:37 +00:00
ModHelper Merge branch 'readme-plugins' into 'nightly' 2016-02-26 12:32:42 +00:00
ModLog Add plugin READMEs 2016-02-08 17:48:37 +00:00
ModPlus Add plugin READMEs 2016-02-08 17:48:37 +00:00
Mollom Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
NoticeTitle Add plugin READMEs 2016-02-08 17:48:37 +00:00
Oembed Avoid excessive remote requests on oEmbed lookups 2017-07-10 14:41:03 +02:00
OfflineBackup Add plugin READMEs 2016-02-08 17:48:37 +00:00
OpenExternalLinkTarget Add plugin READMEs 2016-02-08 17:48:37 +00:00
OpenID Merge branch 'master' of git.gnu.io:gnu/gnu-social into nightly 2017-04-06 11:15:37 +02:00
OpenX Add plugin READMEs 2016-02-08 17:48:37 +00:00
OpportunisticQM Did the OpportunisticQM fixes in the wrong order 2016-01-22 12:26:53 +01:00
Orbited Add plugin READMEs 2016-02-08 17:48:37 +00:00
OStatus Endless loop nesting on ensureHub failure now fixed 2017-06-22 14:37:32 +02:00
PiwikAnalytics Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes 2016-03-21 03:10:19 +01:00
Poll Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
PostDebug Add plugin READMEs 2016-02-08 17:48:37 +00:00
PtitUrl Add plugin READMEs 2016-02-08 17:48:37 +00:00
QnA Add plugin READMEs 2016-02-08 17:48:37 +00:00
Realtime Stricter typing in Realtime plugin functions 2016-03-24 01:41:58 +01:00
RegisterThrottle Don't auto-silence other users by IP by default 2016-02-26 16:10:03 +01:00
RequireValidatedEmail Move mail_confirm_address out of mail.php 2016-03-06 17:27:40 +01:00
ReverseUsernameAuthentication Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
RSSCloud Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
Sample Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
SearchSub Add var type to newListItem() parameter 2017-03-16 22:57:16 -04:00
Share Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
ShareNotice Add plugin READMEs 2016-02-08 17:48:37 +00:00
SimpleCaptcha Add plugin READMEs 2016-02-08 17:48:37 +00:00
SimpleUrl Add plugin READMEs 2016-02-08 17:48:37 +00:00
Sitemap Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
SiteNoticeInSidebar Add plugin READMEs 2016-02-08 17:48:37 +00:00
SlicedFavorites Update prepare() method on Action subclasses. 2016-06-01 02:26:44 +00:00
SphinxSearch Add plugin READMEs 2016-02-08 17:48:37 +00:00
SQLProfile Add plugin READMEs 2016-02-08 17:48:37 +00:00
SQLStats Add plugin READMEs 2016-02-08 17:48:37 +00:00
StoreRemoteMedia StoreRemoteMedia now checks remote filesize before downloading 2017-03-18 01:35:45 +01:00
StrictTransportSecurity Merge branch 'readme-plugins' into 'nightly' 2016-02-26 12:32:42 +00:00
SubMirror Change mentions of PuSH to WebSub 2017-05-01 11:04:27 +02:00
SubscriptionThrottle Add plugin READMEs 2016-02-08 17:48:37 +00:00
TabFocus Add plugin READMEs 2016-02-08 17:48:37 +00:00
TagCloud TagCloud turned into plugin (performance issues on large installs) 2016-08-27 15:24:25 +02:00
TagSub Add var type to newListItem() parameter 2017-03-16 22:57:16 -04:00
TightUrl Add plugin READMEs 2016-02-08 17:48:37 +00:00
TwitterBridge Merge branch 'fix-twitterbridge' into 'nightly' 2017-04-06 10:20:41 +00:00
UserFlag Add var type to newListItem() parameter 2017-03-16 22:57:16 -04:00
UserLimit Add plugin READMEs 2016-02-08 17:48:37 +00:00
VideoThumbnails return false to exit event, imgPath holds the path 2016-07-21 00:27:22 +02:00
WebFinger Typing on WebFinger onRouterInitialized handler argument URLMapper $m 2016-08-27 15:00:29 +02:00
WikiHashtags Add plugin READMEs 2016-02-08 17:48:37 +00:00
WikiHowProfile Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
Xmpp naughty extlib fix (PHP7) 2016-04-26 02:57:14 +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: