Brenda Wallace
1e897ac671
Use member.kpt in auth
2020-08-02 14:45:45 +12:00
Brenda Wallace
61363305b5
Prefer ary[n..] over ary[n..-1].
2020-08-02 13:57:20 +12:00
Brenda Wallace
4a8f76e21a
removed redundant escaping
2020-08-02 13:56:16 +12:00
Brenda
fc72f0072c
removed redundant assignment
2020-08-02 08:34:02 +12:00
Brenda Wallace
89400e7677
Send reminder on mondays
2020-03-03 11:37:30 +13:00
Brenda Wallace
f4acbaa89a
Use pokemon for plant parts
2020-02-29 19:53:39 +13:00
codefactor-io
4ff95fbac9
[CodeFactor] Apply fixes
2020-01-21 22:26:08 +13:00
Brenda
7257b2ada1
Update with frozen literals
2020-01-10 16:50:52 +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
Brenda Wallace
94452ee62e
polish up the plantings reminders
2019-10-20 14:12:34 +13:00
Brenda Wallace
4af89d2b2c
Change reminder email into monthly summary
2019-10-20 09:49:03 +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
72d5d2e81a
Match role names to names in the seeds
2019-07-16 18:18:03 +12:00
Brenda Wallace
408e8388f2
Use relative paths for markdown crop links
2019-07-11 15:12:16 +00:00
Brenda Wallace
d7e3d2e9db
Reindex in batches
2019-04-19 10:10:35 +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
007e61e76a
Freeze mutable objects assigned to constants.
2018-12-30 13:36:32 +13:00
Brenda Wallace
3ad048b7e8
Fixed linter issue, empty line after guard clause
2018-09-13 23:10:43 +12:00
Brenda Wallace
99a9c0817d
Lint fix
2018-09-13 22:51:22 +12:00
Brenda Wallace
550860178e
Merge remote-tracking branch 'upstream/dev' into upgrade/rails-5
2018-09-11 16:07:30 +12:00
Awesome Code
34470a8457
Auto corrected by following Ruby Layout/LeadingBlankLines
2018-09-10 22:20:20 +00:00
Brenda Wallace
4867c68984
Added stdout print when creating/refreshing elasticsearch index
2018-09-09 12:11:10 +12:00
Brenda Wallace
835e277f49
whitepace fix up
2018-09-09 11:58:43 +12:00
Brenda Wallace
7197843ac3
Reindex elasticsearch rake task
2018-09-09 11:56:37 +12:00
Brenda Wallace
ea1fb90279
Create the search index
2018-09-09 11:55:19 +12:00
Brenda Wallace
4be4e96a9f
Fixed or => ||
2018-06-04 16:30:38 +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
978523fd94
Merge branch 'dev' into awesomecode-style/andor-8234
2018-02-11 08:50:50 +13:00
Brenda Wallace
42de726405
Removing shop, products, accounts, orders
2018-02-09 10:53:05 +13:00
Brenda Wallace
65b4c7dbc1
Revert "Auto corrected by following Style/StringLiterals"
...
This reverts commit ab56a3c6b3 .
2018-02-09 07:58:47 +13:00
Brenda Wallace
33fb2408d6
Merge branch 'dev' into awesomecode-style/andor-8234
2018-02-07 14:25:41 +13:00
Awesome Code
ab56a3c6b3
Auto corrected by following Style/StringLiterals
2018-02-07 10:20:26 +13:00
Shiny
3d4598e4e1
style clean up
2018-01-29 12:56:41 +13:00
Awesome Code
94db28b3a9
Auto corrected by following Style/AndOr
2018-01-28 23:47:38 +00:00
Brenda Wallace
f4af682d45
Updated code for Rail 5
2018-01-03 17:12:17 +13:00
Brenda Wallace
182c626226
Prefer if/unless modifier
2017-12-06 14:23:12 +13:00
Brenda Wallace
878fc7ebcd
Use symbol procs
2017-12-06 14:17:34 +13:00
Brenda Wallace
25b1836146
Removed nil comparison
2017-12-06 14:13:01 +13:00
Brenda Wallace
c925c95398
Use next, instead of a if wrapper
2017-12-06 14:11:27 +13:00
Brenda Wallace
a6a7f789a3
Rubocop upgrade (and some style fixes)
2017-12-01 21:07:39 +13:00
Brenda Wallace
310f631f40
Ignore one Style/ClassAndModuleChildren
2017-10-18 20:45:27 +13:00
Brenda Wallace
d8f41b5ca0
Use ! to indicate the method changes class variables
2017-10-18 12:20:28 +13:00
Brenda Wallace
b5fbfaf515
Fixed duplicated code in growstuff member link markdown
2017-10-18 12:13:05 +13:00
Brenda Wallace
ce9a71cdad
Moved member look up to a method (less duplicate code)
2017-10-18 12:10:59 +13:00
Brenda Wallace
42a10bcd80
Fixed members link in growstuff markdown
2017-10-18 12:10:04 +13:00
Brenda Wallace
33656a4104
Fixed links to crops in growstuff markdown
2017-10-18 12:05:22 +13:00
Brenda Wallace
bd396dabfe
More simplification of growstuff markup
2017-10-17 22:29:02 +13:00
Brenda Wallace
1279dd63bc
Reduced complexity of growstuff_markdown
2017-10-17 22:20:17 +13:00
Brenda Wallace
0ecc65bbe0
rubocop fix for redundant self
2017-03-02 22:21:15 +13:00