Debian Codegraph @

extensions/LoginNotify/extension.json

raw symbols SCIP
1 {
2 "name": "LoginNotify",
3 "version": "0.1",
4 "author": [
5 "Brian Wolff"
6 ],
7 "url": "https://www.mediawiki.org/wiki/Extension:LoginNotify",
8 "descriptionmsg": "loginnotify-desc",
9 "license-name": "MIT",
10 "type": "other",
11 "requires": {
12 "MediaWiki": ">= 1.43",
13 "extensions": {
14 "Echo": "*"
15 }
16 },
17 "DefaultUserOptions": {
18 "echo-subscriptions-web-login-fail": true,
19 "echo-subscriptions-email-login-fail": true,
20 "echo-subscriptions-web-login-success": false,
21 "echo-subscriptions-email-login-success": true
22 },
23 "MessagesDirs": {
24 "LoginNotify": [
25 "i18n"
26 ]
27 },
28 "AutoloadNamespaces": {
29 "LoginNotify\\": "includes/"
30 },
31 "Hooks": {
32 "BeforeCreateEchoEvent": "echo",
33 "EchoGetBundleRules": "echo",
34 "AuthManagerLoginAuthenticateAudit": "main",
35 "LocalUserCreated": "main",
36 "RecentChange_save": "main",
37 "LoadExtensionSchemaUpdates": "schema"
38 },
39 "HookHandlers": {
40 "main": {
41 "class": "LoginNotify\\Hooks",
42 "services": [
43 "UserFactory"
44 ]
45 },
46 "echo": {
47 "class": "LoginNotify\\EchoHooks"
48 },
49 "schema": {
50 "class": "LoginNotify\\SchemaHooks"
51 }
52 },
53 "JobClasses": {
54 "LoginNotifyChecks": {
55 "class": "LoginNotify\\DeferredChecksJob",
56 "services": [
57 "UserFactory"
58 ]
59 },
60 "LoginNotifyPurgeSeen": {
61 "class": "LoginNotify\\PurgeSeenJob",
62 "services": [
63 "LoginNotify.LoginNotify"
64 ]
65 }
66 },
67 "ServiceWiringFiles": [
68 "includes/ServiceWiring.php"
69 ],
70 "DatabaseVirtualDomains": [
71 "virtual-LoginNotify"
72 ],
73 "config": {
74 "LoginNotifyAttemptsKnownIP": {
75 "description": "The number of failed login attempts to permit from a known IP before a notification is triggered.",
76 "value": 5
77 },
78 "LoginNotifyExpiryKnownIP": {
79 "description": "The time-to-live of the count of failed login attempts from a known IP (from the time of the first failed attempt).",
80 "value": 604800
81 },
82 "LoginNotifyAttemptsNewIP": {
83 "description": "The number of failed login attempts to permit from a new IP before a notification is triggered.",
84 "value": 1
85 },
86 "LoginNotifyExpiryNewIP": {
87 "description": "The time-to-live of the count of failed login attempts from a new IP (from the time of the first failed attempt).",
88 "value": 1209600
89 },
90 "LoginNotifyCheckKnownIPs": {
91 "description": "Whether to trigger a notification after failed logins from known IPs.",
92 "value": true
93 },
94 "LoginNotifyEnableOnSuccess": {
95 "description": "Whether to trigger a notification after successful logins from unknown IPs.",
96 "value": true
97 },
98 "LoginNotifySecretKey": {
99 "description": "Override this to use a different secret than $wgSecretKey",
100 "value": null
101 },
102 "LoginNotifyCookieExpire": {
103 "description": "Expiry in seconds. Default is 180 days",
104 "value": 15552000
105 },
106 "LoginNotifyCookieDomain": {
107 "description": "Override to allow sharing login cookies between sites on different subdomains",
108 "value": null
109 },
110 "LoginNotifyMaxCookieRecords": {
111 "description": "Maximum number of users (records) to track as having successfully logged in on a particular device.",
112 "value": 6
113 },
114 "LoginNotifyCacheLoginIPExpiry": {
115 "description": "Set to false to disable caching IPs in memcache. Set to 0 to cache forever. Default 60 days.",
116 "value": 5184000
117 },
118 "LoginNotifyUseCheckUser": {
119 "description": "Use the CheckUser cu_changes table if it is available. This is redundant with LoginNotify's own table, available with MediaWiki 1.41. Since 1.43, setting this to true is deprecated and when set to true this method may be missing data due to CheckUser schema changes.",
120 "value": false
121 },
122 "LoginNotifyUseSeenTable": {
123 "description": "Use the loginnotify_seen_net table. This is redundant with LoginNotifyUseCheckUser although both can be enabled during migration.",
124 "value": true
125 },
126 "LoginNotifyUseCentralId": {
127 "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.",
128 "value": false
129 },
130 "LoginNotifySeenExpiry": {
131 "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.",
132 "value": 15552000
133 },
134 "LoginNotifySeenBucketSize": {
135 "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.",
136 "value": 1296000
137 }
138 },
139 "manifest_version": 2
140 }