[xwiki-users] Incorrect creation and modification dates after importing documents from xar

2014-07-21 Thread Valdis Vītoliņš
I've used http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import snippet and http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Platform+-+WikiStream+-+UI application to migrate XWiki to the new server. In both cases they show incorrect document creation and last change dates

Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar

2014-07-21 Thread Thomas Mortagne
Could you print the XML located in the XAR file for the the example you gave ? Maybe the issue is at export level. On Mon, Jul 21, 2014 at 9:24 AM, "Valdis Vītoliņš" wrote: > I've used > http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import > snippet and > http://extensions.xwiki.

Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar

2014-07-21 Thread Valdis Vītoliņš
Arts Dussek lv 0 Arts.ComposerClass XWiki.kalvis XWiki.Admin XWiki.Admin 1196956297000 1307369562000 1307369562000 1.1 Imported from XAR false xwiki/1.0 false ... Valdis > Could you print the XML located in the XAR file for the the example > you gave ? Maybe the issue is at export leve

Re: [xwiki-users] XWiki User/Dev meet up in France? Paris?

2014-07-21 Thread Moens Patrick
Hi Vincent, I'm interested (as Xwiki user/admin). Keep me in touch if it's organized. Patrick -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of vinc...@massol.net Sent: vendredi 18 juillet 2014 9:38 To: XWiki Users Subject: [xwiki-users] XWiki User/Dev meet

Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar

2014-07-21 Thread Valdis Vītoliņš
I checked it with XAR export and import for single page and seems it has bug in date handling http://jira.xwiki.org/browse/XWIKI-10671 Valdis > > > Arts > Dussek > > lv > 0 > Arts.ComposerClass > XWiki.kalvis > XWiki.Admin > > XWiki.Admin > 1196956297000 > 1307369562000 > 1307369562000 > 1.1

Re: [xwiki-users] Refine searches by tag / Advanced search by tag

2014-07-21 Thread Marius Dumitru Florea
On Fri, Jul 18, 2014 at 10:30 PM, vinc...@massol.net wrote: > > > > > On 18 Jul 2014 at 19:31:50, Jeremie BOUSQUET > (jeremie.bousq...@gmail.com(mailto:jeremie.bousq...@gmail.com)) wrote: > >> 2014-07-18 18:01 GMT+02:00 Marius Dumitru Florea < >> mariusdumitru.flo...@xwiki.com>: >> >> > On Fri, J

Re: [xwiki-users] help to migrate from xwiki 2.3

2014-07-21 Thread Marius Dumitru Florea
The condition used to display the link to the wiki administration in the Home menu is this: $xwiki.hasAccessLevel('admin', $xcontext.user, "${xcontext.mainWikiName}:XWiki.XWikiPreferences") Put this in a wiki page, inside Velocity macro, and see if the output for a simple user is 'true'. If so, t

Re: [xwiki-users] Refine searches by tag / Advanced search by tag

