From 2a0a7376475e09301f4419818c77dd4ba2a475a4 Mon Sep 17 00:00:00 2001
From: Simon Leary
Date: Tue, 9 Sep 2025 16:19:49 -0400
Subject: [PATCH] remove trailing whitespace, ensure newline@eof
---
.pre-commit-config.yaml | 10 +++++-----
README.md | 4 ++--
deployment/config/README.md | 2 +-
deployment/custom_user_mappings/README.md | 2 +-
deployment/mail_overrides/README.md | 2 +-
deployment/overrides/README.md | 2 +-
resources/mail/account_deletion_request_admin.php | 2 +-
resources/mail/footer.php | 6 +++---
resources/mail/group_created.php | 4 ++--
resources/mail/group_denied.php | 4 ++--
resources/mail/group_disband.php | 4 ++--
resources/mail/group_request.php | 4 ++--
resources/mail/group_request_admin.php | 2 +-
resources/mail/group_user_added.php | 6 +++---
resources/mail/group_user_added_owner.php | 2 +-
resources/mail/group_user_denied.php | 2 +-
resources/mail/group_user_denied_owner.php | 4 ++--
resources/mail/group_user_removed.php | 2 +-
resources/mail/group_user_removed_owner.php | 2 +-
resources/mail/group_user_request.php | 2 +-
resources/mail/group_user_request_owner.php | 4 ++--
resources/mail/user_created.php | 6 +++---
resources/mail/user_loginshell.php | 6 +++---
resources/mail/user_sshkey.php | 4 ++--
resources/templates/footer.php | 2 +-
resources/templates/header.php | 2 +-
tools/docker-dev/identity/ldap-config.ldif | 2 +-
tools/docker-dev/identity/phpldapadmin-apache.conf | 2 +-
tools/docker-dev/identity/ssh.ldif | 2 +-
tools/docker-dev/sql/phpmyadmin-apache.conf | 2 +-
tools/docker-dev/web/unity-apache.conf | 2 +-
webroot/css/filters.css | 2 +-
webroot/css/modal.css | 2 +-
webroot/js/filter.js | 2 +-
webroot/js/sort.js | 4 ++--
35 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3ff6fc6b..e0d3579d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -7,11 +7,11 @@ exclude: |
repos:
# auto formatters (no work required) #############################################################
- # - repo: https://github.com/pre-commit/pre-commit-hooks
- # rev: v5.0.0
- # hooks:
- # - id: trailing-whitespace
- # - id: end-of-file-fixer
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v5.0.0
+ hooks:
+ - id: trailing-whitespace
+ - id: end-of-file-fixer
- repo: local
hooks:
- id: phpcbf
diff --git a/README.md b/README.md
index 6c16abe6..c06c5356 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@

# Unity Web 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.
+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.
Basic Features:
* User signs up
@@ -113,7 +113,7 @@ rm "$prod" && ln -s "$old" "$prod"
ADD `firstname` VARCHAR(768) NOT NULL AFTER `timestamp`,
ADD `lastname` VARCHAR(768) NOT NULL AFTER `firstname`,
ADD `email` VARCHAR(768) NOT NULL AFTER `lastname`,
- ADD `org` VARCHAR(768) NOT NULL AFTER `email`;
+ ADD `org` VARCHAR(768) NOT NULL AFTER `email`;
```
### 1.1 -> 1.2
diff --git a/deployment/config/README.md b/deployment/config/README.md
index 70ac6ee1..2aeaafac 100644
--- a/deployment/config/README.md
+++ b/deployment/config/README.md
@@ -2,4 +2,4 @@
In this folder only one file can be created at this time: `config.ini`.
-In this file you can override any of the config from the default file in `defaults/config.ini.default`. **Every deployment needs this**
\ No newline at end of file
+In this file you can override any of the config from the default file in `defaults/config.ini.default`. **Every deployment needs this**
diff --git a/deployment/custom_user_mappings/README.md b/deployment/custom_user_mappings/README.md
index 7d717a4c..b6d1852b 100644
--- a/deployment/custom_user_mappings/README.md
+++ b/deployment/custom_user_mappings/README.md
@@ -2,4 +2,4 @@ Put any csv in this folder in the format:
,
-and the website will auto assign that id (assuming it is available) when that user applies for an account.
\ No newline at end of file
+and the website will auto assign that id (assuming it is available) when that user applies for an account.
diff --git a/deployment/mail_overrides/README.md b/deployment/mail_overrides/README.md
index d21a26d4..a007bad6 100644
--- a/deployment/mail_overrides/README.md
+++ b/deployment/mail_overrides/README.md
@@ -1,3 +1,3 @@
# Mail Overrides
-In this location, you can copy any file in the resources/mail folder into here and modify it. **The filename must remain the same**
\ No newline at end of file
+In this location, you can copy any file in the resources/mail folder into here and modify it. **The filename must remain the same**
diff --git a/deployment/overrides/README.md b/deployment/overrides/README.md
index f9021a2a..d7457801 100644
--- a/deployment/overrides/README.md
+++ b/deployment/overrides/README.md
@@ -10,4 +10,4 @@ For example, if the primary virtual host is `example.com`, but you wanted to hos
config.ini
```
-Everything else in the deployment folder cannot be overridden.
\ No newline at end of file
+Everything else in the deployment folder cannot be overridden.
diff --git a/resources/mail/account_deletion_request_admin.php b/resources/mail/account_deletion_request_admin.php
index 902efdfe..c9170d93 100644
--- a/resources/mail/account_deletion_request_admin.php
+++ b/resources/mail/account_deletion_request_admin.php
@@ -14,4 +14,4 @@
Name Email
-
\ No newline at end of file
+
diff --git a/resources/mail/footer.php b/resources/mail/footer.php
index 8048f6f6..83ff615e 100644
--- a/resources/mail/footer.php
+++ b/resources/mail/footer.php
@@ -1,6 +1,6 @@
diff --git a/resources/mail/group_created.php b/resources/mail/group_created.php
index 46d59852..c8ae04d7 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. You can access the management
+
Your request for a PI account on the Unity cluster has been approved. You can access the management
page for your group on this page.
-
Do not hesitate to reply if you have any questions!
\ No newline at end of file
+
Do not hesitate to reply if you have any questions!