0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/frontend/helpers
Simon Backx f389bab6ab
🐛 {{access}} property incorrect when using get/next-post/prev-post helpers (#14256)
refs https://github.com/TryGhost/Team/issues/1367

- The {{access}} property of a post always returned false for non-public content
- Added the member context to the get, next-post and prev-post helpers
- The get, next-post and prev-post helpers didn't add the member context to the internal API calls
- Added the members context to these calls
- Added tests that check if the member context is passed to the API calls
- Transformed next_post helper tests to async await syntax
- Transformed prev_post helper tests to async await syntax
2022-03-03 16:18:05 +01:00
..
tpl Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
asset.js 🐛 Fixed broken assets for theme/design preview 2021-11-03 11:20:04 +01:00
author.js
authors.js
body_class.js
cancel_link.js Added eslint exemption for camelcase line 2022-02-07 13:16:05 +01:00
concat.js
content.js
date.js Added timezone and locale to the options of the date helper (#13892) 2022-01-19 14:43:53 +00:00
encode.js
excerpt.js Updated eslint-plugin-ghost & fixed resulting failures 2022-02-21 12:30:12 +00:00
facebook_url.js
foreach.js
get.js 🐛 {{access}} property incorrect when using get/next-post/prev-post helpers (#14256) 2022-03-03 16:18:05 +01:00
ghost_foot.js
ghost_head.js 🐛 Fixed card scripts executing before DOM is parsed 2021-12-08 17:54:37 +02:00
has.js
img_url.js
is.js
lang.js
link.js
link_class.js
match.js Added >, <, >=, and <= operators to match helper (#14215) 2022-03-03 15:43:47 +01:00
meta_description.js
meta_title.js
navigation.js
page_url.js
pagination.js
plural.js
post_class.js
prev_post.js 🐛 {{access}} property incorrect when using get/next-post/prev-post helpers (#14256) 2022-03-03 16:18:05 +01:00
price.js
products.js Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
raw.js
reading_time.js
t.js
tags.js
title.js
twitter_url.js
url.js 🐛 Fixed malformed URLs crashing the url helper 2021-12-02 10:34:24 +01:00