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" : {
2024-01-12 19:12:07 +00:00
"MediaWiki" : ">= 1.42" ,
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" : {
2023-08-15 22:34:45 +00:00
"BeforeCreateEchoEvent" : "echo" ,
"EchoGetBundleRules" : "echo" ,
2023-08-15 15:45:07 +00:00
"AuthManagerLoginAuthenticateAudit" : "main" ,
2023-08-30 23:01:31 +00:00
"LocalUserCreated" : "main" ,
"RecentChange_save" : "main" ,
"LoadExtensionSchemaUpdates" : "schema"
2023-08-15 15:45:07 +00:00
} ,
"HookHandlers" : {
"main" : {
2023-08-24 01:26:30 +00:00
"class" : "LoginNotify\\Hooks" ,
"services" : [
"UserFactory"
]
2023-08-15 22:34:45 +00:00
} ,
"echo" : {
"class" : "LoginNotify\\EchoHooks"
2023-08-30 23:01:31 +00:00
} ,
"schema" : {
"class" : "LoginNotify\\SchemaHooks"
2023-08-15 15:45:07 +00:00
}
2016-03-28 08:26:48 +00:00
} ,
2017-06-22 01:16:06 +00:00
"JobClasses" : {
2023-08-24 01:26:30 +00:00
"LoginNotifyChecks" : {
"class" : "LoginNotify\\DeferredChecksJob" ,
"services" : [
"UserFactory"
]
2023-08-30 23:01:31 +00:00
} ,
"LoginNotifyPurgeSeen" : {
"class" : "LoginNotify\\PurgeSeenJob" ,
"services" : [
"LoginNotify.LoginNotify"
]
2023-08-24 01:26:30 +00:00
}
2017-06-22 01:16:06 +00:00
} ,
2023-08-24 06:56:04 +00:00
"ServiceWiringFiles" : [
"includes/ServiceWiring.php"
] ,
2023-10-26 03:44:54 +00:00
"DatabaseVirtualDomains" : [
"virtual-LoginNotify"
] ,
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
2023-08-30 23:01:31 +00:00
} ,
"LoginNotifyUseCheckUser" : {
"description" : "Use the CheckUser cu_changes table if it is available. This is redundant with LoginNotify's own table, available with MediaWiki 1.41. Setting this to true will be deprecated in a later release. Defaults to true temporarily during WMF pilot." ,
"value" : true
} ,
"LoginNotifyUseSeenTable" : {
"description" : "Use the loginnotify_seen_net table. This is redundant with LoginNotifyUseCheckUser although both can be enabled during migration. Defaults to false temporarily during WMF pilot." ,
"value" : false
} ,
2023-10-26 03:44:54 +00:00
"LoginNotifyUseCentralId" : {
"description" : "Use central user IDs in the loginnotify_seen_net table. This should be set to true if the loginnotify_seen_net is in a shared database. CentralAuth should be installed and all users should be attached to it." ,
"value" : false
} ,
2023-08-30 23:01:31 +00:00
"LoginNotifySeenExpiry" : {
"description" : "The expiry time of data in the loginnotify_seen_net table, in seconds. This should be a multiple of LoginNotifyBucketSize. Default is 180 days." ,
"value" : 15552000
} ,
"LoginNotifySeenBucketSize" : {
"description" : "The size of a time bucket used when storing data in the loginnotify_seen_net table, in seconds. If this is changed, the data in the loginnotify_seen_net will become invalid and the table should be truncated. Setting this to a small number will require additional storage space. Setting this to a large number will cause the data expiry time to be less accurate. Default: 15 days." ,
"value" : 1296000
2018-07-27 00:31:03 +00:00
}
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
}