This commit is contained in:
Squidly271 2021-07-24 09:07:39 -04:00
parent 0a0ae519be
commit 08bdee98cd
7 changed files with 26 additions and 8 deletions

Binary file not shown.

Binary file not shown.

View File

@ -2,8 +2,8 @@
<!DOCTYPE PLUGIN [
<!ENTITY name "community.applications">
<!ENTITY author "Andrew Zawadzki">
<!ENTITY version "2021.06.21">
<!ENTITY md5 "5a73877880fa75f4ec86568791d3b9ed">
<!ENTITY version "2021.07.24">
<!ENTITY md5 "7e113e94228291fbb559845733359839">
<!ENTITY launch "Apps">
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
<!ENTITY github "Squidly271/community.applications">
@ -13,6 +13,23 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.6.2" support="https://lime-technology.com/forums/topic/38582-plug-in-community-applications/" icon="users">
<CHANGES>
###2021.07.24
- Fixed: Official containers were showing in Previous apps when installed, not within installed apps
- Fixed: Apps installed as a branch would show twice within Installed Apps
- Fixed: When installing from Previous Apps, the startup category would be get highlighted when returning to CA
- Enhanced: Faster handling of installed apps section
- Fixed: Disable docker sub-menu on installed / previous apps if docker service isn't enabled
- Changed: Minimim OS compatibility now Unraid 6.6.2
- Added: Ability to directly install updates to docker / plugin apps within CA instead of redirecting to Docker / Plugins tab
- Changed: Fix reference made to Switch Language icon (Compatibility with a future version of Unraid [maybe])
- Changed: Don't display xxx's Repository on tiles. Only display xxx
- Security Change: Don't allow HTML within changelogs
- Added: Support Markdown within changelogs
- Added: Support Changelogs from Private Apps
- Added: Support for additional requirements xml tag
- Fixed: Apps that were set to never get the template updated in dockerMan would never display a changelog if one was present
- Added: Optional check for updates to apps outside of scheduled Dynamix checking
###2021.06.21
- Maintenance Update
- Fixed: Repository that contained a duplicated dockerHub repository (even if it was removed from CA) wouldn't appear in the correct order when sorting repositories by Date Added

View File

@ -80,6 +80,7 @@ if ( is_file($caPaths['addConverted']) ) {
$date = (date("n/d"));
// Only check for updates to containers / plugins max once per hour
exec("mkdir -p {$caPaths['tempFiles']}");
if ( $cfg['updateCheck'] == "yes" ) {
if ( ( time() - @filemtime($caPaths['updateTime']) ) > 3600 ) {
touch($caPaths['updateTime']);
@ -153,8 +154,8 @@ $(function(){
}
});
$(function(){
// This file is guaranteed to exist on the flash drive. Even though 6.10Beta3+ includes similar code, keep this code because CA just can't function properly with a flash offline / corrupted.
<? if ( ! is_file($caPaths['docker_cfg']) ): ?>
// This file is guaranteed to exist on the flash drive. Even though 6.10Beta3+ includes similar code, keep this code because CA just can't function properly with a flash offline / corrupted.
$(".mainArea,.menuItems").html("");
swal({
title: "<?tr("Fatal Flash Drive Error")?>",

View File

@ -1,6 +1,6 @@
767d6f2203fed9541daeb57bbf7b58b3 ./Apps.page
83b3f89cd42e8601c7c217d5b4889c81 ./CA_notices.page
c310bec9668efd9bb040c2854f0b0ad8 ./CommunityApps.page
28d82ce41b2f90e4a29ffde79f367b7f ./CommunityApps.page
8c24d585c7dd3ff9ef961bb2c2705711 ./PluginAPI.page
b398273cf7daa62ab00d2de2336ca25f ./README.md
2cdb7da0d67a11278ada7fd029707738 ./ca_settings.page
@ -13,7 +13,7 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
2aff4ef7ed5d76944919315078ec7036 ./include/exec.php
06b55b88a6ed1834a15c7fd72b2c819d ./include/helpers.php
255dc18c0d28e65e3a23eb7a80969802 ./include/paths.php
3893704ad833c765384c5fcf3147a7f7 ./include/paths.php
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js
4e97f00c3f0a52603239b00acf890990 ./skins/Narrow/css.php
e7bf62923b2d7109b6848554701e12f6 ./skins/Narrow/skin.html
@ -28,5 +28,5 @@ ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh
f9c3f431935fb20801f3fef152dc7b58 ./scripts/showStatistics.php
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
02759ea835ee4ce5a051fead96ab9b9b ./scripts/updatePluginSupport.php
9af8cc532a7aa0be482acd82e168d0ee ./scripts/checkForUpdates.php
717f49d6faabd7e1d7cf0940beb5cd5e ./scripts/checkForUpdates.php
ce77df69331ccd3bf4037389325a01e1 ./scripts/installUpdate.php

View File

@ -63,5 +63,5 @@ $caPaths['LanguageErrors'] = "https://squidly271.github.io/
$caPaths['CA_languageBase'] = "https://raw.githubusercontent.com/Squidly271/AppFeed/master/languages/";
$caPaths['CA_logs'] = "/tmp/CA_logs";
$caPaths['logging'] = "{$caPaths['CA_logs']}/ca_log.txt";
$caPaths['updateTime'] = "{$caPaths['tempFiles']}/checkForUpdatesTime";
$caPaths['updateTime'] = "/tmp/$CA/checkForUpdatesTime"; # can't be in /tmp/community.applications/tempFiles because new feed downloads erases everything there
?>

View File

@ -7,7 +7,7 @@
# #
###############################################################
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: "/usr/local/emhttp";
$updateFile = is_file("$docroot/plugins/dynamix.dockerMan/scripts/dockerupdate") ? "dockerupdate" : "dockerupdate.php";
$updateFile = is_file("$docroot/plugins/dynamix.docker.manager/scripts/dockerupdate") ? "dockerupdate" : "dockerupdate.php";
exec("$docroot/plugins/dynamix.docker.manager/scripts/dockerupdate check nonotify > /dev/null 2>&1");
foreach (glob("/var/log/plugins/*.plg") as $plg) {
if ( $plg == "/var/log/plugins/community.applications.plg" || $plg == "unRAIDServer.plg" || $plg == "gui.search.plg" || $plg == "page.notes.plg")