Skip to content

Proof: simple.phtml is not used anymore - #6765

Closed
math-GH wants to merge 4 commits into
FreshRSS:edgefrom
math-GH:proof-simplePHTML-is-not-used-anymore
Closed

math-GH wants to merge 4 commits into
FreshRSS:edgefrom
math-GH:proof-simplePHTML-is-not-used-anymore

Conversation

@math-GH

@math-GH math-GH commented Sep 2, 2024

Copy link
Copy Markdown
Contributor

Ref #6223

This PR is just a proof that simple.phtml is not necessary anymore

Changes proposed in this pull request:

  • simple.phtml references deleted
  • simple.phtml content deleted for better testing
  • title has a text that gives a text that simple.phtml was referenced here

How to test the feature manually:

  1. have a user, that has to validate his/her e-mail (activate email validation + create a new user. This user tries to login. Do not click on the validation link in the email)

@math-GH math-GH added the System care Everything related to system care label Sep 2, 2024
@math-GH math-GH added this to the 1.25.0 milestone Sep 2, 2024
@math-GH

math-GH commented Sep 2, 2024

Copy link
Copy Markdown
Contributor Author

This draft PR should help to understand if and where the simple.phtml is still needed.

(sharebyemail extension uses simple.phtml too but without any consequences. Try this extension too)

@Alkarex

Alkarex commented Sep 28, 2024

Copy link
Copy Markdown
Member

Thanks for the investigation 👍🏻 Let's go ahead and remove it, then, right?

@Frenzie

Frenzie commented Sep 28, 2024

Copy link
Copy Markdown
Member

What's used instead? Or put another way, this is definitely not a bug and can safely be removed? :-)

@Alkarex Alkarex modified the milestones: 1.25.0, 1.26.0 Nov 30, 2024
@Alkarex Alkarex modified the milestones: 1.26.0, 1.27.0 Feb 6, 2025
@Alkarex Alkarex modified the milestones: 1.27.0, 1.28.0 Aug 18, 2025
@Alkarex Alkarex added Good first issue 1️⃣ Beginner friendly - New contributors are welcome help wanted labels Sep 15, 2025
@Alkarex Alkarex modified the milestones: 1.28.0, 1.29.0 Dec 16, 2025
@Alkarex Alkarex modified the milestones: 1.29.0, 1.30.0 May 3, 2026
@JamBalaya56562

Copy link
Copy Markdown
Contributor

Thanks for the investigation here. I opened #8998 with a production-ready version on current edge: it removes the remaining simple layout references, deletes app/layout/simple.phtml, and relies on the shared layout.phtml plus the existing email-validation route guard.

I think this draft can be closed in favor of #8998 if maintainers are happy with that PR.

Alkarex pushed a commit that referenced this pull request Jul 7, 2026
Closes #6223.
Supersedes the investigation draft in #6765.

## Summary
- Removed the remaining explicit uses of the `simple` layout from the email-validation flows.
- Deleted `app/layout/simple.phtml` so those pages now use the shared `layout.phtml`.
- Kept the existing `disable_aside` behavior for the profile page while an email validation token is pending.

## Notes
The replacement for `simple.phtml` is the normal shared layout. Access while email validation is pending is still constrained by the existing `FreshRSS::checkEmailValidated()` route guard, which allows the validation/profile/logout paths and forwards other routes to `user#validateEmail`.
@Alkarex Alkarex closed this Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good first issue 1️⃣ Beginner friendly - New contributors are welcome help wanted System care Everything related to system care

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants