Actually I've just realized that we cannot customize the user directory for the whole wiki. Only users can customize what they see. I've created a new jira issue http://jira.xwiki.org/jira/browse/XE-1137 (which IMO is even more needed than XE-1137 but that's a personal opinion ;)). Thanks -Vincent On Mar 26, 2012, at 3:37 PM, Vincent Massol wrote:
+1 this is a nice improvement even though it wasn't implemented the way I proposed it with XObjects for Interface Extensions (see http://xwiki.markmail.org/thread/jj6z3ywptaqesv4r ) ;)
It wouldn't be hard to change though by replacing the Override page with an XObject I think.
Thanks -Vincent
On Mar 23, 2012, at 6:47 PM, Eduard Moraru wrote:
Hi devs,
I`ve worked on allowing the customization of the User Directory and, implicitly, the ability to search for users in a wiki. The jira issue [1] has 3 attached images, but I am going to link them here [2][3][4] too for commodity.
The idea is simple: Use the livetable to display users (pages with XWikiUsers objects in them) and display a selection of extra columns (XWikiUsers class property names) that are stored in the user's profile page as preferences. Each user can define his/er own view over the user directory and can also reset it to default.
This feature comes as a complementary to the previous one [5] (that is still waiting for your votes, BWT :) ). Combined, the two allow an admin to display newly added user fields in the user's profile and other users to perform user searches based on (and not only) these fields.
The only inconvenience with this approach is related to the workspaces application in the way that a workspace has a different membership relationship (membership to the workspace's group) than a normal XE instance or a farm subwiki (pages with XWikiUsers objects in them). Please see the jira issue [6] about this inconvenience and also the chosen and implemented solution (with an example).
I`d like your vote if this is a feature that is to be integrated in XWiki, as proposed by the 2 pull requests [7][8] that are available.
Thanks, Eduard
---------- [1] http://jira.xwiki.org/browse/XE-1131 [2] http://jira.xwiki.org/secure/attachment/24775/customizableUserDirectory-defa..., no customization, default columns) [3] http://jira.xwiki.org/secure/attachment/24776/customizableUserDirectory-cust... screen) [4] http://jira.xwiki.org/secure/attachment/24777/customizableUserDirectory-cust... with extra columns added) [5] http://xwiki.markmail.org/thread/22snpab3czfdexln (mail: [VOTE] merge branch 'feature-user-profile-information-editor' into master in 4.0M2) [6] http://jira.xwiki.org/browse/XWIKI-7648 (workspaces issue with the implemented solution) [7] https://github.com/xwiki/xwiki-enterprise/pull/18 [8] https://github.com/xwiki/xwiki-platform/pull/42 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs