Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fixed routing error when no recommendations #21251

Merged
merged 9 commits into from
Oct 22, 2024

Conversation

cathysarisky
Copy link
Contributor

@cathysarisky cathysarisky commented Oct 8, 2024

no ref.

The default routing for the portal app is a signup page. When a site has no recommendations, the result of triggering that page (by following a link that goes there) is a prompt to sign up, or a notification that one cannot sign up, if membership is disabled.

This patch adds a "No recommendations" message, which will be shown if a user follows a recommendations link (#/portal/recommendations) on a site without recommendations. While we shouldn't end up there very often, it'll make a lot more sense when it does!

Correction: This fix does not close #20771 - that's a separate bug!

@mike182uk mike182uk merged commit 1ce5dc3 into TryGhost:main Oct 22, 2024
21 checks passed
@mike182uk
Copy link
Member

Thanks for this @cathysarisky

@fochoa8
Copy link
Contributor

fochoa8 commented Oct 23, 2024

This is what I use in PHP to filter variables, if anyone can translate it, it would be a game changer. this prevents SQL Injections, XSS, CRSF.

image

image

image

2VDYWtEqsM94LzFs.mp4

Thanks,
Fernando Ochoa Olivares.

MIT Researcher.

dvdwinden pushed a commit that referenced this pull request Oct 24, 2024
no ref.

The default routing for the portal app is a signup page. When a site has
no recommendations, the result of triggering that page (by following a
link that goes there) is a prompt to sign up, or a notification that one
cannot sign up, if membership is disabled.

This patch adds a "No recommendations" message, which will be shown if a
user follows a recommendations link (#/portal/recommendations) on a site
without recommendations. While we shouldn't end up there very often,
it'll make a lot more sense when it does!
Lekler added a commit to Lekler/Ghost that referenced this pull request Nov 1, 2024
…t adds pt-BR translations to newsletter.json and fixes other strings in pt-BR locale files.

 Changes to be committed:
	modified:   ghost/i18n/locales/pt-BR/ghost.json
	modified:   ghost/i18n/locales/pt-BR/newsletter.json
	modified:   ghost/i18n/locales/pt-BR/portal.json
sagzy pushed a commit that referenced this pull request Nov 5, 2024
…21499)

no issue

- following pull requests #21251 and #21497, this commit adds pt-BR
translations to newsletter.json and fixes other strings in pt-BR locale
files
@cathysarisky cathysarisky deleted the fix-rec-subs-req branch November 10, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Opening the recommendation popup only works with enabled subscription
3 participants