Files
growstuff/config
Daniel O'Connor 1467ec9364 Add Wikidata climate attributes and integration to gardens (#4627)
* Add Wikidata integration for garden climate data

- Add location_wikidata_id, lowest_temp_c, and highest_temp_c to gardens.
- Implement WikidataService for fetching IDs and temperature properties.
- Map P6591 to highest_temp_c and P7422 to lowest_temp_c with unit conversion.
- Automatically populate Wikidata info on garden location change.
- Add manual "Fetch Wikidata info" button and opt-in prompt to garden show page.
- Update gardens_controller to permit new attributes and handle manual fetch.
- Update db/schema.rb manually to include new columns and migration version.

Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>

* Fix migration

* Improve display

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-05-12 18:07:35 +09:30
..
2019-12-20 03:33:23 +00:00
2019-01-01 10:31:53 +13:00
2023-04-13 16:50:23 +01:00
2023-04-13 16:50:23 +01:00
2019-12-20 03:33:23 +00:00
2024-07-13 06:28:30 +00:00
2019-01-23 13:57:32 +13:00
2022-11-06 16:34:36 +10:30
2019-12-20 03:33:23 +00:00
2019-01-01 10:31:53 +13:00
2019-12-20 03:33:23 +00:00