Re: [xwiki-users] XWiki Authenticator Trusted LDAP

2014-02-14 Thread Thomas Mortagne
You can have only one authenticator in XWiki since the single
authenticator to use is defined by xwiki.authentication.authclass.

On Fri, Feb 14, 2014 at 7:00 PM, Galina  wrote:
> Hello Thomas,
>
> Thank you for your reply.
>
> Yes, I am talking about
> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Authenticator+Trusted+LDAP
>
> When I replace
> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
> with
> xwiki.authentication.authclass=com.xwiki.authentication.trustedldap.TrustedLDAPAuthServiceImpl
> according the documentation on
> https://github.com/xwiki-contrib/xwiki-authenticator-trusted-ldap#install,
> our XWIKI doesn't run with the error:
> java.lang.NoClassDefFoundError:
> com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl
>
> Can trusted LDAP Authenticator work at the same time as LDAP authentication
> works?
>
> Galina
>
>
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/XWiki-Authenticator-Trusted-LDAP-tp7589082p7589149.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


Re: [xwiki-users] XWiki Authenticator Trusted LDAP

2014-02-14 Thread Galina
Hello Thomas,

Thank you for your reply.

Yes, I am talking about 
http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Authenticator+Trusted+LDAP

When I replace
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
with 
xwiki.authentication.authclass=com.xwiki.authentication.trustedldap.TrustedLDAPAuthServiceImpl
according the documentation on
https://github.com/xwiki-contrib/xwiki-authenticator-trusted-ldap#install,
our XWIKI doesn't run with the error:
java.lang.NoClassDefFoundError:
com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl

Can trusted LDAP Authenticator work at the same time as LDAP authentication
works?

Galina
 




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-Authenticator-Trusted-LDAP-tp7589082p7589149.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] Advice needed for best way to migrate from madiawiki

2014-02-14 Thread atakacs
Hello

I am pretty new with xwiki so please bear with me ...

I am tasked with a migration project from an existing mediawiki (about 500
pages) to a brand new xwiki system that we will hopefully enjoy in the
future.

I am pondering my options and would definitely appreciate any pointer /
suggestion as of the best way to proceed. 

I have played with an xml dump produced using WikiTeam dumpgenerator.py
(http://code.google.com/p/wikiteam/wiki/NewTutorial#I_have_no_shell_access_to_server)
but the results are fairly disappointing. Is this a viable approach ?

Again any help most appreciated.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Advice-needed-for-best-way-to-migrate-from-madiawiki-tp7589148.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] Problem add GadGet in dashboard

2014-02-14 Thread Saulo Bravim
Good afternoon.

I have a problem to add new gadget in dashboard.

I click the button to add a new gadget, choose the application, configure
and click on add. The page reloads, but does not display the application,
someone has gone through this problem?

Currently use xwiki 5.4.1 enterprise.

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


[xwiki-users] D3js not working on XWiki 5.4

2014-02-14 Thread Hamster
I have a problem getting the  D3js example
   to work.

I have a fresh XWiki 5.4 running. I have installed the D3js with the EM. I
then created a new Space called "D3". I created a page called "D3.Data" and
pasted the data from the example. I then edited the "D3.WebHome" and pasted
the code to display the graph.

But when I click "Save & View", I only get a blank page. F5 (refresh) does
nothing. I then edit the page in the WYSIWYG editor...I can see the graph
being displayed! I can even use the arrow keys left and right to interact
with the graph. But when I hit "Save & View", the graph is NOT being
displayed, but part of the velocity code is. If I edit the page in XWiki
mode, I can see that some velocity code is now being 'escaped' by XWiki.

What am I missing here



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145.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] XWiki Authenticator Trusted LDAP

2014-02-14 Thread Thomas Mortagne
If you are talking about
http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Authenticator+Trusted+LDAP
(please always make clear what extension you are talking about) then
according to the documentation you indicated the wrong class name.

See https://github.com/xwiki-contrib/xwiki-authenticator-trusted-ldap#install.

First of all the documentation gives examples, it's not at all
"recommendations", you need to know what exactly the authenticator you
are using in front of XWiki is going to set as REMOTE USER.

As indicated in the documentation, 1 and 2 are the regexp groups.
Anything in parentheses in a regexp get assigned with a number.
So xwiki.authentication.trustedldap.remoteUserMapping.1 means "what is
found in the regexp group of index 1", in the documentation example we
indicate that anything found before the "@" is the user login.

On Fri, Feb 14, 2014 at 3:53 PM, Thomas Mortagne
 wrote:
> What jar are ou talking about exactly ?
>
> On Tue, Feb 11, 2014 at 10:16 PM, Galina  wrote:
>> Hello,
>> Currently we have LDAP authentication for our XWIKI users. I am trying to
>> implement XWiki Authenticator Trusted LDAP with it.
>> I did the following:
>> 1.  Added  jar file  into WEB-INF/lib folder
>> 2.  Modified xwiki.cfg :
>>
>> 2.1.Replaced
>> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
>> with
>> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.AppServerTrustedAuthServiceImpl
>> If I replace the line with
>> xwiki.authentication.authclass=com.xwiki.authentication.trustedldap.TrustedLDAPAuthServiceImpl,
>> my xwiki doesn't run at all with an error LDAP.XWikiLDAPAuthServiceImpl not
>> found.
>>
>> 2.2. I still have all configuration in place for LDAP, and I have added 
>> the
>> lines according to the recommendations:
>>
>> #-# A Java regexp used to parse the remote user provided by JAAS
>>
>> xwiki.authentication.trustedldap.remoteUserParser=(.+)@(.+)
>>
>> #-# Indicate which of the regexp group correspond to which LDAP properties
>> #-# The following LDAP properties are supported:
>> #-#   login, password, ldap_server, ldap_base_DN, ldap_bind_DN,
>> ldap_bind_pass
>> #
>> #xwiki.authentication.trustedldap.remoteUserMapping.1=login
>> #xwiki.authentication.trustedldap.remoteUserMapping.2=ldap_server,ldap_base_DN,ldap_bind_DN,ldap_bind_pass
>> xwiki.authentication.trustedldap.remoteUserMapping.1=
>> xwiki.authentication.trustedldap.remoteUserMapping.2=our data here
>>
>> #-# Indicate how to convert each found property
>> #xwiki.authentication.trustedldap.remoteUserMapping.ldap_server=MYDOMAIN=my.domain.com|MYDOMAIN2=my.domain2.com
>> #xwiki.authentication.trustedldap.remoteUserMapping.ldap_base_DN=MYDOMAIN=dc=my,dc=domain,dc=com|MYDOMAIN2=dc=my,dc=domain2,dc=com
>> #xwiki.authentication.trustedldap.remoteUserMapping.ldap_bind_DN=MYDOMAIN=cn=bind,dc=my,dc=domain,dc=com|MYDOMAIN2=cn=bind,dc=my,dc=domain2,dc=com
>> #xwiki.authentication.trustedldap.remoteUserMapping.ldap_bind_pass=MYDOMAIN=password|MYDOMAIN2=password2
>>
>> xwiki.authentication.trustedldap.remoteUserMapping.ldap_server=MYDOMAIN=domain_name1.ds.domain.ca|MYDOMAIN2=domain_name2.ds.somain.ca
>> xwiki.authentication.trustedldap.remoteUserMapping.ldap_base_DN=MYDOMAIN=dc=
>> domain_name1,dc=ds,dc=domain,dc=ca|MYDOMAIN2=dc=domain_name2,dc=ds,dc=domain,dc=ca
>> xwiki.authentication.trustedldap.remoteUserMapping.ldap_bind_DN=MYDOMAIN=cn=bind,dc=domain_name1,dc=ds,dc=domain,dc=ca|MYDOMAIN2=cn=bind,dc=
>> domain_name2,dc=ds,dc=domain,dc=ca
>> xwiki.authentication.trustedldap.remoteUserMapping.ldap_bind_pass=MYDOMAIN=password|MYDOMAIN2=password
>>
>> My questions:
>> 1.  What are xwiki.authentication.trustedldap.remoteUserMapping.1 and
>> xwiki.authentication.trustedldap.remoteUserMapping.2 ? Should I have those 2
>> lines for both domains? Also, I confused with parameters: login,
>> ldap_server, ldap_base_DN, ldap_bind_DN, ldap_bind_pass.
>>  Login - I do not know what to use, have empty.
>> ldap_server - enter the same as for xwiki.authentication.ldap.server.
>> ldap_base_DN - enter the same as for xwiki.authentication.ldap.base_DN,
>> ldap_bind_DN - enter the same as for xwiki.authentication.ldap.bind_DN, ,
>> ldap_bind_pass - entart the same as for xwiki.authentication.ldap.bind_pass
>> 2.  Should I keep MYDOMAIN, MYDOMAIN1, MYDOMAIN2 words or replace it with
>> some actual names? If 'Yes' - what names? Should I replace bind with some
>> actual data? What is that?
>> 3.  Could you please provide more explanations how to implement this 
>> trusted
>> domain authentication and provide the whole part of LDAP authentication of
>> xwiki.cfg file?
>> Now, after modifications, our LDAP authentication is broken and trusted
>> domain authentication doesn't work.
>> Thank you,
>> Galina
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context: 
>> http://xwiki.475771.n2.nabble.com/XWiki-Authenticator-Trusted-LDAP-tp7589082.html
>> Sent from the XWiki- Users mailing

