11 Commits
main ... main

Author SHA1 Message Date
fbcbd5064f Bump local settings version to push to wiki.social.coop. 2024-11-06 00:55:55 +01:00
006470a427 Suppress warnings including deprecation notices when MEDIAWIKI_DEBUG=0. 2024-11-06 00:43:51 +01:00
95f1e9368b chore: publish 2.7.3+1.40.1 release 2024-11-04 20:20:54 +01:00
3wc
2c9ec6000e chore: publish 2.7.2+1.40.0 release 2024-11-04 20:20:54 +01:00
3wc
64d684a0b8 Bump entrypoint version 2024-11-04 20:20:54 +01:00
3wc
a95b104f21 chore: publish 2.7.1+1.40.0 release 2024-11-04 20:20:54 +01:00
3wc
eacd512e14 Sync extension versions with MW, and trim abra.sh 2024-11-04 20:20:54 +01:00
3wc
0ff841314c chore: publish 2.7.0+1.40.0 release 2024-11-04 20:20:54 +01:00
3wc
756660c624 chore: publish 2.6.0+1.39.3 release 2024-11-04 20:20:54 +01:00
3wc
dd623d7e43 Add MEDIAWIKI_PROXY_SERVERS setting 2023-09-03 17:07:10 +02:00
19125b7b27 Disable throttling temporarily to work around too-eager-throttling due
to MW only seeing the internal docker networking addresses for incoming
traffic.
2023-09-01 17:41:25 +02:00
3 changed files with 19 additions and 2 deletions

View File

@ -43,7 +43,7 @@ steps:
from_secret: drone_abra-bot_token
fork: true
repositories:
- toolshed/auto-recipes-catalogue-json
- coop-cloud/auto-recipes-catalogue-json
trigger:
event: tag

View File

@ -191,8 +191,13 @@ $wgGroupPermissions['*']['createaccount'] = false;
$wgDebugLogFile = "/var/log/debug-{$wgDBname}.log";
$wgShowExceptionDetails = true;
$wgDebugToolbar = true;
{{ else }}
$wgShowDebug = false;
$wgDevelopmentWarnings = false;
$wgDeprecationReleaseLimit = '1.0';
{{ end }}
{{ if eq (env "OPENID_ENABLED") "1" }}
wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'OpenIDConnect' );
@ -255,3 +260,15 @@ $wgFileExtensions = array(
$wgUploadSizeWarning = 1000000000;
$wgMaxUploadSize = 1000000000;
# Greatly relax IP-based throttling for logging in while we work around docker networking issues.
# https://social.coop/@flancian/110980993608947217
$wgPasswordAttemptThrottle = [
// Short term limit
[ 'count' => 9999, 'seconds' => 300 ],
// Long term limit. We need to balance the risk
// of somebody using this as a DoS attack to lock someone
// out of their account, and someone doing a brute force attack.
[ 'count' => 999999, 'seconds' => 60 * 60 * 48 ],
];

View File

@ -1,4 +1,4 @@
export LOCAL_SETTINGS_CONF_VERSION=v23
export LOCAL_SETTINGS_CONF_VERSION=v27
export HTACCESS_CONF_VERSION=v1
export ENTRYPOINT_CONF_VERSION=v21
export COMPOSER_LOCAL_CONF_VERSION=v5