2016-03-28 08:26:48 +00:00
{
"name" : "LoginNotify" ,
"version" : "0.1" ,
"author" : [
"Brian Wolff"
] ,
"url" : "https://www.mediawiki.org/wiki/Extension:LoginNotify" ,
"descriptionmsg" : "loginnotify-desc" ,
"license-name" : "MIT" ,
"type" : "other" ,
2017-02-04 14:55:02 +00:00
"requires" : {
"extensions" : {
"Echo" : "*"
}
} ,
2016-03-28 08:26:48 +00:00
"DefaultUserOptions" : {
"echo-subscriptions-web-login-fail" : true ,
"echo-subscriptions-email-login-fail" : false ,
"echo-subscriptions-web-login-success" : false ,
"echo-subscriptions-email-login-success" : false
} ,
"MessagesDirs" : {
"LoginNotify" : [
"i18n"
]
} ,
"AutoloadClasses" : {
"LoginNotify" : "LoginNotify_body.php" ,
"LoginNotifyHooks" : "LoginNotify.hooks.php" ,
2017-01-23 15:43:50 +00:00
"LoginNotifyPresentationModel" : "LoginNotifyPresentationModel.php"
2016-03-28 08:26:48 +00:00
} ,
"Hooks" : {
"BeforeCreateEchoEvent" : [
"LoginNotifyHooks::onBeforeCreateEchoEvent"
] ,
2017-04-07 21:48:57 +00:00
"EchoGetBundleRules" : [
"LoginNotifyHooks::onEchoGetBundleRules"
] ,
2016-03-28 08:26:48 +00:00
"LoginAuthenticateAudit" : [
"LoginNotifyHooks::onLoginAuthenticateAudit"
] ,
2016-07-06 22:06:27 +00:00
"AuthManagerLoginAuthenticateAudit" : [
"LoginNotifyHooks::onAuthManagerLoginAuthenticateAudit"
] ,
2016-03-28 08:26:48 +00:00
"AddNewAccount" : [
"LoginNotifyHooks::onAddNewAccount"
] ,
"UserLoadOptions" : [
"LoginNotifyHooks::onUserLoadOptions"
] ,
"UserSaveOptions" : [
"LoginNotifyHooks::onUserSaveOptions"
2017-01-23 06:37:08 +00:00
] ,
"LocalUserCreated" : [
"LoginNotifyHooks::onLocalUserCreated"
2016-03-28 08:26:48 +00:00
]
} ,
"config" : {
2017-03-24 17:20:28 +00:00
"@docLoginNotifyAttemptsKnownIP" : "The number of failed login attempts to permit from a known IP before a notification is triggered." ,
2017-04-24 22:43:41 +00:00
"LoginNotifyAttemptsKnownIP" : 5 ,
2017-03-24 17:20:28 +00:00
"@docLoginNotifyExpiryKnownIP" : "The time-to-live of the count of failed login attempts from a known IP (from the time of the first failed attempt)." ,
2016-03-28 08:26:48 +00:00
"LoginNotifyExpiryKnownIP" : 604800 ,
2017-03-24 17:20:28 +00:00
"@docLoginNotifyAttemptsNewIP" : "The number of failed login attempts to permit from a new IP before a notification is triggered." ,
2017-04-24 22:43:41 +00:00
"LoginNotifyAttemptsNewIP" : 1 ,
2017-03-24 17:20:28 +00:00
"@docLoginNotifyExpiryNewIP" : "The time-to-live of the count of failed login attempts from a new IP (from the time of the first failed attempt)." ,
2016-03-28 08:26:48 +00:00
"LoginNotifyExpiryNewIP" : 1209600 ,
2017-03-24 17:20:28 +00:00
"@docLoginNotifyCheckKnownIPs" : "Whether to trigger a notification after failed logins from known IPs." ,
2016-03-28 08:26:48 +00:00
"LoginNotifyCheckKnownIPs" : true ,
2017-03-24 17:20:28 +00:00
"@docLoginNotifyEnableOnSuccess" : "Whether to trigger a notification after successful logins from unknown IPs." ,
2016-03-28 08:26:48 +00:00
"LoginNotifyEnableOnSuccess" : true ,
2017-04-27 20:18:02 +00:00
"@docLoginNotifyEnableForPriv" : "Set different default notification preferences for different user groups. For user groups that have any of the user rights listed in this array, the preferences specified in Hooks:getOverridenOptions() are on by default." ,
2016-03-28 08:26:48 +00:00
"LoginNotifyEnableForPriv" : [ "editinterface" , "userrights" ] ,
2016-12-16 23:48:15 +00:00
"@docLoginNotifySecretKey" : "Override this to use a different secret than $wgSecretKey" ,
2016-03-28 08:26:48 +00:00
"LoginNotifySecretKey" : null ,
2016-12-16 23:48:15 +00:00
"@docLoginNotifyCookieExpire" : "Expiry in seconds. Default is 180 days" ,
2016-03-28 08:26:48 +00:00
"LoginNotifyCookieExpire" : 15552000 ,
2016-12-16 23:48:15 +00:00
"@docLoginNotifyCookieDomain" : "Override to allow sharing login cookies between sites on different subdomains" ,
2016-03-28 08:26:48 +00:00
"LoginNotifyCookieDomain" : null ,
2017-03-24 17:20:28 +00:00
"@docLoginNotifyMaxCookieRecords" : "Maximum number of users (records) to track as having successfully logged in on a particular device." ,
2016-03-28 08:26:48 +00:00
"LoginNotifyMaxCookieRecords" : 6 ,
2016-12-16 23:48:15 +00:00
"@docLoginNotifyCacheLoginIPExpiry" : "Set to false to disable caching IPs in memcache. Set to 0 to cache forever. Default 60 days." ,
2016-03-28 08:26:48 +00:00
"LoginNotifyCacheLoginIPExpiry" : 5184000
} ,
"manifest_version" : 1
}