Skip to content

Commit

Permalink
v2.8 - Update lots of apps!
Browse files Browse the repository at this point in the history
-Added a changelog to the repo to keep track of commits, notes, and other brainstorming stuff.
-PHP-AV App to v3.3.
-PHP-AV Scan targets now work properly.
-PHP-AV header text now disappears when a scan is started, making more room for a pleasant console experience.
-Improve cross platform support with relative paths throughout a lot of apps.
-ServMonitor App to v3.1.
-ServMonitor labels have been corrected, USB Devices -> Devices, PCI Devices -> Uptime.
-Notes App to v
-Contacts App to v2.3.
-Grabber App to v1.9.
-Calendar App to v0.6.
-Bookmarks App to v1.6.
-Calculator App to v1.6.
-Pell to v3.4.
-HRAI to v5.8.
-Remove HRAI's ability to authenticate users as it is not needed.
-Remove old experimental alpha code for natural language parsing.
-Remove the sesLog creation and verification code.
-Remove a lot of files that are no longer needed.
-Improve HRAI performance by a considerable amount.
-Reduce HRAI disk, memory, and CPU utilization, improve privacy & security.
-Updated the HRConvert2 module of HRAI to use an installed version of HRConvert2 on the local server.
-Added cleanup code to compatCore.php to deal with recent changes in HRAI.
-Enabled the "Check Perms" functionality in settingsCore.php and added the UI elements to finally use it.
-LAST MINUTE (not in some recent commit messages): Fix "PHPAV.php" appearing in Logs pages (added to $defaultApps in commonCore.php).
  • Loading branch information
zelon88 authored Jul 8, 2018
1 parent 9c6d9fd commit e4d8329
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 15 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

----------
COMMIT 7/7/2018
v2.8 - Update lots of apps!

-Added a changelog to the repo to keep track of commits, notes, and other brainstorming stuff.
-PHP-AV App to v3.3.
-PHP-AV Scan targets now work properly.
-PHP-AV header text now disappears when a scan is started, making more room for a pleasant console experience.
-Improve cross platform support with relative paths throughout a lot of apps.
-ServMonitor App to v3.1.
-ServMonitor labels have been corrected, USB Devices -> Devices, PCI Devices -> Uptime.
-Notes App to v
-Contacts App to v2.3.
-Grabber App to v1.9.
-Calendar App to v0.6.
-Bookmarks App to v1.6.
-Calculator App to v1.6.
-Pell to v3.4.
-HRAI to v5.8.
-Remove HRAI's ability to authenticate users as it is not needed.
-Remove old experimental alpha code for natural language parsing.
-Remove the sesLog creation and verification code.
-Remove a lot of files that are no longer needed.
-Improve HRAI performance by a considerable amount.
-Reduce HRAI disk, memory, and CPU utilization, improve privacy & security.
-Updated the HRConvert2 module of HRAI to use an installed version of HRConvert2 on the local server.
-Added cleanup code to compatCore.php to deal with recent changes in HRAI.
-Enabled the "Check Perms" functionality in settingsCore.php and added the UI elements to finally use it.
-LAST MINUTE (not in some recent commit messages): Fix "PHPAV.php" appearing in Logs pages (added to $defaultApps in commonCore.php).
----------
2 changes: 1 addition & 1 deletion commonCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
$UserNotes = $InstLoc.'/DATA/'.$UserID.'/.AppData/.notes.php';
$defaultApps = array('.', '..', '', 'error.php', 'HRAIMiniGui.php', 'jquery-3.1.0.min.js', 'index.html', 'HRAIMiniGui.php', 'HRAI', 'HRConvert2',
'HRStreamer', 'getid3', 'displaydirectorycontents_logs', 'displaydirectorycontents_logs1', 'style.css', 'Shared', 'ServMon.php', 'Favorites.php',
'displaydirectorycontents_72716', 'displaydirectorycontents_shared', 'wordpress.zip', 'Bookmarks', 'Calendar', 'Contacts', 'Notes', 'UberGallery');
'displaydirectorycontents_72716', 'displaydirectorycontents_shared', 'wordpress.zip', 'PHPAV.php', 'Bookmarks', 'Calendar', 'Contacts', 'Notes', 'UberGallery');
$DangerousFiles = array('js', 'php', 'html', 'css');
$installedApps = array_diff($Apps, $defaultApps);
$tipsHeight = '0';
Expand Down
32 changes: 19 additions & 13 deletions compatibilityCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/*
HRCLOUD2 VERSION INFORMATION
THIS VERSION : v2.7.5
WRITTEN ON : 7/6/2018
THIS VERSION : v2.8
WRITTEN ON : 7/7/2018
*/

// / -----------------------------------------------------------------------------------
Expand Down Expand Up @@ -547,6 +547,20 @@
@unlink($InstLoc.'/AdminLogin.php'); }
if (file_exists($InstLoc.'/Applications/HRAI/awake.php')) {
@unlink($InstLoc.'/Applications/HRAI/awake.php'); }
if (file_exists($InstLoc.'/Applications/HRAI/online.php')) {
@unlink($InstLoc.'/Applications/HRAI/online.php'); }
if (file_exists($InstLoc.'/Applications/HRAI/coreArr.php')) {
@unlink($InstLoc.'/Applications/HRAI/coreArr.php'); }
if (file_exists($InstLoc.'/Applications/HRAI/CoreCommands/CMDcfh.php')) {
@unlink($InstLoc.'/Applications/HRAI/CoreCommands/CMDcfh.php'); }
if (file_exists($InstLoc.'/Applications/HRAI/CallForHelp.php')) {
@unlink($InstLoc.'/Applications/HRAI/CallForHelp.php'); }
if (file_exists($InstLoc.'/Applications/HRAI/ForceCallForHelp.php')) {
@unlink($InstLoc.'/Applications/HRAI/ForceCallForHelp.php'); }
if (file_exists($InstLoc.'/Applications/HRAI/langPar.php')) {
@unlink($InstLoc.'/Applications/HRAI/langPar.php'); }
if (file_exists($InstLoc.'/Applications/HRAI/langParVar.php')) {
@unlink($InstLoc.'/Applications/HRAI/langParVar.php'); }
if (file_exists($InstLoc.'/Applications/wordpress_1-28-17.zip')) {
@unlink($InstLoc.'/Applications/wordpress_1-28-17.zip'); }
if (file_exists($InstLoc.'/Applications/HRAI/wordpress_11416.zip')) {
Expand Down Expand Up @@ -600,21 +614,13 @@
echo nl2br ($txt.'<hr />');
$MAKELogFile = file_put_contents($LogFile, $txt.PHP_EOL, FILE_APPEND);
@system("/bin/chgrp -R $user $CloudLoc");
$txt = 'Op-Act: The current user-group of the InstLoc is "'.posix_getpwuid(filegroup($InstLoc)).'".' ;
$txt = 'Op-Act: The current user:group of the CloudLoc is "'.posix_getpwuid(fileowner($CloudLoc))['name'].':'.posix_getgrgid(filegroup($CloudLoc))['name'].'".' ;
echo nl2br ($txt.'<hr />');
$MAKELogFile = file_put_contents($LogFile, $txt.PHP_EOL, FILE_APPEND);
@system("/bin/chgrp -R $user $InstLoc");
$txt = 'Op-Act: The current user-group of the InstLoc is "'.posix_getpwuid(filegroup($InstLoc)).'".' ;
$txt = 'Op-Act: The current user:group of the InstLoc is "'.posix_getpwuid(fileowner($InstLoc))['name'].':'.posix_getgrgid(filegroup($InstLoc))['name'].'".' ;
echo nl2br ($txt.'<hr />');
$MAKELogFile = file_put_contents($LogFile, $txt.PHP_EOL, FILE_APPEND);
@system("/bin/chown -R $user $CloudLoc");
$txt = 'Op-Act: The current owner of the CloudLoc is "'.posix_getpwuid(fileowner($CloudLoc)).'".' ;
echo nl2br ($txt.'<hr />');
$MAKELogFile = file_put_contents($LogFile, $txt.PHP_EOL, FILE_APPEND);
@system("/bin/chown -R $user $InstLoc");
$txt = 'Op-Act: The current owner of the InstLoc is "'.posix_getpwuid(fileowner($InstLoc)).'".' ;
echo nl2br ($txt.'<hr />');
$MAKELogFile = file_put_contents($LogFile, $txt.PHP_EOL, FILE_APPEND); }
$MAKELogFile = file_put_contents($LogFile, $txt.PHP_EOL, FILE_APPEND);}
// / -----------------------------------------------------------------------------------

// / -----------------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions sanitizeCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@
$CheckCompatPOST = htmlentities(str_replace(str_split('|\\~#[](){};:$!#^&%@>*<"\''), '', $_POST['CheckCompatibility']), ENT_QUOTES, 'UTF-8'); }
if (isset($_POST['CheckCompat'])) {
$CheckCompatPOST = htmlentities(str_replace(str_split('|\\~#[](){};:$!#^&%@>*<"\''), '', $_POST['CheckCompat']), ENT_QUOTES, 'UTF-8'); }
if (isset($_POST['CheckPermissions'])) {
$CheckPermsPOST = htmlentities(str_replace(str_split('|\\~#[](){};:$!#^&%@>*<"\''), '', $_POST['CheckPermissions']), ENT_QUOTES, 'UTF-8'); }
// / -----------------------------------------------------------------------------------

// / -----------------------------------------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions settingsCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,11 @@
<input type='submit' name='CheckCompatibility' id='CheckCompatibility' value='Compat Check' style="padding: 2px; border: 1px solid black" onclick="toggle_visibility('loading');"/>
</p>

<p alt="Verify the permissions level, owner, and group of HRCloud2 controlled directories." title="Verify the permissions level, owner, and group of HRCloud2 controlled directories." style="padding-left:15px;"> Permissions Check:</p>
<p style="float:center; padding-left:10%;">
<input type='submit' name='CheckPermissions' id='CheckPermissions' value='Perms Check' style="padding: 2px; border: 1px solid black" onclick="toggle_visibility('loading');"/>
</p>

<p alt="Set the Apache User. (Default: www-data)" title="Set the Apache User. WARNING!!! Do not change unless you are confident your input is accurate. (Default: www-data)" style="padding-left:15px;"><strong></strong> Apache User: WARNING!!! Custom installations only. (Default: www-data)</p>
<p><input type='text' id="NEWApacheUser" name="NEWApacheUser" style="padding-left:30px; width:100%;" value="<?php echo $AUURL; ?>"></p>

Expand Down
2 changes: 1 addition & 1 deletion versionInfo.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
// / This file contains the current HRCloud2 version for auto-update purposes.
// /
$Version = 'v2.7.5';
$Version = 'v2.8';

0 comments on commit e4d8329

Please sign in to comment.