Re: [xwiki-users] wysiwyg

2008-08-02 Thread Vincent Massol
Hi Alain,

On Aug 2, 2008, at 12:52 AM, Alain M. wrote:


 Vincent Massol escreveu:

 This is a known limitation and the new WYSIWYG editor we're working  
 on
 will not have this limitation.

 Do you have any kind os estimation of how long the wisiwig might take?
 Not precisely, but is it more like one month or one year?

Several of us are working hard on it every day. We've planned a first  
release (alpha/beta) for end of September and a final release around  
end of the year.

Thanks
-Vincent

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


Re: [xwiki-users] Xwiki LDAP Authentication doesn't work when you move a user to a different OU in Active Directory

2008-08-02 Thread Thomas Mortagne
On Fri, Aug 1, 2008 at 7:54 PM, Vincent Massol [EMAIL PROTECTED] wrote:

 On Aug 1, 2008, at 7:46 PM, Thomas Mortagne wrote:

 On Fri, Aug 1, 2008 at 6:22 PM, Vincent Massol [EMAIL PROTECTED]
 wrote:

 On Aug 1, 2008, at 6:17 PM, Thomas Mortagne wrote:

 [snip]

 I found what is the problem: It's not your configuration, by default
 XWiki store the DN in the user's profile (with the ldap_dn=dn in
 xwiki.authentication.ldap.fields_mapping property) to speed up the
 DN
 search. The problem is that it will always use the first DN used
 for a
 user even the user moved in LDAP server.

 So what you can do to fix it:

 - for existing users in XWiki: edit the user's profile page using
 object editor and change the value of the property ldap_dn (LDAP
 DN).
 Set the new DN or just blank it to let XWiki update it.
 - if you plan to move LDAP users regularely: remove the ldap_dn=dn
 from xwiki.authentication.ldap.fields_mapping property to avoid LDAP
 user DN storage.

 This looks like an important XWiki limitation isn't it?

 I guess moving users in LDAP is a pretty common thing and we should
 probably not request admins to edit related XWiki users objects. That
 doesn't sound right.

 It's not a limitation, just configuration. As I said, If you don't
 have ldap_dn=dn in xwiki.authentication.ldap.fields_mapping the DN
 is never stored so you don't have the problem. But maybe the default
 value of wiki.authentication.ldap.fields_mapping has to be changed.

 I understand but cannot we do better? It looks a bit like magic and
 the parameter name doesn't reflect the behavior and the dangerousness
 associated with it.

This work like that since the first old LDAP authenticator and it's
the first time someone report that it's an issue AFAIK...
Anyway maybe a new parameter userDN_constant=true/false or something
like that would be better. Or we completely remove this way to get the
DN.


 Also I don't see the use cases where this parameter could be used?
 (unless your LDAP is read only which is probably pretty rare).

You are maybe right, I really don't know as I pretty much never used
LDAP for personal needs.


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




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


Re: [xwiki-users] Xwiki LDAP Authentication doesn't work when you move a user to a different OU in Active Directory

2008-08-02 Thread Thomas Mortagne
On Fri, Aug 1, 2008 at 10:42 PM, lukweb [EMAIL PROTECTED] wrote:

 GREAT !!!

 I can't test it now because i'm not at work but i'm sure you're right about
 the ldap_dn because i was testing the first login of a new user anywhere in
 the Active Directory and it works until i move it into another OU...

 I will test it on next Monday and i'll give you a feedback about it.

Hmm, I looked into the code and it's possible that there is a bug with
LDAP DN field of user profile that someone removed by hand (but there
should not be any problem with user profile that never has LDAP DN
inserted). Let me know if you have problem and I will look more into
it.


 Thanks for your quick answers.

 P.S. : I love Xwiki but i'm sure it can be a more popular wiki if it was
 more documented...
 The standalone package (multiplatformed) is amazing.
 The good point is this great forum with you the great experts, thanks
 buddies !!!
 --
 View this message in context: 
 http://n2.nabble.com/Xwiki-LDAP-Authentication-doesn%27t-work-when-you-move-a-user-to-a-different-OU-in-Active-Directory-tp663821p665028.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.

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




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


[xwiki-users] Problems with attachment updates

2008-08-02 Thread Hoani Cross
Hi !

I'm currently using attachments to have my minmaps shown up on my website
using a macro. When I update one of my mindmaps, the mindmap displayed still
the same. If I download the file and open it with Freemind, it's still the
first version. Worse, if I delete the attachment and use my browser history
to fetch the attachment again, it resolves and gives me the first version...
again ! However, using the revisions page gives me the wanted result,
selecting the last revision return the true revision. I'm using XWiki 1.4 on
Tomcat [EMAIL PROTECTED] Any clue ?

-- 
Hoani CROSS
Globotraders Tahiti Founder [http://globotraders-tahiti.com]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users