[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

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ņš valdis.vitol...@odo.lv wrote: I've used http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import snippet and

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

2014-07-21 Thread Valdis Vītoliņš
?xml version=1.0 encoding=UTF-8? xwikidoc webArts/web nameDussek/name language/language defaultLanguagelv/defaultLanguage translation0/translation parentArts.ComposerClass/parent creatorXWiki.kalvis/creator authorXWiki.Admin/author customClass/customClass contentAuthorXWiki.Admin/contentAuthor

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

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 ?xml version=1.0 encoding=UTF-8? xwikidoc webArts/web nameDussek/name language/language defaultLanguagelv/defaultLanguage translation0/translation

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 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,

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,

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

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ņš valdis.vitol...@odo.lv 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 ?xml version=1.0

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 teun...@hotmail.com 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

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 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

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 mariusdumitru.flo...@xwiki.com wrote: On Thu, Jul 17, 2014 at 1:50 AM, vinc...@massol.net vinc...@massol.net wrote: Hi Leonardo, On 15 Jul 2014 at 20:10:26, Leonardo Kodato (leonardokod...@gmail.com(mailto:leonardokod...@gmail.com))

[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

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 results

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 hu.y...@edgeip.com wrote: Hi, After I changed applicant

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

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 ryszard.l...@unity.pl 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

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

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

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

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 vinc...@massol.net: On 21 Jul 2014 at 15:24:47, Leonardo Kodato (leonardokod...@gmail.com

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 mariusdumitru.flo...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Lundi 21 juillet 2014 15h38 Objet : Re: [xwiki-users] Can I send email to a group with

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 pbasnews-xw...@yahoo.fr wrote: Hello, I use the copyDocument method:

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)    

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 mariusdumitru.flo...@xwiki.com wrote: On Mon, Jul 21, 2014 at 3:41 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, I use the

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 thomas.morta...@xwiki.com À : XWiki Users users@xwiki.org Cc : Pascal BASTIEN pbasnews-xw...@yahoo.fr Envoyé le : Lundi 21 juillet 2014 16h06 Objet : Re:

[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 anchorMain.SpaceIndex||querystring=space=FAQ anchor=Toto]] [[Link with param and new windowsMain.SpaceIndex||querystring=space=FAQ rel=__blank]] Have I typing wrong syntaxe to open:

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 pbasnews-xw...@yahoo.fr wrote: Hello, This link in xwiki 2.1 syntax seem to be broken: [[Link with param and anchorMain.SpaceIndex||querystring=space=FAQ