Conversation
Updates the strings to use Allowed and Forbidden instead of whitelist and blacklist. This still leaves the use of whitelist in com_csp as I can't actually see a list at all. @zero-24 please clarify
|
The usage of whitelist in com_csp can be changed to allowlist as well without any problems. |
|
But where is this list? |
|
The collected and approved urls are put together as 'allowlist' for example or in this case Allowed domains to "use" whatever directive we are talking about. |
|
For the code. It's going to be a bit situational. For things like https://github.com/joomla/joomla-cms/pull/29703/files#diff-108363cbc354ffab84b1fd1e834d0406f74132c0dd946ec7f8445e3c4ad67e1bR136 which was soley a variable used in a function (i.e. not accessible to anyone) then it's fine to change obviously. Some of the other changes like https://github.com/joomla/joomla-cms/pull/29703/files#diff-e6d69a506c2984b154921451397a94d38a0513f0f40da9a531cc311a40daf624R145 which changed the term saved to db - less sure. As we're still going to always read both formats out not really sure it's a major issue (and personally it's one of those things where I wouldn't even deprecate for bs5 - just read them both forever - because assets are rarely going to change and I think it's asking too much) I think the major thing in the old PR I wouldn't maybe feel comfortable changing anymore would be the ListModel stuff - because that's very widely extended by 3rd parties. |
|
Thank you for your PR! In my opinion we should do all or should not do it at all. Otherwise it is just a "sham". That's what I tried at least with the PR. I think I found all the appearance and made it B/C, so you could just look up the lines and fix them. My problem was just to be not native english... |
|
@bembelimen I will take a look this weekend. The key issue is that its not a simple search replace so each use has to be checked. |
|
I have not tested this item. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32030. |
|
@bembelimen I think I have got all the code changes you suggested plus one additional one. Please can you check. |
|
Didn't found anything, not sure if this b/c thing in the UsersModel is needed, because it's merged anyways, but otherways great job, thanks 👍 |
|
@bembelimen not sure as I'm not sure about the deprecation at such a late time. Will leave that decision to @wilsonge |
|
I have tested this item ✅ successfully on 25686ef This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32030. |
|
For the component specific implementation I think it's fine to remove the old properties. In list model you're right to keep B/C |
|
I have tested this item ✅ successfully on 25686ef This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32030. |
|
@wilsonge I'm not sure I understand what you want to do here. |
|
I guess its not that important after all |
|
Thanks! |
|
Now I see your commit I understand your comment. I didnt before - sorry |
|
Don't worry about it. Sorry for not replying promptly! |
Removes code deprecated in favour of forbiddenlist Original PR with explanation of the deprecation joomla#32030
Changes the comment whitelist to allowed Original PR and discussion joomla#32030 Core review only Signed-off-by: BrianTeeman <brian@teeman.net>
Removes code deprecated in favour of forbiddenlist Original PR with explanation of the deprecation #32030
Updates the strings to use Allowed and Forbidden instead of whitelist and blacklist. This still leaves the use of whitelist in com_csp as I can't actually see a list at all. @zero-24 please clarifyUses the terms allowed and forbidden instead of whitelist and blacklist
Continuation of #29703
Previous comment
If @wilsonge and @bembelimen can make a decision on that I can easily do the work