From b194cc2f2e81b1f7f27cd956bda98aa49790513d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Thu, 19 Dec 2024 17:35:58 +0100 Subject: [PATCH 1/3] Use TypedDatabase with non-default connection for Technicolor keys --- app/config/services.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/services.neon b/app/config/services.neon index 97d5ba442..ec8c2f055 100644 --- a/app/config/services.neon +++ b/app/config/services.neon @@ -158,7 +158,7 @@ services: - MichalSpacekCz\Training\Trainings\Trainings - MichalSpacekCz\Training\Venues\TrainingVenues - MichalSpacekCz\Twitter\TwitterCards - - MichalSpacekCz\UpcKeys\Technicolor(@database.upcKeys.explorer, apiUrl: %awsLambda.upcKeys.url%, apiKey: %awsLambda.upcKeys.apiKey%) + - MichalSpacekCz\UpcKeys\Technicolor(@database.upcKeys.explorer, @typedDatabase.upcKeys, apiUrl: %awsLambda.upcKeys.url%, apiKey: %awsLambda.upcKeys.apiKey%) - MichalSpacekCz\UpcKeys\Ubee(@typedDatabase.upcKeys) - MichalSpacekCz\UpcKeys\UpcKeys(routers: [@MichalSpacekCz\UpcKeys\Technicolor, @MichalSpacekCz\UpcKeys\Ubee]) - MichalSpacekCz\User\Manager(passwordEncryption: @passwordEncryption, permanentLoginInterval: %permanentLogin.interval%) From 0293c792b1969a8d883fe9cdb112734dc04d86b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Thu, 19 Dec 2024 17:37:05 +0100 Subject: [PATCH 2/3] The `ssl` key may not be set always for whatever reason --- app/src/Http/Client/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Http/Client/HttpClient.php b/app/src/Http/Client/HttpClient.php index 90f7d9441..edd046f75 100644 --- a/app/src/Http/Client/HttpClient.php +++ b/app/src/Http/Client/HttpClient.php @@ -108,7 +108,7 @@ private function request(HttpClientRequest $request, $context): HttpClientRespon if ($result === false) { throw new HttpClientRequestException($request->getUrl()); } - if (is_array($options['ssl'])) { + if (isset($options['ssl']) && is_array($options['ssl'])) { $certificate = isset($options['ssl']['peer_certificate']) && $options['ssl']['peer_certificate'] instanceof OpenSSLCertificate ? $options['ssl']['peer_certificate'] : null; From 1c0c663b640604b27ff795b57352f959ef3dfdd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Thu, 19 Dec 2024 17:38:25 +0100 Subject: [PATCH 3/3] The `body` element uses `rem` for some time and the results table font was unnecessary huge --- app/public/www.michalspacek.cz/i/css/upc/screen.css | 1 - 1 file changed, 1 deletion(-) diff --git a/app/public/www.michalspacek.cz/i/css/upc/screen.css b/app/public/www.michalspacek.cz/i/css/upc/screen.css index 88922b660..2093f402b 100644 --- a/app/public/www.michalspacek.cz/i/css/upc/screen.css +++ b/app/public/www.michalspacek.cz/i/css/upc/screen.css @@ -35,7 +35,6 @@ h3 { color: #777; } #result form { text-align: center; } #frm-ssid-ssid { width: 100px; } #result table { margin: 2em auto; } -#result tbody, #result tfoot { font-size: 120%; } #result td { width: 9em; text-align: center;