From 59da5cece685436c0e4d70c63d1578761727e70f Mon Sep 17 00:00:00 2001 From: Jeremy Saunders Date: Wed, 1 Jun 2022 14:05:00 +0800 Subject: [PATCH] Changed code to leverage UPN and improved the XDPing function. --- SelfServiceSessionReset/App_Data/CtxSites.xml | 8 +- .../App_Data/SelfServiceSessionReset.xml | 28 +- .../Controllers/CtxSessionController.cs | 267 +- SelfServiceSessionReset/Scripts/i18next.js | 2872 +++++++++++++++ .../Scripts/i18next.min.js | 1 + .../Scripts/i18nextBrowserLanguageDetector.js | 450 +++ .../i18nextBrowserLanguageDetector.min.js | 1 + .../Scripts/i18nextHttpBackend.js | 449 +++ .../Scripts/i18nextHttpBackend.min.js | 1 + .../Scripts/jquery-3.5.1.min.js | 2 - .../Scripts/jquery-3.5.1.min.map | 1 - .../Scripts/jquery-3.5.1.slim.min.js | 2 - .../Scripts/jquery-3.5.1.slim.min.map | 1 - ...isense.js => jquery-3.6.0.intellisense.js} | 0 .../{jquery-3.5.1.js => jquery-3.6.0.js} | 227 +- .../Scripts/jquery-3.6.0.min.js | 2 + .../Scripts/jquery-3.6.0.min.map | 1 + ...ery-3.5.1.slim.js => jquery-3.6.0.slim.js} | 207 +- .../Scripts/jquery-3.6.0.slim.min.js | 2 + .../Scripts/jquery-3.6.0.slim.min.map | 1 + .../Scripts/jquery-i18next.js | 128 + .../Scripts/jquery-i18next.min.js | 1 + .../Scripts/typings/jquery/jquery.d.ts | 3249 +++++++++++++++++ .../SelfServiceSessionReset.csproj | 31 +- SelfServiceSessionReset/index.html | 218 +- SelfServiceSessionReset/packages.config | 3 +- 26 files changed, 7784 insertions(+), 369 deletions(-) create mode 100644 SelfServiceSessionReset/Scripts/i18next.js create mode 100644 SelfServiceSessionReset/Scripts/i18next.min.js create mode 100644 SelfServiceSessionReset/Scripts/i18nextBrowserLanguageDetector.js create mode 100644 SelfServiceSessionReset/Scripts/i18nextBrowserLanguageDetector.min.js create mode 100644 SelfServiceSessionReset/Scripts/i18nextHttpBackend.js create mode 100644 SelfServiceSessionReset/Scripts/i18nextHttpBackend.min.js delete mode 100644 SelfServiceSessionReset/Scripts/jquery-3.5.1.min.js delete mode 100644 SelfServiceSessionReset/Scripts/jquery-3.5.1.min.map delete mode 100644 SelfServiceSessionReset/Scripts/jquery-3.5.1.slim.min.js delete mode 100644 SelfServiceSessionReset/Scripts/jquery-3.5.1.slim.min.map rename SelfServiceSessionReset/Scripts/{jquery-3.5.1.intellisense.js => jquery-3.6.0.intellisense.js} (100%) rename SelfServiceSessionReset/Scripts/{jquery-3.5.1.js => jquery-3.6.0.js} (98%) create mode 100644 SelfServiceSessionReset/Scripts/jquery-3.6.0.min.js create mode 100644 SelfServiceSessionReset/Scripts/jquery-3.6.0.min.map rename SelfServiceSessionReset/Scripts/{jquery-3.5.1.slim.js => jquery-3.6.0.slim.js} (98%) create mode 100644 SelfServiceSessionReset/Scripts/jquery-3.6.0.slim.min.js create mode 100644 SelfServiceSessionReset/Scripts/jquery-3.6.0.slim.min.map create mode 100644 SelfServiceSessionReset/Scripts/jquery-i18next.js create mode 100644 SelfServiceSessionReset/Scripts/jquery-i18next.min.js create mode 100644 SelfServiceSessionReset/Scripts/typings/jquery/jquery.d.ts diff --git a/SelfServiceSessionReset/App_Data/CtxSites.xml b/SelfServiceSessionReset/App_Data/CtxSites.xml index 7da3298..d130df7 100644 --- a/SelfServiceSessionReset/App_Data/CtxSites.xml +++ b/SelfServiceSessionReset/App_Data/CtxSites.xml @@ -1,8 +1,8 @@  @@ -10,8 +10,20 @@ - + + + + + Self-Service Session Reset @@ -154,112 +166,115 @@ float: none; } -
-
-

Self-Service Session Reset Tool

+
Please be patient whilst the page is loading...
+
-

-
- Please select a Citrix environment: - -
-
-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
Machine Name Session State Start Time Session State
Change Time 
Application State Application State
Last Change Time 
Applications In Use Idle Duration Idle Since Restart
Supported 
Hidden Maintenance
Mode 
Power
State 
Registration
State 
No session found
- - - - - - - - - - - - - - - - - - -