Commit Graph

3951 Commits

Author SHA1 Message Date
Brenda Wallace
1f17ea1e03 fixes (most of) seed rss specs 2019-12-23 16:52:56 +13:00
codefactor-io
8fe5e4435b [CodeFactor] Apply fixes 2019-12-22 20:46:53 +00:00
Brenda Wallace
bbaa0436cb ES query doesn't need to be public on the controller 2019-12-23 09:46:11 +13: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
Brenda Wallace
929374f77a rubocop renamed : Metrics/LineLength to : Layout/LineLength 2019-12-22 17:00:30 +13:00
Brenda Wallace
29b98a5bcc adding photos (and liking photos) cause touch do the cache in invalidated 2019-12-22 16:41:26 +13:00
codefactor-io
d7fc61e0ec [CodeFactor] Apply fixes to commit 86a8f95 2019-12-21 04:56:25 +00:00
Brenda Wallace
86a8f95e60 get photo from crop (saved into ES) 2019-12-21 17:55:34 +13:00
Brenda Wallace
ce18dc0610 Display seeds from elastic search 2019-12-21 17:55:14 +13:00
Brenda Wallace
786963eb8f Update seeds rss to expect a hash 2019-12-21 17:33:59 +13:00
Brenda Wallace
8bec2a277d Merge branch 'dev' into cache/harvests 2019-12-21 16:59:47 +13:00
Brenda Wallace
9c2beb304f show days of progress (#2344)
* show days of progress
* Update planting model spec to use age_in_days
2019-12-21 16:49:43 +13:00
codefactor-io
1882c75941 [CodeFactor] Apply fixes 2019-12-20 20:37:33 +00:00
Brenda Wallace
cae9fffea6 Index crop as well on photo changes 2019-12-21 09:36:52 +13:00
Brenda Wallace
b4afefcb85 Reindex after a photo association save or delete 2019-12-21 09:32:19 +13:00
Brenda Wallace
c711d7f763 photos don't have a slug 2019-12-21 09:31:52 +13:00
codefactor-io
9a0f22a4b9 [CodeFactor] Apply fixes to commit fc1c507 2019-12-20 04:33:33 +00:00
Brenda Wallace
fc1c507a96 Load planting rss from elastic too 2019-12-20 17:32:48 +13:00
codefactor-io
f8916dfecb [CodeFactor] Apply fixes 2019-12-20 04:16:33 +00:00
Brenda Wallace
d15802c0e7 Merge remote-tracking branch 'origin/cache/harvests' into cache/harvests 2019-12-20 17:14:30 +13:00
Brenda Wallace
9d68ab0228 Rubocop fix of controller 2019-12-20 17:13:54 +13:00
codefactor-io
e8760f9c38 [CodeFactor] Apply fixes 2019-12-20 03:33:23 +00:00
Brenda Wallace
42f1e61496 controller tidy up 2019-12-20 16:30:58 +13:00
codefactor-io
d95bc774a2 [CodeFactor] Apply fixes 2019-12-20 03:22:04 +00:00
Brenda Wallace
85f99d3916 Display seeds from elastic search 2019-12-20 16:21:32 +13:00
Brenda Wallace
8789fee365 Seeds into elastic search 2019-12-20 16:20:52 +13:00
Brenda Wallace
d59f8f4419 add ES field mappings 2019-12-20 16:20:31 +13:00
codefactor-io
bdbcca19f0 [CodeFactor] Apply fixes to commit 4c91da8 2019-12-19 20:45:06 +00:00
Brenda Wallace
4c91da855c Add ES mappings for plantings 2019-12-20 09:44:40 +13:00
codefactor-io
0c338e771c [CodeFactor] Apply fixes to commit 18cb218 2019-12-19 20:33:55 +00:00
Brenda Wallace
18cb218807 Add mappings on crop search 2019-12-20 09:33:23 +13:00
Brenda Wallace
c0103a3f42 find seeds by slug 2019-12-20 09:21:47 +13:00
Brenda Wallace
95c1ee7a81 Fixed loading gardens 2019-12-19 21:56:16 +13:00
Brenda Wallace
32178e2c3e Merge branch 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests 2019-12-19 21:49:37 +13:00
Brenda Wallace
5e5cdf6246 Fixing up lookup by slug 2019-12-19 21:49:18 +13:00
codefactor-io
700d2b4f30 [CodeFactor] Apply fixes to commit 3deafc0 2019-12-19 08:27:22 +00:00
Brenda Wallace
3deafc039d Loading a harvest 2019-12-19 21:26:53 +13:00
Brenda Wallace
ee05093ce5 Merge remote-tracking branch 'origin/cache/harvests' into cache/harvests 2019-12-19 16:55:15 +13:00
Brenda Wallace
78e111af80 fixing paths to member harvests (with more tests too) 2019-12-19 16:54:05 +13:00
codefactor-io
2558cb14f8 [CodeFactor] Apply fixes 2019-12-19 02:00:25 +00:00
Brenda Wallace
38e36c4a2c Merge remote-tracking branch 'upstream/dev' into cache/harvests
Conflicts:
	.rubocop_todo.yml
	app/controllers/likes_controller.rb
	app/models/concerns/crop_search.rb
	app/services/crop_search_service.rb
2019-12-19 10:28:17 +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
codefactor-io
22d7bd6a4e [CodeFactor] Apply fixes 2019-12-15 02:58:12 +00:00
Brenda
2ec23d6a08 Remove unnecesary mapping 2019-12-15 15:56:41 +13:00
Brenda
a91a2c6ea5 Add ElasticSearch mappings, to fix intermittent errors 2019-12-15 15:56:22 +13:00
Brenda Wallace
91b399196a Cache some heavy queries on models 2019-12-14 14:03:01 +13:00
Brenda Wallace
0b9b94f1d5 Plantings#index using Elastic Search 2019-12-14 13:52:02 +13:00
Brenda Wallace
b343f89997 Photos indexed in elastic search 2019-12-11 11:42:34 +13:00
Brenda Wallace
c772a2984d More scaling impromvements 2019-12-11 11:40:04 +13:00