Re: [xwiki-users] XWiki Authenticator Trusted LDAP

2014-02-14 Thread Thomas Mortagne
What jar are ou talking about exactly ?

On Tue, Feb 11, 2014 at 10:16 PM, Galina  wrote:
> Hello,
> Currently we have LDAP authentication for our XWIKI users. I am trying to
> implement XWiki Authenticator Trusted LDAP with it.
> I did the following:
> 1.  Added  jar file  into WEB-INF/lib folder
> 2.  Modified xwiki.cfg :
>
> 2.1.Replaced
> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
> with
> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.AppServerTrustedAuthServiceImpl
> If I replace the line with
> xwiki.authentication.authclass=com.xwiki.authentication.trustedldap.TrustedLDAPAuthServiceImpl,
> my xwiki doesn't run at all with an error LDAP.XWikiLDAPAuthServiceImpl not
> found.
>
> 2.2. I still have all configuration in place for LDAP, and I have added 
> the
> lines according to the recommendations:
>
> #-# A Java regexp used to parse the remote user provided by JAAS
>
> xwiki.authentication.trustedldap.remoteUserParser=(.+)@(.+)
>
> #-# Indicate which of the regexp group correspond to which LDAP properties
> #-# The following LDAP properties are supported:
> #-#   login, password, ldap_server, ldap_base_DN, ldap_bind_DN,
> ldap_bind_pass
> #
> #xwiki.authentication.trustedldap.remoteUserMapping.1=login
> #xwiki.authentication.trustedldap.remoteUserMapping.2=ldap_server,ldap_base_DN,ldap_bind_DN,ldap_bind_pass
> xwiki.authentication.trustedldap.remoteUserMapping.1=
> xwiki.authentication.trustedldap.remoteUserMapping.2=our data here
>
> #-# Indicate how to convert each found property
> #xwiki.authentication.trustedldap.remoteUserMapping.ldap_server=MYDOMAIN=my.domain.com|MYDOMAIN2=my.domain2.com
> #xwiki.authentication.trustedldap.remoteUserMapping.ldap_base_DN=MYDOMAIN=dc=my,dc=domain,dc=com|MYDOMAIN2=dc=my,dc=domain2,dc=com
> #xwiki.authentication.trustedldap.remoteUserMapping.ldap_bind_DN=MYDOMAIN=cn=bind,dc=my,dc=domain,dc=com|MYDOMAIN2=cn=bind,dc=my,dc=domain2,dc=com
> #xwiki.authentication.trustedldap.remoteUserMapping.ldap_bind_pass=MYDOMAIN=password|MYDOMAIN2=password2
>
> xwiki.authentication.trustedldap.remoteUserMapping.ldap_server=MYDOMAIN=domain_name1.ds.domain.ca|MYDOMAIN2=domain_name2.ds.somain.ca
> xwiki.authentication.trustedldap.remoteUserMapping.ldap_base_DN=MYDOMAIN=dc=
> domain_name1,dc=ds,dc=domain,dc=ca|MYDOMAIN2=dc=domain_name2,dc=ds,dc=domain,dc=ca
> xwiki.authentication.trustedldap.remoteUserMapping.ldap_bind_DN=MYDOMAIN=cn=bind,dc=domain_name1,dc=ds,dc=domain,dc=ca|MYDOMAIN2=cn=bind,dc=
> domain_name2,dc=ds,dc=domain,dc=ca
> xwiki.authentication.trustedldap.remoteUserMapping.ldap_bind_pass=MYDOMAIN=password|MYDOMAIN2=password
>
> My questions:
> 1.  What are xwiki.authentication.trustedldap.remoteUserMapping.1 and
> xwiki.authentication.trustedldap.remoteUserMapping.2 ? Should I have those 2
> lines for both domains? Also, I confused with parameters: login,
> ldap_server, ldap_base_DN, ldap_bind_DN, ldap_bind_pass.
>  Login - I do not know what to use, have empty.
> ldap_server - enter the same as for xwiki.authentication.ldap.server.
> ldap_base_DN - enter the same as for xwiki.authentication.ldap.base_DN,
> ldap_bind_DN - enter the same as for xwiki.authentication.ldap.bind_DN, ,
> ldap_bind_pass - entart the same as for xwiki.authentication.ldap.bind_pass
> 2.  Should I keep MYDOMAIN, MYDOMAIN1, MYDOMAIN2 words or replace it with
> some actual names? If 'Yes' - what names? Should I replace bind with some
> actual data? What is that?
> 3.  Could you please provide more explanations how to implement this 
> trusted
> domain authentication and provide the whole part of LDAP authentication of
> xwiki.cfg file?
> Now, after modifications, our LDAP authentication is broken and trusted
> domain authentication doesn't work.
> Thank you,
> Galina
>
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/XWiki-Authenticator-Trusted-LDAP-tp7589082.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


Re: [xwiki-users] Using the "Include" macro across more than one Xwiki instance

2014-02-14 Thread vinc...@massol.net
Hi,

I gather the term you’re looking for is called Transclusion (see 
http://en.wikipedia.org/wiki/Transclusion).  

If it’s on the same wiki farm then ti’s achieved with the include macro as 
mentioned already.  

If on another wiki, this can be achieved using either the REST API to call 
XWiki or simply by using a URL.  

For example if you wish to get the HTML for the Playground’s Sandbox.WebHome 
page from the outside you’d call:  

http://playground.xwiki.org/xwiki/bin/get/Sandbox/WebHome?outputSyntax=xhtml  

For more details, see 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/URL+resolution

Thanks
-Vincent

On 14 Feb 2014 at 14:41:40, Joseph Potvin 
(jpot...@opman.ca(mailto:jpot...@opman.ca)) wrote:

> In general what I'm asking is: What presentation layer practices and
> particular Xwiki features might help to make one's own Xwiki-hosted content
> (which in my case involves management training materials) includable by
> others? Likely there are things I can do that make Inclusion by others
> more or less difficult, and more or less granular. Something like RESTful
> for the presentation layer content within an Xwiki.
>  
> I'm not ever sure what to call what I'm seeking. The word "Include" is to
> "import" as the word ??? is to "export". The missing word is not "Exclude"!
> ;-) What does the clever counterparty to an Include do if he wants to
> facilitate content pulls by others from his Xwiki instance?
>  
> Regards,
>  
> Joseph
>  
>  
>  
>  
> On Fri, Feb 14, 2014 at 6:59 AM, Joseph Potvin wrote:
>  
> > Thanks, these are what I'm after. Yes, I'm interested in the Include
> > function across any instance anywhere, via the Web.
> >
> > ...with one follow-up: Are there any steps I might take in structuring my
> > content on an Xwiki that makes it easy for others to pull in parts of it
> > through an Include to their Xwiki, or through any equivalent function to
> > some other platform?
> >
> > Thanks,
> >
> > Joseph
> >
> >
> > On Fri, Feb 14, 2014 at 4:12 AM, vinc...@massol.net wrote:
> >
> >> See
> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+External+Content
> >>
> >> Thanks
> >> -Vincent
> >>
> >> On 14 Feb 2014 at 09:53:56, Thomas Mortagne (thomas.morta...@xwiki.com
> >> (mailto:thomas.morta...@xwiki.com)) wrote:
> >>
> >> > Actually do you mean from a different wiki in the same farm or include
> >> > from a completely different server ?
> >> >
> >> > On Fri, Feb 14, 2014 at 9:52 AM, Thomas Mortagne
> >> > wrote:
> >> > > Including across wiki has nothing special in XWiki. You just need to
> >> > > use the full syntax, see
> >> > >
> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HThevariousReferencestypes
> >> .
> >> > >
> >> > > On Thu, Feb 13, 2014 at 5:20 PM, Joseph Potvin wrote:
> >> > >> Hello, I've searched a little for some information about using the
> >> Includes
> >> > >> macro across multiple Xwiki instances over the web. Basically, I
> >> would like
> >> > >> to describe this method of disseminating our own free/libre/open
> >> content
> >> > >> which is on an Xwiki, for others to reproduce without creating new
> >> copies
> >> > >> that they would have to maintain.
> >> > >>
> >> > >> Includes across multiple Xwikis would be nice. Being able to off this
> >> > >> across multiple kinds of Wiki would be very nice.
> >> > >>
> >> > >> Thanks ahead of time for any guidance.
> >> > >>
> >> > >> --
> >> > >> Joseph Potvin
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using the "Include" macro across more than one Xwiki instance

