/webtrees/tests/app/Services/ |
H A D | TimeoutServiceTest.php | 63 $now = 1500000000.0; 65 $timeout_service = new TimeoutService($now); 77 $now = 1500000000.0; 79 $timeout_service = new TimeoutService($now); 87 $time_factory->method('now')->willReturn($now + 60.0); 95 $now = Registry::timeFactory()->now(); 97 $timeout_service = new TimeoutService($now); 105 $time_factory->method('now')->willReturn($now + 10.0); 113 $now = Registry::timeFactory()->now(); 115 $timeout_service = new TimeoutService($now); [all …]
|
/webtrees/app/Services/ |
H A D | TimeoutService.php | 43 $this->start_time = $start_time ?? Registry::timeFactory()->now(); 62 $now = Registry::timeFactory()->now(); 64 return $now + $threshold > $this->start_time + (float) $max_execution_time; 76 $now = Registry::timeFactory()->now(); 78 return $now > $this->start_time + $limit;
|
H A D | RateLimitService.php | 39 private int $now; variable in Fisharebest\\Webtrees\\Services\\RateLimitService 46 $this->now = time(); 101 $max = intdiv(256, strlen($this->now . ',')); 110 … $filter = fn (string $x): bool => (int) $x >= $this->now - $seconds && (int) $x <= $this->now; 117 $timestamps[] = (string) $this->now;
|
H A D | CaptchaService.php | 51 Session::put('captcha-t', Registry::timeFactory()->now()); 92 return Registry::timeFactory()->now() < $t + self::MINIMUM_FORM_TIME;
|
H A D | CalendarService.php | 133 …$query->where('d_julianday1', '>=', Registry::timestampFactory()->now()->subtractYears(100)->julia… 329 …$query->where('d_julianday1', '>=', Registry::timestampFactory()->now()->subtractYears(100)->julia…
|
/webtrees/app/ |
H A D | Tree.php | 368 $now = date('H:i:s'); 369 …$gedcom .= "\n1 CHAN\n2 DATE " . $today . "\n3 TIME " . $now . "\n2 _WT_USER " . Auth::user()->use… 413 $now = date('H:i:s'); 414 …$gedcom .= "\n1 CHAN\n2 DATE " . $today . "\n3 TIME " . $now . "\n2 _WT_USER " . Auth::user()->use… 458 $now = date('H:i:s'); 459 …$gedcom .= "\n1 CHAN\n2 DATE " . $today . "\n3 TIME " . $now . "\n2 _WT_USER " . Auth::user()->use… 503 $now = date('H:i:s'); 504 …$gedcom .= "\n1 CHAN\n2 DATE " . $today . "\n3 TIME " . $now . "\n2 _WT_USER " . Auth::user()->use…
|
H A D | SessionDatabaseHandler.php | 88 $now = Registry::timestampFactory()->now(); 93 'session_time' => $now->toDateTimeString(), 115 …if ($now->subtractMinutes(1)->timestamp() > Registry::timestampFactory()->fromString($this->row->s… 116 $updates['session_time'] = $now->toDateTimeString();
|
/webtrees/app/Statistics/Repository/ |
H A D | ServerRepository.php | 39 return Registry::timestampFactory()->now(new SiteUser())->format($format); 49 return Registry::timestampFactory()->now(new SiteUser())->format($format); 57 return Registry::timestampFactory()->now(new SiteUser())->format('G:i'); 65 return Registry::timestampFactory()->now(new SiteUser())->format('T');
|
H A D | BrowserRepository.php | 38 return Registry::timestampFactory()->now()->format($format); 48 return Registry::timestampFactory()->now()->format($format); 56 return Registry::timestampFactory()->now()->format('T');
|
/webtrees/app/Http/RequestHandlers/ |
H A D | UpgradeWizardStep.php | 227 $start_time = Registry::timeFactory()->now(); 237 $end_time = Registry::timeFactory()->now(); 255 $start_time = Registry::timeFactory()->now(); 258 $end_time = Registry::timeFactory()->now();
|
H A D | UsersCleanupPage.php | 54 $inactive_threshold = Registry::timestampFactory()->now()->subtractMonths(6)->timestamp(); 55 $unverified_threshold = Registry::timestampFactory()->now()->subtractDays(7)->timestamp();
|
/webtrees/app/Report/ |
H A D | ReportParserSetup.php | 124 $date = Registry::timestampFactory()->now(); 129 $date = Registry::timestampFactory()->now()->addDays((int)$match[1]);
|
/webtrees/tests/app/Module/ |
H A D | ChangeReportModuleTest.php | 104 …'changeRangeStart' => ['id' => Registry::timestampFactory()->now()->subtractMonths(1)->format('d M… 105 'changeRangeEnd' => ['id' => Registry::timestampFactory()->now()->format('d M Y')],
|
/webtrees/public/ckeditor-4.15.1-custom/ |
H A D | CHANGES.md | 41 …d from the [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) are now stored in the [Colo… 42 …b.com/ckeditor/ckeditor4/issues/3783): The colors used in the document are now displayed as a part… 100 …/issues/3547): Active [dialog](https://ckeditor.com/cke4/addon/dialog) tab now has the `aria-selec… 119 …docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-parts) can now be refreshed dynami… 215 …9): The [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) plugin now shows the current s… 216 …084): The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin now allows to change th… 217 …164): The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin now accepts floating po… 239 …/ckeditor4/latest/api/CKEDITOR_template.html#property-source) property can now be a function, so i… 246 …able Selection](https://ckeditor.com/cke4/addon/tableselection) plugin can now be disabled for the… 247 * [#2692](https://github.com/ckeditor/ckeditor4/issues/2692): Plugins can now expose information ab… [all …]
|
/webtrees/app/Module/ |
H A D | YahrzeitModule.php | 97 $startjd = Registry::timestampFactory()->now()->julianDay(); 98 $endjd = Registry::timestampFactory()->now()->addDays($days - 1)->julianDay();
|
H A D | UpcomingAnniversariesModule.php | 162 $startjd = Registry::timestampFactory()->now()->addDays(1)->julianDay(); 163 $endjd = Registry::timestampFactory()->now()->addDays($days)->julianDay();
|
H A D | RecentChangesModule.php | 296 …->where('change_time', '>', Registry::timestampFactory()->now()->subtractDays($days)->toDateTimeSt… 324 $julian_day = Registry::timestampFactory()->now()->subtractDays($days)->julianDay();
|
/webtrees/resources/views/lists/ |
H A D | families-table.phtml | 18 $today_jd = Registry::timestampFactory()->now()->julianDay(); 19 $hundred_years_ago = Registry::timestampFactory()->now()->subtractYears(100)->julianDay();
|
H A D | individuals-table.phtml | 27 $today_jd = Registry::timestampFactory()->now()->julianDay(); 28 $hundred_years_ago = Registry::timestampFactory()->now()->subtractYears(100)->julianDay();
|
H A D | anniversaries-list.phtml | 53 … (<?= Registry::timestampFactory()->now()->subtractYears($fact->anniv)->diffForHumans() ?>)
|
/webtrees/app/Contracts/ |
H A D | TimeFactoryInterface.php | 30 public function now(): float; function
|
H A D | TimestampFactoryInterface.php | 49 public function now(UserInterface|null $user = null): TimestampInterface; function
|
/webtrees/app/Factories/ |
H A D | TimeFactory.php | 34 public function now(): float function in Fisharebest\\Webtrees\\Factories\\TimeFactory
|
H A D | TimestampFactory.php | 79 public function now(UserInterface|null $user = null): TimestampInterface function in Fisharebest\\Webtrees\\Factories\\TimestampFactory
|
/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 140 $today = $date->calendar->jdToYmd(Registry::timestampFactory()->now()->julianDay()); 846 return $this->calendar->jdToYmd(Registry::timestampFactory()->now()->julianDay());
|