[4.1] Disable auth binding code introduced with 4.1.1#37415
[4.1] Disable auth binding code introduced with 4.1.1#37415bembelimen merged 15 commits intojoomla:4.1-devfrom
Conversation
|
Tested the plugin changes and they at least let me log back in again. Have not tested the script.php changes which I assume is to fix upgrades. Still doesn't address the myriad of other issues with this disaster of a code change |
|
I have tested this item ✅ successfully on deb4d5f This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37415. |
|
I have tested this item ✅ successfully on deb4d5f This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37415. |
# Conflicts: # administrator/components/com_users/forms/user.xml
|
Canyou remove the new language strings as well please |
Done! Also checked in with @tecpromotion as tt-coordinator. |
|
and remove |
|
components/com_users/tmpl/profile/edit.php not sure if that change is still needed |
|
|
|
|
Would leave those two files for now as removing them (and therefore adding them to the deletion list in script.php) would prevent us from re-using the same file names for the future patch. |
|
No you have to remove them (and come up with new names in future) otherwise you will be breaking semver when you change the contents of the library files. |
|
libraries/src/User/User.php |
|
plugins/authentication/cookie/cookie.php and the same in other plugins |
Ok, fair comment, done! |
|
Thanks @SniperSister |
where do you see a semver violation? |
it should be properly marked as deprecated so that an ide etc will spot it. |
The interface is deprecated all other parts get removed because not covered by our semver promise. Also semver doesn't allow us to add deprecations in bugfix releases. that's the reason David added the comment "Please note: might be deprecated with Joomla 4.2" or do you mean something different? |
|
Thanks everyone for this good collaboration. |
|
@bembelimen I am OK with this solution. |
|
@bembelimen seems ok. |
|
Thank you all! |
|
@SniperSister @bembelimen the binding issue has extreme similarities to the Media Manager Adapters, maybe you should take a look how @joomdonation @Fedik @laoneo and me tackled that binding and get some inspiration... |
joomla/joomla-cms#37406 - (только для en-GB) joomla/joomla-cms#37415 +
Pull Request for Issue #37413
Summary of Changes
Remove the auth binding field and checking code to disable the feature until a proper solution has been implemented see #37405.
Testing Instructions
See #34713
Actual result BEFORE applying this Pull Request
You are NOT logged into the site
Expected result AFTER applying this Pull Request
You are logged into the site