5 Replies Last post: May 20, 2008 12:38 PM by akrherz  
Click to view akrherz's profile Gold 285 posts since
Mar 12, 2005

Apr 3, 2008 4:27 PM

patch for "Last Logout" on search plugin


Hi,

I've done too much complaining on this web forum, time to start writing patches :)

So, my first attempt, trivial to get my feet wet, is to add the "Last Logout" column to the results returned by the search plugin. This patch

  1. Adds the column to output html table
  2. Increments the version
  3. Adds changelog note (need I do that?)
  4. Adds il8n string and updates pt_BR as well :)

While testing, I notice that "Last Logout" appears to be broken in trunk regardless, as the "Last Logout" isn't working on user-summary either, will look into that.

My appologies if I did something wrong. I look forward to writing more :)

daryl

Attachments:
Click to view dombiak_gaston's profile Jiver 3,727 posts since
Sep 26, 2001
Apr 3, 2008 7:33 PM in response to: akrherz
Re: patch for "Last Logout" on search plugin
Oi Daryl,

Thanks a lot for your contribution. I have one feedback and a proposal. :)

Feedback:
I think that exposing the last time a user was logged in to any other user may be found as a potential security problem. For internal usages I think that people will love it but may be not for all cases. What do you think about this? May be we can make it configurable from the admin console if that column should appear in the result table?

Proposal:
Many times I heard the request for being able to search by Group and also to show the list of groups a user belongs. Since you are already helping us out with the search plugin.....would you like to include this functionality too?

Obrigado,

-- Gato
Click to view dombiak_gaston's profile Jiver 3,727 posts since
Sep 26, 2001
Apr 4, 2008 11:29 AM in response to: akrherz
Re: patch for "Last Logout" on search plugin
Oh, I misread your fix then. :) I thought that you were modifying the output that clients would get from a user search but I now see that you were referring to the admin console. In that case we are not risking any information leaking and your patch is just fine (i.e. we can include it to the official release).

My suggestion was regarding the user search that users can do from their XMPP clients. Would you like to help us implement that feature? :)

BTW, have you signed and faxed the Contributor Agreement?

Thanks,

-- Gato