Daniel O'Connor
ce946c3a83
Rubocop fixes
2025-09-20 09:45:56 +00:00
Daniel O'Connor
58780ec199
Swap harvest to html5 date field ( #3894 )
...
* Update gardens to have a non 0 area
* Spec no longer possible through frontend
* Fix spec
* Swap harvest to html5 date field
* Fix spec
2024-10-14 00:09:30 +10:30
Daniel O'Connor
a7a5b6ef17
Remove required text UI element
2024-10-13 11:56:56 +00:00
Daniel O'Connor
8b4f0771c5
Ruby 3.2: Rubocop - Fix Negation matcher ( #3780 )
...
* Ruby 3.2/Bundler 2.4
* Fix creation
* Upgrade to js-routes 2. Put all js routes into a global namespace.
* Remove js-routes
* Remove
* Adjust ownership
* Appease codeclimate for the nth time
* Fix deprecation warning by explicitly calling to_fs
* Fix deprecation warning by explicitly calling to_fs
* Fix deprecation warning by explicitly calling to_fs
* Swap to will paginate successor for bootstrap
* Update app/views/members/show.html.haml
* Update app/views/plantings/index.rss.haml
* Update .env
* Update .devcontainer/.env
* Fix spec
* Update spec
* Fix spec
* Pin to 2.4.22
* 3 space indent
* Regenerate
* Update rubocop
* Rubocop
* More rubocop
* Regenerate
* Fix Capybara/NegationMatcher
2024-07-13 15:20:11 +09:30
Daniel O'Connor
d1f754a288
Rubocop
2022-11-08 00:23:38 +10:30
Daniel O'Connor
2db3d1bacc
Various corrections
2022-11-08 00:21:23 +10:30
Awesome Code
593059d4aa
Auto corrected by following Lint Ruby Capybara/CurrentPathExpectation
2020-05-23 07:48:28 +12:00
Brenda
88ac147dda
Restore old labels on buttons
2020-03-01 07:56:34 +13:00
Brenda Wallace
d0154a8b60
Fall back on planting icon when plant part icon does not exist
2020-02-29 12:34:28 +13:00
Brenda Wallace
2e8625d6ff
Reindex harvests before harvest feature spec
2020-01-02 21:10:35 +13:00
Brenda Wallace
b8c94c13cc
refactor to use search:true instead of reindex
2019-12-24 22:15:01 +13:00
Brenda Wallace
f3ffd6c086
remove extra index runs, use search:true from spec helper
2019-12-24 22:11:14 +13:00
codefactor-io
78fed0e8de
[CodeFactor] Apply fixes
2019-12-22 02:47:35 +00:00
Brenda Wallace
4b9863a3e6
index harvests into ES during harvests#index spec
2019-12-22 15:46:29 +13:00
codefactor-io
e8760f9c38
[CodeFactor] Apply fixes
2019-12-20 03:33:23 +00:00
Brenda Wallace
78e111af80
fixing paths to member harvests (with more tests too)
2019-12-19 16:54:05 +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
c6fffebb28
Update specs for new index layout with api docs
2019-11-18 10:50:13 +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
34b399cd8e
Use more signed in contexts in browse crops spec
...
More member role contexts on alt name spec
More member role contexts in crop feature specs
Don't wrap the shared_context
2019-08-18 16:10:03 +12:00
Brenda Wallace
756cf1fe3a
Removing unused code in specs
2019-08-18 14:51:24 +12:00
Brenda Wallace
8936933251
Shared context for signing in (and then out) in feature specs
2019-08-17 14:10:56 +12:00
Brenda Wallace
52edaae43b
update harvest spec to find edit behind actions menu
2019-06-13 23:05:59 +12:00
Brenda Wallace
5957309dea
Update harvest spec
2019-06-09 10:16:34 +12:00
Brenda Wallace
3d11dac718
Fixing harvest specs
2019-06-08 18:21:15 +12:00
Brenda Wallace
85ba701045
Merge branch 'dev' into feature/searchkick
2019-04-17 12:35:09 +12:00
Awesome Code
8b0ecd568e
Auto corrected by following Lint Ruby RSpec/ImplicitSubject
2019-04-17 10:37:30 +12:00
Brenda Wallace
01a3654d41
Working without elastic search too
2019-04-08 21:39:20 +12:00
Brenda Wallace
bd797a4d8e
Change call to reindex crops in specs
2019-04-08 21:39:20 +12:00
Awesome Code
4ba5319ba8
Auto corrected by following Lint Ruby Capybara/FeatureMethods
2019-04-01 23:02:50 +13:00
Awesome Code
ad470ede1d
Auto corrected by following Lint Ruby RSpec/AlignRightLetBrace
2019-03-13 17:23:33 +13:00
Awesome Code
f90cc792bb
Auto corrected by following Lint Ruby RSpec/AlignLeftLetBrace
2019-03-13 11:42:27 +13:00
Awesome Code
490db7b342
Auto corrected by following Lint Ruby RSpec/HookArgument
2019-02-11 09:00:34 +13:00
Brenda Wallace
986bca44f7
Merge remote-tracking branch 'upstream/dev' into routes-tidy-up
...
Conflicts:
app/views/layouts/_header.html.haml
spec/features/gardens/actions_spec.rb
2019-01-24 13:48:36 +13:00
Brenda Wallace
81ee8ec56e
Add crop name to actions
2019-01-24 12:17:40 +13:00
Brenda Wallace
387200abf7
Moving garden data under members
2019-01-06 08:45:42 +13:00
Brenda Wallace
68953188f8
Update to new path names
2019-01-06 08:45:42 +13:00
Awesome Code
90f4db4853
Auto corrected by following Ruby rspec layout
2018-09-10 22:20:12 +00:00
brenda
2b8aac19dd
Revert "Auto corrected by following Ruby Capybara/FeatureMethods"
...
This reverts commit b52763b7c2 .
2018-09-07 10:40:09 +12:00
Awesome Code
b52763b7c2
Auto corrected by following Ruby Capybara/FeatureMethods
2018-09-05 12:06:58 +00:00
Brenda Wallace
6077d4da34
Fixed bug in garden spec
2018-04-21 15:01:33 +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
efe2f49e7f
More DRY Harvests controller
2017-05-29 16:17:43 +12:00
Miles Gould
9030e5b978
Merge branch 'dev' into test_runners
2017-02-16 13:31:39 +00:00
Brenda Wallace
6d0a7ebc8f
Only show plantings with overlapping date ranges on harvest options
2017-02-13 20:41:43 +13:00
Brenda Wallace
8d24ffbffb
spec for harvesting from a planting
2017-02-13 17:21:11 +13:00
Miles Gould
b8c0882642
Tag ElasticSearch-related tests
2017-02-07 14:27:14 +00:00
Brenda Wallace
464c570d99
Fixed parentheses that are interp-ed as grouped expression
2016-12-06 21:23:55 +13:00