mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Don't allow donation links in official containers
This commit is contained in:
parent
e2b4a3dd02
commit
e415e3440a
BIN
archive/community.applications-2023.11.28-x86_64-1.txz
Normal file
BIN
archive/community.applications-2023.11.28-x86_64-1.txz
Normal file
Binary file not shown.
@ -2,8 +2,8 @@
|
||||
<!DOCTYPE PLUGIN [
|
||||
<!ENTITY name "community.applications">
|
||||
<!ENTITY author "Andrew Zawadzki">
|
||||
<!ENTITY version "2023.11.25">
|
||||
<!ENTITY md5 "397542404bc0af4b7f1269d34e9e03c9">
|
||||
<!ENTITY version "2023.11.28">
|
||||
<!ENTITY md5 "43b1fcd35d71e9da9d02011b84514056">
|
||||
<!ENTITY launch "Apps">
|
||||
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
|
||||
<!ENTITY github "Squidly271/community.applications">
|
||||
@ -13,6 +13,9 @@
|
||||
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.12.0" support="https://forums.unraid.net/topic/38582-plug-in-community-applications" icon="users">
|
||||
|
||||
<CHANGES>
|
||||
###2023.11.28
|
||||
- Fixed: Don't allow donation links for Official containers
|
||||
|
||||
###2023.11.25
|
||||
- Changed: Minimum requirements for Community Applications now 6.12.0
|
||||
- Added: On feed download failure check date and time of server. If obviously wrong, display message stating to check date and time as this will preclude being able to successfully download the application feed
|
||||
|
@ -2,7 +2,7 @@ e23a1f42a98de86535c5c42c243a8893 ./Apps.page
|
||||
0987a65d249dbec3267b0f4a02aa975a ./CA_notices.page
|
||||
2c2a1b7d148fe51ee38813d1a0e71589 ./ca_settings.page
|
||||
01ed7990078dee7cecfeda9a4e49377e ./default.cfg
|
||||
0727e7d8314b167a751bb66a93e714ee ./include/exec.php
|
||||
db2ed1db19cfe74d2c34f31af8e49099 ./include/exec.php
|
||||
2549b355dfb0f77efa1235cad798cff4 ./include/helpers.php
|
||||
343e1d26129551fc142b09b5d6e10503 ./include/paths.php
|
||||
7234caf6800479df03abb222aaedaca5 ./javascript/libraries.js
|
||||
|
@ -327,11 +327,15 @@ function DownloadApplicationFeed() {
|
||||
$o['Category'] = str_replace("Status:Stable","",$o['Category']);
|
||||
$myTemplates[$i] = $o;
|
||||
|
||||
if ( ! $o['Official'] ) {
|
||||
if ( ! $o['DonateText'] && ($ApplicationFeed['repositories'][$o['RepoName']]['DonateText'] ?? false) )
|
||||
$o['DonateText'] = $ApplicationFeed['repositories'][$o['RepoName']]['DonateText'];
|
||||
if ( ! $o['DonateLink'] && ($ApplicationFeed['repositories'][$o['RepoName']]['DonateLink'] ?? false) )
|
||||
$o['DonateLink'] = $ApplicationFeed['repositories'][$o['RepoName']]['DonateLink'];
|
||||
|
||||
} else {
|
||||
$o['DonateText'] = $o['OfficialDonateText'] ?? null;
|
||||
$o['DonateLink'] = $o['OfficialDonateLink'] ?? null;
|
||||
}
|
||||
$ApplicationFeed['repositories'][$o['RepoName']]['downloads'] = $ApplicationFeed['repositories'][$o['RepoName']]['downloads'] ?? 0;
|
||||
$ApplicationFeed['repositories'][$o['RepoName']]['trending'] = $ApplicationFeed['repositories'][$o['RepoName']]['trending'] ?? 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user