Skip to content

Commit 2a0a737

Browse files
committed
remove trailing whitespace, ensure newline@eof
1 parent ae2f255 commit 2a0a737

35 files changed

+56
-56
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ exclude: |
77
88
repos:
99
# auto formatters (no work required) #############################################################
10-
# - repo: https://github.com/pre-commit/pre-commit-hooks
11-
# rev: v5.0.0
12-
# hooks:
13-
# - id: trailing-whitespace
14-
# - id: end-of-file-fixer
10+
- repo: https://github.com/pre-commit/pre-commit-hooks
11+
rev: v5.0.0
12+
hooks:
13+
- id: trailing-whitespace
14+
- id: end-of-file-fixer
1515
- repo: local
1616
hooks:
1717
- id: phpcbf

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![UNITY](https://user-images.githubusercontent.com/40907639/137608695-2d914da2-1ecc-480b-a47e-a9e33b2b1b45.png)
22

33
# Unity Web Portal
4-
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.
4+
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.
55

66
Basic Features:
77
* User signs up
@@ -113,7 +113,7 @@ rm "$prod" && ln -s "$old" "$prod"
113113
ADD `firstname` VARCHAR(768) NOT NULL AFTER `timestamp`,
114114
ADD `lastname` VARCHAR(768) NOT NULL AFTER `firstname`,
115115
ADD `email` VARCHAR(768) NOT NULL AFTER `lastname`,
116-
ADD `org` VARCHAR(768) NOT NULL AFTER `email`;
116+
ADD `org` VARCHAR(768) NOT NULL AFTER `email`;
117117
```
118118

119119
### 1.1 -> 1.2

deployment/config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
In this folder only one file can be created at this time: `config.ini`.
44

5-
In this file you can override any of the config from the default file in `defaults/config.ini.default`. **Every deployment needs this**
5+
In this file you can override any of the config from the default file in `defaults/config.ini.default`. **Every deployment needs this**

deployment/custom_user_mappings/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Put any csv in this folder in the format:
22

33
<netid>,<user id>
44

5-
and the website will auto assign that id (assuming it is available) when that user applies for an account.
5+
and the website will auto assign that id (assuming it is available) when that user applies for an account.

deployment/mail_overrides/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Mail Overrides
22

3-
In this location, you can copy any file in the resources/mail folder into here and modify it. **The filename must remain the same**
3+
In this location, you can copy any file in the resources/mail folder into here and modify it. **The filename must remain the same**

deployment/overrides/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ For example, if the primary virtual host is `example.com`, but you wanted to hos
1010
config.ini
1111
```
1212

13-
Everything else in the deployment folder cannot be overridden.
13+
Everything else in the deployment folder cannot be overridden.

resources/mail/account_deletion_request_admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
<strong>Name</strong> <?php echo $data["name"]; ?>
1515
<br>
1616
<strong>Email</strong> <?php echo $data["email"]; ?>
17-
</p>
17+
</p>

resources/mail/footer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<footer style="text-align: center; font-size: 8pt; color: #aaaaaa; border-top: 1px solid #dddddd; padding-top: 10px;">
2-
<span>You are receiving this email because you have an account
3-
on the <a target='_blank' href='<?php echo $this->MSG_LINKREF; ?>'>Unity Cluster</a>.
4-
If you would like to stop receiving these emails,
2+
<span>You are receiving this email because you have an account
3+
on the <a target='_blank' href='<?php echo $this->MSG_LINKREF; ?>'>Unity Cluster</a>.
4+
If you would like to stop receiving these emails,
55
you may request to close your account by replying to this email.</span>
66
</footer>

resources/mail/group_created.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<p>Hello,</p>
88

9-
<p>Your request for a PI account on the Unity cluster has been approved. You can access the management
9+
<p>Your request for a PI account on the Unity cluster has been approved. You can access the management
1010
page for your group <a href="<?php echo $this->MSG_LINKREF; ?>/panel/pi.php">on this page</a>.</p>
1111

12-
<p>Do not hesitate to reply if you have any questions!</p>
12+
<p>Do not hesitate to reply if you have any questions!</p>

resources/mail/group_denied.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
<p>Hello,</p>
88

9-
<p>Unfortunately, your request for a PI account on the Unity cluster has not been approved.
9+
<p>Unfortunately, your request for a PI account on the Unity cluster has not been approved.
1010
Usually, this is due to one of the following reasons:</p>
1111

1212
<ul>
1313
<li>You are not a PI at your organization</li>
1414
<li>We were not able to verify your PI status. In this case please reply with verification</li>
15-
<li>Your organization has not been authorized on the Unity Cluster.
15+
<li>Your organization has not been authorized on the Unity Cluster.
1616
In this case please reply with more information about your request</li>
1717
</ul>
1818

0 commit comments

Comments
 (0)