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 |
|
Brenda Wallace
|
4ce3e8968f
|
crops#show order posts by most recent first
|
2017-12-07 14:58:57 +13:00 |
|
Brenda Wallace
|
a6a7f789a3
|
Rubocop upgrade (and some style fixes)
|
2017-12-01 21:07:39 +13:00 |
|
Brenda Wallace
|
0446c0a405
|
Add ordering back into controller #index
|
2017-11-29 20:59:37 +13:00 |
|
Brenda Wallace
|
267f27b3f8
|
rubocop fix up
|
2017-11-01 14:48:42 +13:00 |
|
Brenda Wallace
|
d1951b8b65
|
Edit and show perennial plants
|
2017-11-01 14:22:39 +13:00 |
|
Brenda Wallace
|
963aafd5ab
|
Added missing respond_with to crops controller
This tells rails what to use in json responses
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
7ad13d3eff
|
Don't restrict crop search to approved
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
15d93e6c33
|
Move includes(:photos) before pagination
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
484e20ba83
|
Don't attempt to create blank altnames or scinames
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
e7d7ee396e
|
Further DRY of saving crops
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
de5b56235e
|
Small style change to reduce size of crops#show
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
318ef46ae8
|
crops pending approval, fetched in one method (DRY)
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
6fef56ebb7
|
DRY the crops controller
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
e9003ad32a
|
Small dry of crops controller
|
2017-05-29 16:17:43 +12:00 |
|
Brenda Wallace
|
4fedc7f23f
|
Member can see crops they have requested
|
2017-01-23 09:49:47 +13:00 |
|
Brenda Wallace
|
370938c9f9
|
change deliver_later to deliver_now, so we don't sys.exit() crash
|
2017-01-22 21:22:30 +13:00 |
|
Brenda Wallace
|
40a981c94d
|
Removed unnecesary braces on hash args
|
2017-01-22 15:10:11 +13:00 |
|
Brenda Wallace
|
0fa9f54c9c
|
Rename member.has_role? to role?
|
2017-01-14 20:54:43 +13:00 |
|
Brenda Wallace
|
4f465d808c
|
We don't need to load the resource again
|
2016-12-07 23:54:03 +00:00 |
|