Daniel O'Connor
54acc369ab
Rubocop
2025-09-20 09:43:22 +00:00
google-labs-jules[bot]
0f4803392d
Add seed source to Seed model ( #4186 )
...
* Add seed source to Seed model
* Update _form.html.haml
* Add to schema
* Default option
* Default option
* Fix test
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com >
2025-09-01 21:47:31 +09:30
google-labs-jules[bot]
4d3c4ca10d
Merge pull request #4154 from Growstuff/finish-expired-seeds-task
...
Add maintenance task to finish expired seeds
2025-08-28 00:16:16 +09: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
b24b9f82e6
Rubocop - auto corrections
2022-11-06 16:34:36 +10:30
Brenda
5573fbfbb6
foreign key declarations not needed anymore
2020-08-26 12:36:58 +12:00
codefactor-io
4ff95fbac9
[CodeFactor] Apply fixes
2020-01-21 22:26:08 +13:00
Brenda Wallace
c6988e2189
Re-instate the plantings quick actions
2020-01-05 21:31:51 +13:00
Brenda Wallace
e84ab6d2a2
seeds using object instead of hash
2019-12-25 16:37:19 +13:00
Brenda Wallace
39d208dec1
Rename the search concens
2019-12-25 14:26:50 +13:00
Brenda Wallace
ce18dc0610
Display seeds from elastic search
2019-12-21 17:55:14 +13:00
codefactor-io
e8760f9c38
[CodeFactor] Apply fixes
2019-12-20 03:33:23 +00:00
Brenda Wallace
8789fee365
Seeds into elastic search
2019-12-20 16:20: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
b0c8b11246
📝 Inline editing and display tidy ups ( #2200 )
...
* Inline editing and display tidy ups
2019-10-08 11:06:53 +13:00
Brenda Wallace
67ce5265b4
Migrate from paranoia to discard
...
closes #1995
2019-07-21 16:59:06 +12:00
Brenda Wallace
e5e54d651b
Remove duplicate and unused photo methods
2019-07-15 11:58:46 +00:00
Brenda Wallace
06650a790d
active scopes on plantings and seeds
2019-06-07 20:36:02 +12:00
Brenda Wallace
4918d0c950
Tidy up homepage
2019-04-25 23:28:41 +12:00
Brenda Wallace
ccb69c5f7d
Style/lint tidy up models
2019-04-08 21:59:26 +12:00
Brenda Wallace
55f6636da5
change "required" to "optional"
2019-03-26 22:06:41 +13:00
Brenda Wallace
7b01fcbd4b
Align all the hashes
2018-12-30 15:22:29 +13:00
Brenda Wallace
fc0a941fb6
Adding more inverse relationships
2018-10-16 11:32:03 +13:00
Brenda Wallace
bcb466dbf1
Merge remote-tracking branch 'upstream/dev' into upgrade/rails-5
...
Conflicts:
Gemfile.lock
spec/controllers/photos_controller_spec.rb
2018-10-16 09:46:14 +13:00
Brenda Wallace
1e7e275684
Adding inverse relationships (except for photos)
2018-10-08 13:43:09 +13:00
Brenda Wallace
f8a404a88b
Merge remote-tracking branch 'upstream/dev' into upgrade/rails-5
...
Conflicts:
Gemfile
Gemfile.lock
app/models/crop.rb
app/models/forum.rb
app/models/photo.rb
app/models/planting.rb
app/models/seed.rb
db/schema.rb
spec/models/garden_spec.rb
spec/models/planting_spec.rb
2018-04-28 21:25:06 +12:00
Brenda Wallace
c967f7432e
Seed's parent planting is optional
2018-04-02 16:04:52 +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
e3bb43477b
Adding counter caches and ownable concern
2018-04-02 10:13:19 +12:00
Brenda Wallace
f9d4e1d6ae
Ancestry of food. Seeds -> Planting -> Seeds -> Planting ( #1550 )
...
* Add seed ancestry, and seeds.finished_at
* Plantings and seeds produce each other
* Permissions for seeds actions
* View update, for seed actions, and planting ancestry
* Routes for seeds
* Scopes for harvests
* Spec updates for seeds
* Removed in-line style
* Add seed ancestry, and seeds.finished_at
* Plantings and seeds produce each other
* Permissions for seeds actions
* View update, for seed actions, and planting ancestry
* Routes for seeds
* Scopes for harvests
* Spec updates for seeds
* Moved finishable to a concern
* Seeds.finished_at
* rubocop fixes
* Made seeds sown migration the most recent
* Specs for home page
* Only show current seeds on home page
* Seeds appear for logged in or not
* Buttons to mark seeds finished
* JS for marking seeds finished
* Some actions only appear if seed or planting is active
* Fixed up display of home page
* Fixed typo in admin members#index
* Tidying up actions on all the things
* Harvest description in #index
* Truncate garden description if long
* Updated link label in view spec
* Show planted_from always, becuase it might be a parent seed
* find correct link in spec adding photos to garden
* fixed spec finding link to edit garden
* Better harvest description truncation
* Helping spec find the edit button
* specs for the home page
* Re-instate crops js, but in the correct file now
* Fixed link to garden in actions
* Tweaking mobile view
2018-03-12 08:39:32 +13: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
7f87ee1018
Fixed default_photo for seeds - uses own photos, not the crop
2018-01-29 09:55:06 +13:00
Brenda Wallace
b6c9b13d4d
Models inherit from application record
2018-01-03 17:16:14 +13:00
Brenda Wallace
a6a7f789a3
Rubocop upgrade (and some style fixes)
2017-12-01 21:07:39 +13:00
Brenda Wallace
00e6aeed5c
seed.tradable was back to front logic. fixed
2017-11-29 20:59:37 +13:00
Brenda Wallace
7719d1f896
Remote default ordering scopes, and clean up models
2017-11-29 20:59:37 +13:00
Brenda Wallace
c48e24845e
Remove owner_exists scope
2017-06-02 20:28:32 +12:00
Brenda Wallace
0b684eb05e
Checks owner exists, in default_scopes of many models
2017-05-26 23:00:06 +12:00
Brenda Wallace
6e7bf11ec8
Seeds delegate name and default_photo to their crop
2017-05-20 17:00:49 +12:00
Brenda Wallace
5f9b0890fb
Move seed.interesting to a scope
2017-05-20 16:58:49 +12:00
Brenda Wallace
d771bc3688
More railsy syntax in default scopes
2017-05-20 15:46:37 +12:00
Brenda Wallace
ac165ce0cd
Adding counter caches
2017-04-14 11:32:31 +12:00
Shiny
ab332976da
Merge branch 'dev' into bw/rubocop
2017-01-15 17:36:17 +13:00
Brenda Wallace
eb70f6dc57
Rubocop compliance for the seed model
2017-01-14 20:48:19 +13:00
Brenda Wallace
5319d23ee3
Using translations on links from photo page
2017-01-07 12:03:31 +13:00
Brenda Wallace
92195d51d2
Removed redundant returns
2016-12-04 21:21:35 +00:00
Mackenzie Morgan
637b46ef10
add photos to seeds
...
Fixes #495
2016-12-01 12:54:55 -05:00
Brenda Wallace
723ebff923
Spacing fixes
2016-11-26 12:13:17 +13:00