Remove Dojo and Whirlpool from marketplace

This commit is contained in:
Taylor Helsper 2024-04-25 00:24:26 -05:00
parent 97ad1a9f6d
commit a82b1b790f
6 changed files with 10 additions and 3 deletions

View File

@ -42,8 +42,6 @@ Each MyNode device comes with a number of wonderful features.
- Electrum Server
- BTCPay Server
- RTL (Ride the Lightning) - Lightning Wallet
- Samourai Dojo
- Samourai Whirlpool
- Specter Desktop
- Thunderhub
- BTC RPC Explorer

View File

@ -234,6 +234,7 @@
"app_tile_button_href": "/dojo",
"app_tile_running_status_text": "Running",
"can_uninstall": true,
"show_on_marketplace_page": false,
"show_on_application_page": true,
"show_on_homepage": true,
"requires_electrs": true,
@ -259,6 +260,7 @@
"app_tile_button_href": "/whirlpool",
"app_tile_running_status_text": "Running",
"can_uninstall": true,
"show_on_marketplace_page": false,
"show_on_homepage": true,
"homepage_order": 23
},

View File

@ -212,6 +212,7 @@ def initialize_application_defaults(app):
if not "supports_testnet" in app: app["supports_testnet"] = False
if not "show_on_homepage" in app: app["show_on_homepage"] = False
if not "show_on_application_page" in app: app["show_on_application_page"] = True
if not "show_on_marketplace_page" in app: app["show_on_marketplace_page"] = app["show_on_application_page"]
if not "show_on_status_page" in app: app["show_on_status_page"] = False # New apps should set to true
if not "can_enable_disable" in app: app["can_enable_disable"] = True
if not "is_enabled" in app: app["is_enabled"] = is_service_enabled( app["short_name"] )

View File

@ -270,9 +270,11 @@ def page_status():
"joinmarket_api_status": get_service_status_basic_text("joinmarket-api"),
"joinmarket_api_status_color": get_service_status_color("joinmarket-api"),
#"whirlpool_status_log": get_journalctl_log("whirlpool"),
"whirlpool_installed": is_installed("whirlpool"),
"whirlpool_status": get_service_status_basic_text("whirlpool"),
"whirlpool_status_color": get_service_status_color("whirlpool"),
#"dojo_status_log": get_journalctl_log("dojo"),
"dojo_installed": is_installed("dojo"),
"dojo_status": get_service_status_basic_text("dojo"),
"dojo_status_color": get_service_status_color("dojo"),
#"btcpayserver_status_log": get_journalctl_log("btcpayserver"),

View File

@ -43,7 +43,7 @@
<div class="marketplace_category_container">
{% for app in apps %}
{% if app.show_on_application_page and app.category == category.name %}
{% if app.show_on_marketplace_page and app.category == category.name %}
<div class="marketplace_app_tile" data-shortname="{{app.short_name}}">
<div class="marketplace_app_tile_left">
<img class="marketplace_app_tile_icon" src="{{ url_for('static', filename="images/app_icons/")}}{{app.short_name}}.png"/>

View File

@ -240,6 +240,7 @@
<div class="divider"></div>
{% endif %}
{% if whirlpool_installed %}
<div class="settings_block_subheader">Whirlpool Status</div>
<div class="settings_block_subheader_status">
<div class="settings_block_subheader_status_icon {{ whirlpool_status_color }}"></div>
@ -248,7 +249,9 @@
<button id="show_whirlpool_log" onclick="showLog('whirlpool')" class="ui-button ui-widget ui-corner-all settings_button_small">Show Log</button>
<div id="whirlpool_log" style='text-align: left; font-size: 12px; width: 800px; display: none;'><pre>{{whirlpool_status_log}}</pre></div>
<div class="divider"></div>
{% endif %}
{% if dojo_installed %}
<div class="settings_block_subheader">Dojo Status</div>
<div class="settings_block_subheader_status">
<div class="settings_block_subheader_status_icon {{ dojo_status_color }}"></div>
@ -264,6 +267,7 @@
<button id="show_dojo_log" onclick="showLog('dojo')" class="ui-button ui-widget ui-corner-all settings_button_small">Show Log</button>
<div id="dojo_log" style='text-align: left; font-size: 12px; width: 800px; display: none;'><pre>{{dojo_status_log}}</pre></div>
<div class="divider"></div>
{% endif %}
<div class="settings_block_subheader">BTCPay Server Status</div>
<div class="settings_block_subheader_status">