Daniel O'Connor
d0ca944899
Relax the criteria as photos are uploaded less often
2025-12-13 01:15:02 +00:00
google-labs-jules[bot]
8f6738eefa
feat: Migrate crop description to a dedicated column
...
This change migrates the crop description from the `openfarm_data` JSONB field to a new, dedicated `description` text column in the `crops` table.
A data migration is included to move the existing description data to the new column. The `OpenFarmData` concern is updated to remove the now-redundant `description` method.
2025-11-29 04:07:25 +00:00
Daniel O'Connor
bd4dd3cc45
Rubocop
2025-09-20 10:18:24 +00:00
google-labs-jules[bot]
bc11a1b8db
Merge pull request #4209 from Growstuff/extend-crop-model
...
Extend Crop Model and Migrate Data from OpenFarm
2025-09-07 20:03:18 +09:30
Daniel O'Connor
9b1699b061
Merge pull request #4215 from Growstuff/activities-detail
...
Surface more Activities detail
2025-09-07 14:39:13 +09:30
Daniel O'Connor
0289786891
Seeds for trade - avoid showing expired seeds on homepage. ( #4176 )
...
* Improve date visibility
* Ensure when seeding seeds, it's false
* Typo
2025-08-31 14:39:42 +09:30
Daniel O'Connor
7c081541eb
Deal with age_in_days.nil?
2025-08-29 23:46:27 +09:30
Daniel O'Connor
8044640023
Merge branch 'dev' into remove-openfarm.cc
2025-08-29 19:56:09 +09:30
Daniel O'Connor
1657a527e9
Remove Openfarm data fetching
2025-08-27 14:20:22 +00:00
Daniel O'Connor
9ae90c1b7e
Merge branch 'dev' into remove-openfarm.cc
2025-08-27 23:43:29 +09:30
google-labs-jules[bot]
ba6ec689c5
Merge pull request #4150 from Growstuff/feature/failed-plantings
...
Add failed status to plantings
2025-08-27 23:42:53 +09:30
Daniel O'Connor
fadf5154e4
Remove openfarm links (defunct)
2025-08-27 14:11:01 +00:00
Daniel O'Connor
948bb78656
Fix percentage grown
2025-08-27 13:44:44 +00:00
Daniel O'Connor
9c8ae50188
Fix https://github.com/Growstuff/growstuff/issues/3844 by avoiding future finished dates being considered past dates
2025-08-27 13:36:12 +00:00
Daniel O'Connor
2484bd39ed
Render where a planting is in card view ( #3882 )
...
* Render where a planting is in card view
* Update app/assets/stylesheets/_plantings.scss
2024-10-13 14:25:46 +10:30
Daniel O'Connor
81060cccf7
Ruby 3.2: Rubocop - Lint/* and Style/* ( #3786 )
...
* Rubocop - Layout/*
* Rubocop - Lint and Style
2024-07-13 15:38:37 +09:30
Daniel O'Connor
4f5c47ba58
Ruby 3.2: Rubocop - Layout/* ( #3785 )
...
* Rubocop - Layout/*
* Regenerate
2024-07-13 15:19:09 +09:30
Daniel O'Connor
067fb1671b
Update predict_planting.rb
2024-07-02 23:07:48 +09:30
Daniel O'Connor
5be0153c74
Activities ( #3646 )
...
* Implement activities
* Add activities to timeline
* Add factory
* Add coverage
* Fix misc issues
* Activities display
* Add activities to garden and plantings
* Add activities to garden and plantings
* Add planting
* Add to planting, harvest show
* More CRUD
* More CRUD
* index
* index
* Extract card view
* Permissions
* Add edit
* Remove workaround fro vs code
* Fix title
* CSV
* CSV
* Add RSS, ical
* Extend ical slightly
* Cleanup
* Rubocop
* Remove doubled form
* Change icon
* Fix short description
* Add menus
* Put homepage widget in
* Add activity icon - MIT licenced - https://www.svgrepo.com/svg/336823/plan
* Naming
* Missing files
* Revert VS Code lag induced change
* Update app/views/home/_harvests.html.haml
* Update activities_controller.rb
* Update activities_controller.rb
* Update app/controllers/activities_controller.rb
* Update index.html.haml
* Apply suggestions from code review
* Apply suggestions from code review
* Typo
* Translation
* Apply suggestions from code review
* Update app/views/plantings/index.ics.erb
* Update app/models/activity.rb
* Update plantings_spec.rb
* Update plantings_spec.rb
* We are now rendering an extra event, so check the next one for the old behaviour
2024-03-10 11:36:24 +10:30
Daniel O'Connor
cb670191d6
Merge pull request #3645 from Growstuff/planning
...
Planning future plantings - Minor UX changes
2024-03-01 06:27:32 +10:30
Daniel O'Connor
8593d2dfd9
Add rake task for clean up of old content ( #3644 )
2024-02-18 18:43:14 +10:30
Daniel O'Connor
c0bcafdf51
Deal with future plantings
2024-02-18 03:33:34 +00:00
Daniel O'Connor
50ba0f08b1
Fix Plantings > CSV output ( #3616 )
...
* Fix crash
* Add test coverage and index more
* Fix test
2024-02-04 15:09:30 +10:30
Daniel O'Connor
1f0cfa9b6c
Add GBIF to our scientific names, so that our crops can associate creative commons photos ( #3559 )
...
* Add GBIF cient
* Add lookup
* Add autocomplete for GBIF lookup
* Add extra detail to scientific names
* Autocomplete
* Add routes
* Rmeove mapping
* Add autocomplete
* Update GBIF data on save
* db/schema
* Style
* Extract service
* Add concern
* Add concern
* Save photos
* Initial coverage
* Coverage
* Add coverage
* Shut up, codeclimate
* Shut up, codeclimate
* Unused
* Shut up, codeclimate
* Apply suggestions from code review
* Remove localhost
* Fix rubocop
* Fix rubocop
* Add UI links
* Add rake
* Indent
* Update Gemfile.lock
* Update lib/tasks/gbif.rake
* Update app/views/crops/_scientific_names.html.haml
* Rubocop
* Expand edit photo form
* Fix error
* Add model validations
* Skip photos without backlinks
* Fix tests
* Add photo words
* Allow blank
* Rubocop and handle invalid legacy data
* Apply suggestions from code review
* Update lib/tasks/gbif.rake
2024-01-21 13:22:25 +10:30
Daniel O'Connor
b24b9f82e6
Rubocop - auto corrections
2022-11-06 16:34:36 +10:30
Daniel O'Connor
ab460f4f39
DEPRECATION WARNING: Date#to_s(:ymd) is deprecated. Please use Date#to_fs(:ymd) instead.
2022-11-06 16:31:13 +10:30
codefactor-io
84d02b169a
[CodeFactor] Apply fixes
2021-01-05 19:46:07 +13:00
Brenda Wallace
60c74ddff3
Reconnecting stale flickr auth tokens
2021-01-05 19:46:07 +13:00
Brenda
5573fbfbb6
foreign key declarations not needed anymore
2020-08-26 12:36:58 +12:00
Brenda Wallace
0ae2aeb4a7
Apply suggestions from code review
...
Use delegated attributes
2020-03-02 15:51:29 +13:00
Brenda Wallace
9fa3f36436
BUGFUX: member slug needed on photos, to make link
2020-03-02 15:01:34 +13:00
Brenda Wallace
f4acbaa89a
Use pokemon for plant parts
2020-02-29 19:53:39 +13:00
Martina Simicic
b0a5223d97
Account for finished planting when counting days of life
2020-02-04 10:50:00 +13:00
Brenda Wallace
7bf5ab2df3
One per person on home page
2020-02-03 11:54:26 +13:00
Brenda Wallace
f1b5eb1fdd
Turn off Replicas ( #2388 )
...
* Control number of ES replicas
* So, let's have zero replicas on ES
2020-01-20 13:29:19 +13:00
Brenda Wallace
6279e169de
approved crops only, and only 1 shard ( #2385 )
...
reducing our elastic search usage
2020-01-18 18:11:24 +13:00
Brenda Wallace
9596d1bac7
style fix ups
2020-01-12 10:18:32 +13:00
Brenda Wallace
32c8698a44
style fix ups
2020-01-12 10:17:07 +13:00
Brenda Wallace
709ca5a04f
Fix seeds ES query
2020-01-11 23:10:33 +13:00
Brenda Wallace
96f0866f39
rubocop fix up
2020-01-06 21:49:00 +13:00
Brenda Wallace
feab98e962
removing dead code
2020-01-05 21:41:16 +13:00
Brenda Wallace
c6988e2189
Re-instate the plantings quick actions
2020-01-05 21:31:51 +13:00
Brenda Wallace
b7e53daeba
fixes to crop photos
2020-01-05 16:57:14 +13:00
codefactor-io
7e30b6b6e0
[CodeFactor] Apply fixes
2020-01-03 11:28:51 +00:00
Brenda Wallace
36875b620c
harvest search, fixed error when some data not set on model
2020-01-01 08:41:00 +13:00
Brenda Wallace
80038c7f42
set which parts of crop are searchable
2020-01-01 08:40:43 +13:00
Brenda Wallace
63ea6752fa
likes reading from hash from elastic
2020-01-01 08:40:04 +13:00
Brenda Wallace
676345815c
tests for photos searching
2019-12-31 21:02:38 +13:00
Brenda Wallace
38c7bdd7c2
likes count and sorted es search data config
2019-12-30 09:51:10 +13:00
Brenda Wallace
a89534da53
harvest tidy up
2019-12-28 10:06:10 +13:00