From 6a43ff45cc16b0fa78daabbadd9f0d0053e4d9ff Mon Sep 17 00:00:00 2001 From: Simon Leary Date: Tue, 16 Dec 2025 09:27:24 -0500 Subject: [PATCH] "unity cluster" -> "unityHPC platform" --- CONTRIBUTING.md | 6 +++--- README.md | 4 ++-- defaults/config.ini.default | 4 ++-- resources/lib/UnityGithub.php | 2 +- resources/lib/UnityGroup.php | 2 +- resources/lib/UnityLDAP.php | 2 +- resources/mail/footer.php | 2 +- resources/mail/group_created.php | 2 +- resources/mail/group_denied.php | 4 ++-- resources/mail/group_disband.php | 4 ++-- resources/mail/group_request.php | 2 +- resources/mail/user_dequalified.php | 2 +- resources/mail/user_loginshell.php | 2 +- resources/mail/user_qualified.php | 2 +- tools/docker-dev/identity/bootstrap.ldif | 2 +- webroot/panel/account.php | 8 +++++--- webroot/panel/new_account.php | 2 +- 17 files changed, 27 insertions(+), 25 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e1529d33..d553ae9e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ -# Contributing to the Unity Web Portal +# Contributing to the UnityHPC Platform Account Portal ## Conventions @@ -49,7 +49,7 @@ This repository will automatically check PRs for linting compliance. While the environment is running, the following is accessible: -- http://127.0.0.1:8000 - Web Portal +- http://127.0.0.1:8000 - Account Portal - http://127.0.0.1:8010 - PHPLDAPAdmin Portal - http://127.0.0.1:8020 - PHPMyAdmin Portal - http://127.0.0.1:8030 - Mailcatcher Portal @@ -69,7 +69,7 @@ Notable users: ### Changes to Dev Environment -Should the default schema of the web portal change, the `ldap/bootstrap.ldif` and `sql/bootstrap.sql` must be updated for the LDAP server and the MySQL server, respectively. +Should the default schema change, the `ldap/bootstrap.ldif` and `sql/bootstrap.sql` must be updated for the LDAP server and the MySQL server, respectively. ## Testing diff --git a/README.md b/README.md index 7edce558..cc41618d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ ![UNITY](https://user-images.githubusercontent.com/40907639/137608695-2d914da2-1ecc-480b-a47e-a9e33b2b1b45.png) -# Unity Web Portal +# UnityHPC Account Portal -Unity Web Portal is a PHP application built in top of MariaDB and LDAP which acts as a central user portal for high-performance-computing clusters. +An identity management GUI for research computing written in PHP and built on MariaDB and OpenLDAP. Typical Usage: diff --git a/defaults/config.ini.default b/defaults/config.ini.default index 443111cc..e5ef97df 100644 --- a/defaults/config.ini.default +++ b/defaults/config.ini.default @@ -7,9 +7,9 @@ repo = "https://github.com/UnityHPC/unity-web-portal" ; Upstream URL for the we [site] prefix = "" ; prefix of website, no ending / should be included -name = "Unity Cluster" ; Name of the website +name = "UnityHPC Account Portal" ; Name of the website url = "http://127.0.0.1:8000/" ; URL of the website -description = "The Unity Web Portal is a lightweight HPC cluster front-end" ; Description of the website +description = "The UnityHPC Account Portal is an identity management GUI for research computing" ; Description of the website logo = "logo.png" ; path to logo file, in the webroot/assets/branding folder terms_of_service_url = "https://github.com" ; this can be external or a portal page created with "content management" account_policy_url = "https://github.com" ; this can be external or a portal page created with "content management" diff --git a/resources/lib/UnityGithub.php b/resources/lib/UnityGithub.php index e289bbb1..36a0d9df 100644 --- a/resources/lib/UnityGithub.php +++ b/resources/lib/UnityGithub.php @@ -8,7 +8,7 @@ class UnityGithub public function getSshPublicKeys(string $username): array { $url = "https://api.github.com/users/$username/keys"; - $headers = ["User-Agent: Unity Cluster User Portal"]; + $headers = ["User-Agent: UnityHPC Account Portal"]; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); diff --git a/resources/lib/UnityGroup.php b/resources/lib/UnityGroup.php index 8d24a61b..c6772c32 100644 --- a/resources/lib/UnityGroup.php +++ b/resources/lib/UnityGroup.php @@ -6,7 +6,7 @@ use Exception; /** - * Class that represents a single PI group in the Unity Cluster. + * Class that represents a single PI group in the UnityHPC Platform. */ class UnityGroup extends PosixGroup { diff --git a/resources/lib/UnityLDAP.php b/resources/lib/UnityLDAP.php index 292be4a1..ebae0852 100644 --- a/resources/lib/UnityLDAP.php +++ b/resources/lib/UnityLDAP.php @@ -7,7 +7,7 @@ use PHPOpenLDAPer\LDAPEntry; /** - * An LDAP connection class which extends LDAPConn tailored for the Unity Cluster + * An LDAP connection class which extends LDAPConn tailored for the UnityHPC Platform */ class UnityLDAP extends LDAPConn { diff --git a/resources/mail/footer.php b/resources/mail/footer.php index 79e80fce..df694e81 100644 --- a/resources/mail/footer.php +++ b/resources/mail/footer.php @@ -3,7 +3,7 @@ > You are receiving this email because you have an account - on the . + on the . If you would like to stop receiving these emails, you may request to close your account by replying to this email. diff --git a/resources/mail/group_created.php b/resources/mail/group_created.php index 09c9c7d0..0a5d0956 100644 --- a/resources/mail/group_created.php +++ b/resources/mail/group_created.php @@ -6,7 +6,7 @@

Hello,

-Your request for a PI account on the Unity cluster has been approved. +Your request for a PI account on the UnityHPC Platform has been approved. You can access the management page for your group .

diff --git a/resources/mail/group_denied.php b/resources/mail/group_denied.php index 7d633e7e..1a8ac0ad 100644 --- a/resources/mail/group_denied.php +++ b/resources/mail/group_denied.php @@ -5,13 +5,13 @@

Hello,

-

Unfortunately, your request for a PI account on the Unity cluster has not been approved. +

Unfortunately, your request for a PI account on the UnityHPC Platform has not been approved. Usually, this is due to one of the following reasons:

diff --git a/resources/mail/group_disband.php b/resources/mail/group_disband.php index ab5ce3aa..f4012976 100644 --- a/resources/mail/group_disband.php +++ b/resources/mail/group_disband.php @@ -5,7 +5,7 @@

Hello,

-

Your PI group, , has been disbanded on the Unity -cluster. Any jobs associated with this PI account have been killed.

+

Your PI group, , has been disbanded on the UnityHPC Platform. +Any jobs associated with this PI account have been killed.

If you believe this to be a mistake, please reply to this email

diff --git a/resources/mail/group_request.php b/resources/mail/group_request.php index 74f6895f..7d0cfdec 100644 --- a/resources/mail/group_request.php +++ b/resources/mail/group_request.php @@ -6,7 +6,7 @@

Hello,

-You have requested a PI account on the Unity Cluster. +You have requested a PI account on the UnityHPC Platform. The admin team is reviewing this request, and you will receive an email soon with more details.

diff --git a/resources/mail/user_dequalified.php b/resources/mail/user_dequalified.php index 36efcc04..73677ab0 100644 --- a/resources/mail/user_dequalified.php +++ b/resources/mail/user_dequalified.php @@ -5,6 +5,6 @@

Hello,

-

Your account on the Unity cluster has been deactivated.

+

Your account on the UnityHPC Platform has been deactivated.

If you believe this to be a mistake, please reply to this email as soon as possible.

diff --git a/resources/mail/user_loginshell.php b/resources/mail/user_loginshell.php index 393bfdc5..a86e8208 100644 --- a/resources/mail/user_loginshell.php +++ b/resources/mail/user_loginshell.php @@ -5,7 +5,7 @@

Hello,

-

You have updated your login shell on the Unity cluster to . +

You have updated your login shell on the UnityHPC Platform to . You can view the login shell settings on the page

diff --git a/resources/mail/user_qualified.php b/resources/mail/user_qualified.php index e3c348bc..9ef8892d 100644 --- a/resources/mail/user_qualified.php +++ b/resources/mail/user_qualified.php @@ -5,7 +5,7 @@

Hello,

-

Your account on the Unity cluster has been activated. Your account details are below:

+

Your account on the UnityHPC Platform has been activated. Your account details are below:

Username diff --git a/tools/docker-dev/identity/bootstrap.ldif b/tools/docker-dev/identity/bootstrap.ldif index ff979344..165dd79b 100644 --- a/tools/docker-dev/identity/bootstrap.ldif +++ b/tools/docker-dev/identity/bootstrap.ldif @@ -13492,7 +13492,7 @@ objectclass: posixGroup objectclass: top dn: ou=users,dc=unityhpc,dc=test -description: Hold all of the posix account of the cluster. +description: Holds all posix accounts. objectclass: organizationalUnit objectclass: top ou: users diff --git a/webroot/panel/account.php b/webroot/panel/account.php index 7fb7343c..cf990e83 100644 --- a/webroot/panel/account.php +++ b/webroot/panel/account.php @@ -131,16 +131,18 @@ $isPI = $USER->isPI(); if ($isPI) { - echo "

You are curently a principal investigator on the Unity Cluster

"; + echo " +

You are curently a principal investigator on the UnityHPC Platform

+ "; } elseif ($USER->isQualified()) { - echo "

You are curently a qualified user on the Unity Cluster

"; + echo "

You are curently a qualified user on the UnityHPC Platform

"; } else { $tos_url = CONFIG["site"]["terms_of_service_url"]; $form_url = getURL("panel/groups.php"); echo "

You are currently an unqualified user, and will be - unable to use the cluster. + unable to access UnityHPC Platform services. To become qualified, request to join a PI group, or if you are a PI, request a PI group. Do not request a PI group if you are a student.

diff --git a/webroot/panel/new_account.php b/webroot/panel/new_account.php index 732c5f20..f582a355 100644 --- a/webroot/panel/new_account.php +++ b/webroot/panel/new_account.php @@ -27,7 +27,7 @@ Email   -

Your unity cluster username will be

+

Your UnityHPC username will be