Daniel O'Connor
bf8504009c
Bump to Ruby 3 ( #2978 )
...
* Ruby 2.7.5
* Bump to Ruby 3
* Ruby 2.7.5
* Swap to a ruby3 friendly branch
* Ruby
* Bump
* Remove third argument for text columns
* Rubocop
* Splat args
* Rubocop complaints
* Lint
2022-04-19 22:36:12 +09:30
codefactor-io
4ff95fbac9
[CodeFactor] Apply fixes
2020-01-21 22:26:08 +13:00
codefactor-io
6c9a15f95e
[CodeFactor] Apply fixes
2020-01-11 21:29:37 +00:00
codefactor-io
7e30b6b6e0
[CodeFactor] Apply fixes
2020-01-03 11:28:51 +00:00
Brenda Wallace
8a1b8be0ef
Load crops from search, without hitting the database
2020-01-01 13:47:25 +13:00
Brenda Wallace
d46883f39b
don't query for photos that we never read
2020-01-01 12:32:23 +13:00
codefactor-io
e8760f9c38
[CodeFactor] Apply fixes
2019-12-20 03:33:23 +00:00
Brenda Wallace
04fd1a343a
Rubocop update ( #2334 )
...
* Update rubocop config
* Rubocop update - for rubocop 0.77
* [CodeFactor] Apply fixes
* rubocop fixes
* [CodeFactor] Apply fixes to commit 2826c2e
2019-12-16 22:35:33 +13:00
Brenda
2ec23d6a08
Remove unnecesary mapping
2019-12-15 15:56:41 +13:00
Brenda Wallace
7c38f7eca6
Pull homepage data directly from elasticsearch ( #2316 )
...
* Pull homepage data directly from elasticsearch
* Removing non-elasticsearch options
* [CodeFactor] Apply fixes to commit c46b2e7
2019-12-09 10:03:48 +13:00
Brenda Wallace
7b5698f977
👩🌾 Import openfarm data ( #2177 )
...
* Pull in openfarm icons, photos, info
* Truncating member location
* tidying up harvest display, and reducing duplication in css styles
* Tiny crop chip
* only show crop charts if there is data to show
* Make the styles more Growstuff
* Fixed links to openfarm
* Updating specs to cope with new photo sources
fix broken garden timeline on some pages
* Update homepage blurb
* Import crop companions
* More fluid page
* use thumbnail unless the source is flickr
* Messing with homepage
* Added crop growing_degree_days
* expect full size url on photos helper spec
* formatted dates from seeds#show
* tidy up places#show
* Move progress bar
* Quicker buttons for approve/reject crops
* Remove kaminari gem
* use crop cards on hierarchy page
* more crops on crops#index
* Wrap photo creation in transaction
* Wrap crop companions in a transaction
2019-09-28 17:23:25 +12:00
Brenda Wallace
b1edf8542e
Removed slug from query
2019-07-08 09:40:21 +12:00
Brenda Wallace
7a4312f41e
Dry up timeline code
2019-07-08 09:19:26 +12:00
Brenda Wallace
03dfcdcc57
rubocop lint fix ups
2019-07-08 09:04:58 +12:00
Brenda Wallace
050dfda77e
Timeline
2019-07-07 22:03:15 +12:00
Brenda Wallace
e322c863b2
Removed unused arg to dbsearch
2019-04-13 10:20:33 +12:00
Brenda Wallace
174f54cb75
Linting
2019-04-13 10:13:36 +12:00
Brenda Wallace
347d751935
More plurals and misspellings in search specs
2019-04-13 10:03:18 +12:00
Brenda Wallace
fa1913c8b6
Split a method to reduce the complexity
2019-04-13 09:50:36 +12:00
Brenda Wallace
01a3654d41
Working without elastic search too
2019-04-08 21:39:20 +12:00
Brenda Wallace
77d1fc7347
Move crop searching specs from the crop model to the crop search service
2019-04-08 21:39:20 +12:00
Brenda Wallace
370747390a
Add default pagination to crop search service
2019-04-08 21:39:20 +12:00
Brenda Wallace
61e0c2eb1d
Swap elasticssearch for searchkick
2019-04-08 21:39:20 +12:00
Brenda Wallace
7b01fcbd4b
Align all the hashes
2018-12-30 15:22:29 +13:00
Brenda Wallace
857c9e9d7a
whitespace fixups
2018-09-09 12:44:52 +12:00
Brenda Wallace
913ac45127
Changed query syntax for elasticsearch
2018-09-09 12:40:40 +12:00
Brenda Wallace
65b4c7dbc1
Revert "Auto corrected by following Style/StringLiterals"
...
This reverts commit ab56a3c6b3 .
2018-02-09 07:58:47 +13:00
Awesome Code
ab56a3c6b3
Auto corrected by following Style/StringLiterals
2018-02-07 10:20:26 +13:00
Brenda Wallace
302bdba150
fixes search
2017-11-01 13:57:49 +13:00
Brenda Wallace
202f557e32
Delete the old predictions code
2017-11-01 13:57:49 +13:00
Brenda Wallace
41dbf6fb1b
Moved crop search out of crop model file
2017-11-01 13:57:49 +13:00
Brenda Wallace
7d6c49d8c3
Set harvest preductions on plantings
2017-11-01 13:57:49 +13:00
Brenda Wallace
e21b95a353
Use floats, so the percentage calc works
2017-09-13 22:21:15 +12:00
Brenda Wallace
4bbeca9f3e
only look up other plantings finishing, if we have a crop
2017-05-29 22:45:14 +12:00
Brenda Wallace
54748ac20d
Removed current_date variable from planting_predictions
2017-05-29 22:45:14 +12:00
Brenda Wallace
5d97a7edac
Move setting of days_before_maturity back to plant model
2017-05-29 22:45:14 +12:00
Brenda Wallace
ff1c835cda
Moving the planting predictions to own service
2017-05-29 22:45:14 +12:00