Commit Graph

3897 Commits

Author SHA1 Message Date
Brenda
bdee705b55 Update with frozen literals 2019-12-26 13:38:17 +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
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
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
242d5a6641 Removed site name from homepage (#2313) 2019-12-06 22:22:21 +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
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
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
d22fb68eee Cache photos 2019-12-04 20:59:56 +13:00
Brenda
4065b1b248 Reducing the number of db queries on crops#show 2019-12-04 20:59:56 +13:00
Brenda
500dd5e57b Reduce queries per thumbnail. 2019-12-04 20:59:56 +13:00
Brenda Wallace
b3ecfa36cd Cache the footer 2019-12-04 20:59:56 +13:00
Brenda
b443435627 Don't read crop photos from db again 2019-12-04 20:59:56 +13:00
Brenda Wallace
fdf5a59ffd Reduce the number of queries to find if member has seed of this crop 2019-12-04 20:59:56 +13:00
Brenda Wallace
9e87787977 Fix color of crop action links 2019-12-03 21:48:15 +13:00
Brenda Wallace
58d2510613 Fix signin/signout on mobile 2019-12-01 12:46:44 +13:00
Brenda Wallace
245ea3f10a Removed caching that causes facts to appear twice 2019-12-01 08:21:50 +13:00
Brenda Wallace
723fd8aa79 Remove Calistoga font from headers 2019-12-01 08:08:40 +13:00
Brenda
dde9e69b66 consistent cards on crops#show 2019-11-30 23:17:29 +13:00
Brenda
c963533a15 add padding around logo text 2019-11-30 23:17:04 +13:00
Brenda
b1b98fd856 Trimmed edges of logo 2019-11-30 23:01:13 +13:00
Brenda
89072bdb74 Marked icons to be ignored by screen readers 2019-11-30 21:56:53 +13:00
Brenda Wallace
0a327cba67 Tidier sign-in/sign-up links 2019-11-30 21:53:23 +13:00
Brenda Wallace
9eb08bbf29 Merge css rules 2019-11-30 21:41:55 +13:00
Brenda
b40e7221e2 Enlarge the headers in jumbotrons 2019-11-30 21:14:59 +13:00
Brenda
bdefa9dad9 consistent headers 2019-11-30 20:49:54 +13:00
Brenda
fed6a7df97 Change a h3 into just a <strong> 2019-11-30 20:09:39 +13:00
Brenda
ee42fd9e87 Added calistoga font 2019-11-30 19:55:16 +13:00
Brenda Wallace
285cd6b4f5 Set all headers to Calistoga font 2019-11-30 19:54:19 +13:00
Brenda Wallace
c514a57f47 Apply suggestions from code review 2019-11-30 16:34:12 +13:00
Brenda Wallace
cdc87b5511 Tidy up mobile view of logo/nav 2019-11-30 16:22:45 +13:00
Brenda Wallace
057e6f3069 Change fonts, tidy up navbar, and use text for site name 2019-11-30 16:22:45 +13:00
Brenda Wallace
faf375c932 Feature spec for month by month harvest 2019-11-25 13:25:05 +13:00
Brenda Wallace
cf2c42a7e0 Only display location if we have a location 2019-11-24 12:21:37 +13:00
Brenda Wallace
1e663fc3df Layout tidy to cope with neighbours on page 2019-11-24 12:13:48 +13:00
Brenda Wallace
bcbee5831f Everyone gets harvest months, not just perennials 2019-11-24 11:42:10 +13:00
Brenda Wallace
9aae07b8df Screen reader niceness 2019-11-24 11:37:07 +13:00
Brenda Wallace
6325df25b8 Make the month an int 2019-11-24 11:36:55 +13:00
Brenda Wallace
b8c1f10907 Merge remote-tracking branch 'origin/predict-perenial-harvest' into predict-perenial-harvest 2019-11-24 10:46:07 +13:00
Brenda Wallace
83f0182551 rubocop lint 2019-11-24 10:41:20 +13:00
Brenda Wallace
0f73c13622 Merge branch 'dev' into predict-perenial-harvest 2019-11-24 10:40:22 +13:00
Brenda Wallace
5b7de1ae7a Added location 2019-11-24 10:39:06 +13:00