[xwiki-users] listing all users

2009-09-24 Thread Arnaud bourree
Hello,

I'm building a migration to LDAP page for my company on one XWiki 2.0
RC1 instance.
For this I need to list all users registered in.
I used the following code to list users:
for(u in xwiki.wrapDocs(xwiki.searchDocuments(, BaseObject obj where
obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and
doc.fullName  'XWiki.Admin' and doc.fullName  'XWiki.TEST' and
doc.fullName  'XWiki.dummy'))) {
...
}

That looks good, most of my users are listed.
But at least one user is missing: one user register as JDOE one time
and one other time as jdoe
So there are two John Doe users: XWiki.jdoe and XWiki.JDOE but my loop
only find JDOE and not jdoe

What it is wrong in my request?

Arnaud.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] listing all users

2009-09-24 Thread Oana Tabaranu
Hi Arnaud,

I have tested your query in velocity and it works fine for me:
#set($users =$xwiki.searchDocuments(, BaseObject obj where obj.name = 
doc.fullName and obj.className = 'XWiki.XWikiUsers' and doc.fullName  
'XWiki.Admin' and doc.fullName  'XWiki.TEST' and doc.fullName  
'XWiki.dummy'))
#foreach ($u in  $users)
 $u
#end
My result is:
XWiki.JDOE
XWiki.jdoe

Oana

Arnaud bourree wrote:
 Hello,

 I'm building a migration to LDAP page for my company on one XWiki 2.0
 RC1 instance.
 For this I need to list all users registered in.
 I used the following code to list users:
 for(u in xwiki.wrapDocs(xwiki.searchDocuments(, BaseObject obj where
 obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and
 doc.fullName  'XWiki.Admin' and doc.fullName  'XWiki.TEST' and
 doc.fullName  'XWiki.dummy'))) {
 ...
 }

 That looks good, most of my users are listed.
 But at least one user is missing: one user register as JDOE one time
 and one other time as jdoe
 So there are two John Doe users: XWiki.jdoe and XWiki.JDOE but my loop
 only find JDOE and not jdoe

 What it is wrong in my request?

 Arnaud.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
   

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] myxwiki.org skinless?

2009-09-24 Thread wangwh
Hi,
Anyone else have problems with myxwiki.org skin? 
Wei-hsing

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] myxwiki.org skinless?

2009-09-24 Thread Vincent Massol

On Sep 24, 2009, at 4:58 PM, wan...@att.net wrote:

 Hi,
 Anyone else have problems with myxwiki.org skin?

We've just upgraded it?
Try ctrl+refresh on http://myxwiki.org

If you're having pb on a subwiki please let us know.

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [Fwd: [xwiki-devs] Who can design nice and unique color themes for xwiki.org]

2009-09-24 Thread Jerome Velociter
I'm sure we have users that are good at colors too!

Would someone like to propose a theme for xwiki.org (or one of its 
sub-sites) ?

Jerome.

 Original Message 
Subject:[xwiki-devs] Who can design nice and unique color themes for 
xwiki.org
Date:   Thu, 24 Sep 2009 17:20:17 +0200
From:   Vincent Massol vinc...@massol.net
Reply-To:   XWiki Developers d...@xwiki.org
To: XWiki Developers d...@xwiki.org



Hi,

Since we're upgrading xwiki.org to 2.0 it would be nice to use the new  
colibri skin.

So who can design nice and unique color themes for xwiki.org?

Thanks
-Vincent

___
devs mailing list
d...@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] myxwiki.org skinless?

2009-09-24 Thread wangwh

 
 My site, parents2.myxwiki.org is skinless.
Please take a look.

 -- Original message from Vincent Massol vinc...@massol.net: 
--


 
 On Sep 24, 2009, at 4:58 PM, wan...@att.net wrote:
 
  Hi,
  Anyone else have problems with myxwiki.org skin?
 
 We've just upgraded it?
 Try ctrl+refresh on http://myxwiki.org
 
 If you're having pb on a subwiki please let us know.
 
 Thanks
 -Vincent
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] myxwiki.org skinless?

2009-09-24 Thread Vincent Massol
Hi,

On Sep 24, 2009, at 6:04 PM, wan...@att.net wrote:



 My site, parents2.myxwiki.org is skinless.

This is what I see:
http://tinycoke.com/_6rk1A1e9MElKw/picture_1.png

The skin is there

-Vincent

 Please take a look.

 -- Original message from Vincent Massol vinc...@massol.net 
 : --



 On Sep 24, 2009, at 4:58 PM, wan...@att.net wrote:

 Hi,
 Anyone else have problems with myxwiki.org skin?

 We've just upgraded it?
 Try ctrl+refresh on http://myxwiki.org

 If you're having pb on a subwiki please let us know.

 Thanks
 -Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] listing all users

