Re: [xwiki-users] TOC macro

2013-08-29 Thread Vincent Massol

On Aug 30, 2013, at 7:58 AM, Hamster  wrote:

> Vincent,
> 
> Where is the (original) TOC macro located? I can't find it... :-(

I have no idea what you call the "original" TOC macro…

Do you mean http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro ?

Thanks
-Vincent

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


[xwiki-users] Category/Topic with with + symbol in name get created with wrong page names (e.g. C++Programming becomes CProgramming)

2013-08-29 Thread jimcherian
I installed Bulletin Board Application on Xwiki5.1.
However, we see strange problems when I create a Category/Topic with special
characters in their names.

Category/Topic name with + symbol get created with wrong page names (e.g.
C++Programming becomes CProgramming)

Is it somehow related to http://jira.xwiki.org/browse/XWIKI-188?
Can this be fixed sometime soon, or is there any workaround?

I have posted this as a bug in http://jira.xwiki.org/browse/XBB-10. But, it
is not assigned to or responded by anyone since last 2 days.

Thanks and Regards,
Jim



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Category-Topic-with-with-symbol-in-name-get-created-with-wrong-page-names-e-g-C-Programming-becomes--tp7586848.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] Programming rights ignored in the wiki farm while extension installation

2013-08-29 Thread Thomas Mortagne
On Thu, Aug 29, 2013 at 7:14 PM, Dmitry Bakbardin  wrote:
>  Hi, Thomas,
>
> Thanks a lot, now it works. But anyhow, there is a problem to resave macro 
> pages, UI pages to make it running. Is there any other solution to make it 
> working out of the box?

You don't have to resave pages, these pages were installed with a user
that does not have PR so you had to save them with a proper one.

>
>
> Kind regards,
>
> Dmitry
>
> Четверг, 29 августа 2013, 11:32 +02:00 от Thomas Mortagne 
> :
>>It's possible the issue you have has nothing to do with the current
>>user but with the current author (which is checked too so that you
>>don't end up in a situation when anyone can install anything just by
>>waiting that an admin goes to a page).
>>
>>Try to resave the  http://mysubwikihost/xwiki/bin/view/XWiki/AddExtensions 
>>page.
>>
>>On Thu, Aug 8, 2013 at 3:11 PM, Dmitry Bakbardin < haru_mamb...@mail.ru > 
>>wrote:
>>>  User is Global, member of the definite Global Group. Global Group has ALL 
>>> rights on sub-wiki.
>>> There is no problem to save pages with programming rights in this sub-wiki. 
>>> The only problem is Extension manager in there.
>>>
>>>
>>> Четверг,  8 августа 2013, 15:05 +02:00 от Jeremie BOUSQUET < 
>>> jeremie.bousq...@gmail.com >:
Hi,
I think maybe even if user is global and has admin rights on main wiki, he 
doesn't have by default admin rights on sub-wikis.
I'm not very sure, but you might want to check its rights in the local wiki 
admin.
Also, I didn't think XEM could manage global users in sub-wikis but I'm 
even less sure of that ;-)

BR,
Jeremie


2013/8/8 Dmitry Bakbardin  <  haru_mamb...@mail.ru >
> Hi!
>
>XEM 4.3. Attempt to install Freemind Macro to the sub-wiki via sub-wiki's 
>Extension Manager:
>
>
>Resolving extension [fmancinelli:freemind-macro-1.0] on namespace 
> [wiki:staff]
>Admin right is required to install extension 
> [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff]
>
>The problem is: user is Global and has programming rights. Is it expected 
>behaviour or bug?
>
>
>Error details are following:
>
>class org.xwiki.extension.InstallException: Failed to resolve 
> extension at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:685)
>  at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
>  at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
>  at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
>  at 
> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
>  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
> at java.lang.Thread.run(Thread.java:722) Caused by: class 
> org.xwiki.extension.InstallException: Admin right is required to install 
> extension [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff] at 
> org.xwiki.extension.xar.internal.handler.XarExtensionHandler.checkInstall(XarExtensionHandler.java:308)
>  at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:771)
>  at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:683)
>  at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
>  at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
>  at 
> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
>  at 
> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
>  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
> at java.lang.Thread.run(Thread.java:722)
>
>
>
>Kind regards,
>
>Dmitry
>___
>users mailing list
>users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

