From e47d909e41d663755195b41d58caf9a76e0db050 Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 6 Oct 2023 16:15:35 +0300 Subject: [PATCH 1/3] show last login time of users --- admin/templates/admin/user_list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/templates/admin/user_list.html b/admin/templates/admin/user_list.html index 2e0518b..f0e0b27 100644 --- a/admin/templates/admin/user_list.html +++ b/admin/templates/admin/user_list.html @@ -30,6 +30,7 @@ {% trans "Username" %} {% trans "Status" %} + {% trans "Last Login" %} {% trans "Staff" %} {% trans "Superuser" %} {% trans "Can Clone" %} @@ -50,6 +51,7 @@ {% trans "Blocked" %} {% endif %} + {{ user.last_login }} {% if user.is_staff %}{% bs_icon 'check' %}{% endif %} {% if user.is_superuser %}{% bs_icon 'check' %}{% endif %} {% if can_clone %}{% bs_icon 'check' %}{% endif %} From f5e896813ccb2d9f7fbb2ba36b2c12f4c72fb107 Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 6 Oct 2023 16:16:09 +0300 Subject: [PATCH 2/3] add used icons to local cache --- static/icon_cache/check2_None_None_None.svg | 8 ++++++++ static/icon_cache/check_None_None_None.svg | 8 ++++++++ static/icon_cache/pencil_None_None_None.svg | 8 ++++++++ static/icon_cache/stop-fill_None_None_None.svg | 8 ++++++++ static/icon_cache/x_None_None_None.svg | 8 ++++++++ 5 files changed, 40 insertions(+) create mode 100644 static/icon_cache/check2_None_None_None.svg create mode 100644 static/icon_cache/check_None_None_None.svg create mode 100644 static/icon_cache/pencil_None_None_None.svg create mode 100644 static/icon_cache/stop-fill_None_None_None.svg create mode 100644 static/icon_cache/x_None_None_None.svg diff --git a/static/icon_cache/check2_None_None_None.svg b/static/icon_cache/check2_None_None_None.svg new file mode 100644 index 0000000..3c51cb4 --- /dev/null +++ b/static/icon_cache/check2_None_None_None.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/static/icon_cache/check_None_None_None.svg b/static/icon_cache/check_None_None_None.svg new file mode 100644 index 0000000..532759f --- /dev/null +++ b/static/icon_cache/check_None_None_None.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/static/icon_cache/pencil_None_None_None.svg b/static/icon_cache/pencil_None_None_None.svg new file mode 100644 index 0000000..d2cb557 --- /dev/null +++ b/static/icon_cache/pencil_None_None_None.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/static/icon_cache/stop-fill_None_None_None.svg b/static/icon_cache/stop-fill_None_None_None.svg new file mode 100644 index 0000000..3a9d3d2 --- /dev/null +++ b/static/icon_cache/stop-fill_None_None_None.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/static/icon_cache/x_None_None_None.svg b/static/icon_cache/x_None_None_None.svg new file mode 100644 index 0000000..36defd7 --- /dev/null +++ b/static/icon_cache/x_None_None_None.svg @@ -0,0 +1,8 @@ + + + + + + + + From 9755f307a6a758b40908ec68f2ca7820eda91acb Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 6 Oct 2023 16:28:30 +0300 Subject: [PATCH 3/3] add libsasl2-dev and libldap2-dev packages for Debian 12 --- webvirtcloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webvirtcloud.sh b/webvirtcloud.sh index 2df16a9..3df52bd 100755 --- a/webvirtcloud.sh +++ b/webvirtcloud.sh @@ -474,7 +474,7 @@ case $distro in progress echo "* Installing OS requirements." - PACKAGES="git virtualenv python3-virtualenv python3-dev python3-lxml libvirt-dev zlib1g-dev libxslt1-dev nginx supervisor libsasl2-modules gcc pkg-config python3-guestfs uuid" + PACKAGES="git virtualenv python3-virtualenv python3-dev python3-lxml libvirt-dev zlib1g-dev libxslt1-dev libsasl2-dev libldap2-dev nginx supervisor libsasl2-modules gcc pkg-config python3-guestfs uuid" install_packages set_hosts