[xwiki-users] Table of Contents with duplicate headers

2016-08-05 Thread Patrick Tomblin
Hi,

I have a use case where I am creating command documentation and am using a
template that looks roughly like this.

Page: Command Name One
h1. Command Name One
h2. Usage
h2. Options
h2  Command Details
h2  Troubleshooting

Page: Command Name Two
h1. Command Name Two
h2. Usage
h2. Options
h2  Command Details
h2  Troubleshooting


I have about 20 commands that I have documented in this template.
The issue is when you include or display them on one page and add a table
of contents the macro renders correctly but the links for the duplicate h2
records all link to the first occurrence.

Does anyone have a suggestion on how to fix this? I would like to keep them
on separate pages but the way its looking now ill have to merge them down
to a single page for the h2 links to work throughout the document.


Thanks in advance,
Patrick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Access Rights by Network

2016-08-05 Thread Brendan Powers
Hello,

I am trying to control access to XWiki based on the incoming IP address.
Currently, I have the wiki set up to allow view access to everyone
including guests, and write access to logged in users. This works fine on
the local LAN, but I'd like to allow external users access to the wiki as
well. I would like to force users accessing the Wiki from outside my
network to log on before they can view Wiki pages.

There doesn't seem to be any build in mechanism for filtering access by IP.
Is there a work-around that would let me to this?

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


[xwiki-users] [myxwiki] new wiki request

2016-08-05 Thread Isaac Stethem
The wiki will be used for low-volume updates and discussions on projects of 
non-profit organisation.

The owner name is aveq_consexec 

Requested wiki name is aves

Best,
Isaac


Isaac Stethem
Conseiller à l’exécutif | Advisor to the Executive
Association pour la voix étudiante au Québec | Association for the Voice of 
Education in Québec
1-888-994-9177 x1
cons.e...@aveq-nous.ca

Les bureaux de l’AVEQ sont situés sur des terres Kanien’kehá:ka occupées
The AVEQ offices are located on occupied Kanien’kehá:ka territory



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


[xwiki-users] Question regarding changing default format of Numbered Lists

2016-08-05 Thread rlarkin
Hello-

I am a new user and I have a question regarding changing the default method
of numbering used for numbered lists. I am attempting to use xwiki to store
our company policy, which as of now is kept in a series of individual
documents. The difficulty is that management is insistent that I maintain
the current numbering schema used for numbered lists which is in the format:

A. Item One
  1. Sub-Item 1
a. Sub-Sub Item 1

While I can do so manually using the xwiki syntax this is a great deal of
work when dealing with dozens of lists within hundreds of policies. In
addition I would like to make it as easy as possible for whomever comes
after me. I believe that the css code for something like this would be
something along the lines of:

ol {list-style-type:upper-alpha;}
ol ol {list-style-type:decimal;}
ol ol ol {list-style-type:lower-alpha;}

but I am uncertain as to whether this is the proper method of implementing
this change, and if so am uncertain as to where that code would go. Any help
would be appreciated.




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Question-regarding-changing-default-format-of-Numbered-Lists-tp7600593.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] users Digest, Vol 109, Issue 11

2016-08-05 Thread Marius Dumitru Florea
XWiki's back-end is written in Java (in this area is good to be familiar
with the Servlet API and Hibernate) while the front-end is written in
Velocity (server-side scripting) and JavaScript (jQuery) + HTML/CSS
(Bootstrap). You can check the list of project ideas that have been
proposed this year http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
. Each project should list the technical requirements.

Hope this helps,
Marius

On Fri, Aug 5, 2016 at 1:29 PM, AMAN SATYA  wrote:

> Hello everyone , actually I wanted to know , what all are the programming
> languages that would be beneficial for GSoC . I will be taking part in GSoC
> next year and I have pretty good hands in java . So I just wanted your
> advice regarding that as I am new to this group
>
> On Thu, Aug 4, 2016 at 8:11 PM,  wrote:
>
> > Send users mailing list submissions to
> > users@xwiki.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.xwiki.org/mailman/listinfo/users
> > or, via email, send a message with subject or body 'help' to
> > users-requ...@xwiki.org
> >
> > You can reach the person managing the list at
> > users-ow...@xwiki.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of users digest..."
> >
> >
> > Today's Topics:
> >
> >1. [myxwiki] XWiki Enterprise 8.2.1 Upgrade (Thomas Mortagne)
> >2. Re: Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
> >   (St?phane LASSIRE)
> >3. Re: Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
> >   (Thomas Mortagne)
> >4. How to create a link to a page translation? (Hofst?tter Mario)
> >5. [ANN] Contrib Parent pom 6.4-3 (Thomas Mortagne)
> >
> >
> > --
> >
> > Message: 1
> > Date: Thu, 4 Aug 2016 12:14:46 +0200
> > From: Thomas Mortagne 
> > To: XWiki Users , XWiki Developers 
> > Subject: [xwiki-users] [myxwiki] XWiki Enterprise 8.2.1 Upgrade
> > Message-ID:
> >  > mail.gmail.com>
> > Content-Type: text/plain; charset=UTF-8
> >
> > Hi everyone,
> >
> > myxwiki.org has been upgraded to XE 8.2.1. If you own a wiki hosted
> > there you should have a look at the release notes for this version at:
> > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/
> >
> > You should automatically get an upgrade wizard for your wiki when you
> > login as admin.
> > For more details see the upgrade guide available at :
> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#
> > HUpgradingwikidocuments
> >
> > To be notified of the myxwiki.org server upgrade you can follow
> > myxwiki on twitter:
> > http://twitter.com/myxwiki
> >
> > Thanks,
> > -XWiki Community
> >
> >
> > --
> >
> > Message: 2
> > Date: Thu, 4 Aug 2016 13:09:46 +0200 (CEST)
> > From: St?phane LASSIRE 
> > To: "XWiki Users" 
> > Subject: Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE:
> > "IOException
> > Message-ID: <007d01d1ee40$d2d3d270$787b7750$@cesap.asso.fr>
> > Content-Type: text/plain;   charset="utf-8"
> >
> > Hello Thomas,
> >
> > Well, this is strange story.
> >
> > For persistent session I found a tip here : uncomment the rule in
> > context.xml :
> >
> > 
> >
> > 
> > WEB-INF/web.xml
> >
> > 
> > 
> > 
> > **end of context.xml**
> > And it is OK
> >
> > The answer to your question :
> >
> > root@CESAP-WIKI01:/usr/lib/xwiki/WEB-INF/lib# ll
> > xwiki-platform-container-*
> > -rw-r--r-- 1 root root 24971 juil. 29 17:26
> > xwiki-platform-container-api-8.2.1.jar
> > -rw-r--r-- 1 root root 35318 juil. 29 17:26
> > xwiki-platform-container-servlet-8.2.1.jar
> >
> > The jar file is there.
> >
> > Could it be a problem with tomcat 7.0.56 ?
> > Will it be easier for me to migrate to tomcat8 ? and  put away the
> tomcat7
> > unstable
> >
> > Thanks
> >
> > Cordialement
> >
> > St?phane Lassire
> > Charg? de l'informatique et de la communication
> > T?l direct : 01 42 85 81 87
> > Courriel : slass...@cesap.asso.fr
> >
> >
> > -Message d'origine-
> > De : users [mailto:users-boun...@xwiki.org] De la part de Thomas
> Mortagne
> > Envoy? : jeudi 4 ao?t 2016 11:51
> > ? : XWiki Users
> > Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE:
> "IOException
> >
> > Ok this time it's a very different error which indeed looks more serious.
> > But it still seems related to persistent storage of the session and in
> this
> > case it seems to be trying to load a saved request (which is really not
> the
> > kind of thing that make sense to store). For me your Tomcat is in a
> pretty
> > weird state and try to load stuff that don't make much sense in the
> context
> > of XWiki but I don't know anything about persistent storage. Seems to 

Re: [xwiki-users] Renaming page (name) causes modification by XWikiGuest on pages that have links to this page (backlinks)

2016-08-05 Thread Marius Dumitru Florea
I updated the issue title. It was about any type of page, not just terminal.

On Fri, Aug 5, 2016 at 12:57 PM, Miroslav Galajda <
miroslav.gala...@gmail.com> wrote:

> The issue is about renaming terminal pages. I have non-terminal pages. Does
> this fixes also my scenario?
>
> On 5 August 2016 at 11:54, Thomas Mortagne 
> wrote:
>
> > Looks like http://jira.xwiki.org/browse/XWIKI-13401.
> >
> > On Fri, Aug 5, 2016 at 11:51 AM, Miroslav Galajda
> >  wrote:
> > > I have xwiki version 8.1. And when I rename page (not the page title)
> all
> > > pages that refers to this page, will contain renamed link which is OK,
> > but
> > > what is wrong is that the page will become modified by the XWikiGuest
> > user
> > > and in the history there's comment with "Renamed back-links."
> > >
> > > This modification has bad consequences. I've noticed this unwanted
> > > behaviour on the Menu with global visibility, wich has lost after
> > renaming
> > > page that is mentioned in the menu.
> > >
> > > I'm not able to test this issue against latest version 8.2.1. Can
> anyone
> > > confirm that this has been fixed in the latest version?
> > >
> > > The simplest scenario is to have two pages,where one is referring to
> > > another.
> > > 1. Page1 --> Page2, where Page1 has a link to Page2 and Page2 will have
> > > backlink to Page1
> > > 2. Rename Page2 to something else (leave all options as they are), for
> > > example Page2a
> > > 3. Page1 should have a link to a Page2a and it should become modified
> by
> > > XWikiGuest user
> > >
> > > Thanks
> > > Miroslav Galajda
> > > ___
> > > 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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] users Digest, Vol 109, Issue 11

2016-08-05 Thread AMAN SATYA
Hello everyone , actually I wanted to know , what all are the programming
languages that would be beneficial for GSoC . I will be taking part in GSoC
next year and I have pretty good hands in java . So I just wanted your
advice regarding that as I am new to this group

On Thu, Aug 4, 2016 at 8:11 PM,  wrote:

> Send users mailing list submissions to
> users@xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-requ...@xwiki.org
>
> You can reach the person managing the list at
> users-ow...@xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
>1. [myxwiki] XWiki Enterprise 8.2.1 Upgrade (Thomas Mortagne)
>2. Re: Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
>   (St?phane LASSIRE)
>3. Re: Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
>   (Thomas Mortagne)
>4. How to create a link to a page translation? (Hofst?tter Mario)
>5. [ANN] Contrib Parent pom 6.4-3 (Thomas Mortagne)
>
>
> --
>
> Message: 1
> Date: Thu, 4 Aug 2016 12:14:46 +0200
> From: Thomas Mortagne 
> To: XWiki Users , XWiki Developers 
> Subject: [xwiki-users] [myxwiki] XWiki Enterprise 8.2.1 Upgrade
> Message-ID:
>  mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi everyone,
>
> myxwiki.org has been upgraded to XE 8.2.1. If you own a wiki hosted
> there you should have a look at the release notes for this version at:
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/
>
> You should automatically get an upgrade wizard for your wiki when you
> login as admin.
> For more details see the upgrade guide available at :
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#
> HUpgradingwikidocuments
>
> To be notified of the myxwiki.org server upgrade you can follow
> myxwiki on twitter:
> http://twitter.com/myxwiki
>
> Thanks,
> -XWiki Community
>
>
> --
>
> Message: 2
> Date: Thu, 4 Aug 2016 13:09:46 +0200 (CEST)
> From: St?phane LASSIRE 
> To: "XWiki Users" 
> Subject: Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE:
> "IOException
> Message-ID: <007d01d1ee40$d2d3d270$787b7750$@cesap.asso.fr>
> Content-Type: text/plain;   charset="utf-8"
>
> Hello Thomas,
>
> Well, this is strange story.
>
> For persistent session I found a tip here : uncomment the rule in
> context.xml :
>
> 
>
> 
> WEB-INF/web.xml
>
> 
> 
> 
> **end of context.xml**
> And it is OK
>
> The answer to your question :
>
> root@CESAP-WIKI01:/usr/lib/xwiki/WEB-INF/lib# ll
> xwiki-platform-container-*
> -rw-r--r-- 1 root root 24971 juil. 29 17:26
> xwiki-platform-container-api-8.2.1.jar
> -rw-r--r-- 1 root root 35318 juil. 29 17:26
> xwiki-platform-container-servlet-8.2.1.jar
>
> The jar file is there.
>
> Could it be a problem with tomcat 7.0.56 ?
> Will it be easier for me to migrate to tomcat8 ? and  put away the tomcat7
> unstable
>
> Thanks
>
> Cordialement
>
> St?phane Lassire
> Charg? de l'informatique et de la communication
> T?l direct : 01 42 85 81 87
> Courriel : slass...@cesap.asso.fr
>
>
> -Message d'origine-
> De : users [mailto:users-boun...@xwiki.org] De la part de Thomas Mortagne
> Envoy? : jeudi 4 ao?t 2016 11:51
> ? : XWiki Users
> Objet : Re: [xwiki-users] Xwiki on Debian 8 + Tomcat7 - GRAVE: "IOException
>
> Ok this time it's a very different error which indeed looks more serious.
> But it still seems related to persistent storage of the session and in this
> case it seems to be trying to load a saved request (which is really not the
> kind of thing that make sense to store). For me your Tomcat is in a pretty
> weird state and try to load stuff that don't make much sense in the context
> of XWiki but I don't know anything about persistent storage. Seems to be to
> have something to clean somewhere and some option to disable (if it's still
> enabled).
>
> Tomcat cannot find the class
> org.xwiki.container.servlet.filters.SavedRequestManager$SavedRequest
> which is supposed to be located in jar
> /usr/lib/xwiki/WEB-INF/lib/xwiki-platform-container-servlet-.jar.
>
> You should probably check if you have this jar file and if tomcat is
> allowed
> to read it.
>
> On Thu, Aug 4, 2016 at 11:42 AM, St?phane LASSIRE 
> wrote:
> > Hello Thomas,
> >
> > THanks for your help.
> >
> > That's the strange behaviour.
> > Catalina log file came with lot of messages from solr (some indexing
> > problems), but I do have on the browser only a blank page.
> >
> > I just changed the Xmx java tuning from 512 to 1024 (I 

Re: [xwiki-users] Renaming page (name) causes modification by XWikiGuest on pages that have links to this page (backlinks)

2016-08-05 Thread Thomas Mortagne
Looks like http://jira.xwiki.org/browse/XWIKI-13401.

On Fri, Aug 5, 2016 at 11:51 AM, Miroslav Galajda
 wrote:
> I have xwiki version 8.1. And when I rename page (not the page title) all
> pages that refers to this page, will contain renamed link which is OK, but
> what is wrong is that the page will become modified by the XWikiGuest user
> and in the history there's comment with "Renamed back-links."
>
> This modification has bad consequences. I've noticed this unwanted
> behaviour on the Menu with global visibility, wich has lost after renaming
> page that is mentioned in the menu.
>
> I'm not able to test this issue against latest version 8.2.1. Can anyone
> confirm that this has been fixed in the latest version?
>
> The simplest scenario is to have two pages,where one is referring to
> another.
> 1. Page1 --> Page2, where Page1 has a link to Page2 and Page2 will have
> backlink to Page1
> 2. Rename Page2 to something else (leave all options as they are), for
> example Page2a
> 3. Page1 should have a link to a Page2a and it should become modified by
> XWikiGuest user
>
> Thanks
> Miroslav Galajda
> ___
> 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] Renaming page (name) causes modification by XWikiGuest on pages that have links to this page (backlinks)

2016-08-05 Thread Miroslav Galajda
I have xwiki version 8.1. And when I rename page (not the page title) all
pages that refers to this page, will contain renamed link which is OK, but
what is wrong is that the page will become modified by the XWikiGuest user
and in the history there's comment with "Renamed back-links."

This modification has bad consequences. I've noticed this unwanted
behaviour on the Menu with global visibility, wich has lost after renaming
page that is mentioned in the menu.

I'm not able to test this issue against latest version 8.2.1. Can anyone
confirm that this has been fixed in the latest version?

The simplest scenario is to have two pages,where one is referring to
another.
1. Page1 --> Page2, where Page1 has a link to Page2 and Page2 will have
backlink to Page1
2. Rename Page2 to something else (leave all options as they are), for
example Page2a
3. Page1 should have a link to a Page2a and it should become modified by
XWikiGuest user

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


Re: [xwiki-users] Using Javascript as a scripting language

2016-08-05 Thread Thomas Mortagne
Two possibilities:
* you have a javascript engine (Nashorn) provided with the JDK (at
least the Oracle one and OpenJDK) so no need to do anything in that
case
* Nashorn is not part of the JRE but it's compatible with it so you
can take the nashorn.jar from the JDK or build your own JRE version
(see 
http://stackoverflow.com/questions/28054849/nashorn-script-engine-is-null-on-java-8-se-embedded).
Note that I never tested that, just found it when Googling a bit.

Then you use what you suggested in your mail.

On Thu, Aug 4, 2016 at 8:30 PM, dullfig  wrote:
> Hello:
>
> What would need to happen (install engine?) for me to be able to do the
> following:
>
> {{script language="javascript"}}
>
> {{/sript}}
>
> in other words, server side javascript
>
> Dan
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Using-Javascript-as-a-scripting-language-tp7600580.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