2014-07-21 Thread vinc...@massol.net
  On 21 Jul 2014 at 11:15:42, Marius Dumitru Florea (mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) wrote: > On Fri, Jul 18, 2014 at 10:30 PM, vinc...@massol.net wrote: > > > > > > > > > > On 18 Jul 2014 at 19:31:50, Jeremie BOUSQUET > > (jeremie.bousq...@gmail.com(mai

Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar

2014-07-21 Thread Thomas Mortagne
OK thanks for the report, I will look at it. On Mon, Jul 21, 2014 at 10:55 AM, "Valdis Vītoliņš" wrote: > I checked it with XAR export and import for single page and seems it has > bug in date handling http://jira.xwiki.org/browse/XWIKI-10671 > > Valdis > >> >> >> Arts >> Dussek >> >> lv >> 0

Re: [xwiki-users] small bug after migration from xwiki 3.4

2014-07-21 Thread Marius Dumitru Florea
These keys are defined in WikiManager.Translations page provided by xwiki-platform-wiki-ui-mainwiki XAR extension. You should first check if this extension is installed on the main wiki. Then you should check if this page is present. If the extension is installed and the page is present then see if

Re: [xwiki-users] Wiki page seems to have two parents?

2014-07-21 Thread Marius Dumitru Florea
On Thu, Jul 17, 2014 at 9:49 AM, Hamster wrote: > To all, > > Something strange is going on with one page in our Wiki. The page has been > created by importing a Word document (.docx), but after the import, the page > seems to have two parents. > > The page shows up in the "WebHome" of the space,

Re: [xwiki-users] Display problem: gray background

2014-07-21 Thread Marius Dumitru Florea
On Thu, Jul 17, 2014 at 1:50 AM, vinc...@massol.net wrote: > Hi Leonardo, > > On 15 Jul 2014 at 20:10:26, Leonardo Kodato > (leonardokod...@gmail.com(mailto:leonardokod...@gmail.com)) wrote: > >> Hi Marius and Vicent. >> Thank you for the reply. >> >> After disabling the JS, it loaded correctly.

Re: [xwiki-users] Display problem: gray background

2014-07-21 Thread Marius Dumitru Florea
On Mon, Jul 21, 2014 at 1:21 PM, Marius Dumitru Florea wrote: > On Thu, Jul 17, 2014 at 1:50 AM, vinc...@massol.net > wrote: >> Hi Leonardo, >> >> On 15 Jul 2014 at 20:10:26, Leonardo Kodato >> (leonardokod...@gmail.com(mailto:leonardokod...@gmail.com)) wrote: >> >>> Hi Marius and Vicent. >>> T

[xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Pascal BASTIEN
Hello, I use the copyDocument method: http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/XWiki.html#copyDocument%28org.xwiki.model.reference.DocumentReference,%20org.xwiki.model.reference.DocumentReference,%20java.lang.String,%20boolean,%20boolean%29 but file attached on my sour

Re: [xwiki-users] Parent Column in the Livetable

2014-07-21 Thread Marius Dumitru Florea
Parent column is not supported by default, but it's quite easy to implement it: (1) $columnsProperties need to contain: 'doc.parent': {"type":"text","size":10,"link":"field"}, (2) $columns needs to contain 'doc.parent' obviously (3) Have a custom live table results page that calls the default r

Re: [xwiki-users] Change applicant context path

2014-07-21 Thread Marius Dumitru Florea
What version of XWiki are you using? Are you referring to the live search (search suggest) or to the search page (i.e. after you press Enter in the search box) ? Did you clear your browser's cache? On Thu, Jul 3, 2014 at 5:03 PM, Hu Yang wrote: > Hi, > > After I changed applicant context path, th

Re: [xwiki-users] Display problem: gray background

2014-07-21 Thread Leonardo Kodato
Hi. Thank you for the reply. Marius, that's a nice feature. I will test it here. Vincent, my "data directory" is under environment.permanentDirectory=../Tomcat/webapps/xwiki/data. I have successfully updated xwiki to 6.1(although I have some minor problems with flamingo layout). But that's a mat

Re: [xwiki-users] Searching on non-english documents

2014-07-21 Thread Marius Dumitru Florea
On Mon, Jul 14, 2014 at 3:53 PM, Ryszard Łach wrote: > Hi. > > Is there a document describing prefetred settings to have xwiki and solr-based > search working well for non-multilingual, non-en documents? No. I don't see anything related neither on http://extensions.xwiki.org/xwiki/bin/view/Exten

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-07-21 Thread Marius Dumitru Florea
I don't think there's any UI for this, but it could be scripted. I would use the new Mail Sender API ( http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API ). Iterating the list of users from a group and getting their email address shouldn't be that hard. Hope this helps, Marius O

Re: [xwiki-users] Display problem: gray background

2014-07-21 Thread vinc...@massol.net
  On 21 Jul 2014 at 15:24:47, Leonardo Kodato (leonardokod...@gmail.com(mailto:leonardokod...@gmail.com)) wrote: > Hi. > Thank you for the reply. > > Marius, that's a nice feature. I will test it here. > > Vincent, my "data directory" is > under environment.permanentDirectory=../Tomcat/web

Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-21 Thread Eduard Moraru
Hi Pascal, Why are you doing this manually? If you pass $NULL to the wikilanguage parameter of $xwiki.copyDocument, all the translations of a document will be copied along with the default document. You do not have to copy each translation individually in velocity, as you seem to be trying to do.

Re: [xwiki-users] Display problem: gray background

2014-07-21 Thread Leonardo Kodato
Hi Marius. Thank's for the hit. I will change that. It's also easier to backup when a absolute path is set. Thank you =). 2014-07-21 10:42 GMT-03:00 vinc...@massol.net : > > > > > On 21 Jul 2014 at 15:24:47, Leonardo Kodato (leonardokod...@gmail.com > (mailto:leonardokod...@gmail.com)) wrote:

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-07-21 Thread Pascal BASTIEN
Thxs. I will use a loop then. De : Marius Dumitru Florea À : Pascal BASTIEN ; XWiki Users Envoyé le : Lundi 21 juillet 2014 15h38 Objet : Re: [xwiki-users] Can I send email to a group with xwiki 6? I don't think there's any UI for this, but it could be scr

Re: [xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Marius Dumitru Florea
On Mon, Jul 21, 2014 at 3:41 PM, Pascal BASTIEN wrote: > Hello, > I use the copyDocument method: > http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/XWiki.html#copyDocument%28org.xwiki.model.reference.DocumentReference,%20org.xwiki.model.reference.DocumentReference,%20java.lan

Re: [xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Pascal BASTIEN
I use Xwiki 6.1 and copyDocument method doesn't copy document attachments:  #set ($items = $xwiki.search("select doc.fullName from XWikiDocument as doc where doc.space='SandBoxTemplate' and doc.name != 'WebPreferences' and doc.name != 'ReinitSandboxMacro'"))   #foreach($item in $items)     #set(

Re: [xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Thomas Mortagne
Maybe you copied a translation. The attachments/objects are associated to the default language only. On Mon, Jul 21, 2014 at 3:51 PM, Marius Dumitru Florea wrote: > On Mon, Jul 21, 2014 at 3:41 PM, Pascal BASTIEN > wrote: >> Hello, >> I use the copyDocument method: >> http://maven.xwiki.org/sit

Re: [xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Pascal BASTIEN
Yes I think you are right (I copy FR version), I will check that tomorrow. De : Thomas Mortagne À : XWiki Users Cc : Pascal BASTIEN Envoyé le : Lundi 21 juillet 2014 16h06 Objet : Re: [xwiki-users] copyDocument method: copy without attachments? Maybe you

[xwiki-users] link with queryString doesn't work well

2014-07-21 Thread Pascal BASTIEN
Hello, This link in xwiki 2.1 syntax seem to be broken: [[Link with param and anchor>>Main.SpaceIndex||querystring="space=FAQ" anchor="Toto"]] [[Link with param and new windows>>Main.SpaceIndex||querystring="space=FAQ" rel="__blank"]] Have I typing wrong syntaxe to open: http://localhost:8080

Re: [xwiki-users] link with queryString doesn't work well

2014-07-21 Thread Marius Dumitru Florea
s/querystring/queryString (i.e. use camel case, the parameter name is case sensitive) On Mon, Jul 21, 2014 at 5:56 PM, Pascal BASTIEN wrote: > Hello, > > This link in xwiki 2.1 syntax seem to be broken: > > [[Link with param and anchor>>Main.SpaceIndex||querystring="space=FAQ" > anchor="Toto"]]