>>>
>>>
>>> Kind regards,
>>>
>>> Dmitry
>>> ___
>>> 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



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


Re: [xwiki-users] TOC macro

2013-08-29 Thread Hamster
Vincent,

Where is the (original) TOC macro located? I can't find it... :-(



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/TOC-macro-tp7586675p7586846.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] Programming rights ignored in the wiki farm while extension installation

2013-08-29 Thread Dmitry Bakbardin
 Hi, Thomas,

Thanks a lot, now it works. But anyhow, there is a problem to resave macro 
pages, UI pages to make it running. Is there any other solution to make it 
working out of the box?


Kind regards,

Dmitry

Четверг, 29 августа 2013, 11:32 +02:00 от Thomas Mortagne 
:
>It's possible the issue you have has nothing to do with the current
>user but with the current author (which is checked too so that you
>don't end up in a situation when anyone can install anything just by
>waiting that an admin goes to a page).
>
>Try to resave the  http://mysubwikihost/xwiki/bin/view/XWiki/AddExtensions 
>page.
>
>On Thu, Aug 8, 2013 at 3:11 PM, Dmitry Bakbardin < haru_mamb...@mail.ru > 
>wrote:
>>  User is Global, member of the definite Global Group. Global Group has ALL 
>> rights on sub-wiki.
>> There is no problem to save pages with programming rights in this sub-wiki. 
>> The only problem is Extension manager in there.
>>
>>
>> Четверг,  8 августа 2013, 15:05 +02:00 от Jeremie BOUSQUET < 
>> jeremie.bousq...@gmail.com >:
>>>Hi,
>>>I think maybe even if user is global and has admin rights on main wiki, he 
>>>doesn't have by default admin rights on sub-wikis.
>>>I'm not very sure, but you might want to check its rights in the local wiki 
>>>admin.
>>>Also, I didn't think XEM could manage global users in sub-wikis but I'm even 
>>>less sure of that ;-)
>>>
>>>BR,
>>>Jeremie
>>>
>>>
>>>2013/8/8 Dmitry Bakbardin  <  haru_mamb...@mail.ru >
 Hi!

XEM 4.3. Attempt to install Freemind Macro to the sub-wiki via sub-wiki's 
Extension Manager:


Resolving extension [fmancinelli:freemind-macro-1.0] on namespace 
 [wiki:staff]
Admin right is required to install extension 
 [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff]

The problem is: user is Global and has programming rights. Is it expected 
behaviour or bug?


Error details are following:

class org.xwiki.extension.InstallException: Failed to resolve extension 
 at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:685)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
  at 
 org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
 org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
 at java.lang.Thread.run(Thread.java:722) Caused by: class 
 org.xwiki.extension.InstallException: Admin right is required to install 
 extension [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff] at 
 org.xwiki.extension.xar.internal.handler.XarExtensionHandler.checkInstall(XarExtensionHandler.java:308)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:771)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:683)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
  at 
 org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
  at 
 org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
 org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) 
 at java.lang.Thread.run(Thread.java:722)



Kind regards,

Dmitry
___
users mailing list
users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>> Kind regards,
>>
>> Dmitry
>> ___
>> 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] RES: RES: XWiki Publication Workflow Application

2013-08-29 Thread Danilo Amaral de Oliveira
Hello Thomas,

Now, it worked... Strange...
Well, I could install the extension! Great extension! I will do some 
customization to fit our necessities!

So, thank you more one time Xwiki community!

Bye.
Danilo

-Mensagem original-
De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de Thomas 
Mortagne
Enviada em: quinta-feira, 29 de agosto de 2013 11:27
Para: XWiki Users
Assunto: Re: [xwiki-users] RES: XWiki Publication Workflow Application

On Thu, Aug 29, 2013 at 3:53 PM, Danilo Amaral de Oliveira 
 wrote:
> Hello Thomas,
>
> Thank you for the information. I tried to use the 'advanced search" with the 
> following terms:
> Id: 'org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api'
> Version: '1.0.1'

I did the exact same thing and it properly found it. Are you sure your server 
has access to Internet (do you have any extension listed with empty standard 
search) ?

>
> But the search returned 0 results.
>
> How can I install the api manually?

You just need to put the jar file in "WEB-INF/lib" where XWiki application is 
installed.