2009-09-24 Thread Arnaud bourree
Hello,

I test it also in velocity without success.
I try an other code
{{groovy}}
def sql = 
count = 0
for (item in xwiki.searchDocuments(sql)) {
   u = xwiki.getDocument(item)
   xu = u.getObject('XWikiUsers')
   if (null == xu) continue
   count++
   print item+\n
}
print **Total +count+**\n
{{/groovy}}

I still not found jdoe
But if I edit XWiki.jdoe page in object mode there is XWikiUsers object !!!

Arnaud.

2009/9/24 Oana Tabaranu oana.tabar...@xwiki.com:
 Hi Arnaud,

 I have tested your query in velocity and it works fine for me:
 #set($users =$xwiki.searchDocuments(, BaseObject obj where obj.name =
 doc.fullName and obj.className = 'XWiki.XWikiUsers' and doc.fullName 
 'XWiki.Admin' and doc.fullName  'XWiki.TEST' and doc.fullName 
 'XWiki.dummy'))
 #foreach ($u in  $users)
  $u
 #end
 My result is:
 XWiki.JDOE
 XWiki.jdoe

 Oana

 Arnaud bourree wrote:
 Hello,

 I'm building a migration to LDAP page for my company on one XWiki 2.0
 RC1 instance.
 For this I need to list all users registered in.
 I used the following code to list users:
 for(u in xwiki.wrapDocs(xwiki.searchDocuments(, BaseObject obj where
 obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and
 doc.fullName  'XWiki.Admin' and doc.fullName  'XWiki.TEST' and
 doc.fullName  'XWiki.dummy'))) {
 ...
 }

 That looks good, most of my users are listed.
 But at least one user is missing: one user register as JDOE one time
 and one other time as jdoe
 So there are two John Doe users: XWiki.jdoe and XWiki.JDOE but my loop
 only find JDOE and not jdoe

 What it is wrong in my request?

 Arnaud.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] listing all users

2009-09-24 Thread Vincent Massol
Hi Arnaud,

On Sep 24, 2009, at 5:51 PM, Arnaud bourree wrote:

 Hello,

 I test it also in velocity without success.
 I try an other code
 {{groovy}}
 def sql = 
 count = 0
 for (item in xwiki.searchDocuments(sql)) {
   u = xwiki.getDocument(item)
   xu = u.getObject('XWikiUsers')
   if (null == xu) continue
   count++
   print item+\n
 }
 print **Total +count+**\n
 {{/groovy}}

 I still not found jdoe
 But if I edit XWiki.jdoe page in object mode there is XWikiUsers  
 object !!!

My take is that you're using MySQL as the database and in default mode  
which doesn't differentiate lowercase and uppercase.

Could that be it?

Thanks
-Vincent

 Arnaud.

 2009/9/24 Oana Tabaranu oana.tabar...@xwiki.com:
 Hi Arnaud,

 I have tested your query in velocity and it works fine for me:
 #set($users =$xwiki.searchDocuments(, BaseObject obj where  
 obj.name =
 doc.fullName and obj.className = 'XWiki.XWikiUsers' and  
 doc.fullName 
 'XWiki.Admin' and doc.fullName  'XWiki.TEST' and doc.fullName 
 'XWiki.dummy'))
 #foreach ($u in  $users)
  $u
 #end
 My result is:
 XWiki.JDOE
 XWiki.jdoe

 Oana

 Arnaud bourree wrote:
 Hello,

 I'm building a migration to LDAP page for my company on one XWiki  
 2.0
 RC1 instance.
 For this I need to list all users registered in.
 I used the following code to list users:
 for(u in xwiki.wrapDocs(xwiki.searchDocuments(, BaseObject obj  
 where
 obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and
 doc.fullName  'XWiki.Admin' and doc.fullName  'XWiki.TEST' and
 doc.fullName  'XWiki.dummy'))) {
 ...
 }

 That looks good, most of my users are listed.
 But at least one user is missing: one user register as JDOE one time
 and one other time as jdoe
 So there are two John Doe users: XWiki.jdoe and XWiki.JDOE but my  
 loop
 only find JDOE and not jdoe

 What it is wrong in my request?

 Arnaud.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] myxwiki.org skinless?

2009-09-24 Thread Vincent Massol
Hi Wang,

The problem was that you had forbidden unregistered users from viewing
any documents in the XWiki space and since the skin is in that space
they couldn't view it...

I have modified the permission to allow unreg users to view the XWiki
space (this is needed anyone for xwiki to work fine).

Thanks
-Vincent

PS: Consequently the problem you had was not related to the upgrade to
the 2.0 version.

