21621[FEATURE] Wizard to add OpenID to backend user
Commit message
Review
-
Code review CR +2
- Stefan Neufeind +2
- Helmut Hummel +1
- Philipp Gampe +1
-
Verified V +2
- Stefan Neufeind +2
- Fabien Udriot +1
- Philipp Gampe +1
Issues 1
Files 8
- typo3/sysext/openid/Classes/OpenidModuleSetup.php2+17 −1
- typo3/sysext/openid/Classes/Wizard.php22new+218 −0
- typo3/sysext/openid/Resources/Private/Language/Wizard.xlfnew+46 −0
- typo3/sysext/openid/Resources/Private/Templates/Wizard/Content.html4new+46 −0
- typo3/sysext/openid/Resources/Public/StyleSheets/Wizard.cssnew+9 −0
- typo3/sysext/openid/wizard/conf.phpnew+6 −0
- typo3/sysext/openid/wizard/index.php7new+30 −0
- typo3/sysext/openid/ext_tables.php+19 −1
Review log 56
Show 31 earlier messages
-
Mr. Jenkins commented on patch set 1 CR -1 V -1 06/23/13, 19:16
Build Failed https://ci.typo3.org/job/typo3-v4-core-gerrit/9196/ : FAILURE -
Christian Weiske uploaded patch set 2 06/23/13, 21:21
-
Mr. Jenkins commented on patch set 2 06/23/13, 21:22
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/9202/ : SUCCESS -
Philipp Gampe commented on patch set 2 V -1 CR -1 06/23/13, 22:11
index.php:6we never do this! This allows remote file inclusion. -
Philipp Gampe commented on patch set 2 06/23/13, 22:33
I can confirm that the basic functionality works. I would like to get rid of that index.php if possible. However I am now sure of we have a central dispatcher for wizards. Anyway your code contains a security issues. There it cannot go in like this (never ever include something from global scope). Also I think that the wizard for the backend users table is of little use. We should add it to the users settings module too. To do so, we have to switch the field type to users and user a custom function to render to html. Then we can add the wizard icon and link. We will also need to add more CSH to describe the new feature. We should ask our UX/UI guys (Felix?) whether is makes sense to always display a info flash message about what can be done with this field. I fear that most users do not know what openid is.Wizard.php:68is there really no API method for thisWizard.php:94Those texts need to go into xlf files, to handle translations; also belowWizard.php:99IMHO no need for a variable here, use $this->claimedId directlyWizard.php:154you can use the Fluid view for the full content, not just for the inner html -
Philipp Gampe commented on patch set 2 06/23/13, 22:34
I have no time to work in this today. Maybe tomorrow. Anyway, good start, but we are no there yet.Wizard.php:134IMHO this method can be merged into the above one. -
Christian Weiske uploaded patch set 3 06/24/13, 06:31
-
Christian Weiske commented on patch set 2 06/24/13, 06:31
Wizard.php:99ReplyDoneWizard.php:134ReplyDoneWizard.php:154ReplyDo you have an example where a fluid view is used like that in the backend? The problem that needs to be tackled is including all the default CSS and JS.index.php:6ReplyDone -
Mr. Jenkins commented on patch set 3 06/24/13, 06:32
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/9204/ : SUCCESS -
Christian Weiske commented on patch set 3 06/24/13, 06:32
I am working on the rest, but wanted to get a first version out ASAP. -
Philipp Gampe commented on patch set 3 06/24/13, 07:32
Take a look at the aboutmodules sysext. You need a layout and a backendcontainer. For the rest, I will need to take a look myself — maybe tonight. -
Christian Weiske uploaded patch set 4 06/25/13, 07:57
-
Mr. Jenkins commented on patch set 4 06/25/13, 07:58
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/9217/ : SUCCESS -
Philipp Gampe commented on patch set 4 V +1 CR -1 06/25/13, 11:51
ok, I already see the finish line ;) Thanks for your work on this. The functionality works fine already, now we just need to polish it a bit, before we can merge it.OpenidModuleSetup.php:66LL and you could also use the API to get the icon.Wizard.php:94url encoded thisWizard.php:179htmlspecialchar (or inside the template)Content.html:37LLContent.html:40LLindex.php:5do you really need those four lines above? otherwise just drop themindex.php:9AFAIK E_NOTICE is already excluded from normal TYPO3 error handling and reporting. Did you test this? Otherwise please drop this line too. -
Christian Weiske commented on patch set 4 06/25/13, 19:54
OpenidModuleSetup.php:66ReplyExtUtility's icon method doesn't return a usable path relative to the document root, so I kept it as it is now. LL done.Wizard.php:94ReplyDoneWizard.php:179ReplyFluid automatically escapes variables.Content.html:37ReplyDoneContent.html:40ReplyDoneindex.php:5ReplyMCONF not, but MOD_PATH and BACK_PATH are needed.index.php:9ReplyRemoved. -
Christian Weiske uploaded patch set 5 06/25/13, 19:54
-
Mr. Jenkins commented on patch set 5 06/25/13, 19:55
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/9222/ : SUCCESS -
Philipp Gampe voted on patch set 5 V +1 CR +1 06/26/13, 17:32
-
Wouter Wolters commented on patch set 5 CR -1 06/26/13, 17:53
Some inline comments added.Wizard.php:36missing proprty type phpDocWizard.php:37missing proprty type phpDocWizard.php:39missing phpDoc for the functionWizard.php:58Since 6.0 the tabs are not intended with one more extra tab but are on the same level as the code. Please also add an space after the // This holds for every comment in this class.Wizard.php:161old classname, please refer to the namespaced class. -
Christian Weiske uploaded patch set 6 06/26/13, 19:32
-
Christian Weiske commented on patch set 5 06/26/13, 19:33
Wizard.php:36ReplyDoneWizard.php:37ReplyDoneWizard.php:39ReplyDoneWizard.php:58ReplyI changed it, but the TYPO3 PHPCS standard tells me otherwise (both "TYPO3v4" and "TYPO3").Wizard.php:161ReplyDone -
Mr. Jenkins commented on patch set 6 06/26/13, 19:33
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/9237/ : SUCCESS -
Philipp Gampe voted on patch set 6 V +1 CR +1 06/26/13, 21:29
-
Soren Malling commented on patch set 6 V -1 CR -1 07/09/13, 09:31
After using the wizard, the identifier field is filled - but not saved upon saving the TCEform -
Christian Weiske uploaded patch set 7 07/09/13, 21:59
-
Mr. Jenkins commented on patch set 7 07/09/13, 22:01
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/9554/ : SUCCESS -
Christian Weiske uploaded patch set 8 08/10/13, 13:05
-
Mr. Jenkins commented on patch set 8 08/10/13, 13:05
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/9987/ : SUCCESS -
Philipp Gampe uploaded patch set 9 08/17/13, 17:11
-
Philipp Gampe commented on patch set 9 08/17/13, 17:11
rebased -
Mr. Jenkins commented on patch set 9 08/17/13, 17:12
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/10108/ : SUCCESS
-
Philipp Gampe uploaded patch set 10 08/17/13, 17:15
-
Mr. Jenkins commented on patch set 10 08/17/13, 17:16
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/10109/ : SUCCESS -
Philipp Gampe commented on patch set 10 V +1 08/17/13, 17:21
Fixed the icon for the input field (relative path instead of absolute url). I would prefer if the CSS is moved to an own CSS file if possible. Please take a look at typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php to figure out how to create a "normal" backend layout. Or you do some extra work and rewrite this (again) to a fluid template approach. I do not give a minus one, as it works and at lot of time wa s already invested into this. -
Fabien Udriot voted on patch set 10 V +1 09/19/13, 08:04
-
Christian Weiske uploaded patch set 11 09/20/13, 09:16
-
Christian Weiske commented on patch set 11 09/20/13, 09:16
Moved CSS into separate file. -
Mr. Jenkins commented on patch set 11 09/20/13, 09:26
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/10851/ : SUCCESS -
Fabien Udriot voted on patch set 11 V +1 CR +1 09/20/13, 09:58
-
Philipp Gampe commented on patch set 11 V +2 CR +2 09/21/13, 16:56
Basic functionality works. Further cleanups can be done with smaller patches. Tested with Google: https://www.google.com/accounts/o8/id -
Frans Saris voted on patch set 11 V +1 CR +1 10/11/13, 18:41
-
Helmut Hummel commented on patch set 11 10/14/13, 19:14
I talked to Ernesto about that and he made a really good point, that editing user records is a task for Admins. No editor would be able to use this wizard to get his or her OpenID identity -
Helmut Hummel commented on patch set 11 10/14/13, 19:18
ah, no, the wizard is part of the user setup alsoindex.php:24that header call must be removed -
Helmut Hummel uploaded patch set 12 10/14/13, 19:21
-
Helmut Hummel commented on patch set 12 10/14/13, 19:31
Hm, code is there but I do not see the open ID field in user settings so I cannot test -
Mr. Jenkins commented on patch set 12 10/14/13, 20:07
Build Successful https://ci.typo3.org/job/typo3-v4-core-gerrit/11510/ : SUCCESS -
Philipp Gampe commented on patch set 12 10/14/13, 23:12
@Helmut: http://forge.typo3.org/issues/52828 -
Philipp Gampe voted on patch set 12 V +1 CR +1 10/14/13, 23:21
-
Helmut Hummel commented on patch set 12 CR +1 10/15/13, 22:30
Could not test but I would be in favor of adding this to beta2 -
Fabien Udriot voted on patch set 12 V +1 10/16/13, 07:49
-
Stefan Neufeind commented on patch set 12 V +2 CR +2 10/17/13, 08:38
I also didn't have the openid-field in the user-settings at first, just in the backend-user-listing edit-form. Moving the openid-module to the bottom of PackageStates.php made it work for me. After that I was also able to login with that account etc. Wizard works for me. -
Stefan Neufeind merged patch set 13 10/17/13, 08:38
-
Ernesto Baschny commented on patch set 13 10/18/13, 13:52
Can someone please explain to be what's the use-case for this "Wizard"? I understand what it does, but this is then only useful for an Admin to configure *his own* OpenID. Not for an users / editors. Not for an admin setting up an user. To me this concept is somehow limited and people might have different expectations from it. Other than that, I am disapointed that this was merged after feature freeze without my approval. I have a list of issues that might candidate as "exceptions", and we have to priorize what's important and what's not. This might also set some bad precedents or rise expectations from others that are also insisting that "their cool feature" is vital for inclusion in 6.2. Helmut was so kind to ask for my approval, but I was not able to answer to that yet due to this priorization that I have still to finish. I won't revert this just yet, because it might turn out that it's cool to have it in beta2, but please keep that in mind in the next period! -
Stefan Neufeind commented on patch set 13 10/18/13, 14:03
The feature is also present in the "User settings", so it's also available to normal users. It might be that this setting doesn't show up there for you immediately - we had that during testing, which was due to a package-loading-order thing. But when that part is correct it's also in the user-settings and not just in the user-admin-module. About FF: Well, this is on the list in notes for review before FF. And that list was neither empty nor closed or whatever. So I expected it was agreed from you this was already planned to still go in. And to be honest, I didn't know *sigh* about the release until yesterday afternoon when we talked about it on the chan (I missed have missed something there - but since the email was also missing, I didn't catch that news somehow). But the main point was that it was (still) on the list in the notes. -
Ernesto Baschny commented on patch set 13 10/20/13, 11:59
Indeed I don't see it in my "User Settings" and as I could not find any code that might add it there, I was under the impression this was not included. If this has been considered, I don't argue it's usefulness anymore, of course. And if this bug is related to the PackageManagement "loading order", this must be fixed before beta2. Other than that, I understand you missing beta1 notification, I forgot indeed the mail to the mailing list. So let's go on with this. I'll write more about the "feature freeze" and potential exceptions for 6.2 next week. Thanks for all involved here! -
Christian Weiske commented on patch set 13 10/21/13, 06:01
With the merge of https://review.typo3.org/24852 the OpenID button field shows up now.