This commit is contained in:
Javier Casares 2026-10-12 13:25:09 +00:00
commit e1f5a47c96
22 changed files with 3155 additions and 0 deletions

15
changelog.txt Normal file
View file

@ -0,0 +1,15 @@
== Changelog ==
= 1.0.0 =
Initial release.
* Shortcode `[fontdelbosc_combustible]` with `radius`, `max`, `fuel` and `sort` attributes, rendered as a card grid with a Google Maps link per station.
* Sidebar widget: three nearest stations for one configurable fuel type.
* MITECO / MINETUR ServiciosRestCarburantes client (primary + fallback host).
* Haversine distance filtering from Font del Bosc (41.4819, 1.6483).
* Hourly transient cache with stale-on-error fallback (25 h).
* Product catalog cached for 7 days; unknown fuels fall back to their API names.
* Admin page: search settings, fuel types, display options, cache flush, fetch status.
* Built-in documentation section on the settings page, including the live fuel catalog with product IDs.
* Translations: Spanish (es_ES) and Catalan (ca).