You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -174,6 +176,7 @@ protected function setUp(): void {
174
176
$this->secureRandom,
175
177
$this->iniGetWrapper,
176
178
$this->connection,
179
+
$this->throttler,
177
180
$this->tempManager,
178
181
$this->notificationManager,
179
182
$this->appManager,
@@ -659,6 +662,8 @@ public function testCheck() {
659
662
'isFairUseOfFreePushService' => false,
660
663
'temporaryDirectoryWritable' => false,
661
664
\OCA\Settings\SetupChecks\LdapInvalidUuids::class => ['pass' => true, 'description' => 'Invalid UUIDs of LDAP users or groups have been found. Please review your "Override UUID detection" settings in the Expert part of the LDAP configuration and use "occ ldap:update-uuid" to update them.', 'severity' => 'warning'],
Copy file name to clipboardExpand all lines: core/js/setupchecks.js
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -215,6 +215,14 @@
215
215
type: OC.SetupChecks.MESSAGE_TYPE_INFO
216
216
});
217
217
}
218
+
if(data.isBruteforceThrottled){
219
+
messages.push({
220
+
msg: t('core','Your remote address was identified as "{remoteAddress}" and is bruteforce throttled at the moment slowing down the performance of various requests. If the remote address is not your address this can be an indication that a proxy is not configured correctly. Further information can be found in the {linkstart}documentation ↗{linkend}.',{remoteAddress: data.bruteforceRemoteAddress})
msg: t('core','Transactional file locking is disabled, this might lead to issues with race conditions. Enable "filelocking.enabled" in config.php to avoid these problems. See the {linkstart}documentation ↗{linkend} for more information.')
msg: 'Your remote address was identified as "::1" and is bruteforce throttled at the moment slowing down the performance of various requests. If the remote address is not your address this can be an indication that a proxy is not configured correctly. Further information can be found in the <a target="_blank" rel="noreferrer noopener" class="external" href="https://docs.nextcloud.com/foo/bar.html">documentation ↗</a>.',
872
+
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
873
+
}]);
874
+
done();
875
+
});
876
+
});
877
+
817
878
it('should return an error if set_time_limit is unavailable',function(done){
0 commit comments