>
> Thank you
> Danilo
> -Mensagem original-
> De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome 
> de Thomas Mortagne Enviada em: quinta-feira, 29 de agosto de 2013 
> 09:11
> Para: XWiki Users
> Assunto: Re: [xwiki-users] XWiki Publication Workflow Application
>
> Note that you can install any extension from the 
> http://maven.xwiki.org/releases/ repository using "advanced search", 
> in this case the id is 
> org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api
> and indicate the version you want.
>
> On Thu, Aug 29, 2013 at 2:08 PM, Thomas Mortagne  
> wrote:
>> Actually the real issue is that the dependency on the api module is 
>> not properly declared in the XAR extension itself.
>>
>> You can find the released files on
>> http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.
>>
>> On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira 
>>  wrote:
>>> Good Morning!
>>>
>>> Exploring the extensions features in the xwiki.org site I found an 
>>> interesting extension that could fit a big necessity in my company, the 
>>> 'XWiki Publication Workflow Application'.
>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publicati
>>> o
>>> n+Workflow+Application
>>>
>>> I download it by the extension manager in my XEM 5.1 but I could not launch 
>>> it correctly. Trying to launch the extension  I realized that the API of 
>>> the plugin is missing. I think that it is the root cause of the problem. It 
>>> is available in the github but I don't know how to compile. Anyone tried 
>>> this extension successful?
>>>
>>> Thank you!
>>> Danilo
>>> ___
>>> 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
> ___
> 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] RES: XWiki Publication Workflow Application

2013-08-29 Thread Thomas Mortagne
On Thu, Aug 29, 2013 at 3:53 PM, Danilo Amaral de Oliveira
 wrote:
> Hello Thomas,
>
> Thank you for the information. I tried to use the 'advanced search" with the 
> following terms:
> Id: 'org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api'
> Version: '1.0.1'

I did the exact same thing and it properly found it. Are you sure your
server has access to Internet (do you have any extension listed with
empty standard search) ?

>
> But the search returned 0 results.
>
> How can I install the api manually?

You just need to put the jar file in "WEB-INF/lib" where XWiki
application is installed.

>
> Thank you
> Danilo
> -Mensagem original-
> De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de 
> Thomas Mortagne
> Enviada em: quinta-feira, 29 de agosto de 2013 09:11
> Para: XWiki Users
> Assunto: Re: [xwiki-users] XWiki Publication Workflow Application
>
> Note that you can install any extension from the 
> http://maven.xwiki.org/releases/ repository using "advanced search", in this 
> case the id is 
> org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api
> and indicate the version you want.
>
> On Thu, Aug 29, 2013 at 2:08 PM, Thomas Mortagne  
> wrote:
>> Actually the real issue is that the dependency on the api module is
>> not properly declared in the XAR extension itself.
>>
>> You can find the released files on
>> http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.
>>
>> On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira
>>  wrote:
>>> Good Morning!
>>>
>>> Exploring the extensions features in the xwiki.org site I found an 
>>> interesting extension that could fit a big necessity in my company, the 
>>> 'XWiki Publication Workflow Application'.
>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publicatio
>>> n+Workflow+Application
>>>
>>> I download it by the extension manager in my XEM 5.1 but I could not launch 
>>> it correctly. Trying to launch the extension  I realized that the API of 
>>> the plugin is missing. I think that it is the root cause of the problem. It 
>>> is available in the github but I don't know how to compile. Anyone tried 
>>> this extension successful?
>>>
>>> Thank you!
>>> Danilo
>>> ___
>>> 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
> ___
> 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] RES: XWiki Publication Workflow Application

2013-08-29 Thread Danilo Amaral de Oliveira
Hello Thomas,

Thank you for the information. I tried to use the 'advanced search" with the 
following terms:
Id: 'org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api'
Version: '1.0.1'

But the search returned 0 results.

How can I install the api manually?

Thank you
Danilo
-Mensagem original-
De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de Thomas 
Mortagne
Enviada em: quinta-feira, 29 de agosto de 2013 09:11
Para: XWiki Users
Assunto: Re: [xwiki-users] XWiki Publication Workflow Application

Note that you can install any extension from the 
http://maven.xwiki.org/releases/ repository using "advanced search", in this 
case the id is 
org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api
and indicate the version you want.

