-
Notifications
You must be signed in to change notification settings - Fork 48
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
Cookies & GDPR #417
Cookies & GDPR #417
Conversation
[ci skip] [skip ci]
I don't know if it's any use, but I merged a GDPR cookie popup plugin with an old GDPR osclass plugin to create a new plugin that I just published yesterday: https://github.com/alastairR/osclass-gdpr I suspect that other than a core option in listing edit to hide a phone number, like the email hide, the rest of the GDPR stuff should be in an open source plugin. |
That's great.
The current option is to use DAO methods for inserting email templates. |
@navjottomer I will add the email template + some other fixes. I thibk this should surely be a part of Osclass core, doesn't matter if it won't make it to 5.1 release. I use FormInputs class, check this:
Label escapes html no matter what options are set on the input. Also regarding checkboxes, what classes do I put on the inputs, do I make it Bender compatible out-of-the-box? |
We'll see about it, for meantime, a plugin is already available so that's good for us.
Yup, it's escaping but you said sanitization got me confused. Anyway, it will only escape not remove any tag.
Keep the default and it'll work with bender. If theme developers want to change classes then they can just extend the Form classes, override the properties and call the same method with extended class, that's super easy for them. |
Oh, how come you merged it... I gotta add some fixes. |
Oh I thought you fixed everything, make new PR I'll revert this.
…On Mon, 27 Dec, 2021, 4:25 pm Defected, ***@***.***> wrote:
Oh, how come you merged it... I gotta add some fixes.
Do I make a new PR?
—
Reply to this email directly, view it on GitHub
<#417 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIDQSP5XWVOZYTPV57NZ43UTBA2HANCNFSM5FR5LGGQ>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
@navjottomer Again having problems with escaping HTML. If I use Even |
No idea what's the best way to insert the new mail template. Do I hardcode a function for it and run it when upgrade DB is ran? |
Related issues: #211 #245
How do I add new email templates so they work properly with updating Osclass?
How to disable sanitization on form labels so I can add tags to terms & conditions / privacy policy?
Do I add additional columns to both user and item table regarding #269? We already have b_show_email for item, do I add b_show_phone? What about showing the same data on public profile?