2014-02-14 Thread Joseph Potvin
In general what I'm asking is: What presentation layer practices and
particular Xwiki features might help to make one's own Xwiki-hosted content
(which in my case involves management training materials) includable by
others?  Likely there are things I can do that make Inclusion by others
more or less difficult, and more or less granular. Something like RESTful
for the presentation layer content within an Xwiki.

I'm not ever sure what to call what I'm seeking. The word "Include" is to
"import" as the word ??? is to "export". The missing word is not "Exclude"!
;-)  What does the clever counterparty to an Include do if he wants to
facilitate content pulls by others from his Xwiki instance?

Regards,

Joseph




On Fri, Feb 14, 2014 at 6:59 AM, Joseph Potvin  wrote:

> Thanks, these are what I'm after. Yes, I'm interested in the Include
> function across any instance anywhere, via the Web.
>
> ...with one follow-up: Are there any steps I might take in structuring my
> content on an Xwiki that makes it easy for others to pull in parts of it
> through an Include to their Xwiki, or through any equivalent function to
> some other platform?
>
> Thanks,
>
> Joseph
>
>
> On Fri, Feb 14, 2014 at 4:12 AM, vinc...@massol.net wrote:
>
>> See
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+External+Content
>>
>> Thanks
>> -Vincent
>>
>> On 14 Feb 2014 at 09:53:56, Thomas Mortagne (thomas.morta...@xwiki.com
>> (mailto:thomas.morta...@xwiki.com)) wrote:
>>
>> > Actually do you mean from a different wiki in the same farm or include
>> > from a completely different server ?
>> >
>> > On Fri, Feb 14, 2014 at 9:52 AM, Thomas Mortagne
>> > wrote:
>> > > Including across wiki has nothing special in XWiki. You just need to
>> > > use the full syntax, see
>> > >
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HThevariousReferencestypes
>> .
>> > >
>> > > On Thu, Feb 13, 2014 at 5:20 PM, Joseph Potvin wrote:
>> > >> Hello, I've searched a little for some information about using the
>> Includes
>> > >> macro across multiple Xwiki instances over the web. Basically, I
>> would like
>> > >> to describe this method of disseminating our own free/libre/open
>> content
>> > >> which is on an Xwiki, for others to reproduce without creating new
>> copies
>> > >> that they would have to maintain.
>> > >>
>> > >> Includes across multiple Xwikis would be nice. Being able to off this
>> > >> across multiple kinds of Wiki would be very nice.
>> > >>
>> > >> Thanks ahead of time for any guidance.
>> > >>
>> > >> --
>> > >> Joseph Potvin
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> 
>



-- 
Joseph Potvin
Operations Manager | Gestionnaire des opérations
The Opman Company | La compagnie Opman
http://www.projectmanagementhotel.com/projects/opman-portfolio
jpot...@opman.ca
Mobile: 819-593-5983
LinkedIn (Google short URL): http://goo.gl/Ssp56
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error saving document with text in object

2014-02-14 Thread Matthias Wegner
Perfect. That's it. I created the object with
AbstractMandatoryDocumentInitializer and first set a TextField (String). I
changed it to TextAreaField, but the Attribut was not reset. I deleted the
attrib manually from the class and after a new server-start everything works
fine.

Regards,
Matthias



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Error-saving-document-with-text-in-object-tp7589117p7589138.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] Using the "Include" macro across more than one Xwiki instance

2014-02-14 Thread Joseph Potvin
Thanks, these are what I'm after. Yes, I'm interested in the Include
function across any instance anywhere, via the Web.

...with one follow-up: Are there any steps I might take in structuring my
content on an Xwiki that makes it easy for others to pull in parts of it
through an Include to their Xwiki, or through any equivalent function to
some other platform?

Thanks,

Joseph


On Fri, Feb 14, 2014 at 4:12 AM, vinc...@massol.net wrote:

> See
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+External+Content
>
> Thanks
> -Vincent
>
> On 14 Feb 2014 at 09:53:56, Thomas Mortagne (thomas.morta...@xwiki.com
> (mailto:thomas.morta...@xwiki.com)) wrote:
>
> > Actually do you mean from a different wiki in the same farm or include
> > from a completely different server ?
> >
> > On Fri, Feb 14, 2014 at 9:52 AM, Thomas Mortagne
> > wrote:
> > > Including across wiki has nothing special in XWiki. You just need to
> > > use the full syntax, see
> > >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HThevariousReferencestypes
> .
> > >
> > > On Thu, Feb 13, 2014 at 5:20 PM, Joseph Potvin wrote:
> > >> Hello, I've searched a little for some information about using the
> Includes
> > >> macro across multiple Xwiki instances over the web. Basically, I
> would like
> > >> to describe this method of disseminating our own free/libre/open
> content
> > >> which is on an Xwiki, for others to reproduce without creating new
> copies
> > >> that they would have to maintain.
> > >>
> > >> Includes across multiple Xwikis would be nice. Being able to off this
> > >> across multiple kinds of Wiki would be very nice.
> > >>
> > >> Thanks ahead of time for any guidance.
> > >>
> > >> --
> > >> Joseph Potvin
>
> ___
> 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] Adding users from CSV file

2014-02-14 Thread Michiel Hobbelman
Maybe you have the same problem, and want to add many user-accounts in
bulk. Maybe this script (I wrote) can help you out.

The script can produce a XAR archive that can be uploaded using the
import-function in the Admin panel.
After doing so you still need to add these users to the group XWikiAllGroup
(and additional groups if you like).

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


Re: [xwiki-users] Using the "Include" macro across more than one Xwiki instance

2014-02-14 Thread vinc...@massol.net
See 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+External+Content

Thanks
-Vincent 

On 14 Feb 2014 at 09:53:56, Thomas Mortagne 
(thomas.morta...@xwiki.com(mailto:thomas.morta...@xwiki.com)) wrote:

> Actually do you mean from a different wiki in the same farm or include
> from a completely different server ?
>  
> On Fri, Feb 14, 2014 at 9:52 AM, Thomas Mortagne
> wrote:
> > Including across wiki has nothing special in XWiki. You just need to
> > use the full syntax, see
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HThevariousReferencestypes.
> >
> > On Thu, Feb 13, 2014 at 5:20 PM, Joseph Potvin wrote:
> >> Hello, I've searched a little for some information about using the Includes
> >> macro across multiple Xwiki instances over the web. Basically, I would like
> >> to describe this method of disseminating our own free/libre/open content
> >> which is on an Xwiki, for others to reproduce without creating new copies
> >> that they would have to maintain.
> >>
> >> Includes across multiple Xwikis would be nice. Being able to off this
> >> across multiple kinds of Wiki would be very nice.
> >>
> >> Thanks ahead of time for any guidance.
> >>
> >> --
> >> Joseph Potvin

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


Re: [xwiki-users] Using the "Include" macro across more than one Xwiki instance

2014-02-14 Thread Thomas Mortagne
Actually do you mean from a different wiki in the same farm or include
from a completely different server ?

On Fri, Feb 14, 2014 at 9:52 AM, Thomas Mortagne
 wrote:
> Including across wiki has nothing special in XWiki. You just need to
> use the full syntax, see
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HThevariousReferencestypes.
>
> On Thu, Feb 13, 2014 at 5:20 PM, Joseph Potvin  wrote:
>> Hello, I've searched a little for some information about using the Includes
>> macro across multiple Xwiki instances over the web. Basically, I would like
>> to describe this method of disseminating our own free/libre/open content
>> which is on an Xwiki, for others to reproduce without creating new copies
>> that they would have to maintain.
>>
>> Includes across multiple Xwikis would be nice. Being able to off this
>> across multiple kinds of Wiki would be very nice.
>>
>> Thanks ahead of time for any guidance.
>>
>> --
>> Joseph Potvin
>>
>> 
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne



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


Re: [xwiki-users] Using the "Include" macro across more than one Xwiki instance

2014-02-14 Thread Thomas Mortagne
Including across wiki has nothing special in XWiki. You just need to
use the full syntax, see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HThevariousReferencestypes.

On Thu, Feb 13, 2014 at 5:20 PM, Joseph Potvin  wrote:
> Hello, I've searched a little for some information about using the Includes
> macro across multiple Xwiki instances over the web. Basically, I would like
> to describe this method of disseminating our own free/libre/open content
> which is on an Xwiki, for others to reproduce without creating new copies
> that they would have to maintain.
>
> Includes across multiple Xwikis would be nice. Being able to off this
> across multiple kinds of Wiki would be very nice.
>
> Thanks ahead of time for any guidance.
>
> --
> Joseph Potvin
>
> 
> ___
> 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] Access/Editing the xwiki.cfg file

2014-02-14 Thread Jean SIMARD
Hi,

To stop and start XWiki, you should find 2 scripts (one called
'stop_xwiki.sh' on Unix, 'stop_xwiki.bat' on Windows).  Execute it.
Edit the 'xwiki.cfg' file (you probably want to edit the line with
'xwiki.stats.default=0' to switch it to the value 1).  Then restart
XWiki (with 'start_xwiki.sh' on Unix, 'start_xwiki.bat' on Windows).

The scripts are available if you installed the generic installer (with
Jetty embedded) called
'xwiki-enterprise-installer-generic-5.4.1-standard.jar' (depending on
the version you downloaded)

If you run XWiki on something else (like Apache Tomcat), you just need
to restart stop, edit then start Tomcat.

Hope this help.
--
Jean

On jeu., 2014-02-13 at 19:48 +0100, Belkhiria Hamza Yazid wrote:
> Thanks,
> 
> So i did not understand how to do this line in that link
> 
> "by stopping the XWiki instance and editing either the
> xwiki/WEB-INF/xwiki.cfg file or the xwiki/WEB-INF/xwiki.properties one, and
> then restarting XWiki."
> 
> My goal is *to enable the stats property* in the easiest possible way
> 
> Any help
> 
> 
> On 13 February 2014 18:40, Guillaume "Louis-Marie" Delhumeau <
> gdelhum...@xwiki.com> wrote:
> 
> > Hi.
> >
> > Please look at:
> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
> >
> > (the xwiki directory is inside the webapp application of your container)
> >
> > Louis-Marie
> >
> >
> > 2014-02-13 18:02 GMT+01:00 Belkhiria Hamza Yazid  > >:
> >
> > > Hello guys,
> > >
> > >
> > > This might seem silly but
> > > I can't find how to access and edit the xwiki.cfg file,
> > > Where is it ?
> > > Any help ?
> > >
> > >
> > > Best Regards,
> > >
> > > --
> > > *BHY*
> > > ___
> > > 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] xwiki users issue after XE migration

2014-02-14 Thread ccoreggioli
ok, done:

http://jira.xwiki.org/browse/XE-1365

thanks,
claudio



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/xwiki-users-issue-after-XE-migration-tp7588844p7589127.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] How to use the SQL Tools?

2014-02-14 Thread Hamster
To all,

I want to use velocity or groovy to query an external SQL Database. I have
found the  SQL Tools Extension
   but I
have NO clue how to use this extension! It seems to be out of date (I am
using XWiki 5.4) because the page that comes with the extension is garbled
(parts of the page shows the code, parts of the page shows an HTML form).

Is the SQL Tools Extension the right tool to use to query an external SQL
Database?
Does anyone have an example (velocity or groovy) on how to query an external
SQL Database?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/How-to-use-the-SQL-Tools-tp7589126.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] xwiki users issue after XE migration

2014-02-14 Thread vinc...@massol.net
Hi Claudio,

Please file a jira issue about this and we’ll fix it so that we don’t choke on 
a stray comma!

Thanks
-Vincent

On 14 Feb 2014 at 09:09:38, ccoreggioli (claudio.coreggi...@gidi.it) wrote:

Many thanks Clemens,  

this way works out.  

there was this list:  

,xwiki:XWiki,xwiki:Main,xwiki:ICT  

it started with a comma, it works also with the same list removing the  
heading comma, so i think this is the issue.  

i fear that each user is in the same situation if he watches at least one  
space, do you know a way to clean programmatically (or extract this data  
with a query) all the "Space List" watchlist sections?  

tnx,  
claudio  

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


Re: [xwiki-users] xwiki users issue after XE migration

2014-02-14 Thread ccoreggioli
Many thanks Clemens,

this way works out. 

there was this list:

,xwiki:XWiki,xwiki:Main,xwiki:ICT

it started with a comma, it works also with the same list removing the
heading comma, so i think this is the issue.

i fear that each user is in the same situation if he watches at least one
space, do you know a way to clean programmatically (or extract this data
with a query) all the "Space List" watchlist sections?

tnx,
claudio



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/xwiki-users-issue-after-XE-migration-tp7588844p7589123.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