[xwiki-users] blog - link to attachment fails

2011-01-11 Thread mb
Hi all,

I'd like to use a link to an attachment in a blog comment, like 
[[attach:demo.jpg]].  It causes a link to 
http://wiki.hostname/xwiki/bin/download/Main/WebHome/demo.jpg - 
that's wrong, it should be 
http://wiki.hostname/xwiki/bin/download/Blog/blog page/demo.jpg

I am using xwiki 2.7.

Any hints?

Thanks
mb

By the way: What about WYSIWYG for comments?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] error linking an atachment in a blog comment

2011-01-11 Thread mb
Hi all,

I'd like to use a link to an attachment in a blog comment, like 
[[attach:demo.jpg]].  It causes a link to 
http://wiki.hostname/xwiki/bin/download/Main/WebHome/demo.jpg - 
that's wrong, it should be 
http://wiki.hostname/xwiki/bin/download/Blog/blog page/demo.jpg

I am using xwiki 2.7.

Any hints?

Thanks
mb

By the way: What about WYSIWYG for comments?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] WARN xwiki.MyPersistentLoginManager - Login cookie validation hash mismatch! Cookies have been tampered with

2011-01-11 Thread markblokpoel

Hello all,

After fiddling around some more, I'm a bit more convinced this problem is
Safari specific. Can someone else comment on this? I'm not sure on how to
debug this further, because I cannot compare the cookies that reach the
servlet. Help is greatly appreciated. :)

Best,

Mark

-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/WARN-xwiki-MyPersistentLoginManager-Login-cookie-validation-hash-mismatch-Cookies-have-been-tamperedh-tp5807284p5906365.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] syntax nuances

2011-01-11 Thread Vincent Massol
Hi Joris/Andreas,

On Jan 6, 2011, at 10:29 PM, Joris Dirks wrote:

 Vincent,
 
 The wiki syntax to specify an image with params is [[image:...||params]].
 
 Please let us know how to fix the doc to make it more obvious.
 
 My suggestion: show with other examples, how any syntax is allowed.
 [[--strikethrough-- examplelink]]

I've updated the Syntax page with more examples, see:
http://jira.xwiki.org/jira/secure/attachment/18393/Screen+shot+2011-01-10+at+11.48.48+AM.png

Hope it good now.

Thanks
-Vincent


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


Re: [xwiki-users] How to produce a doc from a set of XWiki pages ? Youradvice is welcome

2011-01-11 Thread Schömer , Jörg
Hi Maxime,

I figured out, that images with attributes width or hight are not rendered into 
the PDF. Remove the attributes and try again.

e.g. 
[[image:your.png||height=480 width=640]] 
should be changed to
[[image:your.png]]

Best regards,
  Jörg

-Ursprüngliche Nachricht-
Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Le 
Génie
Gesendet: Freitag, 7. Januar 2011 13:04
An: XWiki Users
Betreff: [xwiki-users] How to produce a doc from a set of XWiki pages ? 
Youradvice is welcome

Hi XWikiers,

We have written a software specification (SRD) inside our wiki. This
specification is a set of pages with graphics (as attached images) and
mockups (using Balsamiq Mockups).

Now, we want to communicate easily this specification to our external
partner and, of course, they can't access our wiki (intranet only).
Our first idea was to produce a document (PDF). We try to use the PDF export
but it seems that the inclusion of the children pages doesn't work. Other
problem with PDF (with a unique page), the included images don't appear.

Just for info, we are using the last 2.7 release of XWiki.

So, do you have encountered the same need and how did you solve it ? Do
XWord may help ? Other idea ?
Thanks for your response.

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


[xwiki-users] XWiki Enterprise 2.6.1 and Enterprise Manager 2.6.1 Released

2011-01-11 Thread Jean-Vincent Drean
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.6.1.
This is a bugfix release for the 2.6 branch.

The highlights of this release are: better performance of the activity
stream, fixes related to rights during import.

For more information, see the full release notes at:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise261
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXEM261

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


Re: [xwiki-users] WARN xwiki.MyPersistentLoginManager - Login cookie validation hash mismatch! Cookies have been tampered with

2011-01-11 Thread markblokpoel

Hello all, 

After fiddling around some more, I'm a bit more convinced this problem is
Safari specific. Can someone else comment on this? I'm not sure on how to
debug this further, because I cannot compare the cookies that reach the
servlet. Help is greatly appreciated. :) 

Best, 

Mark
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/WARN-xwiki-MyPersistentLoginManager-Login-cookie-validation-hash-mismatch-Cookies-have-been-tamperedh-tp5807284p5910177.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] How to produce a doc from a set of XWiki pages ? Youradvice is welcome

2011-01-11 Thread Schömer , Jörg
Hi Maxime,

I figured out, that images with attributes width or hight are not rendered into 
the PDF. Remove the attributes and try again.

e.g. 
[[image:your.png||height=480 width=640]] 
should be changed to
[[image:your.png]]

Best regards,
  Jörg

-Ursprüngliche Nachricht-
Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Le 
Génie
Gesendet: Freitag, 7. Januar 2011 13:04
An: XWiki Users
Betreff: [xwiki-users] How to produce a doc from a set of XWiki pages ? 
Youradvice is welcome

Hi XWikiers,

We have written a software specification (SRD) inside our wiki. This
specification is a set of pages with graphics (as attached images) and
mockups (using Balsamiq Mockups).

Now, we want to communicate easily this specification to our external
partner and, of course, they can't access our wiki (intranet only).
Our first idea was to produce a document (PDF). We try to use the PDF export
but it seems that the inclusion of the children pages doesn't work. Other
problem with PDF (with a unique page), the included images don't appear.

Just for info, we are using the last 2.7 release of XWiki.

So, do you have encountered the same need and how did you solve it ? Do
XWord may help ? Other idea ?
Thanks for your response.

Maxime
___
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] blog - link to attachment fails

2011-01-11 Thread Marius Dumitru Florea
On 01/09/2011 06:41 PM, mb wrote:
 Hi all,

 I'd like to use a link to an attachment in a blog comment, like
 [[attach:demo.jpg]].  It causes a link to
 http://wiki.hostname/xwiki/bin/download/Main/WebHome/demo.jpg -
 that's wrong, it should be
 http://wiki.hostname/xwiki/bin/download/Blog/blog page/demo.jpg

 I am using xwiki 2.7.

 Any hints?

I can reproduce it on any page. It's clearly a bug. It seems that the 
comments are not rendered in the context of the document they are 
attached to. You should report the problem on jira.xwiki.org . In the 
mean time you can use the full reference like this as a work around:

attach:blog.yourblogp...@demo.jpg

Hope this helps,
Marius


 Thanks
 mb

 By the way: What about WYSIWYG for comments?
 ___
 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] blog - link to attachment fails

2011-01-11 Thread Vincent Massol
Hi mb,

On Jan 9, 2011, at 5:41 PM, mb wrote:

 Hi all,
 
 I'd like to use a link to an attachment in a blog comment, like 
 [[attach:demo.jpg]].  It causes a link to 
 http://wiki.hostname/xwiki/bin/download/Main/WebHome/demo.jpg - 
 that's wrong, it should be 
 http://wiki.hostname/xwiki/bin/download/Blog/blog page/demo.jpg
 
 I am using xwiki 2.7.
 
 Any hints?

It's a bug I think. Could you report it in jira: http://jira.xwiki.org ?

I think right now you need to prefix with the document's name but that's a bug.

Thanks
-Vincent

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


[xwiki-users] livetable - faq example

2011-01-11 Thread Piotr Dziubecki
Hi All,

I was playing with the faq tutorial and created my application based on that 
article. Now I have several 
questions regarding that example:

1. Is it possible to exclude a certain object from displaying in the livetable, 
I mean how to achieve 
something like that:

#set($sql = , BaseObject as obj where obj.name = doc.fullName and 
obj.className = 'FAQ.FAQClass' and 
obj.name  'FAQ.FAQTemplate')

I don't want to have an empty template object listed in my table.

2. I've created a template with several text areas and one static list. Then I 
tried to create a livetable 
out of this and when I choose to create a columns with the properties from text 
areas ( i.e. wykonawcy ) 
nothing is listed. Everything is fine in case of using only the static list 
(dzial_pcss) property:

{{velocity}}
#set($columns = [dzial_pcss, doc.creationDate, _actions])
#set($columnsProperties = {
  dzial_pcss : { displayName : Dział PCSS },
   _actions : {actions: [edit,delete]}
})
#set($options = {
className:IPR.IPREntryClass,
rowCount: 10
})
#livetable(userdirectory $columns $columnsProperties $options)
{{/velocity}}

http://apps.man.poznan.pl/iprxwiki/bin/view/Sandbox/TestPage1


{{velocity}}
#set($columns = [wykonawcy, doc.creationDate, _actions])
#set($columnsProperties = {
  wykonawcy : { displayName : Wykonawcy },
   _actions : {actions: [edit,delete]}
})
#set($options = {
className:IPR.IPREntryClass,
rowCount: 10
})
#livetable(userdirectory1 $columns $columnsProperties $options)
{{/velocity}}

http://apps.man.poznan.pl/iprxwiki/bin/view/Sandbox/TestPage2

Here is the definition of my template class:
http://apps.man.poznan.pl/iprxwiki/bin/view/IPR/IPREntryClass

3. How to use the translationPrefix properly - is it for getting the pretty 
names for the headers - I'm 
confused about that. Is the only way of setting the header names to use the 
displayName prop for the 
columnsProperties ?

4. I have also tried the custom code both for creating new entries and 
displaying object with the use of sql 
queries. Is it possible to create something similar to the _actions column we 
can use in the livetable, but 
directly in the velocity code ( I mean how to access to the 'edit' 'delete' 
links ).


Thanks in advance :)

Regards,
Piotr

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


Re: [xwiki-users] error linking an atachment in a blog comment

2011-01-11 Thread Arnaud bourree
try [[attach:Blog.blog page@demo.jpg]]

Arnaud.

2011/1/9 mb xwiki...@freenet.de:
 Hi all,

 I'd like to use a link to an attachment in a blog comment, like
 [[attach:demo.jpg]].  It causes a link to
 http://wiki.hostname/xwiki/bin/download/Main/WebHome/demo.jpg -
 that's wrong, it should be
 http://wiki.hostname/xwiki/bin/download/Blog/blog page/demo.jpg

 I am using xwiki 2.7.

 Any hints?

 Thanks
 mb

 By the way: What about WYSIWYG for comments?
 ___
 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] livetable - faq example

2011-01-11 Thread Vito Impagliazzo
I start off answering first question

On Tue, Jan 11, 2011 at 12:16 PM, Piotr Dziubecki deep...@man.poznan.plwrote:

 Hi All,

 I was playing with the faq tutorial and created my application based on
 that article. Now I have several
 questions regarding that example:

 1. Is it possible to exclude a certain object from displaying in the
 livetable, I mean how to achieve
 something like that:

 #set($sql = , BaseObject as obj where obj.name = doc.fullName and
 obj.className = 'FAQ.FAQClass' and
 obj.name  'FAQ.FAQTemplate')

 I don't want to have an empty template object listed in my table.


in the $options variable you have to include
   resultPage:IPR.IPREntryClassJSON,

where IPR.IPREntryClassJSON is a page containing (in wiki 2.0 syntax)

{{include document=XWiki.LiveTableResultsMacros /}}
{{velocity}}
#gridresultwithfilter(IPR.IPREntryClass $request.collist.split(,)  
and doc.name'IPREntryClassSheet' and doc.name'IPREntryClassTemplate')
{{/velocity}}


 2. I've created a template with several text areas and one static list.
 Then I tried to create a livetable
 out of this and when I choose to create a columns with the properties from
 text areas ( i.e. wykonawcy )
 nothing is listed. Everything is fine in case of using only the static list
 (dzial_pcss) property:

 {{velocity}}
 #set($columns = [dzial_pcss, doc.creationDate, _actions])
 #set($columnsProperties = {
  dzial_pcss : { displayName : Dział PCSS },
   _actions : {actions: [edit,delete]}
 })
 #set($options = {
className:IPR.IPREntryClass,
rowCount: 10
 })
 #livetable(userdirectory $columns $columnsProperties $options)
 {{/velocity}}

 http://apps.man.poznan.pl/iprxwiki/bin/view/Sandbox/TestPage1


 {{velocity}}
 #set($columns = [wykonawcy, doc.creationDate, _actions])
 #set($columnsProperties = {
  wykonawcy : { displayName : Wykonawcy },
   _actions : {actions: [edit,delete]}
 })
 #set($options = {
className:IPR.IPREntryClass,
rowCount: 10
 })
 #livetable(userdirectory1 $columns $columnsProperties $options)
 {{/velocity}}

 http://apps.man.poznan.pl/iprxwiki/bin/view/Sandbox/TestPage2

 Here is the definition of my template class:
 http://apps.man.poznan.pl/iprxwiki/bin/view/IPR/IPREntryClass

 3. How to use the translationPrefix properly - is it for getting the pretty
 names for the headers - I'm
 confused about that. Is the only way of setting the header names to use the
 displayName prop for the
 columnsProperties ?

 4. I have also tried the custom code both for creating new entries and
 displaying object with the use of sql
 queries. Is it possible to create something similar to the _actions column
 we can use in the livetable, but
 directly in the velocity code ( I mean how to access to the 'edit' 'delete'
 links ).


 Thanks in advance :)

 Regards,
 Piotr

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




-- 
Vito Impagliazzo
---
Please consider the environment before printing this email.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Unknown macro after upgrade

2011-01-11 Thread Mike Jakubik
Hello,

I just upgraded from 2.3 to 2.7, after importing the new XAR the Main
space is showing Unknown macro: activity, spaces, and tagcloud. Whats
going on here? I imported everything from the new XAR. Also as a side
note, all of the Wiki Preferences  pages are showing a pre/pre in
the content.

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


Re: [xwiki-users] Unknown macro after upgrade

2011-01-11 Thread Mike Jakubik
On Tue, 2011-01-11 at 16:19 -0500, Mike Jakubik wrote:

 Hello,
 
 I just upgraded from 2.3 to 2.7, after importing the new XAR the Main
 space is showing Unknown macro: activity, spaces, and tagcloud. Whats
 going on here? I imported everything from the new XAR. Also as a side
 note, all of the Wiki Preferences  pages are showing a pre/pre in
 the content.
 
 Thanks.


This seems to be the result of the following bug.

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

I had to add the default Admin to my wiki and re-import the XAR to fix
this. However the mysterious pre tags remain.

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


[xwiki-users] R: Re: Unknown macro after upgrade

2011-01-11 Thread abelli
I have the same pre effect upgrading from 2.4 

Sent from my BlackBerry®

-Original Message-
From: Mike Jakubik mike.jaku...@intertainservices.com
Sender: users-boun...@xwiki.org
Date: Tue, 11 Jan 2011 17:28:56 
To: XWiki Usersusers@xwiki.org
Reply-To: XWiki Users users@xwiki.org
Subject: Re: [xwiki-users] Unknown macro after upgrade

On Tue, 2011-01-11 at 16:19 -0500, Mike Jakubik wrote:

 Hello,
 
 I just upgraded from 2.3 to 2.7, after importing the new XAR the Main
 space is showing Unknown macro: activity, spaces, and tagcloud. Whats
 going on here? I imported everything from the new XAR. Also as a side
 note, all of the Wiki Preferences  pages are showing a pre/pre in
 the content.
 
 Thanks.


This seems to be the result of the following bug.

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

I had to add the default Admin to my wiki and re-import the XAR to fix
this. However the mysterious pre tags remain.

___
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] Unknown macro after upgrade

2011-01-11 Thread Sergiu Dumitriu
On 01/11/2011 11:28 PM, Mike Jakubik wrote:
 On Tue, 2011-01-11 at 16:19 -0500, Mike Jakubik wrote:

 Hello,

 I just upgraded from 2.3 to 2.7, after importing the new XAR the Main
 space is showing Unknown macro: activity, spaces, and tagcloud. Whats
 going on here? I imported everything from the new XAR. Also as a side
 note, all of the Wiki Preferences  pages are showing a pre/pre in
 the content.

 Thanks.


 This seems to be the result of the following bug.

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

 I had to add the default Admin to my wiki and re-import the XAR to fix
 this. However the mysteriouspre  tags remain.

The pre comes from the fact that the old preferences documents were 
created in syntax xwiki/1.0, while the administration application 
(included sheets) are now in syntax xwiki/2.0.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Unknown macro after upgrade

2011-01-11 Thread Mike Jakubik
On Wed, 2011-01-12 at 00:49 +0100, Sergiu Dumitriu wrote:

 On 01/11/2011 11:28 PM, Mike Jakubik wrote:
  On Tue, 2011-01-11 at 16:19 -0500, Mike Jakubik wrote:
 
  Hello,
 
  I just upgraded from 2.3 to 2.7, after importing the new XAR the Main
  space is showing Unknown macro: activity, spaces, and tagcloud. Whats
  going on here? I imported everything from the new XAR. Also as a side
  note, all of the Wiki Preferences  pages are showing a pre/pre in
  the content.
 
  Thanks.
 
 
  This seems to be the result of the following bug.
 
  http://jira.xwiki.org/jira/browse/XWIKI-5668
 
  I had to add the default Admin to my wiki and re-import the XAR to fix
  this. However the mysteriouspre  tags remain.
 
 The pre comes from the fact that the old preferences documents were 
 created in syntax xwiki/1.0, while the administration application 
 (included sheets) are now in syntax xwiki/2.0.
 


Thanks for the info, but shouldn’t  importing the new XAR bring in the
new pref documents? How can i fix this?

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