Commit Graph

11959 Commits

Author SHA1 Message Date
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
bfe1b072db Memcache caching of harvests 2019-12-09 21:08:09 +13:00
Brenda Wallace
1c1fa043e3 Merge pull request #2319 from Growstuff/dev
Production release
2019-12-09 12:59:46 +13:00
Brenda Wallace
49941d3c1b Merge branch 'master' into dev 2019-12-09 12:59:25 +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
6c8ff10d7e Production release (#2318)
* Reduce the number of queries to find if member has seed of this crop

* Don't read crop photos from db again

* Cache the footer

* Reduce queries per thumbnail.

* Reducing the number of db queries on crops#show

* Cache photos

* Add query_diet, to count queries on the page

* Fix model spec

* Put query count on the page

* Little bit less queries to look up sci name

* Turn on bullet in dev

* Tell default photo to expire in 1 hour

* Small improvements to crops controller to reduce query count

* Don't cache photo do agressively

* Fix specs

* Bump bootstrap from 4.3.1 to 4.4.1

Bumps [bootstrap](https://github.com/twbs/bootstrap-rubygem) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/twbs/bootstrap-rubygem/releases)
- [Changelog](https://github.com/twbs/bootstrap-rubygem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twbs/bootstrap-rubygem/compare/v4.3.1...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Security] Bump puma from 4.3.0 to 4.3.1

Bumps [puma](https://github.com/puma/puma) from 4.3.0 to 4.3.1. **This update includes a security fix.**
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v4.3.0...v4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Move signout link into user menu

* fixed logo display on small screens

* Update specs to find logout link

* [CodeFactor] Apply fixes to commit b999d89

* Bump listen from 3.2.0 to 3.2.1

Bumps [listen](https://github.com/guard/listen) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.2.0...v3.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update .travis.yml

* Removed site name from homepage (#2313)
2019-12-08 21:35:43 +13:00
Brenda Wallace
81eefcbfc3 Merge remote-tracking branch 'upstream/master' into dev 2019-12-07 08:22:24 +13:00
Brenda Wallace
242d5a6641 Removed site name from homepage (#2313) 2019-12-06 22:22:21 +13:00
Brenda Wallace
8863f3289d Update .travis.yml 2019-12-06 20:54:53 +13:00
dependabot-preview[bot]
6be1f791c7 Bump listen from 3.2.0 to 3.2.1
Bumps [listen](https://github.com/guard/listen) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.2.0...v3.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 07:47:15 +00:00
Brenda Wallace
c6fc519e7d Production release (#2311)
* Reduce the number of queries to find if member has seed of this crop

* Don't read crop photos from db again

* Cache the footer

* Reduce queries per thumbnail.

* Reducing the number of db queries on crops#show

* Cache photos

* Add query_diet, to count queries on the page

* Fix model spec

* Put query count on the page

* Little bit less queries to look up sci name

* Turn on bullet in dev

* Tell default photo to expire in 1 hour

* Small improvements to crops controller to reduce query count

* Don't cache photo do agressively

* Fix specs

* Bump bootstrap from 4.3.1 to 4.4.1

Bumps [bootstrap](https://github.com/twbs/bootstrap-rubygem) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/twbs/bootstrap-rubygem/releases)
- [Changelog](https://github.com/twbs/bootstrap-rubygem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twbs/bootstrap-rubygem/compare/v4.3.1...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* [Security] Bump puma from 4.3.0 to 4.3.1

Bumps [puma](https://github.com/puma/puma) from 4.3.0 to 4.3.1. **This update includes a security fix.**
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v4.3.0...v4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Move signout link into user menu

* fixed logo display on small screens

* Update specs to find logout link

* [CodeFactor] Apply fixes to commit b999d89
2019-12-06 20:46:24 +13:00
codefactor-io
021b510d35 [CodeFactor] Apply fixes to commit b999d89 2019-12-06 19:55:42 +13:00
Brenda Wallace
0dcf0d2a40 Update specs to find logout link 2019-12-06 19:55:42 +13:00
Brenda Wallace
7d4d257097 fixed logo display on small screens 2019-12-06 19:55:42 +13:00
Brenda
dbb50263aa Move signout link into user menu 2019-12-06 19:55:42 +13:00
dependabot-preview[bot]
5aaa1b7242 [Security] Bump puma from 4.3.0 to 4.3.1
Bumps [puma](https://github.com/puma/puma) from 4.3.0 to 4.3.1. **This update includes a security fix.**
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v4.3.0...v4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 23:09:48 +00:00
dependabot-preview[bot]
e9f830cb00 Bump bootstrap from 4.3.1 to 4.4.1
Bumps [bootstrap](https://github.com/twbs/bootstrap-rubygem) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/twbs/bootstrap-rubygem/releases)
- [Changelog](https://github.com/twbs/bootstrap-rubygem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twbs/bootstrap-rubygem/compare/v4.3.1...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 08:11:12 +00:00
Brenda Wallace
63d429846b Fix specs 2019-12-04 21:48:00 +13:00
Brenda
87d11c5bb1 Small improvements to crops controller to reduce query count 2019-12-04 21:48:00 +13:00
Brenda Wallace
3111e8a177 Don't cache photo do agressively 2019-12-04 21:48:00 +13:00
Brenda
8a28c93b3d Tell default photo to expire in 1 hour 2019-12-04 21:48:00 +13:00
Brenda
e6031fbc14 Turn on bullet in dev 2019-12-04 21:48:00 +13:00
Brenda
cd2c692f34 Little bit less queries to look up sci name 2019-12-04 21:48:00 +13:00
Brenda Wallace
59fffbfa7b Put query count on the page 2019-12-04 21:48:00 +13:00
Brenda Wallace
44855cb8b2 Add query_diet, to count queries on the page 2019-12-04 21:48:00 +13:00
Brenda Wallace
8a0d551f90 Cache photos 2019-12-04 21:48:00 +13:00
Brenda
c25f448d97 Reducing the number of db queries on crops#show 2019-12-04 21:48:00 +13:00
Brenda
12b1ed9bcd Reduce queries per thumbnail. 2019-12-04 21:48:00 +13:00
Brenda Wallace
2623b0d01c Cache the footer 2019-12-04 21:48:00 +13:00
Brenda
40627c5873 Don't read crop photos from db again 2019-12-04 21:48:00 +13:00
Brenda Wallace
092dc59588 Reduce the number of queries to find if member has seed of this crop 2019-12-04 21:48:00 +13:00
Brenda Wallace
4cf98153ba Fix model spec 2019-12-04 21:48:00 +13:00
Brenda Wallace
8f7f056c81 Merge pull request #2303 from Br3nda/reduce-queries
Reduce number of db queries
2019-12-04 21:33:16 +13:00
Brenda Wallace
34fcbffd24 Fix specs 2019-12-04 21:15:50 +13:00
Brenda
607eae2a43 Small improvements to crops controller to reduce query count 2019-12-04 21:02:33 +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
9159df81c9 Turn on bullet in dev 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
3ba807b610 Put query count on the page 2019-12-04 21:02:29 +13:00
Brenda Wallace
cc7aceb990 Add query_diet, to count queries on the page 2019-12-04 20:59:56 +13:00