Re: [xwiki-users] 1.8.4 : issues with new blog post system

2009-06-08 Thread jerem

>From  http://platform.xwiki.org/xwiki/bin/view/DevGuide/DsXWikiClasses here 
I found :

hel wrote:
> 
> XWiki Classes (xwikiclasses)
> 
> Warning: In XWiki 1.1M4, this table is not populated. The XWiki engine
> retieves the class of an object using xwikiobjects.XWO_CLASSNAME in table
> xwikiobjects instead. It accesses the document where xwikidoc.XWD_FULLNAME
> matches xwikiobjects.XWO_CLASSNAME, and then reads the XML description of
> the class from xwikidoc.XWD_CUSTOM_CLASS_XML.
> 

... So it's normal that my xwikiclasses table is empty. So I think those
exceptions do not relate to my initial problem, but it's quite strange they
appear as table is not supposed to be used anymore, true ?

About initial problem (new pages are hidden by default), I really have no
clue, if someone has ideas it would be great because it's quite impacting
...

Thx
-- 
View this message in context: 
http://n2.nabble.com/1.8.4-%3A-issues-with-new-blog-post-system-tp3018279p3041774.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


Re: [xwiki-users] 1.8.4 : issues with new blog post system

2009-06-08 Thread Sergiu Dumitriu
jerem wrote:
>>From  http://platform.xwiki.org/xwiki/bin/view/DevGuide/DsXWikiClasses here 
> I found :
> 
> hel wrote:
>> XWiki Classes (xwikiclasses)
>>
>> Warning: In XWiki 1.1M4, this table is not populated. The XWiki engine
>> retieves the class of an object using xwikiobjects.XWO_CLASSNAME in table
>> xwikiobjects instead. It accesses the document where xwikidoc.XWD_FULLNAME
>> matches xwikiobjects.XWO_CLASSNAME, and then reads the XML description of
>> the class from xwikidoc.XWD_CUSTOM_CLASS_XML.
>>
> 
> ... So it's normal that my xwikiclasses table is empty. So I think those
> exceptions do not relate to my initial problem, but it's quite strange they
> appear as table is not supposed to be used anymore, true ?
> 
> About initial problem (new pages are hidden by default), I really have no
> clue, if someone has ideas it would be great because it's quite impacting
> ...

What database are you using?

What connector version are you using?

Looks like the connector can't handle boolean properties, or its 
configuration is wrong.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] 1.8.4 : issues with new blog post system

2009-06-08 Thread jerem

Hello,

I'm using MySQL 5.1.34 and connector is  mysql-connector-java-3.1.7-bin.jar

A rapid look shows that it's a complete mismatch and you seem to be totally
right ... :(

I'll upgrade but I have no doubt it's the cause of many issues ... Thanks
and sorry for this ...

Jeremie


Sergiu Dumitriu-2 wrote:
> 
> jerem wrote:
>>>From  http://platform.xwiki.org/xwiki/bin/view/DevGuide/DsXWikiClasses
here 
>> I found :
>> 
>> hel wrote:
>>> XWiki Classes (xwikiclasses)
>>>
>>> Warning: In XWiki 1.1M4, this table is not populated. The XWiki engine
>>> retieves the class of an object using xwikiobjects.XWO_CLASSNAME in
>>> table
>>> xwikiobjects instead. It accesses the document where
>>> xwikidoc.XWD_FULLNAME
>>> matches xwikiobjects.XWO_CLASSNAME, and then reads the XML description
>>> of
>>> the class from xwikidoc.XWD_CUSTOM_CLASS_XML.
>>>
>> 
>> ... So it's normal that my xwikiclasses table is empty. So I think those
>> exceptions do not relate to my initial problem, but it's quite strange
>> they
>> appear as table is not supposed to be used anymore, true ?
>> 
>> About initial problem (new pages are hidden by default), I really have no
>> clue, if someone has ideas it would be great because it's quite impacting
>> ...
> 
> What database are you using?
> 
> What connector version are you using?
> 
> Looks like the connector can't handle boolean properties, or its 
> configuration is wrong.
> 
> -- 
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/1.8.4-%3A-issues-with-new-blog-post-system-tp3018279p3041853.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


[xwiki-users] Extended Todo Application installation notes

2009-06-08 Thread Gaëtan GUYODO
Hi,

1) I've just migrated my xwikies to 1.8.4, seems to work fine, thanks 
again team ;)

