-
Notifications
You must be signed in to change notification settings - Fork 3
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
Collate issues for new template at Core5 #70
Comments
Support for Linux under a reverse proxy scenario requires addition of header forwarding in startup: quote: |
Add new default placeholder config lines to appsettings for new authentication mode (root users can login... = false) |
(not directly a template thing but...) Note there are two typos in appsettings json names that will constitute potential breaking changes when fixed, so warrant an announcement: |
Review this, but we may always want the final 'always' line here:
|
Previous work on Talkabout contains a comment that the template no longer needs to deliver the view https://github.com/exeGesIS-SDM/cloudscribe.TalkAbout/issues/23 |
Need to re-investigate whether endpoint routing is still impossible for cs, due to the bug in URL culture route segments |
Review all cs code for any lurking deprecated .AddEntityFrameworkSqlServer() calls (and similar for Pg etc.) |
Update package.json references |
Add call to services.AddMemoryCache(); |
@JimKerslake - I think perhaps that the same site mode for cookies should be lax and not none, to help prevent CSRF attacks. Secure policy should be always too I think. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite |
@StewartBellamy Sure can set it to lax... |
Just from memory, I think you may need same site none for social auth to
work.
…On Mon, Nov 22, 2021 at 4:32 AM Jim Kerslake ***@***.***> wrote:
@StewartBellamy <https://github.com/StewartBellamy> Sure can set it to
lax...
this is template-delivered startup code, so is easily changed by the
template user, they're not stuck with it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYZ65J26YXMGUYQZXGWILUNIE2LANCNFSM5HEJO32A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
OK thanks @joeaudette - one more thing to test :) FYI - looks like MS still didn't fix that endpoint routing bug. |
Endpoint routing issue (still) Refs: My understanding is that the main problem in CS (but maybe not the only one?) So for example if you set the site up to support the culture fr-FR, then the user interface will use the French ResX translations when you visit a page with this culture in the route e.g. /fr-FR/siteadmin Where this breaks - is when you try to persist that culture by auto-generating links to other pages using URL helpers that are supposed to respect and persist that culture. So the intention is that when viewing a simpleContent page at /fr-FR/myPageSlug In the underlying view this is generated by the Razor incantation: where the underlying route definition for pageedit-culture looks like this:
To replicate this: you can see that in old MVC routing, With endpoint routing used instead of MVC, this just returns null... which would be a broken link. This is because What I don't fully understand: So if you're viewing a content page at /fr-FR/myPageSlug then the edit link takes you back to default language at /editpage/myPageSlug I guess that's preferable to having a broken link if the above RouteUrl answers null in endpoint routing... but seems incorrect in MVC routing setup. |
Collation of various template changes awaiting implementation as part of more wide-ranging CS upgrade
The text was updated successfully, but these errors were encountered: