NEW: HSTS preferences configurable under Account > Settings > SSL. Server defaults set in [httpd] => hsts_mode (Http) NEW: list_ssl, ssl_set, ssl_remove()- set SSL-TLS redirection + HSTS equivalencies (web) CHG: Wire SSL-TLS redirection/HSTS upgrades into reconfiguration (Unknown) CHG: rampart.fail2ban-whitelist supports multiple IP addresses (Admin\Settings) CHG: replace mysqli instantiation with derived instance (backup_dbs) CHG: gauge accessory data may be included in partials/gauge-data/ (Dashboard) CHG: report dynamic quotas, OOM events (Dashboard) CHG: add_subdomain()- block unresolvabe global subdomain subdomains (web) CHG: ignore errors on rsyslog service which may manifest itself sporadically on later RHEL releases. May be a combination of Restart=on-failure + security treatments (?). (common) CHG: support multiple IPs (fail2ban/whitelist-self)
60 lines
3.1 KiB
YAML
60 lines
3.1 KiB
YAML
# Special purpose vars accessible from page as top-level $vars
|
|
vars:
|
|
analytics-url: /control-panel/linking-google-analytics
|
|
suspension:
|
|
generic_body: >-
|
|
This account has been suspended. You may continue to interact with the control panel until it is deleted.
|
|
tooltips:
|
|
ooms: "An OOM event results in a process kill to return the account to its memory limits"
|
|
dynamic_storage: "Storage availability may decrease as peer account usage increases"
|
|
# Basic help
|
|
help: >-
|
|
|
|
# Blurb
|
|
tagline: >-
|
|
# Optional title to set
|
|
title: Dashboard
|
|
tour:
|
|
- title: "Welcome to {{ PANEL_BRAND }} 🎉"
|
|
content: "This demo will walk you through the end-user dashboard component. It's built to be nimble and powerful."
|
|
- selector: '.usage-gauges > div'
|
|
title: "Resource usage"
|
|
content: "A variety of metrics relating to resource consumption lets you know how much you've used."
|
|
- selector: '#cpu-gauge'
|
|
title: "CPU usage"
|
|
content: "CPU resets every 24 hours measuring both system and user time."
|
|
when: "{{ !\\UCard::get()->is('admin') }}"
|
|
- selector: '#processes-gauge'
|
|
title: "Process usage"
|
|
content: "Processes include threads and process images."
|
|
when: "{{ !\\UCard::get()->is('admin') }}"
|
|
- selector: "#rampartMarker"
|
|
title: "Firewall"
|
|
content: >-
|
|
Firewall stats are available within the dashboard. See <a class='ui-action-label ui-action-visit-site-tab ui-action'
|
|
target='apiscp-docs' href='https://docs.apiscp.com/FIREWALL'>FIREWALL.md</a> for advanced usage.
|
|
when: "{{ \\UCard::get()->is('admin') }}"
|
|
- selector: "#argosMarker h2"
|
|
title: "Service monitoring"
|
|
content: >-
|
|
{{ PANEL_BRAND }} monitors all services. You can configure push-based monitoring to your phone. See
|
|
<a class='ui-action-label ui-action-visit-site-tab ui-action' target='apiscp-docs' href='https://docs.apiscp.com/admin/Monitoring'>Monitoring.md</a> for advanced usage.
|
|
when: "{{ \\UCard::get()->is('admin') }}"
|
|
- selector: '#ui-search'
|
|
content: "Use {{ implode(' + ', HTML_Kit::accesskey('s')) }} for quick access to search your apps."
|
|
- selector: "#quick-links a"
|
|
title: "App hotlist"
|
|
content: "Your most frequently used apps always appear here."
|
|
- selector: ".ui-webapp-panel div"
|
|
title: "Web Apps"
|
|
content: "Web Apps provide a variety of secure, convenient 1-clicks with a variety of cool features. You can find it under Web > Web Apps!"
|
|
when: "{{ \\UCard::get()->is('site') }}"
|
|
- title: "More to learn"
|
|
content: >-
|
|
<a class='ui-action-label ui-action-visit-site-tab ui-action' target='apiscp-docs' href='https://docs.apiscp.com'>docs.apiscp.com</a>
|
|
contains all administrator docs. <a class='ui-action-label ui-action-visit-site-tab ui-action' target='apiscp-docs' href='https://{{ MISC_KB_BASE }}'>{{ MISC_KB_BASE }}</a>
|
|
contain all end-user documentation. <a class='ui-action-label ui-action-visit-site-tab ui-action' target='apiscp-docs' href='https://github.com/apisnetworks/apiscp-docs'>End-user docs</a>
|
|
may be freely customized under MIT.
|
|
<br /><br />
|
|
Have fun!
|
|
when: "{{ 0 === strpos('paixhans.apiscp.com', $_SERVER['HTTP_HOST']) }}" |