Re: [xwiki-users] LDAP Authentication extension config

2017-03-06 Thread Richter, Tobias


Hi Doug - you have to fill in additional lines! It is this:

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl

OR this:


xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl

With a test installation it worked without this line:

xwiki.authentication.ldap=1

The authentication line was not added after installing the LDAP packages 
(It works so far :- ) ) If you need a copy of the cfg file please write.


Cheers ,

Toby
Hi,

Another dumb question, apologies in advance.
I'm running Tomcat 9.0 + mysql 5.7 + XWiki 8.4.3 installed from WAR.
I installed the LDAP authentication thru the extensions manager, at least I 
think I did, but don't see the installed package files anywhere.  Nor do I see 
anything about it in the GUI.  Except in the extensions manager, that it was 
installed to Farm.   

This page:
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HGenericLDAPconfiguration
says to edit your xwiki.cfg as follows.  But I don't see the lines below in my 
xwiki.cfg.  I am supposed to add them, I guess?  Or was there some step I was 
supposed to take to get me from "Installed on Farm" to "Installed on Xwiki" ?

Thanks!
Doug



 Generic LDAP configuration
In order to enable the LDAP support you have to change the authentication 
method in WEB-INF/xwiki.cfg as follows:

#-# LDAP authentication service
xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl

#-# Turn LDAP authentication on - otherwise only XWiki authentication #-# - 0: 
disable #-# - 1: enable #-# The default is 0
xwiki.authentication.ldap=1
You can setup the LDAP configuration in the xwiki.cfg file by filling the 
following properties:

#-# Turn LDAP authentication on - otherwise only XWiki authentication #-# - 0: 
disable #-# - 1: enable #-# The default is 0
xwiki.authentication.ldap=1

#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.) #-# The default 
host is localhost xwiki.authentication.ldap.server=localhost
#-# The default port is 389 (636 if xwiki.authentication.ldap.ssl is enabled) # 
xwiki.authentication.ldap.port=389

#-# LDAP credentials, empty = anonymous access, otherwise specify full dn #-# 
{0} is replaced with the user name, {1} with the password 
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Monday, March 06, 2017 1:44 PM
To: XWiki Users
Subject: Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with 
systemctl


>Port in  property is a Tomcat system port used for shutdown, it should 
>not be confused with a port Tomcat service connector listens on (client 
>connection port like 80, 8080, 443 etc). So changing it to 8080 is not what 
>you should've done, I think.

Thanks.  I changed it back to 8005.  But when I start up it is still not 
listening on 8005, and so the shutdown script does not work.  What have I 
overlooked/do I have to do to enable port 8005 shutdown?

Thanks
Doug


The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 

information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 

hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 

If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 

message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.

The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged information.  It is intended only 
for the use of the person(s) named above. If you are not the intended 
recipient, you are hereby notified that any review, dissemination, distribution 
or duplication of this communication is strictly prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message. To reply to our email administrator directly, 
please send an email to netad...@westmarine.com.


[xwiki-users] LDAP Authentication extension config

2017-03-06 Thread Douglas Landau
Hi,

Another dumb question, apologies in advance.
I'm running Tomcat 9.0 + mysql 5.7 + XWiki 8.4.3 installed from WAR.
I installed the LDAP authentication thru the extensions manager, at least I 
think I did, but don't see the installed package files anywhere.  Nor do I see 
anything about it in the GUI.  Except in the extensions manager, that it was 
installed to Farm.   

This page:
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HGenericLDAPconfiguration
says to edit your xwiki.cfg as follows.  But I don't see the lines below in my 
xwiki.cfg.  I am supposed to add them, I guess?  Or was there some step I was 
supposed to take to get me from "Installed on Farm" to "Installed on Xwiki" ?

Thanks!
Doug



 Generic LDAP configuration
In order to enable the LDAP support you have to change the authentication 
method in WEB-INF/xwiki.cfg as follows:

#-# LDAP authentication service
xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl

#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap=1
You can setup the LDAP configuration in the xwiki.cfg file by filling the 
following properties:

#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap=1

#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
#-# The default host is localhost
xwiki.authentication.ldap.server=localhost
#-# The default port is 389 (636 if xwiki.authentication.ldap.ssl is enabled)
# xwiki.authentication.ldap.port=389

#-# LDAP credentials, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the user name, {1} with the password
xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_pass={1}




-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Douglas Landau
Sent: Monday, March 06, 2017 1:44 PM
To: XWiki Users
Subject: Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with 
systemctl


>Port in  property is a Tomcat system port used for shutdown, it should 
>not be confused with a port Tomcat service connector listens on (client 
>connection port like 80, 8080, 443 etc). So changing it to 8080 is not what 
>you should've done, I think.

Thanks.  I changed it back to 8005.  But when I start up it is still not 
listening on 8005, and so the shutdown script does not work.  What have I 
overlooked/do I have to do to enable port 8005 shutdown?

Thanks
Doug


The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 

information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 

hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 

If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 

message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.

The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 
information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 
hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 
message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.


Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with systemctl

2017-03-06 Thread Douglas Landau

>Port in  property is a Tomcat system port used for shutdown, it should 
>not be confused with a port Tomcat service connector listens on (client 
>connection port like 80, 8080, 443 etc). So changing it to 8080 is not what 
>you should've done, I think.

Thanks.  I changed it back to 8005.  But when I start up it is still not 
listening on 8005, and so the shutdown script does not work.  What have I 
overlooked/do I have to do to enable port 8005 shutdown?

Thanks
Doug


The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 
information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 
hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 
message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.


Re: [xwiki-users] Tagging user to get their attention.

2017-03-06 Thread Oliver Angélil
I feel it would be extremely handy to be able to tag someone's name in the
xwiki and the next time that person logs in, he/she will be notified and
directed to the page/comment where that happened. Perhaps a feature request
:)

Thanks,
Oliver

On 6 March 2017 at 19:16, Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com> wrote:

> We have
> http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Share%20Page%20Application
> . The user gets notified through mail.
>
> On Sun, Mar 5, 2017 at 10:55 AM, Oliver Angélil 
> wrote:
>
> > Is it possible to do this on a page to alert a user if you would like to
> > get them to view some page/comment? I.e. this is a useful feature on
> > Facebook, but then I guess most of don't use Facebook. ;)
> >
> > Thanks,
> > Oliver
> >
>



-- 
*Oliver Marc Angélil*
PhD Candidate at the University of New South Wales, Australia
*http://web.maths.unsw.edu.au/~oangelil/oliver/page_oliver.html*



[xwiki-users] Upgrade to 8.4.4 Read Only have Copy Option

2017-03-06 Thread Stev Williams
Hi,


I have recently upgraded our xwiki from 7.4.4 to 8.4.4 and all seemed to go 
well,  however one thing has come up in that if a user or a group has read only 
access to the Wiki on 8.4.4 the cog is appearing with just the option to Copy.  
I have tried to copy a page with a read only test account and it will not allow 
the copy which is fine however any ideas why the option is showing and is there 
anything I can do to get rid of it?

Regards


Re: [xwiki-users] LDAP authentication is not enabled. Check xwiki.cfg

2017-03-06 Thread JasoYeom

I started from scratch:

1.  Downloaded war file for 8.4.4,  jetty and mysql.
2.  Setup accordingly and all working normally.
3.  Installed the LDAP Authenticator extension
4.  Installed the LDAP Application extension
5.  As per http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/ added:

xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1

Still getting LDAP authentication is not enabled.

I copied the wiki.cfg over from the scenario that works over to the new
setup but still get LDAP is not enabled.  

There are a lot of differences between the demo install and the Enterprise
manual install.  Different file structure, files etc.  

I can post any configuration file.   I've searched the internet for
solutions and found none.  I've followed all directions for the install all
with the same results.  Perhaps the best thing is to go back to 8.0 since
anything above that version doesn't work with ldap very well.  




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/LDAP-authentication-is-not-enabled-Check-xwiki-cfg-tp7602951p7602986.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Extension Error - Illegal char <:> at index 4: wiki:

2017-03-06 Thread Keith Davis
https://jira.xwiki.org/browse/XWIKI-14066

On Mon, Mar 6, 2017 at 12:18 PM, Keith Davis 
wrote:

> Good call.
>
> On Mon, Mar 6, 2017 at 12:15 PM, Thomas Mortagne <
> thomas.morta...@xwiki.com> wrote:
>
>> It's possible you can get the complete error in the HTML. I noticed
>> that in some places the click does not work.
>>
>> On Mon, Mar 6, 2017 at 7:02 PM, Keith Davis 
>> wrote:
>> > I can reproduce the error message, but that's it.
>> >
>> > If I click where it says, "click on this message for more details",
>> nothing
>> > happens (it's not clickable).
>> >
>> > On Mon, Mar 6, 2017 at 11:44 AM Thomas Mortagne <
>> thomas.morta...@xwiki.com>
>> > wrote:
>> >>
>> >> If you can reproduce it again, would be great if you could click on
>> >> the message to get the complete error and create a jira issue with the
>> >> details on https://jira.xwiki.org/browse/XWIKI.
>> >>
>> >> On Mon, Mar 6, 2017 at 6:42 PM, Thomas Mortagne
>> >>  wrote:
>> >> > It probably does not have anything to do with the extensions
>> themself.
>> >> > Looks more like a random bug of Extension Manager UI.
>> >> >
>> >> > On Mon, Mar 6, 2017 at 5:59 PM, Keith Davis <
>> laurinkeithda...@gmail.com>
>> >> > wrote:
>> >> >> Well, maybe I’m crazy, now it's only happening for the Let’s Encrypt
>> >> >> extension.
>> >> >>
>> >> >> On Mon, Mar 6, 2017 at 10:57 AM, Keith Davis
>> >> >> 
>> >> >> wrote:
>> >> >>
>> >> >>> I installed the Let's Encrypt extension and got this message:
>> >> >>>
>> >> >>> Failed to execute the [velocity] macro. Cause: [Illegal char <:> at
>> >> >>> index
>> >> >>> 4: wiki:]. Click on this message for details.
>> >> >>>
>> >> >>> So I created this issue:
>> >> >>>
>> >> >>> http://jira.xwiki.org/browse/LENCRYPT-3
>> >> >>>
>> >> >>> But then I realized, that I get this same error for one other
>> >> >>> extension: Icon Theme Application
>> >> >>>
>> >> >>> Any ideas?
>> >> >>>
>> >> >>> --
>> >> >>> Keith Davis
>> >> >>> 214-906-5183 <(214)%20906-5183>
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Keith Davis
>> >> >> 214-906-5183
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Thomas Mortagne
>> >>
>> >>
>> >>
>> >> --
>> >> Thomas Mortagne
>> >
>> > --
>> > Keith Davis
>> > 214-906-5183
>>
>>
>>
>> --
>> Thomas Mortagne
>>
>
>
>
> --
> Keith Davis
> 214-906-5183 <(214)%20906-5183>
>



-- 
Keith Davis
214-906-5183


Re: [xwiki-users] Extension Error - Illegal char <:> at index 4: wiki:

2017-03-06 Thread Keith Davis
Good call.

On Mon, Mar 6, 2017 at 12:15 PM, Thomas Mortagne 
wrote:

> It's possible you can get the complete error in the HTML. I noticed
> that in some places the click does not work.
>
> On Mon, Mar 6, 2017 at 7:02 PM, Keith Davis 
> wrote:
> > I can reproduce the error message, but that's it.
> >
> > If I click where it says, "click on this message for more details",
> nothing
> > happens (it's not clickable).
> >
> > On Mon, Mar 6, 2017 at 11:44 AM Thomas Mortagne <
> thomas.morta...@xwiki.com>
> > wrote:
> >>
> >> If you can reproduce it again, would be great if you could click on
> >> the message to get the complete error and create a jira issue with the
> >> details on https://jira.xwiki.org/browse/XWIKI.
> >>
> >> On Mon, Mar 6, 2017 at 6:42 PM, Thomas Mortagne
> >>  wrote:
> >> > It probably does not have anything to do with the extensions themself.
> >> > Looks more like a random bug of Extension Manager UI.
> >> >
> >> > On Mon, Mar 6, 2017 at 5:59 PM, Keith Davis <
> laurinkeithda...@gmail.com>
> >> > wrote:
> >> >> Well, maybe I’m crazy, now it's only happening for the Let’s Encrypt
> >> >> extension.
> >> >>
> >> >> On Mon, Mar 6, 2017 at 10:57 AM, Keith Davis
> >> >> 
> >> >> wrote:
> >> >>
> >> >>> I installed the Let's Encrypt extension and got this message:
> >> >>>
> >> >>> Failed to execute the [velocity] macro. Cause: [Illegal char <:> at
> >> >>> index
> >> >>> 4: wiki:]. Click on this message for details.
> >> >>>
> >> >>> So I created this issue:
> >> >>>
> >> >>> http://jira.xwiki.org/browse/LENCRYPT-3
> >> >>>
> >> >>> But then I realized, that I get this same error for one other
> >> >>> extension: Icon Theme Application
> >> >>>
> >> >>> Any ideas?
> >> >>>
> >> >>> --
> >> >>> Keith Davis
> >> >>> 214-906-5183 <(214)%20906-5183>
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Keith Davis
> >> >> 214-906-5183
> >> >
> >> >
> >> >
> >> > --
> >> > Thomas Mortagne
> >>
> >>
> >>
> >> --
> >> Thomas Mortagne
> >
> > --
> > Keith Davis
> > 214-906-5183
>
>
>
> --
> Thomas Mortagne
>



-- 
Keith Davis
214-906-5183


Re: [xwiki-users] Extension Error - Illegal char <:> at index 4: wiki:

2017-03-06 Thread Thomas Mortagne
It's possible you can get the complete error in the HTML. I noticed
that in some places the click does not work.

On Mon, Mar 6, 2017 at 7:02 PM, Keith Davis  wrote:
> I can reproduce the error message, but that's it.
>
> If I click where it says, "click on this message for more details", nothing
> happens (it's not clickable).
>
> On Mon, Mar 6, 2017 at 11:44 AM Thomas Mortagne 
> wrote:
>>
>> If you can reproduce it again, would be great if you could click on
>> the message to get the complete error and create a jira issue with the
>> details on https://jira.xwiki.org/browse/XWIKI.
>>
>> On Mon, Mar 6, 2017 at 6:42 PM, Thomas Mortagne
>>  wrote:
>> > It probably does not have anything to do with the extensions themself.
>> > Looks more like a random bug of Extension Manager UI.
>> >
>> > On Mon, Mar 6, 2017 at 5:59 PM, Keith Davis 
>> > wrote:
>> >> Well, maybe I’m crazy, now it's only happening for the Let’s Encrypt
>> >> extension.
>> >>
>> >> On Mon, Mar 6, 2017 at 10:57 AM, Keith Davis
>> >> 
>> >> wrote:
>> >>
>> >>> I installed the Let's Encrypt extension and got this message:
>> >>>
>> >>> Failed to execute the [velocity] macro. Cause: [Illegal char <:> at
>> >>> index
>> >>> 4: wiki:]. Click on this message for details.
>> >>>
>> >>> So I created this issue:
>> >>>
>> >>> http://jira.xwiki.org/browse/LENCRYPT-3
>> >>>
>> >>> But then I realized, that I get this same error for one other
>> >>> extension: Icon Theme Application
>> >>>
>> >>> Any ideas?
>> >>>
>> >>> --
>> >>> Keith Davis
>> >>> 214-906-5183 <(214)%20906-5183>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Keith Davis
>> >> 214-906-5183
>> >
>> >
>> >
>> > --
>> > Thomas Mortagne
>>
>>
>>
>> --
>> Thomas Mortagne
>
> --
> Keith Davis
> 214-906-5183



-- 
Thomas Mortagne


Re: [xwiki-users] Extension Error - Illegal char <:> at index 4: wiki:

2017-03-06 Thread Keith Davis
I can reproduce the error message, but that's it.

If I click where it says, "click on this message for more details", nothing
happens (it's not clickable).

On Mon, Mar 6, 2017 at 11:44 AM Thomas Mortagne 
wrote:

> If you can reproduce it again, would be great if you could click on
> the message to get the complete error and create a jira issue with the
> details on https://jira.xwiki.org/browse/XWIKI.
>
> On Mon, Mar 6, 2017 at 6:42 PM, Thomas Mortagne
>  wrote:
> > It probably does not have anything to do with the extensions themself.
> > Looks more like a random bug of Extension Manager UI.
> >
> > On Mon, Mar 6, 2017 at 5:59 PM, Keith Davis 
> wrote:
> >> Well, maybe I’m crazy, now it's only happening for the Let’s Encrypt
> >> extension.
> >>
> >> On Mon, Mar 6, 2017 at 10:57 AM, Keith Davis <
> laurinkeithda...@gmail.com>
> >> wrote:
> >>
> >>> I installed the Let's Encrypt extension and got this message:
> >>>
> >>> Failed to execute the [velocity] macro. Cause: [Illegal char <:> at
> index
> >>> 4: wiki:]. Click on this message for details.
> >>>
> >>> So I created this issue:
> >>>
> >>> http://jira.xwiki.org/browse/LENCRYPT-3
> >>>
> >>> But then I realized, that I get this same error for one other
> >>> extension: Icon Theme Application
> >>>
> >>> Any ideas?
> >>>
> >>> --
> >>> Keith Davis
> >>> 214-906-5183 <(214)%20906-5183>
> >>>
> >>
> >>
> >>
> >> --
> >> Keith Davis
> >> 214-906-5183
> >
> >
> >
> > --
> > Thomas Mortagne
>
>
>
> --
> Thomas Mortagne
>
-- 
Keith Davis
214-906-5183


Re: [xwiki-users] Extension Error - Illegal char <:> at index 4: wiki:

2017-03-06 Thread Thomas Mortagne
If you can reproduce it again, would be great if you could click on
the message to get the complete error and create a jira issue with the
details on https://jira.xwiki.org/browse/XWIKI.

On Mon, Mar 6, 2017 at 6:42 PM, Thomas Mortagne
 wrote:
> It probably does not have anything to do with the extensions themself.
> Looks more like a random bug of Extension Manager UI.
>
> On Mon, Mar 6, 2017 at 5:59 PM, Keith Davis  
> wrote:
>> Well, maybe I’m crazy, now it's only happening for the Let’s Encrypt
>> extension.
>>
>> On Mon, Mar 6, 2017 at 10:57 AM, Keith Davis 
>> wrote:
>>
>>> I installed the Let's Encrypt extension and got this message:
>>>
>>> Failed to execute the [velocity] macro. Cause: [Illegal char <:> at index
>>> 4: wiki:]. Click on this message for details.
>>>
>>> So I created this issue:
>>>
>>> http://jira.xwiki.org/browse/LENCRYPT-3
>>>
>>> But then I realized, that I get this same error for one other
>>> extension: Icon Theme Application
>>>
>>> Any ideas?
>>>
>>> --
>>> Keith Davis
>>> 214-906-5183 <(214)%20906-5183>
>>>
>>
>>
>>
>> --
>> Keith Davis
>> 214-906-5183
>
>
>
> --
> Thomas Mortagne



-- 
Thomas Mortagne


Re: [xwiki-users] Extension Error - Illegal char <:> at index 4: wiki:

2017-03-06 Thread Thomas Mortagne
It probably does not have anything to do with the extensions themself.
Looks more like a random bug of Extension Manager UI.

On Mon, Mar 6, 2017 at 5:59 PM, Keith Davis  wrote:
> Well, maybe I’m crazy, now it's only happening for the Let’s Encrypt
> extension.
>
> On Mon, Mar 6, 2017 at 10:57 AM, Keith Davis 
> wrote:
>
>> I installed the Let's Encrypt extension and got this message:
>>
>> Failed to execute the [velocity] macro. Cause: [Illegal char <:> at index
>> 4: wiki:]. Click on this message for details.
>>
>> So I created this issue:
>>
>> http://jira.xwiki.org/browse/LENCRYPT-3
>>
>> But then I realized, that I get this same error for one other
>> extension: Icon Theme Application
>>
>> Any ideas?
>>
>> --
>> Keith Davis
>> 214-906-5183 <(214)%20906-5183>
>>
>
>
>
> --
> Keith Davis
> 214-906-5183



-- 
Thomas Mortagne


Re: [xwiki-users] LDAP authentication is not enabled. Check xwiki.cfg

2017-03-06 Thread JasoYeom
I did compare the config files and they were identical.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/LDAP-authentication-is-not-enabled-Check-xwiki-cfg-tp7602951p7602979.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Extension Error - Illegal char <:> at index 4: wiki:

2017-03-06 Thread Keith Davis
Well, maybe I’m crazy, now it's only happening for the Let’s Encrypt
extension.

On Mon, Mar 6, 2017 at 10:57 AM, Keith Davis 
wrote:

> I installed the Let's Encrypt extension and got this message:
>
> Failed to execute the [velocity] macro. Cause: [Illegal char <:> at index
> 4: wiki:]. Click on this message for details.
>
> So I created this issue:
>
> http://jira.xwiki.org/browse/LENCRYPT-3
>
> But then I realized, that I get this same error for one other
> extension: Icon Theme Application
>
> Any ideas?
>
> --
> Keith Davis
> 214-906-5183 <(214)%20906-5183>
>



-- 
Keith Davis
214-906-5183


[xwiki-users] Extension Error - Illegal char <:> at index 4: wiki:

2017-03-06 Thread Keith Davis
I installed the Let's Encrypt extension and got this message:

Failed to execute the [velocity] macro. Cause: [Illegal char <:> at index
4: wiki:]. Click on this message for details.

So I created this issue:

http://jira.xwiki.org/browse/LENCRYPT-3

But then I realized, that I get this same error for one other
extension: Icon Theme Application

Any ideas?

-- 
Keith Davis
214-906-5183


Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Marius Dumitru Florea
On Mon, Mar 6, 2017 at 12:30 PM, Willi Schiegel <
willi.schie...@technologit.de> wrote:

> Hi,
>
> On 03/06/2017 11:11 AM, Vincent Massol wrote:
>
>> Hi guys,
>>
>> On 6 Mar 2017, at 10:48, Richter, Tobias  wrote:
>>>
>>> Hi Vincent,
>>>
>>> thanks a lot for your answer - indeed I`ve tried to find out how to
>>> create an own navpanel -
>>>
>>> but after a lot trial and error the menu-content wasn`t
>>> "drag-and-droppable" (sry for the bad English) anymore. After a lot more
>>> trial and error I found out, that the drag-and-drop behavior of
>>>
>>> this panel and the Navigation-heading belongs to this function:
>>>
>>>
>>> #panelheader($services.localization.render('xe.panels.navigation'))
>>>
>>> #panelheader means in CSS/HTML --> ID
>>>
>>> But the "services.localization.render"- function with the
>>> 'xe.panels.navigation' -String(?) is unfortunately too deep in the
>>> xwiki-backend for me. It would be nice if you could
>>>
>>> Send a link, where this syntax and the meaning of the function is
>>> explained in the documentation. I know that often "2-lazy-2google"
>>> questions are asked - but that would be
>>>
>>> The step I want to learn next for getting deeper in the backend - for
>>> being able to customize xwiki more for our company.
>>>
>>
>> To create a panel is very simple: http://extensions.xwiki.org/xw
>> iki/bin/view/Extension/Panels+Application
>>
>
> Thank you! Don't know why I missed this.
>
> I now have a Panel "MyNavigation" with panel type "view" and category
> "navigation". The content part is a copy of the original navigation panel.
> So, I guess I can start from here and play around with the solutions Marius
> suggested, right!? There is one difference between the original navigation
> panel and mine: In my panel there is an extra menue entry



> "Panels" with "MyNavigation" as a child. In the original navigation panel
> there is no "Panels" entry in the navigation menue. Can you explain why
> this is so?
>

The "Panels" page and all its child pages are hidden by default because
they are technical. Check the "Display Hidden Pages" in your user profile
http://extensions.xwiki.org/xwiki/bin/view/Extension/User%20Profile%20Application#HEditPreferences
. The panel page you created is not marked as hidden, so it appears in the
navigation tree, along with its parent (Panels). You can hide the panel
page from Wiki edit mode, see
http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HAdvancedMode
.

Hope this helps,
Marius


>
> Best,
> Willi
>
>
>
>> The $services.localization.render('xe.panels.navigation’) part is just
>> an API call to get a translation key for internationalisation. If you
>> create your own panel btw, you’ll get some default content.
>>
>> You can use:
>>
>> #panelheader(“My Panel")
>> …
>>
>> Thanks
>> -Vincent
>>
>>
>>> Cheers,
>>>
>>> Toby.
>>>
>>>
>>> That’s nice.

>>>
>>> One recommendation though: you probably should create your own panel
 instead of reusing an existing one since when you next upgrade you may get
 some conflict if there are also changes in the officially-provided
 >Navigation Panel. Not a big issue though, you’ll just need to choose your
 version over the default one if you’re asked to choose. Also I case you
 need the original Nav panel it might be best to keep it as is.

>>>
>>> Thanks
 -Vincent

>>>
>>> Cheers,

 Toby

>>>
>>>
>>


[xwiki-users] [ANN] XWiki 9.1.2 released

2017-03-06 Thread Thomas Mortagne
The XWiki development team is proud to announce the availability of
XWiki .
This version fix a bug that makes impossible to install XAR extension
without programming rights.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/9.1.2

Thanks for your support
-The XWiki dev team


Re: [xwiki-users] Adding Macro as Buttons in CKEditor

2017-03-06 Thread Mahomed Hussein
Thank you very much Marius

Sorry I didn't respond earlier, been crazy. I'll try this over the next few 
days and will let you know if I have issues. Otherwise assume it all worked 
great :) Thanks again.


Kind regards,




Mahomed Hussein
Custodian Data Centre
Email: maho...@custodiandc.com
http://www.CustodianDC.com

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 02 March 2017 14:15
To: XWiki Users 
Subject: Re: [xwiki-users] Adding Macro as Buttons in CKEditor

See http://jira.xwiki.org/browse/CKEDITOR-148 .

On Wed, Mar 1, 2017 at 11:45 AM, Marius Dumitru Florea < 
mariusdumitru.flo...@xwiki.com> wrote:

> On Mon, Feb 27, 2017 at 12:40 PM, Mahomed Hussein
>  > wrote:
>
>> Hi
>>
>> With the editor in XWiki < v9.0.0 (GWT Editor), I could add different
>> buttons and macros onto the toolbar by modifying the configuration
>> and adding “macro:macroName” as a toolbar “feature”.
>>
>>
>
>> Has anyone got a simple step by step instructions for adding the same
>> thing in CKEditor? I’ve tried looking at the documentation, but it
>> doesn’t immediately or easily relate to the macros/add-ins (e.g. the
>> lightbox macro/plugin is one we use a lot).
>>
>
> The CKEditor integration doesn't support this ATM, unfortunately.
> Would be great if you could make a feature request on
> http://jira.xwiki.org/browse/ CKEDITOR . Someone else also asked for
> this recently so I could try to make some time to implement it but I
> can't guarantee. If you can't wait and you know JavaScript you could try to 
> implement this yourself like this:
>
> * read the CKEditor documentation for writing a plugin
> http://docs.ckeditor.com/#!/guide/plugin_sdk_sample . You can write
> the plugin in a JSX similar to https://github.com/xwiki-
> contrib/application-ckeditor/blob/application-ckeditor-1.0/
> ui/src/main/resources/CKEditor/WikiSourcePlugin.xml and load it like
> https://github.com/xwiki-contrib/application-ckeditor/
> blob/application-ckeditor-1.0/ui/src/main/resources/
> CKEditor/EditSheet.xml#L154
> * the "insertTimestamp" command defined in the example plugin from the
> CKEditor documentation would open the macro editor and then insert
> macro when the dialog is closed. Something like this is done in
> https://github.com/xwiki-contrib/application-ckeditor/
> blob/master/plugins/src/main/resources/xwiki-macro/plugin.js#L160 .
>
> But it's not very easy and I would like to implement something generic.
>
> Thanks,
> Marius
>
>
>>
>> Thanks in advance for any help.
>>
>>
>> Kind regards,
>>
>>
>> Mahomed Hussein
>> Custodian Data Centre
>> Email: maho...@custodiandc.com
>> http://www.CustodianDC.com
>>
>
>


Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Willi Schiegel

Hi,

On 03/06/2017 11:11 AM, Vincent Massol wrote:

Hi guys,


On 6 Mar 2017, at 10:48, Richter, Tobias  wrote:

Hi Vincent,

thanks a lot for your answer - indeed I`ve tried to find out how to create an 
own navpanel -

but after a lot trial and error the menu-content wasn`t "drag-and-droppable" 
(sry for the bad English) anymore. After a lot more trial and error I found out, that the 
drag-and-drop behavior of

this panel and the Navigation-heading belongs to this function:


#panelheader($services.localization.render('xe.panels.navigation'))

#panelheader means in CSS/HTML --> ID

But the "services.localization.render"- function with the 
'xe.panels.navigation' -String(?) is unfortunately too deep in the xwiki-backend for me. 
It would be nice if you could

Send a link, where this syntax and the meaning of the function is explained in the 
documentation. I know that often "2-lazy-2google" questions are asked - but 
that would be

The step I want to learn next for getting deeper in the backend - for being 
able to customize xwiki more for our company.


To create a panel is very simple: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application


Thank you! Don't know why I missed this.

I now have a Panel "MyNavigation" with panel type "view" and category 
"navigation". The content part is a copy of the original navigation 
panel. So, I guess I can start from here and play around with the 
solutions Marius suggested, right!? There is one difference between the 
original navigation panel and mine: In my panel there is an extra menue 
entry "Panels" with "MyNavigation" as a child. In the original 
navigation panel there is no "Panels" entry in the navigation menue. Can 
you explain why this is so?


Best,
Willi



The $services.localization.render('xe.panels.navigation’) part is just an API 
call to get a translation key for internationalisation. If you create your own 
panel btw, you’ll get some default content.

You can use:

#panelheader(“My Panel")
…

Thanks
-Vincent



Cheers,

Toby.



That’s nice.



One recommendation though: you probably should create your own panel instead of 
reusing an existing one since when you next upgrade you may get some conflict if 
there are also changes in the officially-provided >Navigation Panel. Not a big 
issue though, you’ll just need to choose your version over the default one if 
you’re asked to choose. Also I case you need the original Nav panel it might be 
best to keep it as is.



Thanks
-Vincent



Cheers,

Toby






Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Richter, Tobias
Thanks a lot for helping out!

Cheers,

Toby


Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Vincent Massol
Hi guys,

> On 6 Mar 2017, at 10:48, Richter, Tobias  wrote:
> 
> Hi Vincent,
> 
> thanks a lot for your answer - indeed I`ve tried to find out how to create an 
> own navpanel - 
> 
> but after a lot trial and error the menu-content wasn`t "drag-and-droppable" 
> (sry for the bad English) anymore. After a lot more trial and error I found 
> out, that the drag-and-drop behavior of
> 
> this panel and the Navigation-heading belongs to this function:
> 
> 
> #panelheader($services.localization.render('xe.panels.navigation'))
> 
> #panelheader means in CSS/HTML --> ID
> 
> But the "services.localization.render"- function with the 
> 'xe.panels.navigation' -String(?) is unfortunately too deep in the 
> xwiki-backend for me. It would be nice if you could
> 
> Send a link, where this syntax and the meaning of the function is explained 
> in the documentation. I know that often "2-lazy-2google" questions are asked 
> - but that would be 
> 
> The step I want to learn next for getting deeper in the backend - for being 
> able to customize xwiki more for our company.

To create a panel is very simple: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application

The $services.localization.render('xe.panels.navigation’) part is just an API 
call to get a translation key for internationalisation. If you create your own 
panel btw, you’ll get some default content.

You can use:

#panelheader(“My Panel")
…

Thanks
-Vincent

> 
> Cheers,
> 
> Toby.
> 
> 
>> That’s nice. 
> 
>> One recommendation though: you probably should create your own panel instead 
>> of reusing an existing one since when you next upgrade you may get some 
>> conflict if there are also changes in the officially-provided >Navigation 
>> Panel. Not a big issue though, you’ll just need to choose your version over 
>> the default one if you’re asked to choose. Also I case you need the original 
>> Nav panel it might be best to keep it as is.
> 
>> Thanks
>> -Vincent
> 
>> Cheers,
>> 
>> Toby
> 



Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Willi Schiegel

Hello Tobias, HEllo Vincent,

thank you for your quick answers!

I am also very interested in some links where I can read something about 
the correct way of creating a panel, especially a navigation panel.


BEst,
Willi

On 03/06/2017 10:48 AM, Richter, Tobias wrote:

Hi Vincent,

thanks a lot for your answer - indeed I`ve tried to find out how to create an 
own navpanel -

but after a lot trial and error the menu-content wasn`t "drag-and-droppable" 
(sry for the bad English) anymore. After a lot more trial and error I found out, that the 
drag-and-drop behavior of

this panel and the Navigation-heading belongs to this function:


#panelheader($services.localization.render('xe.panels.navigation'))

#panelheader means in CSS/HTML --> ID

But the "services.localization.render"- function with the 
'xe.panels.navigation' -String(?) is unfortunately too deep in the xwiki-backend for me. 
It would be nice if you could

Send a link, where this syntax and the meaning of the function is explained in the 
documentation. I know that often "2-lazy-2google" questions are asked - but 
that would be

The step I want to learn next for getting deeper in the backend - for being 
able to customize xwiki more for our company.

Cheers,

Toby.



That’s nice.



One recommendation though: you probably should create your own panel instead of 
reusing an existing one since when you next upgrade you may get some conflict if 
there are also changes in the officially-provided >Navigation Panel. Not a big 
issue though, you’ll just need to choose your version over the default one if 
you’re asked to choose. Also I case you need the original Nav panel it might be 
best to keep it as is.



Thanks
-Vincent



Cheers,

Toby




Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Willi Schiegel

Hello Marius,

thank you for your quick and helpful answer!

I will experiment with your suggestions.

Best,
Willi

On 03/06/2017 10:24 AM, Marius Dumitru Florea wrote:

Hi Willi,

The Navigation Panel (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application#HNavigationPanel
), which I think you are referring to, doesn't support manual ordering. If
the navigation menu you want to put in place doesn't change very often (and
you're OK with hard-coding it) then you can use the Menu Application, but
also the static Tree Macro (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tree+Macro#HStaticTree
). If you need the navigation menu to be dynamic (as it is right now) then
you can either create a custom tree (starting from the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro )
or use the Menu Application with some scripting as in
http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application#HHierarchyPanel
.

Hope this helps,
Marius

On Mon, Mar 6, 2017 at 11:03 AM, Willi Schiegel <
willi.schie...@technologit.de> wrote:


Dear All,

is it possible to customize the navigation menu in the sidebar, for
example to change the ordering from automatic alphabetical to a manual
order? Would be the extension "Menu Application" the right choice for this?

Thank you very much.

Best,
Willi



Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Richter, Tobias
Hi Vincent,

thanks a lot for your answer - indeed I`ve tried to find out how to create an 
own navpanel - 

but after a lot trial and error the menu-content wasn`t "drag-and-droppable" 
(sry for the bad English) anymore. After a lot more trial and error I found 
out, that the drag-and-drop behavior of

this panel and the Navigation-heading belongs to this function:


#panelheader($services.localization.render('xe.panels.navigation'))

#panelheader means in CSS/HTML --> ID

But the "services.localization.render"- function with the 
'xe.panels.navigation' -String(?) is unfortunately too deep in the 
xwiki-backend for me. It would be nice if you could

Send a link, where this syntax and the meaning of the function is explained in 
the documentation. I know that often "2-lazy-2google" questions are asked - but 
that would be 

The step I want to learn next for getting deeper in the backend - for being 
able to customize xwiki more for our company.

Cheers,

Toby.


>That’s nice. 

>One recommendation though: you probably should create your own panel instead 
>of reusing an existing one since when you next upgrade you may get some 
>conflict if there are also changes in the officially-provided >Navigation 
>Panel. Not a big issue though, you’ll just need to choose your version over 
>the default one if you’re asked to choose. Also I case you need the original 
>Nav panel it might be best to keep it as is.

>Thanks
>-Vincent

> Cheers,
> 
> Toby



Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Vincent Massol
Hi Tobias,

> On 6 Mar 2017, at 10:29, Richter, Tobias  wrote:
> 
> Hi Willi - 
> 
> I ve used fort he horizontal Navigation the menu Application - for a vertical 
> Application I`ve edited the Navigation panel inside the administration menu..
> 
> Don’t know whether it will help you,
> 
> But that`s my code:
> 
> {{velocity}}
> #panelheader($services.localization.render('xe.panels.navigation'))
> 
> [[{{icon name="files-o" size="2x"/}}Anleitungen>>FileManager.Anleitungen]]
> 
> [[{{icon name="list" size="2x"/}}Anweisungen>>FileManager.Anweisungen]]
> 
> [[{{icon name="file-text-o" size="2x"/}}Formulare>>FileManager.Formulare]]
> 
> [[{{icon name="book" size="2x"/}} Handbücher>>FileManager.Handbücher]]
> 
> [[{{icon name="file" size="2x"/}}Sonstiges>>FileManager.Sonstiges]]
> 
> {{/velocity}}

That’s nice. 

One recommendation though: you probably should create your own panel instead of 
reusing an existing one since when you next upgrade you may get some conflict 
if there are also changes in the officially-provided Navigation Panel. Not a 
big issue though, you’ll just need to choose your version over the default one 
if you’re asked to choose. Also I case you need the original Nav panel it might 
be best to keep it as is.

Thanks
-Vincent

> Cheers,
> 
> Toby
> 
> 
> 
> 
>> Dear All,
>> 
>> is it possible to customize the navigation menu in the sidebar, for 
>> example to change the ordering from automatic alphabetical to a manual 
>> order? Would be the extension "Menu Application" the right choice for this?
>> 
>> Thank you very much.
>> 
>> Best,
>> Willi
>> 



Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Richter, Tobias
Hi Willi - 

I ve used fort he horizontal Navigation the menu Application - for a vertical 
Application I`ve edited the Navigation panel inside the administration menu..

Don’t know whether it will help you,

But that`s my code:

{{velocity}}
#panelheader($services.localization.render('xe.panels.navigation'))

 [[{{icon name="files-o" size="2x"/}}Anleitungen>>FileManager.Anleitungen]]

 [[{{icon name="list" size="2x"/}}Anweisungen>>FileManager.Anweisungen]]
 
[[{{icon name="file-text-o" size="2x"/}}Formulare>>FileManager.Formulare]]
 
 [[{{icon name="book" size="2x"/}} Handbücher>>FileManager.Handbücher]]
 
[[{{icon name="file" size="2x"/}}Sonstiges>>FileManager.Sonstiges]]
 
{{/velocity}}

Cheers,

Toby




> Dear All,
>
> is it possible to customize the navigation menu in the sidebar, for 
> example to change the ordering from automatic alphabetical to a manual 
> order? Would be the extension "Menu Application" the right choice for this?
>
> Thank you very much.
>
> Best,
> Willi
>


Re: [xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Marius Dumitru Florea
Hi Willi,

The Navigation Panel (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application#HNavigationPanel
), which I think you are referring to, doesn't support manual ordering. If
the navigation menu you want to put in place doesn't change very often (and
you're OK with hard-coding it) then you can use the Menu Application, but
also the static Tree Macro (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tree+Macro#HStaticTree
). If you need the navigation menu to be dynamic (as it is right now) then
you can either create a custom tree (starting from the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro )
or use the Menu Application with some scripting as in
http://extensions.xwiki.org/xwiki/bin/view/Extension/Menu+Application#HHierarchyPanel
.

Hope this helps,
Marius

On Mon, Mar 6, 2017 at 11:03 AM, Willi Schiegel <
willi.schie...@technologit.de> wrote:

> Dear All,
>
> is it possible to customize the navigation menu in the sidebar, for
> example to change the ordering from automatic alphabetical to a manual
> order? Would be the extension "Menu Application" the right choice for this?
>
> Thank you very much.
>
> Best,
> Willi
>


[xwiki-users] Customizing navigation menu in sidebar

2017-03-06 Thread Willi Schiegel

Dear All,

is it possible to customize the navigation menu in the sidebar, for 
example to change the ordering from automatic alphabetical to a manual 
order? Would be the extension "Menu Application" the right choice for this?


Thank you very much.

Best,
Willi


Re: [xwiki-users] Android Authenticator (XWiki API)

2017-03-06 Thread Thomas Mortagne
Hi,

Your candidacy does seems interesting but the policy at XWiki is to talk
with the community ideally, not just the official mentor. Basically the
mentor is the community but I have the duty to make sure the student will
have answers to his/her questions and follow the his/her progress ;)

The XWiki main REST API is documented on
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI and the
good news is that some of the limitations the API had last year that Fitz
had to work around during the GSOC project have been fixed since. Still
ideally this application should work with the oldest possible version of
XWiki and not require anything newer than 8.4.x which is the current LTS.

On Sun, Mar 5, 2017 at 2:39 PM, Pawan Pal  wrote:

> Hi Thomas,
>
> I am Pawan Pal an Undergraduate student in University of Delhi, India. I
> have experience in Android Development (My GitHub Profile
> ). I am an open source enthusiast, Udacity
> Android Developer Nanodegree holder also have working experience in
> organizations.
>
> I looked in to the Current codebase of Android Authenticator. I need the
> XWiki Rest api documentations which is used in the app.
> I also like to do major improvements such as using Retrofit2 library for
> rest client with okhttp. Also using RxJava2 can improve the codebase.
>
> Although the codebase is well structured. But it would be best if we use
> Google's MVP (model view presenter) architecture for android. The code
> maintainibility will become much easier then. Right now most of the classes
> have 500+ lines of code.
>
> Thanks. Please reply!
>
> --
> Pawan Pal
> *pa1pal.github.io  *
> *B.Tech (Information Technology and Mathematical Innovation)*
> *Cluster Innovation Centre, University of Delhi*
>
>
>
>
>
>
>


-- 
Thomas Mortagne


Re: [xwiki-users] Tagging user to get their attention.

2017-03-06 Thread Marius Dumitru Florea
We have
http://extensions.xwiki.org/xwiki/bin/view/Extension/Share%20Page%20Application
. The user gets notified through mail.

On Sun, Mar 5, 2017 at 10:55 AM, Oliver Angélil  wrote:

> Is it possible to do this on a page to alert a user if you would like to
> get them to view some page/comment? I.e. this is a useful feature on
> Facebook, but then I guess most of don't use Facebook. ;)
>
> Thanks,
> Oliver
>