On Thu, Aug 29, 2013 at 2:08 PM, Thomas Mortagne  
wrote:
> Actually the real issue is that the dependency on the api module is 
> not properly declared in the XAR extension itself.
>
> You can find the released files on
> http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.
>
> On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira 
>  wrote:
>> Good Morning!
>>
>> Exploring the extensions features in the xwiki.org site I found an 
>> interesting extension that could fit a big necessity in my company, the 
>> 'XWiki Publication Workflow Application'.
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publicatio
>> n+Workflow+Application
>>
>> I download it by the extension manager in my XEM 5.1 but I could not launch 
>> it correctly. Trying to launch the extension  I realized that the API of the 
>> plugin is missing. I think that it is the root cause of the problem. It is 
>> available in the github but I don't know how to compile. Anyone tried this 
>> extension successful?
>>
>> Thank you!
>> Danilo
>> ___
>> 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Clemens Klein-Robbenhaar
On 08/29/2013 02:20 PM, Vincent Massol wrote:
> 
> On Aug 29, 2013, at 2:02 PM, Clemens Klein-Robbenhaar 
>  wrote:
>>
>> I vaguely feel the current syntax help page could be enhanced a bit by 
>> telling which attributes after the '||' have a special meaning (mostly the 
>> "queryString" as far as I know), and which ones are just HTML attributes.
> 
> It is documented, see 
> http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks and 
> specifically the section entitled "XWiki Syntax 2.1 Link Specification".
> 

Well, who read the specs when there are examples ;)

Seriously, I plan forgot about that, silly me.

> What we are missing is a proper documentation of Syntax 2.1 and for this we 
> need: http://jira.xwiki.org/browse/XWIKI-9176
> 
> We really need to work on that, we've been postponing it for too long now 
> especially given that syntax 2.1 has been the default for a while...
> 

This looks quite cool.
In my 5.2-SNAP the tables are a bit too wide, the bullets in the list bounce 
along the left margin, and the translations of the title did not made it in the 
list of translation documents (indeed I could not find them in the import) but 
aside of that ...

What is actually needed to finish this, aside of a few formatting things?

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


Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Vincent Massol

On Aug 29, 2013, at 2:36 PM, Valdis Vītoliņš  wrote:

>> Hi Valdis,
>> 
>>> 1. What is correct syntax to add get parameters in link
>>> e.g. correct way for
>>> [[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]
>>> 
>> 
>> This works as given in 2.0 syntax for me.
>> 
>> In 2.1 syntax the following works:
>> 
>> [[link with get 
>> params>>Main.test||queryString="xpage=plain&outputSyntax=plain"]]
>> 
>>> 2. What is correct syntax for link in the same page with some ID, e.g.
>>> for [[link to id>>#id]]
>>> 
>> works for me in 2.0
>> 
>> in 2.1:
>> 
>> [[link to id>>PageName||anchor="id"]]
>> 
>> 
>> I vaguely feel the current syntax help page could be enhanced a bit by 
>> telling which attributes after the '||' have a special meaning (mostly the 
>> "queryString" as far as I know), and which ones are just HTML attributes.
>> 
>> Clemens
> 
> Thanks, that works!
> I tried to update
> http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax but I didn't
> have neither page edit nor comment permissions with my (valdisvi)
> profile…

Yep you cannot :) This page is autogenerated, see
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?viewer=code

What you can do is send a pull request for 
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-help/xwiki-platform-help-ui/src/main/resources/XWiki/XWikiSyntax.xml

What do you wish to change?

Thanks
-Vincent

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


Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Valdis Vītoliņš
> Hi Valdis,
> 
> > 1. What is correct syntax to add get parameters in link
> > e.g. correct way for
> > [[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]
> > 
> 
> This works as given in 2.0 syntax for me.
> 
> In 2.1 syntax the following works:
> 
> [[link with get 
> params>>Main.test||queryString="xpage=plain&outputSyntax=plain"]]
> 
> > 2. What is correct syntax for link in the same page with some ID, e.g.
> > for [[link to id>>#id]]
> > 
> works for me in 2.0
> 
> in 2.1:
> 
> [[link to id>>PageName||anchor="id"]]
> 
> 
> I vaguely feel the current syntax help page could be enhanced a bit by 
> telling which attributes after the '||' have a special meaning (mostly the 
> "queryString" as far as I know), and which ones are just HTML attributes.
> 
> Clemens

Thanks, that works!
I tried to update
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax but I didn't
have neither page edit nor comment permissions with my (valdisvi)
profile...

Valdis 

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


Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Vincent Massol

On Aug 29, 2013, at 2:02 PM, Clemens Klein-Robbenhaar 
 wrote:

> Hi Valdis,
> 
>> 1. What is correct syntax to add get parameters in link
>> e.g. correct way for
>> [[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]
>> 
> 
> This works as given in 2.0 syntax for me.
> 
> In 2.1 syntax the following works:
> 
> [[link with get 
> params>>Main.test||queryString="xpage=plain&outputSyntax=plain"]]
> 
>> 2. What is correct syntax for link in the same page with some ID, e.g.
>> for [[link to id>>#id]]
>> 
> works for me in 2.0
> 
> in 2.1:
> 
> [[link to id>>PageName||anchor="id"]]
> 
> 
> I vaguely feel the current syntax help page could be enhanced a bit by 
> telling which attributes after the '||' have a special meaning (mostly the 
> "queryString" as far as I know), and which ones are just HTML attributes.

It is documented, see 
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks and 
specifically the section entitled "XWiki Syntax 2.1 Link Specification".

What we are missing is a proper documentation of Syntax 2.1 and for this we 
need: http://jira.xwiki.org/browse/XWIKI-9176

We really need to work on that, we've been postponing it for too long now 
especially given that syntax 2.1 has been the default for a while...

Thanks
-Vincent

> Clemens

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


Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Vincent Massol

On Aug 29, 2013, at 2:06 PM, Valdis Vītoliņš  wrote:

>> On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš  wrote:
>> 
>>> 1. What is correct syntax to add get parameters in link
>>> e.g. correct way for
>>> [[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]
>>> 
>>> 2. What is correct syntax for link in the same page with some ID, e.g.
>>> for [[link to id>>#id]]
>> 
>> See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks
>> 
>> Thanks
>> -Vincent
>> 
> I looked at this, and provided samples in general follows to the rule:
> (reference) [?queryString] [#anchor]
> 
> But it doesn't work.

It does work…

You need to use the correct syntax of course. Either 2.0 or 2.1.

Thanks
-Vincent

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


Re: [xwiki-users] XWiki Publication Workflow Application

2013-08-29 Thread Thomas Mortagne
Note that you can install any extension from the
http://maven.xwiki.org/releases/ repository using "advanced search",
in this case the id is
org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api
and indicate the version you want.

On Thu, Aug 29, 2013 at 2:08 PM, Thomas Mortagne
 wrote:
> Actually the real issue is that the dependency on the api module is
> not properly declared in the XAR extension itself.
>
> You can find the released files on
> http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.
>
> On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira
>  wrote:
>> Good Morning!
>>
>> Exploring the extensions features in the xwiki.org site I found an 
>> interesting extension that could fit a big necessity in my company, the 
>> 'XWiki Publication Workflow Application'.
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publication+Workflow+Application
>>
>> I download it by the extension manager in my XEM 5.1 but I could not launch 
>> it correctly. Trying to launch the extension  I realized that the API of the 
>> plugin is missing. I think that it is the root cause of the problem. It is 
>> available in the github but I don't know how to compile. Anyone tried this 
>> extension successful?
>>
>> Thank you!
>> Danilo
>> ___
>> 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] XWiki Publication Workflow Application

2013-08-29 Thread Thomas Mortagne
Actually the real issue is that the dependency on the api module is
not properly declared in the XAR extension itself.

You can find the released files on
http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.

On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira
 wrote:
> Good Morning!
>
> Exploring the extensions features in the xwiki.org site I found an 
> interesting extension that could fit a big necessity in my company, the 
> 'XWiki Publication Workflow Application'.
> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publication+Workflow+Application
>
> I download it by the extension manager in my XEM 5.1 but I could not launch 
> it correctly. Trying to launch the extension  I realized that the API of the 
> plugin is missing. I think that it is the root cause of the problem. It is 
> available in the github but I don't know how to compile. Anyone tried this 
> extension successful?
>
> Thank you!
> Danilo
> ___
> 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] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Valdis Vītoliņš
> On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš  wrote:
> 
> > 1. What is correct syntax to add get parameters in link
> > e.g. correct way for
> > [[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]
> > 
> > 2. What is correct syntax for link in the same page with some ID, e.g.
> > for [[link to id>>#id]]
> 
> See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks
> 
> Thanks
> -Vincent
> 
I looked at this, and provided samples in general follows to the rule:
(reference) [?queryString] [#anchor]

But it doesn't work.

Valdis


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


Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Clemens Klein-Robbenhaar
Hi Valdis,

> 1. What is correct syntax to add get parameters in link
> e.g. correct way for
> [[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]
> 

This works as given in 2.0 syntax for me.

In 2.1 syntax the following works:

[[link with get 
params>>Main.test||queryString="xpage=plain&outputSyntax=plain"]]

> 2. What is correct syntax for link in the same page with some ID, e.g.
> for [[link to id>>#id]]
> 
works for me in 2.0

in 2.1:

[[link to id>>PageName||anchor="id"]]


I vaguely feel the current syntax help page could be enhanced a bit by telling 
which attributes after the '||' have a special meaning (mostly the 
"queryString" as far as I know), and which ones are just HTML attributes.

Clemens



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


[xwiki-users] XWiki Publication Workflow Application

2013-08-29 Thread Danilo Amaral de Oliveira
Good Morning!

Exploring the extensions features in the xwiki.org site I found an interesting 
extension that could fit a big necessity in my company, the 'XWiki Publication 
Workflow Application'.
http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publication+Workflow+Application

I download it by the extension manager in my XEM 5.1 but I could not launch it 
correctly. Trying to launch the extension  I realized that the API of the 
plugin is missing. I think that it is the root cause of the problem. It is 
available in the github but I don't know how to compile. Anyone tried this 
extension successful?

Thank you!
Danilo
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Vincent Massol

On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš  wrote:

> 1. What is correct syntax to add get parameters in link
> e.g. correct way for
> [[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]
> 
> 2. What is correct syntax for link in the same page with some ID, e.g.
> for [[link to id>>#id]]

See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks

Thanks
-Vincent

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


[xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Valdis Vītoliņš
1. What is correct syntax to add get parameters in link
e.g. correct way for
[[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]

2. What is correct syntax for link in the same page with some ID, e.g.
for [[link to id>>#id]]

Thanks!
Valdis

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


Re: [xwiki-users] ActivityStreamCleanerJob

2013-08-29 Thread Haimerl, Josef
Hello Sorin,

thanks a lot. Your post was very helpful. Seemingly I messed something up by 
editing the Object. I just deleted the Job and followed your instructions. It's 
working now.

Regards,

Josef

> -Ursprüngliche Nachricht-
> Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im
> Auftrag von Sorin Burjan
> Gesendet: Dienstag, 27. August 2013 10:14
> An: XWiki Users
> Betreff: Re: [xwiki-users] ActivityStreamCleanerJob
> 
> Hello Josef,
> 
> I have a 5.2M1 wiki which is 2 weeks old. I've set
> xwiki.plugin.activitystream.daystokeepevents=1 in xwiki.cfg as you did, then
> restarted my wiki. A job was created automatically. I left the default job
> parameters which were created by XWiki.
> 
> Before triggering manually the job, I queried the database (Postgres):
> xwiki=# select count(*) from activitystream_events;  count
> ---
>   1800
> (1 row)
> 
> After triggering the job, I re-run the same query:
> xwiki=# select count(*) from activitystream_events;  count
> ---
>791
> (1 row)
> 
> Also in the AS now I only have entries from today and yesterday. Checked
> also Main.WebHome but also my AS from my profile. They both look the
> same.
> 
> Since I am not an expert here, maybe your cron expression is not correct or
> other parameter. I'd say you could try deleting your job and let XWiki create
> it automatically for you, see if it works this way.
> 
> Regards,
> Sorin B.
> 
> 
> On Fri, Aug 23, 2013 at 1:03 PM, Haimerl, Josef
> wrote:
> 
> > Hi
> >
> > I want to run the ActivityStreamCleanerJob
> > (com/xpn/xwiki/plugin/activitystream/impl/ActivityStreamCleanerJob.jav
> > a) within the Job Scheduler Application. I knew I had it running a
> > while ago and it worked, but despite the same configuration it doesn't
> > anymore. When I take a look at the database table
> > activitystream_events nothing seems to be deleted.
> > What I did:
> >
> > * installed Scheduler Job (as admin) as mentioned on the extension
> > site
> >
> > * created a new Job with following parameters
> >
> > o   Job Name: ActivityStreamCleaner
> >
> > o   Job Class:
> > com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamCleanerJob
> >
> > o   Status: Normal
> >
> > o   Job Script:
> >
> > o   Cron Expression: 0 29 11 * * ?
> >
> > o   Job execution context user: XWiki.Admin
> >
> > o   Job execution context lang: en
> >
> > o   Job execution context database: xwiki
> >
> > * checked if scheduler and activitystream plugins are loaded in
> > xwiki.cfg
> >
> > * set xwiki.plugin.activitystream.daystokeepevents=1 in xwiki.cfg
> >
> > * unscheduled and scheduled the job again
> >
> > * triggered it
> >
> > * tested if other jobs work in general: OK
> >
> > * tested on different xwiki instances
> >
> > So do you have any advice, have I something missed out?
> >
> > ___
> > 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] [myxwiki] new wiki request

2013-08-29 Thread Thomas Mortagne
On Thu, Aug 29, 2013 at 11:32 AM, Vincent Massol  wrote:
>
> On Aug 29, 2013, at 11:01 AM, Thomas Mortagne  
> wrote:
>
>> On Wed, Aug 28, 2013 at 6:05 PM, Vincent Massol  wrote:
>>> Hi Luc,
>>>
>>> On Aug 28, 2013, at 5:57 PM, Luc Bergeron  wrote:
>>>
 Hello,

 I'm in the process of exploring different wikis for a classroom project. 
 I'm a high school teacher and I want my classes to create a wiki of 
 religion.

 I'd like a wiki to be created in order to test the XWiki software.

 I've registered on XWiki and my user name is lbergeron. The namespace I'd 
 like to have is ecr-msl.myxwiki.org.
>>>
>>> We don't allow dash ('-') in names. Would ecrmsl.myxwiki.org be ok?
>>
>> We don't allow it in wiki id but the host name does not have this kind
>> of limitations.
>
> Indeed, I've added http://ecr-msl.myxwiki.org/ in addition to 
> http://ecrmsl.myxwiki.org/

I made http://ecr-msl.myxwiki.org the default one (used when
generating full link).

>
> Thanks
> -Vincent
>
>>> Thanks
>>> -Vincent
>>>
 Thanks in advance.

 Luc

 --
 Luc Bergeron
 Enseignant d'?thique et de culture religieuse
 Coll?ge Mont-Saint-Louis
 lberge...@msl.qc.ca
> ___
> 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] Programming rights ignored in the wiki farm while extension installation

2013-08-29 Thread Thomas Mortagne
It's possible the issue you have has nothing to do with the current
user but with the current author (which is checked too so that you
don't end up in a situation when anyone can install anything just by
waiting that an admin goes to a page).

Try to resave the http://mysubwikihost/xwiki/bin/view/XWiki/AddExtensions page.

On Thu, Aug 8, 2013 at 3:11 PM, Dmitry Bakbardin  wrote:
>  User is Global, member of the definite Global Group. Global Group has ALL 
> rights on sub-wiki.
> There is no problem to save pages with programming rights in this sub-wiki. 
> The only problem is Extension manager in there.
>
>
> Четверг,  8 августа 2013, 15:05 +02:00 от Jeremie BOUSQUET 
> :
>>Hi,
>>I think maybe even if user is global and has admin rights on main wiki, he 
>>doesn't have by default admin rights on sub-wikis.
>>I'm not very sure, but you might want to check its rights in the local wiki 
>>admin.
>>Also, I didn't think XEM could manage global users in sub-wikis but I'm even 
>>less sure of that ;-)
>>
>>BR,
>>Jeremie
>>
>>
>>2013/8/8 Dmitry Bakbardin  < haru_mamb...@mail.ru >
>>> Hi!
>>>
>>>XEM 4.3. Attempt to install Freemind Macro to the sub-wiki via sub-wiki's 
>>>Extension Manager:
>>>
>>>
>>>Resolving extension [fmancinelli:freemind-macro-1.0] on namespace 
>>> [wiki:staff]
>>>Admin right is required to install extension 
>>> [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff]
>>>
>>>The problem is: user is Global and has programming rights. Is it expected 
>>>behaviour or bug?
>>>
>>>
>>>Error details are following:
>>>
>>>class org.xwiki.extension.InstallException: Failed to resolve extension 
>>> at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:685)
>>>  at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
>>>  at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
>>>  at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
>>>  at 
>>> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
>>>  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
>>> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) at 
>>> java.lang.Thread.run(Thread.java:722) Caused by: class 
>>> org.xwiki.extension.InstallException: Admin right is required to install 
>>> extension [fmancinelli:freemind-macro-1.0] on namespace [wiki:staff] at 
>>> org.xwiki.extension.xar.internal.handler.XarExtensionHandler.checkInstall(XarExtensionHandler.java:308)
>>>  at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:771)
>>>  at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:683)
>>>  at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:384)
>>>  at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:296)
>>>  at 
>>> org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:226)
>>>  at 
>>> org.xwiki.extension.job.internal.InstallPlanJob.start(InstallPlanJob.java:88)
>>>  at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at 
>>> org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:154) at 
>>> java.lang.Thread.run(Thread.java:722)
>>>
>>>
>>>
>>>Kind regards,
>>>
>>>Dmitry
>>>___
>>>users mailing list
>>>users@xwiki.org
>>>http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
> Kind regards,
>
> Dmitry
> ___
> 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] [myxwiki] new wiki request

2013-08-29 Thread Vincent Massol

On Aug 29, 2013, at 11:01 AM, Thomas Mortagne  wrote:

> On Wed, Aug 28, 2013 at 6:05 PM, Vincent Massol  wrote:
>> Hi Luc,
>> 
>> On Aug 28, 2013, at 5:57 PM, Luc Bergeron  wrote:
>> 
>>> Hello,
>>> 
>>> I'm in the process of exploring different wikis for a classroom project. 
>>> I'm a high school teacher and I want my classes to create a wiki of 
>>> religion.
>>> 
>>> I'd like a wiki to be created in order to test the XWiki software.
>>> 
>>> I've registered on XWiki and my user name is lbergeron. The namespace I'd 
>>> like to have is ecr-msl.myxwiki.org.
>> 
>> We don't allow dash ('-') in names. Would ecrmsl.myxwiki.org be ok?
> 
> We don't allow it in wiki id but the host name does not have this kind
> of limitations.

Indeed, I've added http://ecr-msl.myxwiki.org/ in addition to 
http://ecrmsl.myxwiki.org/

Thanks
-Vincent

>> Thanks
>> -Vincent
>> 
>>> Thanks in advance.
>>> 
>>> Luc
>>> 
>>> --
>>> Luc Bergeron
>>> Enseignant d'?thique et de culture religieuse
>>> Coll?ge Mont-Saint-Louis
>>> lberge...@msl.qc.ca
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Multiple entries for LDAP group Matching to Xwiki

2013-08-29 Thread Thomas Mortagne
Are you sure you are using standard
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl authenticator ?

This feature is tested and used a lot and I never saw this behavior.

Are those users exactly the same users, could you past the links you
have for each one.

On Thu, Aug 8, 2013 at 1:58 PM, Ganesh M  wrote:
> Hi,
>
> I mapped a LDAP group to the Xwiki group. But Each time if I login it
> creates a new entry in the Xwiki group. I logged in five times when I
> checked the group members it shows five entries of same user(My name).
>
> Thanks in advance
>
> --
> *Regards*
>
> *M.GANESAN*
> *E-Mai*l :mganeshan...@gmail.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] [myxwiki] new wiki request

2013-08-29 Thread Thomas Mortagne
On Wed, Aug 28, 2013 at 6:05 PM, Vincent Massol  wrote:
> Hi Luc,
>
> On Aug 28, 2013, at 5:57 PM, Luc Bergeron  wrote:
>
>> Hello,
>>
>> I'm in the process of exploring different wikis for a classroom project. I'm 
>> a high school teacher and I want my classes to create a wiki of religion.
>>
>> I'd like a wiki to be created in order to test the XWiki software.
>>
>> I've registered on XWiki and my user name is lbergeron. The namespace I'd 
>> like to have is ecr-msl.myxwiki.org.
>
> We don't allow dash ('-') in names. Would ecrmsl.myxwiki.org be ok?

We don't allow it in wiki id but the host name does not have this kind
of limitations.

>
> Thanks
> -Vincent
>
>> Thanks in advance.
>>
>> Luc
>>
>> --
>> Luc Bergeron
>> Enseignant d'?thique et de culture religieuse
>> Coll?ge Mont-Saint-Louis
>> lberge...@msl.qc.ca
> ___
> 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