2) I have imported the "Extended Todo Application" v1.3 and it doesn't 
worked first: adding a new todo => nothing new , the todo list was still 
  empty.
I saw that "Extended Todo Application" worked with "Date Picker". So I 
downloaded "Date Picker", imported that application and now it works fine !
Maybe it could be usefull to add that information on the "Extended Todo 
Application" page.
Or maybe I'm just blind (possible).

3) That "Extended Todo Application" v1.3 have dates on mm/dd/ 
format. is-it possible to use another format (like, for example, 
dd/mm/) ?

Thanks,
Gaëtan


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


Re: [xwiki-users] Extended Todo Application installation notes

2009-06-08 Thread Vincent Massol
Hi Gaetan,

On Jun 8, 2009, at 5:02 PM, Gaëtan GUYODO wrote:

> Hi,
>
> 1) I've just migrated my xwikies to 1.8.4, seems to work fine, thanks
> again team ;)
>
> 2) I have imported the "Extended Todo Application" v1.3 and it doesn't
> worked first: adding a new todo => nothing new , the todo list was  
> still
>  empty.
> I saw that "Extended Todo Application" worked with "Date Picker". So I
> downloaded "Date Picker", imported that application and now it works  
> fine !
> Maybe it could be usefull to add that information on the "Extended  
> Todo
> Application" page.
> Or maybe I'm just blind (possible).

Maybe you could add that information yourself and thus help us improve  
the doc?
It's a wiki after all! :)

Thanks
-Vincent

> 3) That "Extended Todo Application" v1.3 have dates on mm/dd/
> format. is-it possible to use another format (like, for example,
> dd/mm/) ?
>
> Thanks,
> Gaëtan
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Custom authentication, LDAP configuration

2009-06-08 Thread Andawyr

On Sat, Jun 6, 2009 at 6:56 AM, tmortagne (via Nabble) <
ml-user+47511-112540...@n2.nabble.com
> wrote:

> Hi,
>
> On Fri, Jun 5, 2009 at 18:33, 
> Andawyrhttp://n2.nabble.com/user/SendEmail.jtp?type=node&node=3035230&i=0>>
> wrote:
> >
> > We've configured our XWiki instance to use a custom authentication plugin
> to
> > authenticate via a secure logon cookie.  When the user signs in,
> information
> > pertaining to the user is fetched from Active Directory; note that this
> is
> > done as part of the plugin, and does not access A/D via XWiki.
> >
> > However, the side effect of this change is that a user has to access
> XWiki
> > once to get created in the local user space so they can then be added to
> the
> > various groups that have been created in the wiki.  This is inconvenient
> at
> > best, and I would like to fix this.
> >
> > I found an interesting script in this post:
> >
> >http://n2.nabble.com/LDAP---importing-users-td506206.html#a506207
> >
> > that provides a script to query LDAP via XWiki, and populate the local
> user
> > store with all A/D users.
> >
> > My question is: can I configure XWiki to use both the custom
> authentication
> > plugin, *and* configure LDAP access so I can use the above script to
> > populate the database?
> >
> > If the above doesn't work, I can create a perl script that will generate
> a
> > script that I can put into a Wiki page, but that's not as nice as having
> a
> > canned script available the wiki that I can run at the click of a mouse.
> >
>
> What you can do is extends the XWikiLDAPAuthServiceImpl authenticator,
> do your custom part and let it do the LDAP part. All the methods are
> protected so you can easily modify some parts of it's behavior if you
> need. That way your custom authenticator is called but it can use the
> XWiki standard LDAP authenticator (which will use the same
> configuration it would use if it was the "main" authenticator) as a
> tool.


