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": {
|
2017-12-14 20:06:39 +00:00
|
|
|
"MediaWiki": ">= 1.31.0",
|
2017-02-04 14:55:02 +00:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2017-12-14 20:06:39 +00:00
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"LoginNotify\\": "includes/"
|
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-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
|
|
|
],
|
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": {
|
2018-07-27 00:31:03 +00:00
|
|
|
"LoginNotifyAttemptsKnownIP": {
|
|
|
|
"description": "The number of failed login attempts to permit from a known IP before a notification is triggered.",
|
|
|
|
"value": 5
|
|
|
|
},
|
|
|
|
"LoginNotifyExpiryKnownIP": {
|
|
|
|
"description": "The time-to-live of the count of failed login attempts from a known IP (from the time of the first failed attempt).",
|
|
|
|
"value": 604800
|
|
|
|
},
|
|
|
|
"LoginNotifyAttemptsNewIP": {
|
|
|
|
"description": "The number of failed login attempts to permit from a new IP before a notification is triggered.",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
"LoginNotifyExpiryNewIP": {
|
|
|
|
"description": "The time-to-live of the count of failed login attempts from a new IP (from the time of the first failed attempt).",
|
|
|
|
"value": 1209600
|
|
|
|
},
|
|
|
|
"LoginNotifyCheckKnownIPs": {
|
|
|
|
"description": "Whether to trigger a notification after failed logins from known IPs.",
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"LoginNotifyEnableOnSuccess": {
|
|
|
|
"description": "Whether to trigger a notification after successful logins from unknown IPs.",
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"LoginNotifySecretKey": {
|
|
|
|
"description": "Override this to use a different secret than $wgSecretKey",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
"LoginNotifyCookieExpire": {
|
|
|
|
"description": "Expiry in seconds. Default is 180 days",
|
|
|
|
"value": 15552000
|
|
|
|
},
|
|
|
|
"LoginNotifyCookieDomain": {
|
|
|
|
"description": "Override to allow sharing login cookies between sites on different subdomains",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
"LoginNotifyMaxCookieRecords": {
|
|
|
|
"description": "Maximum number of users (records) to track as having successfully logged in on a particular device.",
|
|
|
|
"value": 6
|
|
|
|
},
|
|
|
|
"LoginNotifyCacheLoginIPExpiry": {
|
|
|
|
"description": "Set to false to disable caching IPs in memcache. Set to 0 to cache forever. Default 60 days.",
|
|
|
|
"value": 5184000
|
|
|
|
}
|
2016-03-28 08:26:48 +00:00
|
|
|
},
|
2018-07-27 00:31:03 +00:00
|
|
|
"manifest_version": 2
|
2016-03-28 08:26:48 +00:00
|
|
|
}
|