gnu-social/plugins
Alexei Sorokin bee3dea9c2 [DATABASE] Add explicit indices for all foreign keys
This adds a requirement for all definitions that have foreign keys to also
require indices for all source (local) attributes mentioned in foreign keys.

MariaDB/MySQL creates indices for source attributes automatically, so this
serves as a way to get rid of those automatic indices and create clean explicit
ones instead.

In PostgreSQL, most of the time, indices on the source are necessary to
decrease performance penalty of foreign keys (like in MariaDB), but they aren't
created automatically, so this serves to remove that difference between
PostgreSQL and MariaDB.
2021-07-16 19:44:38 +01:00
..
AccountManager [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
ActivityPub [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
ActivitySpam [DATABASE] Check SQL boolean values with "IS TRUE" 2021-07-16 19:44:37 +01:00
AnonymousFave [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
AntiBrute [FIX] Fix 'Trying to access array offset on value of type null' in AntiBrutePlugin and SimpleCaptchaPlugin when using scripts 2021-07-16 19:44:36 +01:00
ApiLogger [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
AutoSandbox [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Autocomplete [DATABASE] Some query improvements 2021-07-16 19:44:36 +01:00
BitlyUrl [DATABASE] Start transactions with START TRANSACTION 2021-07-16 19:44:36 +01:00
Blacklist [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
BlogspamNet [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Bookmark [Bookmark] Fix misuse of XMLOutputter 2021-07-16 19:44:37 +01:00
CacheLog [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
CasAuthentication [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
ChooseTheme Fix minor git merge resolving issues 2021-07-16 19:44:35 +01:00
ClientSideShorten [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Comet [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
ConversationTree [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Cronish [CORE] Use monotonic time via hrtime() where applicable 2021-07-16 19:44:36 +01:00
DBQueue [CORE] Better queues defaults 2021-07-16 19:44:36 +01:00
DefaultLayout [PLUGINS] Removed GeoURL as the service doesn't exist anymore 2021-07-16 19:44:34 +01:00
Diaspora [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
DirectMessage [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
DirectionDetector [CORE] Fix 'Array and string offset access syntax with curly braces is deprecated' in AuthCryptModule and DirectionDetectorPlugin 2021-07-16 19:44:36 +01:00
Directory [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
DiskCache [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
DomainStatusNetwork [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
DomainWhitelist [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
EmailAuthentication [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
EmailRegistration [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
EmailReminder [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
EmailSummary [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Embed [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
Event [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
ExtendedProfile [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
FeedPoller [DATABASE] Fix more incorrect uses of quotation in SQL 2021-07-16 19:44:37 +01:00
FetchRemote [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
FollowEveryone [DATABASE] Use "<>" as an SQL non-equality sign in more cases 2021-07-16 19:44:36 +01:00
ForceGroup [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Geonames [CORE] Use monotonic time via hrtime() where applicable 2021-07-16 19:44:36 +01:00
GroupFavorited [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
GroupPrivateMessage [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
ImageMagick [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Imap [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
InProcessCache [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
InfiniteScroll [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
LRDD [LRDD] Fix unhandled bad data in HostMeta, LinkHTML and WebFinger 2021-07-16 19:44:37 +01:00
LdapAuthentication [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
LdapAuthorization [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
LdapCommon [PLUGINS] Removed GeoURL as the service doesn't exist anymore 2021-07-16 19:44:34 +01:00
LilUrl [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
LinkPreview [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Linkback [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
LogFilter [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Mapstraction [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Memcached [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
MentionURL [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Meteor [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Mobile Add plugin READMEs 2016-02-08 17:48:37 +00:00
MobileProfile [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
ModHelper [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
ModLog [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
ModPlus [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Mollom [PLUGINS] Removed GeoURL as the service doesn't exist anymore 2021-07-16 19:44:34 +01:00
Nodeinfo [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
NoticeTitle [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
OStatus [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
OfflineBackup [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
OpenExternalLinkTarget [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
OpenID [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
OpportunisticQM [CORE] Use monotonic time via hrtime() where applicable 2021-07-16 19:44:36 +01:00
Orbited [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
OverwriteThemeBackground [DATABASE] Start transactions with START TRANSACTION 2021-07-16 19:44:36 +01:00
PiwikAnalytics [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Poll [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
PostDebug [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
PtitUrl [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
QnA [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
RSSCloud [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
RedisCache [RedisCache] Catch string return type from Predis\Client::setex 2021-07-16 19:44:37 +01:00
RedisQueue [CORE] Better queues defaults 2021-07-16 19:44:36 +01:00
RegisterThrottle [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
RemoteFollow [RemoteFollow] Fix location display 2021-07-16 19:44:37 +01:00
RequireValidatedEmail [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
ReverseUsernameAuthentication [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
SQLProfile [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
SQLStats [CORE] Use monotonic time via hrtime() where applicable 2021-07-16 19:44:36 +01:00
SearchSub [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
SensitiveContent [UI] Small improvement on attachment's visual 2021-07-16 19:44:36 +01:00
ShareNotice [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
SimpleCaptcha [FIX] Fix 'Trying to access array offset on value of type null' in AntiBrutePlugin and SimpleCaptchaPlugin when using scripts 2021-07-16 19:44:36 +01:00
SimpleUrl [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
SiteNoticeInSidebar Add plugin READMEs 2016-02-08 17:48:37 +00:00
Sitemap [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
SlicedFavorites [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
SphinxSearch [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
StompQueue [CORE] Better queues defaults 2021-07-16 19:44:36 +01:00
StoreRemoteMedia [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
StrictTransportSecurity [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
SubMirror [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
SubscriptionThrottle [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
TabFocus [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
TagCloud [DATABASE] Check SQL boolean values with "IS TRUE" 2021-07-16 19:44:37 +01:00
TagSub [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
TightUrl [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
TwitterBridge [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
UnQueue [CORE] Better queues defaults 2021-07-16 19:44:36 +01:00
UserFlag [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
UserLimit [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
WebFinger [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
WikiHashtags [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
WikiHowProfile [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
Xmpp [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00
README.md [DOCUMENTATION] Reorganize documentation 2019-06-05 22:48:28 +01:00

README.md

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: