Re: [xwiki-users] Using HTML5 File Upload Widget for non-XWiki files

2014-11-14 Thread Bryn Jeffries
I asked:
>> I'd like to upload files through a custom File Upload servlet that runs from 
>> the
>> same Tomcat server but is not part of XWiki. 
[...]
>> Is it possible to make use of the supplied XWiki UI widgets to upload to this
>> servlet? Any guidance on how to do this would be greatly appreciated.

Marius said:
> See http://platform.xwiki.org/xwiki/bin/view/DevGuide/HTML5Upload for
> how to use the file upload widget inside XWiki. 

This has been helpful, thanks. Is it possible for me to get hold of any xwiki 
session information within my external servlet? I'd like to know the XWiki name 
of the user that's uploading the file.

Presumably one way would be to include the user name in the form request, 
though  browsing through some of the code 
(https://github.com/xwiki/xwiki-platform/blob/stable-6.2.x/xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/uicomponents/widgets/upload.js)
 it looks at first glance that there's no way to add this unless I paste them 
as GET variables in the action URL.

Alternatively if the file submission has corresponding session data (not sure 
whether this is the case) would it be possible for my servlet to request the 
user name from XWIki in some way?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Office Importer not supporting a Word doc

2014-11-14 Thread vinc...@massol.net
Hi Keith,

On 14 Nov 2014 at 21:01:06, Keith Peden 
(kpe...@standardstech.com(mailto:kpe...@standardstech.com)) wrote:

> Hello,
>  
>  
>  
> I have Xwiki 6.2.3 and OpenOffice 4.1 installed in a Windows 7 sandbox.
>  
>  
>  
> I have been able to import Word 2010 documents using Office Importer
> successfully and can create pages just fine. Except for one document which
> gives me the following: "Error while converting document [NDRM CH7.docx]
> into html." using Import from Office.
>  
>  
>  
> I have reviewed the log file, but the only obvious error (to me anyway) is a
> timeout error, though that may be a smokescreen. I have modified
> openoffice.taskExecutionTimeout from 3 to 120, but it seems to have
> not effect.
>  
>  
>  
> Thanks for any help you can provide! I can email the log file and the
> document upon request.

When you have a problem the first thing to try is to load your document in 
openoffice/libreoffice and convert it to HTML in there and see if it works (you 
can also verify the time it takes for the conversion).

Now, indeed the timeout parameter is important. I’ve also had timeout issues 
with the default timeout and increasing it solved my problem.

Thanks
-Vincent

> Regards, Keith

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


[xwiki-users] Office Importer not supporting a Word doc

2014-11-14 Thread Keith Peden
Hello,

 

I have Xwiki 6.2.3 and OpenOffice 4.1 installed in a Windows 7 sandbox.  

 

I have been able to import Word 2010 documents using Office Importer
successfully and can create pages just fine.  Except for one document which
gives me the following: "Error while converting document [NDRM CH7.docx]
into html." using Import from Office.  

 

I have reviewed the log file, but the only obvious error (to me anyway) is a
timeout error, though that may be a smokescreen.  I have modified
openoffice.taskExecutionTimeout from 3 to 120, but it seems to have
not effect.

 

Thanks for any help you can provide! I can email the log file and the
document upon request.

 

Regards, Keith

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


[xwiki-users] [myxwiki] XWiki Enterprise 6.3 Upgrade

2014-11-14 Thread Thomas Mortagne
Hi everyone,

myxwiki.org has been upgraded to XE 6.3. 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/ReleaseNotesXWiki63

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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] localization string missing - xe.blog.code.title

2014-11-14 Thread Clemens Klein-Robbenhaar
Hi Ricardo,

 after some testing I have been able to reproduce the issue from a "clean" 
installation, so I created a bug report for it:

http://jira.xwiki.org/browse/XWIKI-11450

I have to admit that I have no idea (yet) what causes the issue.

Thank you very much for reporting the issue - knowing that something is not 
right is the first step in fixing it :)

Clemens
> Hi! Please, allow me to top post: it will be easier to summarise.
> 
> Clemens's answer did the trick. Here you'll see how my Blog.BlogSheet looked 
> before editing its title as Clemens suggested...
> 
> http://goo.gl/k4T6ub
> 
> Now, after an upgrade to 6.4 and after editing the title it looks good...
> 
> http://idis1.idisantiago.es:8080/xwiki/bin/view/Blog/
> 
> I also come from a 5.x release. And I also remain clueless about the origin 
> of the issue: all upgrades have been done by overwriting all pages with the 
> new staff.
> 
> Hope this helps to learn what could had been wrong!
> 
> Thanks and cheers!
> 
> Ricardo
> 
> --
> Ricardo Rodríguez
> Research Management and Promotion Technician
> Technical Secretariat
> Health Research Institute of Santiago de Compostela (IDIS)
> http://www.idisantiago.es
> 
> 
> De: users [users-boun...@xwiki.org] en nombre de Clemens Klein-Robbenhaar 
> [c.robbenh...@espresto.com]
> Enviado: martes, 11 de noviembre de 2014 15:39
> Para: users@xwiki.org
> Asunto: Re: [xwiki-users] localization string missing - xe.blog.code.title
> 
> On 11/11/2014 02:54 PM, Marius Dumitru Florea wrote:
>> I don't have this problem. FYI, the Blog title comes from
>> Blog.BlogSheet which uses this code
>>
>> #evaluate($!doc.getValue('title'))
>>
>> and the value of the title property (Blog.BlogClass) from Blog.WebHome is
>>
>> $services.localization.render('xe.blog.code.title')
>>
>> I guess #evaluate() fails in your case. But it's not related to
>> missing translation. You would get 'xe.blog.code.title' displayed if
>> the translation was really missing.
>>
> 
> I can reproduce it with a wiki upgraded from 5.4.x (forgot which x) to 6.2
> The problem is that the "#evaluate(...)" is missing in the title
> 
> To fix this manually, edit this page:
> 
>   http://idis1.idisantiago.es:8080/xwiki/bin/view/Blog/BlogSheet
> 
> In the "title" input field it might just read:
> 
>   $doc.getValue("title")
> 
> replace this with:
> 
>   #evaluate($doc.getValue("title"))
> 
> and the issue should go away.
> 
> 
> I have to admit that I am a bit clueless why this might happen;
> but in my case I suspect I messed around with import/export too much
> and overwrote the BlogSheet with the wrong version ...
> 
> Hope this helps, too ;)
> Clemens
> 
>> Hope this helps,
>> Marius
>>
>> On Tue, Nov 11, 2014 at 3:32 PM,
>>  wrote:
>>> Hi everybody!!!
>>>
>>> Please, allow me some small talk... I'm really happy to be here again once 
>>> I've managed to get and start enjoying a brand new 6.2.4. XWiki 
>>> installation!
>>>
>>> Only a detail: after following the evolution of the 6.x branch and having 
>>> installed the new 6.2.4 release, a string seems to keep lacking affecting 
>>> the renderization of Blog.WebHome.
>>>
>>> Here it is what I see not only here, but in a number of installations 
>>> around the net...
>>>
>>> http://atriumkm.idisantiago.es/bin/download/ICT/Images/blogLocalizationMissingVariable.png
>>>
>>> I guess you get the same result by accessing directly this site...
>>>
>>> http://idis1.idisantiago.es:8080/xwiki/bin/view/Blog/
>>>
>>> Please, even though it is kind of a trivial problem not affecting, 
>>> shouldn't it be fixed?
>>>
>>> Thanks!
>>>
>>> Ricardo
>>>
>>> --
>>> Ricardo Rodríguez
>>> Research Management and Promotion Technician
>>> Technical Secretariat
>>> Health Research Institute of Santiago de Compostela (IDIS)
>>> http://www.idisantiago.es
>>>
>>> 
>>>
>>> Nota: A información contida nesta mensaxe e os seus posibles documentos 
>>> adxuntos é privada e confidencial e está dirixida únicamente ó seu 
>>> destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, 
>>> por favor elimínea. A distribución ou copia desta mensaxe non está 
>>> autorizada.
>>>
>>> Nota: La información contenida en este mensaje y sus posibles documentos 
>>> adjuntos es privada y confidencial y está dirigida únicamente a su 
>>> destinatario/a. Si usted no es el/la destinatario/a original de este 
>>> mensaje, por favor elimínelo. La distribución o copia de este mensaje no 
>>> está autorizada.
>>>
>>> See more languages: http://www.sergas.es/aviso_confidencialidad.htm
>>> ___
>>> 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
>>
> 
> 
> 
> mit freundlichen Grüßen
> Clemens Klein-Robbenhaar
> 
> --
> Clemens Klein-Robbenhaar

Re: [xwiki-users] permissions issue

2014-11-14 Thread Clemens Klein-Robbenhaar
On 11/12/2014 09:35 PM, Paul Pinkerton (ACLCO) wrote:
> I am struggling with a page permissions issue.  What am I doing wrong here?
> 
> I have done this before, but it doesn't seem to be working this time.
> 
> I have a SPACE that is only available to a specific GROUP.  That seems to be 
> working just fine.
> I have a PAGE in that SPACE that I only want a specific USER (in the GROUP) 
> to be able to access.  
> 
> I set the permissions for the GROUP to deny on that PAGE and explicitly gave 
> the USER permission.
> 
> The issue is that anyone in the GROUP can still ACCESS the PAGE.
> 
> Am I missing something?

Is there any chance this might be the same as 
http://jira.xwiki.org/browse/XWIKI-11355
"Sometimes rights changes don't apply without a server restart"

I.e. could you please try to restart the server and see if the permissions 
behave as expected afterwards?

If restarting helps, then it would be interesting to get as much information as 
possible, so the issue can be fixed.
(I just tried to reproduce but was not able to - maybe the problem is only 
triggered if the clicks happen in a very specific order)

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