=== Umbofleet Plus add-on ===
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.1
Requires Plugins: umbofleet
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add-on for the free Umbofleet plugin (install that first): MOT and road tax dates from DVSA and DVLA records, warnings, email alerts and reports.

== Description ==

Umbofleet Plus adds to the free Umbofleet plugin:

* Vehicle details, MOT dates and road tax dates from DVSA and DVLA records, kept up to date every week, with reminders before they run out.
* A warning when a vehicle marked available is untaxed or declared off road (SORN), when the DVLA has it marked as scrapped, or when a new logbook (V5C) is issued after Umbofleet first checked it.
* A prompt to check clean air zones when the recorded Euro status is below the usual ULEZ standard (Euro 6 diesel, Euro 4 petrol).
* DVLA details on each vehicle: Euro status, real driving emissions, wheel plan, revenue weight and the date the logbook was issued. Lookups set the vehicle type from the wheel plan and weight when there's no type approval on record.
* Warnings for safety recalls, mileage going backwards, service due by mileage and slow punctures.
* Missed checks: assigned vehicles with no walkaround check on a working day.
* A morning email for managers, and an instant email when a driver reports a defect or an incident.
* Audit reports (printable or CSV) and insurer-ready incident reports.
* Make, model, MOT date and mileage filled in after a CSV import.

It needs the Umbofleet plugin and an Umbofleet Plus licence (£199 a year, unlimited vehicles and drivers) from umbofleet.com.

== External services ==

Plus connects to the Umbofleet service at api.umbofleet.com, once a licence key has been entered.

* To activate and check the licence, it sends the licence key and this site's address.
* To look up a vehicle, it sends the registration. The service gets the MOT history from the DVSA.

No driver details or inspection records are sent. Terms: https://umbofleet.com/terms.html. Privacy: https://umbofleet.com/privacy.html.

== Installation ==

1. Install and activate Umbofleet first.
2. In WordPress, go to Plugins, then Add New, then Upload Plugin, and choose umbofleet-plus.zip.
3. Activate the Umbofleet Plus add-on, then add your licence key under Umbofleet > Setup (or in the app, under Company settings).

== Changelog ==

= 1.1.0 =
* Cloud storage: keep photos and documents in your own S3-compatible bucket (Cloudflare R2, Backblaze B2, Amazon S3, Wasabi, Hetzner or any other S3-compatible service) instead of on your website. Set it up under Umbofleet > Setup > Photos and documents. Saving tests the connection before switching on, and existing files move across in the background. Switch back to This website at any time and they come home the same way.
* The bucket stays private: files go straight from your site to your bucket, nothing passes through umbofleet.com, and the app reads them through your site for signed-in users only. The secret access key is stored encrypted.
* The insurer incident report reads photos wherever they're kept.
* Needs Umbofleet 0.25.0 or later.

= 1.0.5 =
* A check done with no signal and sent later counts for the day it was done, so it isn't reported as missed. The defect email says when a check was done with no signal (needs Umbofleet 0.24.5).

= 1.0.4 =
* Road tax dates and tax status are now looked up from DVLA records, alongside MOT records from the DVSA. They fill in when you add or import a vehicle and are kept up to date every week.
* New warnings: marked as scrapped, a new logbook (V5C) issued, and a clean air zone prompt for older Euro standards.
* Each vehicle shows its DVLA details (Euro status, real driving emissions, wheel plan, revenue weight, logbook date).
* A lookup sets the vehicle type from the wheel plan and revenue weight when the DVLA has no type approval.
* Lookups fill in the new vehicle details from the free plugin (Euro status, revenue weight, wheel plan, engine size, CO2, logbook date) when they're empty. The logbook date is kept up to date.
* The defect email and the audit report include what the driver wrote about each failed item, and how many photos they took (needs Umbofleet 0.24.4).

= 1.0.3 =
* Wording: Plus fills in vehicle details and MOT dates from DVSA MOT records. Road tax dates are entered by hand.

= 1.0.2 =
* The morning summary no longer waits for someone to visit the site. Umbofleet wakes Plus sites from 6am, and the first person to open the app is a backup. It still goes out once a day.
* Quiet sites keep their licence check up to date the same way.

= 1.0.1 =
* Slow-puncture warnings now live in Plus. Code reformatted for readability.

= 1.0.0 =
* First release. Everything that was "Umbofleet Pro" inside the Umbofleet plugin, as its own add-on.
