Commit Graph
1092 Commits
Author SHA1 Message Date
Brenda Wallace 0ae2aeb4a7 Apply suggestions from code review
Use delegated attributes
2020-03-02 15:51:29 +13:00
Brenda Wallace 9fa3f36436 BUGFUX: member slug needed on photos, to make link 2020-03-02 15:01:34 +13:00
Brenda Wallace f4acbaa89a Use pokemon for plant parts 2020-02-29 19:53:39 +13:00
Martina Simicic b0a5223d97 Account for finished planting when counting days of life 2020-02-04 10:50:00 +13:00
Martina Simicic 10008ca30d Removing method since it is defined in predict planting 2020-02-04 10:50:00 +13:00
Brenda Wallace fc1bd1893c Added perennial to plantings 2020-02-03 15:06:45 +13:00
Brenda Wallace 7bf5ab2df3 One per person on home page 2020-02-03 11:54:26 +13:00
codefactor-io 34ddf8e98f [CodeFactor] Apply fixes 2020-01-21 13:12:28 +13:00
Brenda Wallace f1b5eb1fdd Turn off Replicas (#2388)
* Control number of ES replicas

* So, let's have zero replicas on ES
2020-01-20 13:29:19 +13:00
Brenda Wallace 6279e169de approved crops only, and only 1 shard (#2385)
reducing our elastic search usage
2020-01-18 18:11:24 +13:00
Brenda Wallace cd344c2605 Fix error when no latitude or longitude 2020-01-17 18:00:45 +13:00
Brenda Wallace ae26965144 Merge remote-tracking branch 'upstream/master' into dev 2020-01-14 10:37:13 +13:00
Brenda Wallace c3f75a77ac Merge branches 'cache/harvests' and 'cache/harvests' of github.com:Br3nda/growstuff into cache/harvests 2020-01-12 10:20:29 +13:00
Brenda Wallace 5d8d159cc9 Update app/models/garden.rb 2020-01-12 10:20:21 +13:00
Brenda Wallace 9596d1bac7 style fix ups 2020-01-12 10:18:32 +13:00
Brenda Wallace 32c8698a44 style fix ups 2020-01-12 10:17:07 +13:00
Brenda Wallace 709ca5a04f Fix seeds ES query 2020-01-11 23:10:33 +13:00
Brenda aab345cf09 Adding more counter caches 2020-01-10 16:50:52 +13:00
Brenda 7257b2ada1 Update with frozen literals 2020-01-10 16:50:52 +13:00
Brenda Wallace 96f0866f39 rubocop fix up 2020-01-06 21:49:00 +13:00
Brenda Wallace feab98e962 removing dead code 2020-01-05 21:41:16 +13:00
Brenda Wallace c6988e2189 Re-instate the plantings quick actions 2020-01-05 21:31:51 +13:00
Brenda Wallace b7e53daeba fixes to crop photos 2020-01-05 16:57:14 +13:00
codefactor-io 7e30b6b6e0 [CodeFactor] Apply fixes 2020-01-03 11:28:51 +00:00
Brenda Wallace ff883db279 Revert "displays photos without hitting the database"
This reverts commit 139574c9c0.
2020-01-02 20:23:13 +13:00
Brenda Wallace 139574c9c0 displays photos without hitting the database 2020-01-01 14:15:04 +13:00
Brenda Wallace b2738afdc2 fake reindexer on posts, so it doesn't throw errors 2020-01-01 08:42:18 +13:00
Brenda Wallace 36875b620c harvest search, fixed error when some data not set on model 2020-01-01 08:41:00 +13:00
Brenda Wallace 80038c7f42 set which parts of crop are searchable 2020-01-01 08:40:43 +13:00
Brenda Wallace 63ea6752fa likes reading from hash from elastic 2020-01-01 08:40:04 +13:00
Brenda Wallace 676345815c tests for photos searching 2019-12-31 21:02:38 +13:00
Brenda Wallace 38c7bdd7c2 likes count and sorted es search data config 2019-12-30 09:51:10 +13:00
Brenda Wallace a89534da53 harvest tidy up 2019-12-28 10:06:10 +13:00
Brenda Wallace 97cacdae0e 2019-12-28 09:50:08 +13:00
Brenda Wallace b9e9ce1439 index seed.active into ES 2019-12-28 09:33:36 +13:00
Brenda Wallace 0624184270 tidying up matching attributes for seeds rss feed 2019-12-28 09:06:13 +13:00
Brenda Wallace 1c7816c951 fixing photos by crop query in photos controller 2019-12-27 17:20:28 +13:00
Brenda Wallace 6c7bd77764 Update photo_capable.rb 2019-12-27 00:14:05 +13:00
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