From 85addf1f354355cfb7b3ffc4869c7e85b4f69f3b Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Wed, 29 Oct 2025 14:43:15 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20certificate=20expiry=20check?= =?UTF-8?q?=20for=20sites=20and=20proxies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The lock is either locked (secured) or unlocked (unsecured). The color of this icon depends on the state: - Default appearance is OK, not expired - Orange icon means expired - Red icon means expired OR unsecured --- .../StatusColorOrange.colorset/Contents.json | 38 + phpmon/Domain/App/Base.lproj/Main.storyboard | 1171 ++++++++++++++++- .../Valet/Proxies/ValetProxy.swift | 23 +- .../Integrations/Valet/Sites/ValetSite.swift | 12 +- .../UI/Cells/DomainListTLSCell.swift | 15 +- 5 files changed, 1229 insertions(+), 30 deletions(-) create mode 100644 phpmon/Assets.xcassets/StatusColorOrange.colorset/Contents.json diff --git a/phpmon/Assets.xcassets/StatusColorOrange.colorset/Contents.json b/phpmon/Assets.xcassets/StatusColorOrange.colorset/Contents.json new file mode 100644 index 00000000..f82bb0a4 --- /dev/null +++ b/phpmon/Assets.xcassets/StatusColorOrange.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.180", + "green" : "0.500", + "red" : "1.000" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.426", + "green" : "0.655", + "red" : "1.000" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/phpmon/Domain/App/Base.lproj/Main.storyboard b/phpmon/Domain/App/Base.lproj/Main.storyboard index f98605dc..981edcaa 100644 --- a/phpmon/Domain/App/Base.lproj/Main.storyboard +++ b/phpmon/Domain/App/Base.lproj/Main.storyboard @@ -436,7 +436,7 @@ - + @@ -536,7 +536,7 @@ Gw - + @@ -547,7 +547,7 @@ Gw - + @@ -565,7 +565,7 @@ Gw - + @@ -580,7 +580,7 @@ Gw - + @@ -588,7 +588,7 @@ Gw -