Home
last modified time | relevance | path

Searched refs:history (Results 1 – 4 of 4) sorted by relevance

/webtrees/tests/app/Services/
H A DRateLimitServiceTest.php54 $history = $user->getPreference('rate-limit');
55 static::assertCount(1, explode(',', $history));
58 $history = $user->getPreference('rate-limit');
59 static::assertCount(2, explode(',', $history));
62 $history = $user->getPreference('rate-limit');
63 static::assertCount(3, explode(',', $history));
72 $history = implode(',', range(time() - 35, time() - 31));
73 $user->setPreference('rate-limit', $history);
76 $history = $user->getPreference('rate-limit');
77 static::assertCount(6, explode(',', $history));
[all …]
/webtrees/app/Services/
H A DRateLimitService.php61 $history = Site::getPreference($limit);
63 $history = $this->checkLimitReached($num, $seconds, $history);
65 Site::setPreference($limit, $history);
81 $history = $user->getPreference($limit);
83 $history = $this->checkLimitReached($num, $seconds, $history);
85 $user->setPreference($limit, $history);
93 * @param string $history comma-separated list of previous timestamps
98 private function checkLimitReached(int $num, int $seconds, string $history): string argument
107 $timestamps = array_filter(explode(',', $history));
/webtrees/
H A DCONTRIBUTING.md45 The project has been running for many years, and has a lot of history.
/webtrees/public/ckeditor-4.15.1-custom/
H A DCHANGES.md8 …tps://ckeditor.com/docs/ckeditor4/latest/features/colorbutton.html#color-history) reported by [Mar…