mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-11 16:49:30 +00:00
e13be59e42
Not used and introduces serious compexity, likely causing the bug with users receiving notifications they've opted out of. Bug: T174220 Change-Id: I888c6009fffad17121765678387022ed7d454cb0
82 lines
3.1 KiB
JSON
82 lines
3.1 KiB
JSON
{
|
|
"name": "LoginNotify",
|
|
"version": "0.1",
|
|
"author": [
|
|
"Brian Wolff"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:LoginNotify",
|
|
"descriptionmsg": "loginnotify-desc",
|
|
"license-name": "MIT",
|
|
"type": "other",
|
|
"requires": {
|
|
"extensions": {
|
|
"Echo": "*"
|
|
}
|
|
},
|
|
"DefaultUserOptions": {
|
|
"echo-subscriptions-web-login-fail": true,
|
|
"echo-subscriptions-email-login-fail": true,
|
|
"echo-subscriptions-web-login-success": false,
|
|
"echo-subscriptions-email-login-success": true
|
|
},
|
|
"MessagesDirs": {
|
|
"LoginNotify": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"LoginNotify\\DeferredChecksJob": "includes/DeferredChecksJob.php",
|
|
"LoginNotify\\Hooks": "includes/Hooks.php",
|
|
"LoginNotify\\LoginNotify": "includes/LoginNotify.php",
|
|
"LoginNotify\\PresentationModel": "includes/PresentationModel.php"
|
|
},
|
|
"Hooks": {
|
|
"BeforeCreateEchoEvent": [
|
|
"LoginNotify\\Hooks::onBeforeCreateEchoEvent"
|
|
],
|
|
"EchoGetBundleRules": [
|
|
"LoginNotify\\Hooks::onEchoGetBundleRules"
|
|
],
|
|
"LoginAuthenticateAudit": [
|
|
"LoginNotify\\Hooks::onLoginAuthenticateAudit"
|
|
],
|
|
"AuthManagerLoginAuthenticateAudit": [
|
|
"LoginNotify\\Hooks::onAuthManagerLoginAuthenticateAudit"
|
|
],
|
|
"AddNewAccount": [
|
|
"LoginNotify\\Hooks::onAddNewAccount"
|
|
],
|
|
"LocalUserCreated": [
|
|
"LoginNotify\\Hooks::onLocalUserCreated"
|
|
]
|
|
},
|
|
"JobClasses": {
|
|
"LoginNotifyChecks": "LoginNotify\\DeferredChecksJob"
|
|
},
|
|
"config": {
|
|
"@docLoginNotifyAttemptsKnownIP": "The number of failed login attempts to permit from a known IP before a notification is triggered.",
|
|
"LoginNotifyAttemptsKnownIP": 5,
|
|
"@docLoginNotifyExpiryKnownIP": "The time-to-live of the count of failed login attempts from a known IP (from the time of the first failed attempt).",
|
|
"LoginNotifyExpiryKnownIP": 604800,
|
|
"@docLoginNotifyAttemptsNewIP": "The number of failed login attempts to permit from a new IP before a notification is triggered.",
|
|
"LoginNotifyAttemptsNewIP": 1,
|
|
"@docLoginNotifyExpiryNewIP": "The time-to-live of the count of failed login attempts from a new IP (from the time of the first failed attempt).",
|
|
"LoginNotifyExpiryNewIP": 1209600,
|
|
"@docLoginNotifyCheckKnownIPs": "Whether to trigger a notification after failed logins from known IPs.",
|
|
"LoginNotifyCheckKnownIPs": true,
|
|
"@docLoginNotifyEnableOnSuccess": "Whether to trigger a notification after successful logins from unknown IPs.",
|
|
"LoginNotifyEnableOnSuccess": true,
|
|
"@docLoginNotifySecretKey": "Override this to use a different secret than $wgSecretKey",
|
|
"LoginNotifySecretKey": null,
|
|
"@docLoginNotifyCookieExpire": "Expiry in seconds. Default is 180 days",
|
|
"LoginNotifyCookieExpire": 15552000,
|
|
"@docLoginNotifyCookieDomain": "Override to allow sharing login cookies between sites on different subdomains",
|
|
"LoginNotifyCookieDomain": null,
|
|
"@docLoginNotifyMaxCookieRecords": "Maximum number of users (records) to track as having successfully logged in on a particular device.",
|
|
"LoginNotifyMaxCookieRecords": 6,
|
|
"@docLoginNotifyCacheLoginIPExpiry": "Set to false to disable caching IPs in memcache. Set to 0 to cache forever. Default 60 days.",
|
|
"LoginNotifyCacheLoginIPExpiry": 5184000
|
|
},
|
|
"manifest_version": 1
|
|
}
|