? ? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
28 May 2020

Pull Request for Issue #25440.

Summary of Changes

Restores profile view in com_admin.

Testing Instructions

Test that editing profile using Edit Account link in mod_user dropdown works correctly. Especially functionality added by plugins (Token, TFA, action logs).

Documentation Changes Required

If the removal was documented somewhere, it should be reverted.

avatar SharkyKZ SharkyKZ - open - 28 May 2020
avatar SharkyKZ SharkyKZ - change - 28 May 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 May 2020
Category Administration com_admin com_users Language & Strings Modules Front End Plugins
907882c 28 May 2020 avatar SharkyKZ CS
avatar SharkyKZ SharkyKZ - change - 28 May 2020
Labels Added: ? ? ?
f67eaa2 28 May 2020 avatar SharkyKZ CS
avatar dgrammatiko
dgrammatiko - comment - 28 May 2020

Restores profile view in com_admin

May I ask why?

avatar Quy
Quy - comment - 28 May 2020

See #25440

0962a33 28 May 2020 avatar SharkyKZ CS
avatar brianteeman
brianteeman - comment - 29 May 2020

The problem we had before with com_admin was that not all user options would be loaded. With this PR for example then the accessibility tab isn't displayed (

avatar SharkyKZ
SharkyKZ - comment - 29 May 2020

With this PR for example then the accessibility tab isn't displayed (

Because accessibility settings are hardcoded in com_users form. This is solved with #29226. The alternatives are to use com_users form in com_admin or just copy/paste the settings into com_admin form.

avatar Quy
Quy - comment - 1 Jun 2020

29251

avatar SharkyKZ SharkyKZ - change - 1 Jun 2020
Labels Added: ?
Removed: ?
avatar SharkyKZ SharkyKZ - change - 2 Jun 2020
Labels Added: ?
Removed: ?
avatar SharkyKZ
SharkyKZ - comment - 2 Jun 2020

@Quy should be fixed now.

avatar Quy
Quy - comment - 2 Jun 2020

Add password strength meter?

avatar brianteeman
brianteeman - comment - 2 Jun 2020

I cant help but think this is the wrong solution to the problem. Having to maintain the same code in multiple places....

avatar SharkyKZ
SharkyKZ - comment - 2 Jun 2020

@brianteeman There are ways of reducing code duplication here. We could use the form from com_users and TFA rendering could be moved to JLayout.

Besides, this contains some logic which is not present in com_users, like username compliance check.

avatar SharkyKZ
SharkyKZ - comment - 2 Jun 2020

@Quy Added.

avatar Quy
Quy - comment - 5 Jun 2020

Please fix conflicts.

avatar SharkyKZ
SharkyKZ - comment - 5 Jun 2020

Conflicts fixed.

avatar jwaisner jwaisner - change - 12 Jun 2020
Priority Medium Urgent
avatar Quy Quy - test_item - 13 Jun 2020 - Tested successfully
avatar Quy
Quy - comment - 13 Jun 2020

I have tested this item successfully on 766657a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29251.

avatar infograf768
infograf768 - comment - 18 Jun 2020

Conflicts with admin.ini after my alpha order pr.
Also, what do we do with JHELP_ADMIN_USER_PROFILE_EDIT="Site_My_Profile" that is used in 3.x ?
See #29687

avatar SharkyKZ
SharkyKZ - comment - 18 Jun 2020

Conflicts fixed. JHELP_ADMIN_USER_PROFILE_EDIT can be removed for now. I'll just have to re-add it in this PR.

avatar infograf768
infograf768 - comment - 19 Jun 2020

JHELP_ADMIN_USER_PROFILE_EDIT can be removed for now.

Not necessary as #29687 is not a PR but an issue.

avatar infograf768
infograf768 - comment - 19 Jun 2020

Are we supposed to get an Action in Home Dashboard Latest Actions when modifying profile?

If I modify the user account, I do get a log.

avatar SharkyKZ
SharkyKZ - comment - 20 Jun 2020

@infograf768 I guess we could add this. Currently doesn't work in staging either.

avatar infograf768
infograf768 - comment - 20 Jun 2020

@SharkyKZ
In fact I thought there was something missing in your pr as it also modifies actionlogs.
But yes, it makes sense to add it (never tested in 3.x).

avatar jwaisner
jwaisner - comment - 30 Jun 2020

@SharkyKZ is the action logs for the account modification going to be apart of this PR or will this be separate? Everything else tests out good, just the action logs that do not record the edits.

avatar SharkyKZ
SharkyKZ - comment - 30 Jun 2020

Maybe separate. This could be fixed in staging too.

avatar jwaisner jwaisner - test_item - 30 Jun 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 30 Jun 2020

I have tested this item successfully on 766657a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29251.

avatar jwaisner jwaisner - change - 30 Jun 2020
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 30 Jun 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29251.

avatar SharkyKZ
SharkyKZ - comment - 1 Jul 2020

What would be the right solution?

avatar infograf768 infograf768 - change - 3 Jul 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-07-03 06:34:31
Closed_By infograf768
Labels Added: ?
Removed: ?
avatar infograf768 infograf768 - close - 3 Jul 2020
avatar infograf768 infograf768 - merge - 3 Jul 2020
avatar infograf768
infograf768 - comment - 3 Jul 2020

Tks.

Add a Comment

Login with GitHub to post a comment