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,
|
2017-09-15 20:25:16 +00:00
|
|
|
"echo-subscriptions-email-login-fail": true,
|
2016-03-28 08:26:48 +00:00
|
|
|
"echo-subscriptions-web-login-success": false,
|
2017-09-15 20:25:16 +00:00
|
|
|
"echo-subscriptions-email-login-success": true
|
2016-03-28 08:26:48 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"LoginNotify": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
2017-06-22 01:16:06 +00:00
|
|
|
"LoginNotify\\DeferredChecksJob": "includes/DeferredChecksJob.php",
|
2017-06-15 22:56:12 +00:00
|
|
|
"LoginNotify\\Hooks": "includes/Hooks.php",
|
2017-06-22 01:16:06 +00:00
|
|
|
"LoginNotify\\LoginNotify": "includes/LoginNotify.php",
|
2017-06-15 22:56:12 +00:00
|
|
|
"LoginNotify\\PresentationModel": "includes/PresentationModel.php"
|
2016-03-28 08:26:48 +00:00
|
|
|
},
|
|
|
|
"Hooks": {
|
|
|
|
"BeforeCreateEchoEvent": [
|
2017-06-15 22:56:12 +00:00
|
|
|
"LoginNotify\\Hooks::onBeforeCreateEchoEvent"
|
2016-03-28 08:26:48 +00:00
|
|
|
],
|
2017-04-07 21:48:57 +00:00
|
|
|
"EchoGetBundleRules": [
|
2017-06-15 22:56:12 +00:00
|
|
|
"LoginNotify\\Hooks::onEchoGetBundleRules"
|
2017-04-07 21:48:57 +00:00
|
|
|
],
|
2016-03-28 08:26:48 +00:00
|
|
|
"LoginAuthenticateAudit": [
|
2017-06-22 01:16:06 +00:00
|
|
|
"LoginNotify\\Hooks::onLoginAuthenticateAudit"
|
2016-03-28 08:26:48 +00:00
|
|
|
],
|
2016-07-06 22:06:27 +00:00
|
|
|
"AuthManagerLoginAuthenticateAudit": [
|
2017-06-15 22:56:12 +00:00
|
|
|
"LoginNotify\\Hooks::onAuthManagerLoginAuthenticateAudit"
|
2016-07-06 22:06:27 +00:00
|
|
|
],
|
2016-03-28 08:26:48 +00:00
|
|
|
"AddNewAccount": [
|
2017-06-15 22:56:12 +00:00
|
|
|
"LoginNotify\\Hooks::onAddNewAccount"
|
2016-03-28 08:26:48 +00:00
|
|
|
],
|
2017-01-23 06:37:08 +00:00
|
|
|
"LocalUserCreated": [
|
2017-06-15 22:56:12 +00:00
|
|
|
"LoginNotify\\Hooks::onLocalUserCreated"
|
2016-03-28 08:26:48 +00:00
|
|
|
]
|
|
|
|
},
|
2017-06-22 01:16:06 +00:00
|
|
|
"JobClasses": {
|
|
|
|
"LoginNotifyChecks": "LoginNotify\\DeferredChecksJob"
|
|
|
|
},
|
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,
|
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
|
|
|
|
}
|