Brenda Wallace
30d1fd67ab
Rename Notifer to NotifierMailer
2020-08-02 13:46:01 +12: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
d46883f39b
don't query for photos that we never read
2020-01-01 12:32:23 +13:00
Brenda Wallace
4940b79043
more tidy, crops controller
2019-12-28 10:08:50 +13:00
codefactor-io
f8916dfecb
[CodeFactor] Apply fixes
2019-12-20 04:16:33 +00:00
Brenda Wallace
9d68ab0228
Rubocop fix of controller
2019-12-20 17:13:54 +13:00
Brenda Wallace
38e36c4a2c
Merge remote-tracking branch 'upstream/dev' into cache/harvests
...
Conflicts:
.rubocop_todo.yml
app/controllers/likes_controller.rb
app/models/concerns/crop_search.rb
app/services/crop_search_service.rb
2019-12-19 10:28:17 +13: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
codefactor-io
18f016766a
[CodeFactor] Apply fixes to commit 282791d
2019-12-09 09:20:19 +00:00
Brenda Wallace
282791d91b
Pull crops and harvests from elasticsearch
2019-12-09 22:19:20 +13:00
Brenda
607eae2a43
Small improvements to crops controller to reduce query count
2019-12-04 21:02:33 +13:00
codefactor-io
a23963ba96
[CodeFactor] Apply fixes
2019-11-23 19:58:22 +00:00
Brenda Wallace
c0fabc7002
Reducing unnecesary and extra queries
2019-11-24 08:57:34 +13:00
Brenda Wallace
a437338961
Fix markers on crops#show map
2019-11-16 11:35:45 +13:00
Brenda Wallace
c6f4eef291
Show more results in searches
2019-10-21 16:24:31 +13:00
Brenda Wallace
b0c8b11246
📝 Inline editing and display tidy ups ( #2200 )
...
* Inline editing and display tidy ups
2019-10-08 11:06:53 +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
b2d8818ae1
don't notify wranglers if there are none
2019-08-17 14:43:32 +12:00
Brenda Wallace
8faa712e07
be_success -> be_successfull
...
fixes a deprecation warning
2019-06-27 22:26:15 +12:00
Brenda Wallace
74e6a7cf2f
Rename @matches to @crops
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
789cffeca1
Eager loading
2019-04-08 21:39:20 +12:00
Brenda Wallace
150d44ad6f
named arguments for search
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
0c868d3edb
Merge branch 'dev' into photos/seeds
2019-02-16 12:37:53 +13:00
Brenda Wallace
d3a542727c
Fixing crop deleting and adding tests
2019-02-15 08:45:18 +13:00
Brenda Wallace
6167af700d
Rubocop lint tidy
2019-02-05 12:37:09 +13:00
Brenda Wallace
9c4e649c5d
Split up photos on crops#show by model type
2019-02-05 12:31:59 +13:00
Brenda Wallace
f1ad9cc3c7
Rubocop fix up
2019-02-04 20:55:04 +13:00
Brenda Wallace
ab880514c2
Further tidy of photo display
2019-02-04 20:43:52 +13:00
Brenda Wallace
d1a3f41462
Throw if can't find the @crop
2019-01-18 20:04:19 +13:00
Brenda Wallace
3212f748b4
Update crops_controller.rb
2019-01-18 20:03:22 +13:00
Brenda Wallace
e8d2226ac6
Look up crop by slug
2019-01-06 08:45:42 +13:00
Brenda Wallace
1e266a92f6
Members slug used in rotes
2019-01-06 08:45:42 +13:00
Brenda Wallace
7b01fcbd4b
Align all the hashes
2018-12-30 15:22:29 +13:00
Brenda Wallace
3ad048b7e8
Fixed linter issue, empty line after guard clause
2018-09-13 23:10:43 +12:00
Brenda Wallace
84e47b721b
removed duplicate crop chart methods
2018-04-02 11:36:16 +12:00
Brenda Wallace
fa32537c3b
Merge remote-tracking branch 'upstream/dev' into upgrade/rails-5
...
Conflicts:
.rubocop_todo.yml
Gemfile.lock
app/assets/javascripts/application.js
app/assets/javascripts/members.js.erb
app/assets/stylesheets/predictions.sass
app/controllers/crops_controller.rb
app/controllers/orders_controller.rb
app/controllers/plantings_controller.rb
app/models/account.rb
app/models/account_type.rb
app/models/member.rb
app/models/order.rb
app/models/order_item.rb
app/models/product.rb
app/views/gardens/show.html.haml
app/views/layouts/application.html.haml
config/initializers/assets.rb
config/routes.rb
db/schema.rb
package-lock.json
spec/controllers/account_types_controller_spec.rb
spec/controllers/admin/orders_controller_spec.rb
spec/controllers/comments_controller_spec.rb
spec/controllers/gardens_controller_spec.rb
spec/controllers/harvests_controller_spec.rb
spec/controllers/member_controller_spec.rb
spec/controllers/order_items_controller_spec.rb
spec/controllers/orders_controller_spec.rb
spec/controllers/photo_associations_controller_spec.rb
spec/controllers/photos_controller_spec.rb
spec/controllers/plantings_controller_spec.rb
spec/controllers/seeds_controller_spec.rb
spec/controllers/shop_controller_spec.rb
spec/features/crops/crop_detail_page_spec.rb
spec/models/member_spec.rb
spec/models/post_spec.rb
spec/views/crops/_planting_advice.html.haml_spec.rb
spec/views/home/_crops.html.haml_spec.rb
spec/views/orders/show.html.haml_spec.rb
spec/views/posts/show.html.haml_spec.rb
spec/views/shop/index_spec.rb
2018-04-02 10:59:13 +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
cf93489af7
Fixed crops chart permissions by moving to another controller
2018-01-23 09:00:34 +13:00
Brenda Wallace
196d37dee9
Re-instated the extra fields on crop.json
2018-01-23 09:00:34 +13:00
Brenda Wallace
5ea7ae8af0
Added Harvested for chart
2018-01-23 09:00:34 +13:00
Brenda Wallace
eb1b890eec
Add planted_from chart
2018-01-23 09:00:34 +13:00
Brenda Wallace
1bf05f81ab
Convert to use chartkick gem
...
Conflicts:
Gemfile
Gemfile.lock
config/initializers/assets.rb
2018-01-23 09:00:34 +13:00
Brenda Wallace
390282f9f2
Added Harvested for chart
2018-01-11 09:03:13 +13:00
Brenda Wallace
ad6601b356
Add planted_from chart
2018-01-11 08:29:20 +13:00
Brenda Wallace
34280123e5
Convert to use chartkick gem
...
Conflicts:
Gemfile
Gemfile.lock
config/initializers/assets.rb
2018-01-08 11:28:59 +13:00
Shiny
96bb345ca9
Merge branch 'dev' into ordering
2017-12-08 20:20:27 +13:00