From a5b199a586bcf805b38b1fc106c8601df7244cad Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 18 Jan 2022 16:19:27 -0500 Subject: [PATCH] Switch Out Fetch for a Sync Icon button to fetch Certificate Data, also updated the field certificate_public_key to a text field instead of varchar as it was causing a crash with large pub keys --- add_certificate_modal.php | 4 +++- db.sql | 4 ++-- edit_certificate_modal.php | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/add_certificate_modal.php b/add_certificate_modal.php index 5da590cc..e891b944 100644 --- a/add_certificate_modal.php +++ b/add_certificate_modal.php @@ -28,8 +28,10 @@  https:// +
+ +
-

Fetch

diff --git a/db.sql b/db.sql index 46107162..1f3e1ad6 100644 --- a/db.sql +++ b/db.sql @@ -186,7 +186,7 @@ CREATE TABLE `certificates` ( `certificate_domain` varchar(200) DEFAULT NULL, `certificate_issued_by` varchar(200) NOT NULL, `certificate_expire` date DEFAULT NULL, - `certificate_public_key` varchar(1500) DEFAULT NULL, + `certificate_public_key` text DEFAULT NULL, `certificate_notes` text DEFAULT NULL, `certificate_created_at` datetime NOT NULL, `certificate_updated_at` datetime DEFAULT NULL, @@ -1217,4 +1217,4 @@ CREATE TABLE `vendors` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2022-01-16 15:27:33 +-- Dump completed on 2022-01-18 16:18:01 diff --git a/edit_certificate_modal.php b/edit_certificate_modal.php index 9e056a27..b1689408 100644 --- a/edit_certificate_modal.php +++ b/edit_certificate_modal.php @@ -28,8 +28,10 @@  https://
+
+ +
-

Fetch