Compare commits
	
		
			11 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| fbcbd5064f | |||
| 006470a427 | |||
| 95f1e9368b | |||
| 2c9ec6000e | |||
| 64d684a0b8 | |||
| a95b104f21 | |||
| eacd512e14 | |||
| 0ff841314c | |||
| 756660c624 | |||
| dd623d7e43 | |||
| 19125b7b27 | 
| @ -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 | ||||
|  | ||||
| @ -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 ], | ||||
| ]; | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user