Daniel O'Connor
474f09e110
Merge pull request #4332 from Growstuff/crops-controller
...
Add coverage for crops
2025-11-29 15:32:08 +10:30
Daniel O'Connor
ce946c3a83
Rubocop fixes
2025-09-20 09:45:56 +00:00
google-labs-jules[bot]
bc11a1b8db
Merge pull request #4209 from Growstuff/extend-crop-model
...
Extend Crop Model and Migrate Data from OpenFarm
2025-09-07 20:03:18 +09:30
google-labs-jules[bot]
ba6ec689c5
Merge pull request #4150 from Growstuff/feature/failed-plantings
...
Add failed status to plantings
2025-08-27 23:42:53 +09:30
google-labs-jules[bot]
8564ec7a7c
Add comments to photos ( #4130 )
...
* Add comments to photos
Extend the photo show page to support comments by logged in users.
- Make the Comment model polymorphic.
- Update the Photo and Post models to have comments.
- Update the comments controller to handle the polymorphic association.
- Update the photo show page to display comments and a comment form.
- Create a reusable comments partial.
* Add migration
* Fix tests
* Fix tests
* Slightly fix tests
* Fix variables
* Add field
* Refactor slightly
* Refactor slightly
* Refactor slightly
* Refactor
* Photos respond to this as well
* Refactor to polymorphic_url
* Rename
* Wrong relationship
* Refactor and fix tests
* Fix relationships
* Fix rendering
* Fix tests
* Fix model tests
* Fix test
* Fix test
* Fix test
* Fix test
* Fix controller spec
* Fix view tests
---------
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-08-24 21:10:16 +09:30
google-labs-jules[bot]
0b639d5940
Remove twitter authentication
...
This change removes the twitter authentication feature from the application.
It removes the `omniauth-twitter` gem and all related code from controllers, views, and tests. It also removes the twitter icon and environment variable settings.
2025-08-24 07:03:20 +00:00
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
e69467f056
Ruby 3.2: Rubocop - RSpec/excessive docstring spacing ( #3782 )
...
* RSpec/ExcessiveDocstringSpacing
2024-07-13 15:12:56 +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
Daniel O'Connor
e2942f17c7
Rubocop corrections
2022-11-08 00:18:35 +10:30
Daniel O'Connor
b24b9f82e6
Rubocop - auto corrections
2022-11-06 16:34:36 +10:30
Brenda Wallace
43a577fa50
Update rubocop config
2021-01-05 19:46:07 +13:00
Brenda Wallace
0108224e4e
Tests for crop creation
2020-08-26 12:36:58 +12:00
Brenda Wallace
8016a35e49
Adding contributor check to github actions
2020-08-26 12:36:58 +12:00
Brenda Wallace
bcc722d0c2
Updating content type in tests to include charset
2020-08-26 12:36:58 +12:00
Brenda Wallace
f1d830bfa9
fixed ambiguous negative
2020-08-26 12:36:58 +12:00
codefactor-io
4ff95fbac9
[CodeFactor] Apply fixes
2020-01-21 22:26:08 +13:00
codefactor-io
6c9a15f95e
[CodeFactor] Apply fixes
2020-01-11 21:29:37 +00:00
Brenda Wallace
8dfb8ff954
Update params in seeds controller spec
2020-01-08 08:10:16 +13:00
Brenda Wallace
8a6c4a774a
reindexs photo in photo controller spec
2020-01-06 21:53:02 +13:00
codefactor-io
7e30b6b6e0
[CodeFactor] Apply fixes
2020-01-03 11:28:51 +00:00
Brenda Wallace
b556c4b8f4
Merge branch 'dev' into cache/harvests
2020-01-02 15:42:17 +13:00
Martina Simicic
9eb5fe7947
Use specific error for raise_error expectation
2020-01-02 14:18:51 +13:00
Brenda Wallace
76e649a0a8
update likes controller spec for new params
2020-01-01 09:26:54 +13:00
Brenda Wallace
f76266a716
photos controller working with ES
2019-12-31 21:46:42 +13:00
Brenda Wallace
8ee332edd8
update harvests controller
2019-12-28 09:20:18 +13:00
Brenda Wallace
ce909332b7
plantings controller update
2019-12-28 09:15:52 +13:00
codefactor-io
1bb8770a6e
[CodeFactor] Apply fixes
2019-12-27 06:51:32 +00:00
Brenda Wallace
75ed36d16c
Merge branch 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests
2019-12-27 19:50:52 +13:00
Brenda Wallace
a015110b05
Reindex before running plantings controller specs
2019-12-27 19:50:46 +13:00
codefactor-io
2685cc70a7
[CodeFactor] Apply fixes to commit 1c7816c
2019-12-27 04:21:06 +00:00
Brenda Wallace
1c7816c951
fixing photos by crop query in photos controller
2019-12-27 17:20:28 +13:00
Brenda
42e225469a
Routes using slugs (instead of ids)
...
this seems to be intended by the models having slugs (added about 7 years ago) but the routes weren't using them
2019-12-26 23:30:23 +00:00
Brenda Wallace
0d08f48b71
turn on ES indexing in some controllers
2019-12-27 09:15:53 +13:00
Brenda
bdee705b55
Update with frozen literals
2019-12-26 13:38:17 +13:00
Brenda Wallace
b8c94c13cc
refactor to use search:true instead of reindex
2019-12-24 22:15:01 +13:00
codefactor-io
df97d51940
[CodeFactor] Apply fixes
2019-12-23 22:39:08 +00:00
Brenda Wallace
4a2bb2342c
Sorting out cancancan, copied to common parent controller
2019-12-24 11:38:30 +13:00
Brenda Wallace
f8abcd4d1c
gardens controller spec using slug
2019-12-23 15:08:10 +13:00
codefactor-io
75c7d63956
[CodeFactor] Apply fixes to commit b730378
2019-12-22 20:46:08 +00:00
Brenda Wallace
b730378e14
tidy up and fix specs for harvest controller
2019-12-23 09:45:35 +13:00
Brenda Wallace
4cf5daf3b8
gardens charts controller using slug
2019-12-23 09:44:06 +13:00
codefactor-io
81051c6865
[CodeFactor] Apply fixes to commit 5a6ee38
2019-12-22 03:58:03 +00:00
Brenda Wallace
5a6ee38722
update plantings controller spec to look for a hash of searchkick results
2019-12-22 16:57:28 +13:00
codefactor-io
e8760f9c38
[CodeFactor] Apply fixes
2019-12-20 03:33:23 +00: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
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
140f625c48
Add new planting api attributes to test
2019-11-16 22:40:06 +13:00
Brenda Wallace
4c82adc612
Added new api items to controller spec
2019-11-16 20:38:15 +13:00