On Thu, Sep 24, 2009 at 6:15 PM, Vincent Massol vinc...@massol.net wrote:
 Hi,

 On Sep 24, 2009, at 6:04 PM, wan...@att.net wrote:



 My site, parents2.myxwiki.org is skinless.

 This is what I see:
 http://tinycoke.com/_6rk1A1e9MElKw/picture_1.png

 The skin is there

 -Vincent

 Please take a look.

 -- Original message from Vincent Massol vinc...@massol.net:
 --



 On Sep 24, 2009, at 4:58 PM, wan...@att.net wrote:

 Hi,
 Anyone else have problems with myxwiki.org skin?

 We've just upgraded it?
 Try ctrl+refresh on http://myxwiki.org

 If you're having pb on a subwiki please let us know.

 Thanks
 -Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] listing all users

2009-09-24 Thread Arnaud bourree
2009/9/24 Vincent Massol vinc...@massol.net:
 Hi Arnaud,

 On Sep 24, 2009, at 5:51 PM, Arnaud bourree wrote:

 Hello,

 I test it also in velocity without success.
 I try an other code
 {{groovy}}
 def sql = 
 count = 0
 for (item in xwiki.searchDocuments(sql)) {
   u = xwiki.getDocument(item)
   xu = u.getObject('XWikiUsers')
   if (null == xu) continue
   count++
   print item+\n
 }
 print **Total +count+**\n
 {{/groovy}}

 I still not found jdoe
 But if I edit XWiki.jdoe page in object mode there is XWikiUsers
 object !!!

 My take is that you're using MySQL as the database and in default mode
 which doesn't differentiate lowercase and uppercase.

 Could that be it?

 Thanks
 -Vincent

Yes it is MySQL
I will check its configuration tomorrow

But I just google it and find  that on *nix system (like I am), table
name are case sensitive: I don't need to configure it
And query looks to be case sensitive excepted for natural language
where additional keyword it's needed

What it is the configuration to be sure that query will be case
sensitive (natural language included)?

Arnaud

 Arnaud.

 2009/9/24 Oana Tabaranu oana.tabar...@xwiki.com:
 Hi Arnaud,

 I have tested your query in velocity and it works fine for me:
 #set($users =$xwiki.searchDocuments(, BaseObject obj where
 obj.name =
 doc.fullName and obj.className = 'XWiki.XWikiUsers' and
 doc.fullName 
 'XWiki.Admin' and doc.fullName  'XWiki.TEST' and doc.fullName 
 'XWiki.dummy'))
 #foreach ($u in  $users)
  $u
 #end
 My result is:
 XWiki.JDOE
 XWiki.jdoe

 Oana

 Arnaud bourree wrote:
 Hello,

 I'm building a migration to LDAP page for my company on one XWiki
 2.0
 RC1 instance.
 For this I need to list all users registered in.
 I used the following code to list users:
 for(u in xwiki.wrapDocs(xwiki.searchDocuments(, BaseObject obj
 where
 obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and
 doc.fullName  'XWiki.Admin' and doc.fullName  'XWiki.TEST' and
 doc.fullName  'XWiki.dummy'))) {
 ...
 }

 That looks good, most of my users are listed.
 But at least one user is missing: one user register as JDOE one time
 and one other time as jdoe
 So there are two John Doe users: XWiki.jdoe and XWiki.JDOE but my
 loop
 only find JDOE and not jdoe

 What it is wrong in my request?

 Arnaud.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] Who can design nice and unique color themes for xwiki.org

2009-09-24 Thread Ecaterina Valica
[Proposal 1]

Color Variations for xwiki.org :

XE - http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/XE/XE.png
XWATCH -
http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/XWATCH/XWATCH.png
XMANAGER -
http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/XMANAGER/XMANAGER.png
XWORKSPACES -
http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/XWORKSPACES/XWORKSPACES.png

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] myxwiki.org skinless?

2009-09-24 Thread wangwh

 
 Yes, the skin is back. (to me, it went away for hours)

 -- Original message from Vincent Massol vinc...@massol.net: 
--


 Hi,
 
 On Sep 24, 2009, at 6:04 PM, wan...@att.net wrote:
 
 
 
  My site, parents2.myxwiki.org is skinless.
 
 This is what I see:
 http://tinycoke.com/_6rk1A1e9MElKw/picture_1.png
 
 The skin is there
 
 -Vincent
 
  Please take a look.
 
  -- Original message from Vincent Massol 
  : --
 
 
 
  On Sep 24, 2009, at 4:58 PM, wan...@att.net wrote:
 
  Hi,
  Anyone else have problems with myxwiki.org skin?
 
  We've just upgraded it?
  Try ctrl+refresh on http://myxwiki.org
 
  If you're having pb on a subwiki please let us know.
 
  Thanks
  -Vincent
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users