Remove remaining remove private app code
update copyright
This commit is contained in:
Squidly271 2022-12-31 12:47:05 -05:00
parent c146b2c36d
commit c8cf07ae86
20 changed files with 36 additions and 77 deletions

Binary file not shown.

View File

@ -7,7 +7,7 @@ Code="f0db"
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -4,7 +4,7 @@ Link='nav-user'
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,25 +1,25 @@
b02e9cd2ed57b27e0d29cef4a759b65f ./Apps.page
4e55f7483b661af21a25b677179baffe ./CA_notices.page
600469ce287cb1ed78dc6cc11675cfaf ./ca_settings.page
73d1b1555eabec6d2d5b4f2e610e42b6 ./Apps.page
106b521c1feebda4d7b3f558cc016cda ./CA_notices.page
eb1f0ee4148747c0473e73e4e973994f ./ca_settings.page
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg
565e74e0eb829851e13b19a8d7746400 ./include/exec.php
c0992dbf9aa4f038c7ac2a1c492370f1 ./include/helpers.php
8d15446d4edf60a1f4ac4493a494a301 ./include/paths.php
16c0a5f9413f8de84f61575b1e0ca742 ./include/exec.php
3f43116c462378d9578a90c413b93afa ./include/helpers.php
3dcc75f434545ca6bee2327bf9888a35 ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
71f911a818d88d3d567f8a2898094ee2 ./README.md
ebb6450725d05c53116c3c996b6abac1 ./scripts/checkForUpdates.php
ec075d8b9758ba00bda9b02c4692f972 ./scripts/checkForUpdates.php
99a9d58a49a7f6812f18bd4be2b563b9 ./scripts/checkForUpdates.sh
677ac9a29993ec57e09ec6a1856f1a11 ./scripts/dockerConvert.php
8eb6e62a41113a3bff297bb930d66139 ./scripts/installMulti.php
e54e7ec1cbc312c11900977181b71380 ./scripts/installMultiPlugin.php
28f1447a5053df2f62ae1d6eb5870169 ./scripts/dockerConvert.php
69d2eda222f4dd261eb2cfd6c8985760 ./scripts/installMulti.php
fbd7122dbf5312c30d164312aa6c13e4 ./scripts/installMultiPlugin.php
524afab04ca930f59117a846f819fb2f ./scripts/installPluginUpdate.sh
25b6119a7ce9330fe8a16f4eb969512d ./scripts/installUpdate.php
53879be89ce610c57922c1f25ba2b1d2 ./scripts/installUpdate.php
5846421e95b475e1156c3f68164ccc4f ./scripts/languageInstall.sh
76d678b918109e2d7dad6c17c7a80881 ./scripts/notices.php
a1401a0bed89c182b69f0c7508282c1f ./scripts/pluginInstall.php
da3b4f9b73c5c3bf65be6c42d68b51f9 ./scripts/showStatistics.php
682c712c56c443e0776fa7624f14d9f1 ./scripts/notices.php
ed42a35b3524b55e2024cdd56a795733 ./scripts/pluginInstall.php
4ae4dacec4daf9861e0aa6a4ec4ad353 ./scripts/showStatistics.php
4425f8fd4ef662a7dc65cee01de3e419 ./scripts/updatePLG.sh
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
25bdaed6f62ac73f9ef7c3ce0c125ef7 ./skins/Narrow/css.php
7eb021a105e2f7a15675ec8a14e6f05e ./skins/Narrow/skin.html
731585813068e9a05190f23bc9e60c04 ./skins/Narrow/skin.php
5c088a7cf82229cb64edfd4c415a84a0 ./scripts/updatePluginSupport.php
230290ceb59b21a3fae7fa7674d5d89d ./skins/Narrow/css.php
d642a25efb891e51471fc4c7636da885 ./skins/Narrow/skin.html
9a2443f1b28a2a6c6b31789fe0b0ad9c ./skins/Narrow/skin.php

View File

@ -5,7 +5,7 @@ Icon="users"
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,7 +1,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################
@ -117,9 +117,6 @@ switch ($_POST['action']) {
case 'statistics':
statistics();
break;
case 'removePrivateApp':
removePrivateApp();
break;
case 'populateAutoComplete':
populateAutoComplete();
break;
@ -1651,44 +1648,6 @@ function statistics() {
postReturn(['statistics'=>$o]);
}
#######################################
# Removes a private app from the list #
#######################################
function removePrivateApp() {
global $caPaths;
$path = getPost("path",false);
if ( ! $path || pathinfo($path,PATHINFO_EXTENSION) != "xml") {
postReturn(["error"=>"Something went wrong-> not an xml file: $path"]);
return;
}
$path = realpath($path);
if ( strpos($path,"/boot/config/community.applications") !== false ) {
postReturn(["error"=>"Path not contained within /boot/config/community.applications"]);
return;
}
$templates = &$$GLOBALS['templates'];
$displayed = readJsonFile($caPaths['community-templates-displayed']);
foreach ( $displayed as &$displayType ) {
if ( is_array($displayType) ) {
foreach ( $displayType as &$display ) {
if ( $display['Path'] == $path )
$display['Blacklist'] = true;
}
}
}
foreach ( $templates as &$template ) {
if ( $template['Path'] == $path )
$template['Blacklist'] = true;
}
writeJsonFile($caPaths['community-templates-info'],$templates);
writeJsonFile($caPaths['community-templates-displayed'],$displayed);
@unlink($path);
postReturn(["status"=>"ok"]);
}
####################################################
# Creates the entries for autocomplete on searches #
####################################################

View File

@ -1,7 +1,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,7 +1,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -2,7 +2,7 @@
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,7 +1,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,7 +1,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -2,7 +2,7 @@
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,7 +1,7 @@
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,7 +1,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -2,7 +2,7 @@
<?
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,7 +1,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -2,7 +2,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -1,7 +1,7 @@
<?php
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################

View File

@ -77,6 +77,6 @@
<div class='ca_center ca_creditheader'><?tr("Additional Libraries");?></div>
<div class='ca_center ca_credit'>Awesomeplete (Lea Verou)<br>Chart.js (various)<br>chartjs-plugin-trendline (Marcus Alsterfjord)<br>XML2Array/Array2XML (Miles Johnson)<br>sprintf.js (Alexandru Mărășteanu) (&lt; Unraid 6.10 only)<br>Magnific-Popup (Dmitry Semenov)</div>
<br>
<div class='ca_center ca_italic'><font size='1rem;'><?tr("Copyright");?> &copy; 2015-2022 Andrew Zawadzki</font></div>
<div class='ca_center ca_italic'><font size='1rem;'><?tr("Copyright");?> &copy; 2015-2023 Andrew Zawadzki</font></div>
</div>
</span>

View File

@ -1,7 +1,7 @@
<?PHP
###############################################################
# #
# Community Applications copyright 2015-2022, Andrew Zawadzki #
# Community Applications copyright 2015-2023, Andrew Zawadzki #
# Licenced under GPLv2 #
# #
###############################################################