gnu-social/plugins
Alexei Sorokin 92e8c40c55 [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.
2020-07-31 16:36:40 +03:00
..
AccountManager [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
ActivityPub [DATABASE] Add explicit indices for all foreign keys 2020-07-31 16:36:40 +03:00
ActivitySpam [DATABASE] Check SQL boolean values with "IS TRUE" 2020-07-21 18:06:39 +03:00
AnonymousFave [SCHEMA] Improve timestamp storage 2020-06-29 01:41:46 +03:00
AntiBrute [FIX] Fix 'Trying to access array offset on value of type null' in AntiBrutePlugin and SimpleCaptchaPlugin when using scripts 2020-05-24 16:55:37 +00:00
ApiLogger [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Autocomplete [DATABASE] Some query improvements 2020-06-10 16:52:00 +03:00
AutoSandbox [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
BitlyUrl [DATABASE] Start transactions with START TRANSACTION 2020-06-08 12:25:01 +03:00
Blacklist [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
BlogspamNet [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Bookmark [Bookmark] Fix misuse of XMLOutputter 2020-07-17 20:56:51 +01:00
CacheLog [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
CasAuthentication [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
ChooseTheme Fix minor git merge resolving issues 2019-09-18 17:43:00 +03:00
ClientSideShorten [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Comet [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
ConversationTree [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Cronish [CORE] Use monotonic time via hrtime() where applicable 2020-01-07 19:48:13 +03:00
DBQueue [CORE] Better queues defaults 2019-12-11 02:23:37 +00:00
DefaultLayout [PLUGINS] Removed GeoURL as the service doesn't exist anymore 2019-08-24 01:59:36 +01:00
Diaspora [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
DirectionDetector [CORE] Fix 'Array and string offset access syntax with curly braces is deprecated' in AuthCryptModule and DirectionDetectorPlugin 2020-05-04 10:47:23 +00:00
DirectMessage [DATABASE] Fix index identifiers and clean up redundant ones 2020-07-31 16:12:48 +03:00
Directory [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
DiskCache [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
DomainStatusNetwork [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
DomainWhitelist [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
EmailAuthentication [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
EmailRegistration [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
EmailReminder [DATABASE] Fix index identifiers and clean up redundant ones 2020-07-31 16:12:48 +03:00
EmailSummary [SCHEMA] Improve timestamp storage 2020-06-29 01:41:46 +03:00
Embed [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2020-07-27 19:10:33 +03:00
Event [DATABASE] Add explicit indices for all foreign keys 2020-07-31 16:36:40 +03:00
ExtendedProfile [DATABASE] Add explicit indices for all foreign keys 2020-07-31 16:36:40 +03:00
FeedPoller [DATABASE] Fix more incorrect uses of quotation in SQL 2020-07-26 15:28:05 +03:00
FetchRemote [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
FollowEveryone [DATABASE] Use "<>" as an SQL non-equality sign in more cases 2020-06-08 18:31:22 +03:00
ForceGroup [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Geonames [CORE] Use monotonic time via hrtime() where applicable 2020-01-07 19:48:13 +03:00
GroupFavorited [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
GroupPrivateMessage [DATABASE] Add explicit indices for all foreign keys 2020-07-31 16:36:40 +03:00
ImageMagick [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Imap [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
InfiniteScroll [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
InProcessCache [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
LdapAuthentication [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
LdapAuthorization [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
LdapCommon [PLUGINS] Removed GeoURL as the service doesn't exist anymore 2019-08-24 01:59:36 +01:00
LilUrl [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Linkback [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
LinkPreview [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
LogFilter [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
LRDD [LRDD] Fix unhandled bad data in HostMeta, LinkHTML and WebFinger 2020-07-22 01:30:04 +03:00
Mapstraction [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Memcached [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
MentionURL [DATABASE] Add explicit indices for all foreign keys 2020-07-31 16:36:40 +03:00
Meteor [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00: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 2019-11-21 00:21:22 +00:00
ModHelper [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
ModLog [DATABASE] Add explicit indices for all foreign keys 2020-07-31 16:36:40 +03:00
ModPlus [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Mollom [PLUGINS] Removed GeoURL as the service doesn't exist anymore 2019-08-24 01:59:36 +01:00
Nodeinfo [DATABASE] Fix index identifiers and clean up redundant ones 2020-07-31 16:12:48 +03:00
NoticeTitle [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
OfflineBackup [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
OpenExternalLinkTarget [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
OpenID [DATABASE] Fix index identifiers and clean up redundant ones 2020-07-31 16:12:48 +03:00
OpportunisticQM [CORE] Use monotonic time via hrtime() where applicable 2020-01-07 19:48:13 +03:00
Orbited [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
OStatus [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2020-07-27 19:10:33 +03:00
OverwriteThemeBackground [DATABASE] Start transactions with START TRANSACTION 2020-06-08 12:25:01 +03:00
PiwikAnalytics [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Poll [DATABASE] Fix index identifiers and clean up redundant ones 2020-07-31 16:12:48 +03:00
PostDebug [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
PtitUrl [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
QnA [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
RedisCache [RedisCache] Catch string return type from Predis\Client::setex 2020-07-06 20:10:12 +03:00
RedisQueue [CORE] Better queues defaults 2019-12-11 02:23:37 +00:00
RegisterThrottle [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
RemoteFollow [RemoteFollow] Fix location display 2020-07-22 19:49:24 +03:00
RequireValidatedEmail [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
ReverseUsernameAuthentication [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
RSSCloud [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2020-07-27 19:10:33 +03:00
SearchSub [DATABASE] Fix index identifiers and clean up redundant ones 2020-07-31 16:12:48 +03:00
SensitiveContent [UI] Small improvement on attachment's visual 2020-04-07 13:28:34 +01:00
ShareNotice [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
SimpleCaptcha [FIX] Fix 'Trying to access array offset on value of type null' in AntiBrutePlugin and SimpleCaptchaPlugin when using scripts 2020-05-24 16:55:37 +00:00
SimpleUrl [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Sitemap [SCHEMA] Improve timestamp storage 2020-06-29 01:41:46 +03:00
SiteNoticeInSidebar Add plugin READMEs 2016-02-08 17:48:37 +00:00
SlicedFavorites [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
SphinxSearch [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
SQLProfile [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
SQLStats [CORE] Use monotonic time via hrtime() where applicable 2020-01-07 19:48:13 +03:00
StompQueue [CORE] Better queues defaults 2019-12-11 02:23:37 +00:00
StoreRemoteMedia [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
StrictTransportSecurity [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
SubMirror [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
SubscriptionThrottle [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
TabFocus [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
TagCloud [DATABASE] Check SQL boolean values with "IS TRUE" 2020-07-21 18:06:39 +03:00
TagSub [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
TightUrl [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
TwitterBridge [DATABASE] Fix index identifiers and clean up redundant ones 2020-07-31 16:12:48 +03:00
UnQueue [CORE] Better queues defaults 2019-12-11 02:23:37 +00:00
UserFlag [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2020-07-27 19:10:33 +03:00
UserLimit [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
WebFinger [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
WikiHashtags [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
WikiHowProfile [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
Xmpp [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2019-11-21 00:21:22 +00:00
README.md [DOCUMENTATION] Reorganize documentation 2019-06-05 22:48:28 +01: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: