Files
growstuff/app/models
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
..
2022-11-06 17:36:30 +10:30
2026-04-26 14:22:32 +09:30
2026-04-26 13:09:00 +00:00
2022-11-06 17:36:11 +10:30
2026-04-26 13:09:00 +00:00
2025-09-20 09:43:22 +00:00
2025-09-20 09:43:22 +00:00
2026-04-26 13:09:00 +00:00
2025-08-24 21:10:16 +09:30
2025-09-20 10:18:24 +00:00
2025-09-20 09:43:22 +00:00
2026-04-26 09:26:52 +00:00
2025-09-20 09:43:22 +00:00
2022-11-06 17:36:49 +10:30