From 00ea6902dcad7c17dc12ee3df1929199e3de50d1 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 8 Sep 2020 08:57:47 +0000
Subject: [PATCH 1/3] updated issuer

---
 .gitlab/development-values.yaml | 2 +-
 .gitlab/production-values.yaml  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab/development-values.yaml b/.gitlab/development-values.yaml
index 1a756bdf6..a0660ac0c 100644
--- a/.gitlab/development-values.yaml
+++ b/.gitlab/development-values.yaml
@@ -14,7 +14,7 @@ podAnnotations:
   prometheus.io/port: "80"
 ingress:
   annotations:
-    certmanager.k8s.io/cluster-issuer: letsencrypt-prod
+    cert-manager.io/cluster-issuer: letsencrypt-prod
     nginx.ingress.kubernetes.io/configuration-snippet: |
       if ($host = "www.metager3.de") {
           return 301 https://metager3.de$request_uri;
diff --git a/.gitlab/production-values.yaml b/.gitlab/production-values.yaml
index e4f3fb44a..51bb80dd2 100644
--- a/.gitlab/production-values.yaml
+++ b/.gitlab/production-values.yaml
@@ -21,7 +21,7 @@ podAnnotations:
   prometheus.io/port: "80"
 ingress:
   annotations:
-    certmanager.k8s.io/cluster-issuer: letsencrypt-prod
+    cert-manager.io/cluster-issuer: letsencrypt-prod
     nginx.ingress.kubernetes.io/configuration-snippet: |
       if ($host = "www.metager.de") {
           return 301 https://metager.de$request_uri;
-- 
GitLab


From a3d62caac61f3748eaad78a497a18131d95a9320 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 8 Sep 2020 12:26:20 +0000
Subject: [PATCH 2/3] Fixed IBAN module

---
 app/Http/Controllers/MailController.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/Http/Controllers/MailController.php b/app/Http/Controllers/MailController.php
index 9ff957ded..b6e920a17 100644
--- a/app/Http/Controllers/MailController.php
+++ b/app/Http/Controllers/MailController.php
@@ -9,8 +9,8 @@ use Illuminate\Http\Response;
 use LaravelLocalization;
 use Mail;
 use Validator;
-use \PHP_IBAN\IBAN;
-use \PHP_IBAN\IBANCountry;
+use \IBAN;
+use \IBANCountry;
 
 class MailController extends Controller
 {
-- 
GitLab


From a24d05f7fff20aa451e12c07894196dadab57cb0 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 8 Sep 2020 12:35:01 +0000
Subject: [PATCH 3/3] Added Logging of Error

---
 app/Http/Controllers/MailController.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/Http/Controllers/MailController.php b/app/Http/Controllers/MailController.php
index b6e920a17..86afc3ceb 100644
--- a/app/Http/Controllers/MailController.php
+++ b/app/Http/Controllers/MailController.php
@@ -8,6 +8,7 @@ use Illuminate\Http\Request;
 use Illuminate\Http\Response;
 use LaravelLocalization;
 use Mail;
+use Log;
 use Validator;
 use \IBAN;
 use \IBANCountry;
@@ -148,6 +149,7 @@ class MailController extends Controller
                 $messageType = "success";
                 $messageToUser = "Herzlichen Dank!! Wir haben Ihre Spendenbenachrichtigung erhalten.";
             } catch (\Swift_TransportException $e) {
+                Log::error($e->getMessage());
                 $messageType = "error";
                 $messageToUser = 'Beim Senden Ihrer Spendenbenachrichtigung ist ein Fehler auf unserer Seite aufgetreten. Bitte schicken Sie eine E-Mail an: office@suma-ev.de, damit wir uns darum kümmern können.';
             }
-- 
GitLab