Commit Graph

1054 Commits

Author SHA1 Message Date
Brenda Wallace
e3a789c15e indexed items matching database attributes 2019-12-26 23:15:38 +13:00
Brenda
9a704bacfc no counter cache on many to many association harvest->photos 2019-12-26 18:12:37 +13:00
Brenda Wallace
eab10eaf7c many to many counter caches weren't working
and causing errors.
2019-12-26 12:54:36 +13:00
Brenda Wallace
e84ab6d2a2 seeds using object instead of hash 2019-12-25 16:37:19 +13:00
Brenda Wallace
ace0977c75 plantings view using object instead of hash 2019-12-25 16:18:34 +13:00
Brenda Wallace
453d0cc795 Merge branch 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests 2019-12-25 14:52:21 +13:00
Brenda Wallace
f42328f85e harvests#index using model-like varaibles 2019-12-25 14:52:15 +13:00
codefactor-io
950dd7f810 [CodeFactor] Apply fixes 2019-12-25 01:27:49 +00:00
Brenda Wallace
39d208dec1 Rename the search concens 2019-12-25 14:26:50 +13:00
Brenda Wallace
b25a13df89 fix rss feeds 2019-12-24 21:53:00 +13:00
Brenda Wallace
68b22d71d0 fixed indexing of seeds when they have no plant_before 2019-12-24 12:25:16 +13:00
Brenda Wallace
44a59a30e1 seeds#index rss format specs updated to use ES 2019-12-24 09:44:12 +13:00
Brenda Wallace
1f17ea1e03 fixes (most of) seed rss specs 2019-12-23 16:52:56 +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
e8760f9c38 [CodeFactor] Apply fixes 2019-12-20 03:33:23 +00:00
codefactor-io
d95bc774a2 [CodeFactor] Apply fixes 2019-12-20 03:22:04 +00: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
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
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
87f0e44080 Merge branch 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests 2019-12-11 11:39:24 +13:00
Brenda Wallace
b44877a63e Using elastic for plantings look ups 2019-12-11 11:38:34 +13:00
Brenda Wallace
b0d55ad064 Counter cache for posts 2019-12-10 20:30:57 +13:00
codefactor-io
c7e8efb1f1 [CodeFactor] Apply fixes to commit 5afe3e1 2019-12-10 00:37:06 +00:00
Brenda Wallace
5afe3e1c1e Pulling plantings from elastic search too 2019-12-10 13:36:23 +13:00
Brenda Wallace
43b7dc7d7c Merge branch 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests 2019-12-10 09:28:37 +13:00
Brenda Wallace
be1ee2098d Use the counter for harvests 2019-12-10 09:28:20 +13:00
Brenda Wallace
e4b1a2f221 Add counter caches 2019-12-10 09:27:44 +13:00