Commit Graph
1297 Commits
Author SHA1 Message Date
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
codefactor-io 18f016766a [CodeFactor] Apply fixes to commit 282791d 2019-12-09 09:20:19 +00:00
Brenda Wallace 282791d91b Pull crops and harvests from elasticsearch 2019-12-09 22:19:20 +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 f4484cf376 Don't cache photo do agressively 2019-12-04 21:02:33 +13:00
Brenda c42fb5df51 Tell default photo to expire in 1 hour 2019-12-04 21:02:33 +13:00
Brenda 56cb291508 Little bit less queries to look up sci name 2019-12-04 21:02:33 +13:00
Brenda Wallace d22fb68eee Cache photos 2019-12-04 20:59:56 +13:00