68 lines
2.8 KiB
Text
68 lines
2.8 KiB
Text
=== Interweb Mozambique Status ===
|
|
Tags: status, uptime, monitoring, hosting, domains
|
|
Requires at least: 6.0
|
|
Tested up to: 7.1
|
|
Requires PHP: 7.4
|
|
Stable tag: 1.0.1
|
|
License: MIT
|
|
License URI: https://opensource.org/licenses/MIT
|
|
|
|
Live status of your Interweb Mozambique API, hosting, servers and domains for any page, with the names you choose.
|
|
|
|
== Description ==
|
|
|
|
The plugin works with the Interweb Mozambique API, with your API key. You do not need anything else on the server.
|
|
|
|
* A status box for any page, as a block or shortcode: the API, and the hosting, servers and domains you choose.
|
|
* You give each item the name visitors see. IP addresses and other details stay hidden.
|
|
* It refreshes by itself (every 60 seconds by default) and pauses while the tab is hidden.
|
|
* A general line on top: everything working, something needs attention, or a problem.
|
|
* Domains close to expiry show as a warning.
|
|
* An optional link to the Interweb Mozambique status page and a box on the WordPress dashboard.
|
|
|
|
You need an Interweb Mozambique account and an API key.
|
|
|
|
== External services ==
|
|
|
|
This plugin connects to the Interweb Mozambique API (https://api.interweb.co.mz), run by Interweb Mozambique. It sends nothing before you save an API key. After that, it sends:
|
|
|
|
* The API key, in every request, and a key check (GET /v1/token) when you save it.
|
|
* Status checks: your server asks the API for the state of the API (GET /v1/ping) and of the services, servers and domains you chose. Visitors' browsers only talk to your site, never to the API, and no visitor data is sent.
|
|
|
|
Terms and conditions: https://www.interweb.co.mz/en/terms-conditions
|
|
Privacy policy: https://www.interweb.co.mz/en/privacy-policy
|
|
|
|
== Installation ==
|
|
|
|
1. Upload the ZIP in Plugins > Add New > Upload Plugin, or the plugin folder to wp-content/plugins.
|
|
2. Activate it and open Settings > Interweb Mozambique Status.
|
|
3. Paste your API key and save. The plugin checks it with the API and tells you if a permission is missing.
|
|
4. Choose the items to show and add the "Service status" block or shortcode to a page.
|
|
|
|
== Frequently Asked Questions ==
|
|
|
|
= Where do I get the API key? =
|
|
|
|
In Meu Interweb, on the API page. Start with a sandbox_ key: it simulates every change and spends nothing.
|
|
|
|
= Does it work with the other Interweb Mozambique plugins? =
|
|
|
|
Yes. They can all be active at the same time.
|
|
|
|
= Can I keep the key out of the database? =
|
|
|
|
Yes. Define INTERWEB_MZ_STATUS_API_KEY in wp-config.php.
|
|
|
|
== Screenshots ==
|
|
|
|
1. Items: choose what to show and the name visitors see.
|
|
2. Display settings: refresh time, status page link and colour.
|
|
|
|
== Changelog ==
|
|
|
|
= 1.0.1 =
|
|
* Help link at the top of the settings page, to the step-by-step guide.
|
|
* MIT licence and author links in the plugin header, an External services section in this readme, and output escaping fixes.
|
|
|
|
= 1.0.0 =
|
|
* First version.
|