So, just to be clear, this will perform user searches directly against
LDAP?  Will there be any harm to manually inserting people into the XWiki
user store ahead of implementing the new LDAP auth service class?  I need to
get users using the wiki asap, and I can't wait until I have the new auth
service class implemented

-- 
View this message in context: 
http://n2.nabble.com/Custom-authentication%2C-LDAP-configuration-tp3031494p3045306.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


Re: [xwiki-users] Custom authentication, LDAP configuration

2009-06-08 Thread Thomas Mortagne
On Mon, Jun 8, 2009 at 22:15, Andawyr wrote:
>
> On Sat, Jun 6, 2009 at 6:56 AM, tmortagne (via Nabble) <
> ml-user+47511-112540...@n2.nabble.com
>> wrote:
>
>> Hi,
>>
>> On Fri, Jun 5, 2009 at 18:33, 
>> Andawyrhttp://n2.nabble.com/user/SendEmail.jtp?type=node&node=3035230&i=0>>
>> wrote:
>> >
>> > We've configured our XWiki instance to use a custom authentication plugin
>> to
>> > authenticate via a secure logon cookie.  When the user signs in,
>> information
>> > pertaining to the user is fetched from Active Directory; note that this
>> is
>> > done as part of the plugin, and does not access A/D via XWiki.
>> >
>> > However, the side effect of this change is that a user has to access
>> XWiki
>> > once to get created in the local user space so they can then be added to
>> the
>> > various groups that have been created in the wiki.  This is inconvenient
>> at
>> > best, and I would like to fix this.
>> >
>> > I found an interesting script in this post:
>> >
>> >    http://n2.nabble.com/LDAP---importing-users-td506206.html#a506207
>> >
>> > that provides a script to query LDAP via XWiki, and populate the local
>> user
>> > store with all A/D users.
>> >
>> > My question is: can I configure XWiki to use both the custom
>> authentication
>> > plugin, *and* configure LDAP access so I can use the above script to
>> > populate the database?
>> >
>> > If the above doesn't work, I can create a perl script that will generate
>> a
>> > script that I can put into a Wiki page, but that's not as nice as having
>> a
>> > canned script available the wiki that I can run at the click of a mouse.
>> >
>>
>> What you can do is extends the XWikiLDAPAuthServiceImpl authenticator,
>> do your custom part and let it do the LDAP part. All the methods are
>> protected so you can easily modify some parts of it's behavior if you
>> need. That way your custom authenticator is called but it can use the
>> XWiki standard LDAP authenticator (which will use the same
>> configuration it would use if it was the "main" authenticator) as a
>> tool.
>
>
> So, just to be clear, this will perform user searches directly against
> LDAP?  Will there be any harm to manually inserting people into the XWiki
> user store ahead of implementing the new LDAP auth service class?  I need to
> get users using the wiki asap, and I can't wait until I have the new auth
> service class implemented

If you just want the part which create a xwiki user from ldap
information you can look at XWikiLDAPAuthServiceImpl
(http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java)
to see how it does it and do the same. #createUserFromLDAP and
#updateUserFromLDAP methods which are both protected. You can also
look at #syncUser which take care of calling create or update.

I just suggested the cleaner way for your authenticator in the long term IMO.

>
> --
> View this message in context: 
> http://n2.nabble.com/Custom-authentication%2C-LDAP-configuration-tp3031494p3045306.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] 2.0

2009-06-08 Thread Glenn Engel
Will Xwiki 1.9 default new pages to 2.0 syntax?
If not, can someone detail the steps needed to change the Wiki defaults so
new pages are created with 2.0 syntax?

Thanks,

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


Re: [xwiki-users] 2.0

2009-06-08 Thread Sergiu Dumitriu
Glenn Engel wrote:
> Will Xwiki 1.9 default new pages to 2.0 syntax?

Yes.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users