Re: [xwiki-users] Comments (xwiki 1.8RC2)

2009-03-16 Thread Thomas Mortagne
Hi,

Thanks for the report, I just stole you screenshot and created
http://jira.xwiki.org/jira/browse/XWIKI-3364 ;)

On Sun, Mar 15, 2009 at 20:34, hel-o h...@hel.at wrote:

 Hi,

 found an interesting bug in the comments function.

 http://n2.nabble.com/file/n2482549/comments.png

 the first comment is ok but the next all have those {{html}}

 hel.

 -
 hel.
 h...@hel.at

 --
 View this message in context: 
 http://n2.nabble.com/Comments-%28xwiki-1.8RC2%29-tp2482549p2482549.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


[xwiki-users] problem of data persistence in xwiki forms

2009-03-16 Thread zouheir cadi
Hi,

I'm a user of the dedicated xwiki farm for Java User Groups. I have a
noticed a very strange problem.

I have created a form linked to a class. With this form I create and save
some data. I have also told to users of our web site to create data (it is
something like a registration). When I come back to my pages few days later,
some of the data previously recorded are lost. Is there a problem of data
saving (problem with hibernate sessions, ...) ?

Zouheir CADI, Paris JUG Leader
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Stats in database question

2009-03-16 Thread PERINAUD Christophe
Hello all,

While trying to solve my stats problem, i checked the data in the table 
statsvisit and in the column unique_id i found that some records have a value 
set with the IP adress concat to the description of the browser :

xx.xx.xx.xxMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
1.1.4322)

Is it ok with that ? (Other values are something like : 
UADV0Y6H7VEWSLHVRVTSHMMSJYB9JDHX)

System :
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.7.1 from the pack Jetty/HSQL

Christophe Périnaud


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Stats module configuration

2009-03-16 Thread PERINAUD Christophe
In the ActivityData page i put this code and now i'm able to have statistics.
I know it's temporary (poor database performances), but i hope it helps people 
having the same problem (sorry for the code quality, i'm sure it can be 
improved) :

#set($pattern='.MM.dd')
#set($step=8640)
#set($scope=$xwiki.criteriaService.scopeFactory.ALL_PAGES)
#set($dtf = $xwiki.jodatime.getDateTimeFormatterForPattern($pattern))
#set($interval=$xwiki.criteriaService.rangeFactory.createAllRange())

1 Current week activity

#set($currentPeriod=$xwiki.criteriaService.periodFactory.currentWeek)
#set($periodStart=$xwiki.jodatime.getDateTime($currentPeriod.start))
#set($periodEnd=$xwiki.jodatime.getDateTime($currentPeriod.end))
#set($datejour=$periodStart.getMillis())
#set($nbElt = ($periodEnd.getMillis() - $periodStart.getMillis()) / $step)
{table}
Date | Views | Edit
#foreach($i in [1..7])
 #set($datefinjour=$datejour + $step)
 
#set($period=$xwiki.criteriaService.periodFactory.createPeriod($datejour,$datefinjour))
 
#set($stats=$xwiki.statsService.getDocumentStatistics(view,$scope,$period,$interval))
 #set($totalViews=0)
 #if($stats.size()  0)
   #foreach($item in $stats)
 #set($docStats = $xwiki.getDocument($item.name))
 #if ($docStats)
   #set($totalViews=$totalViews+$item.pageViews)
 #end
   #end
 #end
 
#set($stats=$xwiki.statsService.getDocumentStatistics(save,$scope,$period,$interval))
 #set($totalSave=0)
 #if($stats.size()  0)
   #foreach($item in $stats)
 #set($docStats = $xwiki.getDocument($item.name))
 #if ($docStats)
   #set($totalSave=$totalSave+$item.pageViews)
 #end
   #end
 #end
$dtf.print($datejour) | $totalViews | $totalSave
 #set($datejour=$datefinjour)
#end
{table}

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Dilipkumar Jadhav
Envoyé : mardi 10 mars 2009 12:43
À : users@xwiki.org
Objet : Re: [xwiki-users] Stats module configuration

Hello friends,
I've tried placing the new xwiki-plugin-jodatime-1.3.jar. Restarted
tomcat and still no statistics.
The result set like another friend said is still : NULL

There is definitely valid data in the stats tables (when i query it
through Sqlyog).
Thank you
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Tree view

2009-03-16 Thread mesteves
Exists a template treeview.vm it use a tree of yahoo library.

Take a look to this code.
And you can see this tree in  http://Your_XWiki/bin/view/XWiki/Treeview




CASTRO roney roney.cas...@gemalto.com
CASTRO roney
Enviado por: users-boun...@xwiki.org
09/03/2009 12:13
Por favor, responda a XWiki Users

Para:
XWiki Users users@xwiki.org
cc:

Asunto:
[xwiki-users] Tree view



Hello everyone,
I want to create a list of links in the following way:
Inside a space, I want in the space.webhome create a set of links that 
helps me navigate inside the space. Suppose I have inside a space pages A, 
B and C, and all these pages have subpages A1, A2, B1, B2, C1, C2.
I want to automatically create (a lateral panel would be better...) a tree 
view that shows me the following, case I am in page A2:

-Space
-A
-A1
-A2
+B
+C
Does anyone have a snippet of code that does this? I am trying to create a 
code for that, but I am not getting a lot of progress.
Thanks a lot for the help!
- Roney Castro
___
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 Office 1.0 Milestone 1 and authentication

2009-03-16 Thread Stevo Slavić
Hello all,

I'm trying out XWiki Office 1.0 Milestone 1 and I'm experiencing issues with
authentication. XWiki is on Tomcat, which is behind Apache HTTPD. SSO with
Kerberos is configured, with fallback to basic authentication - all this
doesn't seem to accept j_username and j_password XOffice plugin is sending
(can see login requests in apache access log). Since login isn't successful,
every next request from plugin results with The remote server returned an
error: (401) Unauthorized..

Has any similar setup/scenario been supported/tested, and if not, are there
any plans?


+1 for Office 2003 support
+1 for OpenOffice plugin


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


Re: [xwiki-users] Changing XWiki to Read-only

2009-03-16 Thread Samuel Lee
Shoot, problem.

What if I have an XWiki Farm and I only want to change the XWiki to  
read-only for one of the xwikis?

Sam

On Mar 4, 2009, at 4:04 PM, Sergiu Dumitriu wrote:

 Marius Dumitru Florea wrote:
 Samuel Lee wrote:
 A stupid question, how do I restart the container?

 I think Sergiu was referring to your web server. See:
 http://en.wikipedia.org/wiki/Web_container
 http://en.wikipedia.org/wiki/Servlet_container#Servlet_containers

 Indeed. If you don't have control over the server, then perhaps you  
 can
 ask the administrator to do this for you.

 Hope this helps,
 Marius

 Sam

 On Mar 4, 2009, at 10:18 AM, Sergiu Dumitriu wrote:

 Samuel Lee wrote:
 Is there any way to backup the user/group permissions, set the  
 entire
 Xwiki to read only then revert to the original permissions at a  
 later
 date?

 We are handing one of our XWiki to another team, and during the
 transition, we don't want any changes made to the XWiki during  
 this
 transition process.
 One simple trick is to write in xwiki.cfg:

 xwiki.readonly=1

 and restart the container.


 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 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] XWiki Office 1.0 Milestone 1 and authentication

2009-03-16 Thread Florin Ciubotaru
Stevo Slavić wrote:
 Hello all,

 I'm trying out XWiki Office 1.0 Milestone 1 and I'm experiencing issues with
 authentication. XWiki is on Tomcat, which is behind Apache HTTPD. SSO with
 Kerberos is configured, with fallback to basic authentication - all this
 doesn't seem to accept j_username and j_password XOffice plugin is sending
 (can see login requests in apache access log). Since login isn't successful,
 every next request from plugin results with The remote server returned an
 error: (401) Unauthorized..

 Has any similar setup/scenario been supported/tested, and if not, are there
 any plans?

   
This is not supported at the moment. The scenario would need to handle 
Kerberos at client level. This is not in the 1.0 roadmap, but if 
requested again we can put the 1.1 roadmap. This also applies for custom 
proxy settings.
 +1 for Office 2003 support
 +1 for OpenOffice plugin
   
This has been asked several times. Unfortunately there are not any 
resources allocated to this right now. We are glad to see that the 
community is interested in office integration and we'll do our best to 
provide the solutions wanted by the community.

Thanks,
Florin Ciubotaru

 Regards,
 Stevo.
 ___
 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] XWiki Office 1.0 Milestone 1 and authentication

2009-03-16 Thread Stevo Slavić
Hello Florin,

Thank you for quick reply!

Yes, please do put this feature in for 1.1 roadmap. Will contribute solution
back, if one is found.

Regards,
Stevo.

On Mon, Mar 16, 2009 at 5:50 PM, Florin Ciubotaru 
florin.ciubot...@xwiki.com wrote:

 Stevo Slavić wrote:
  Hello all,
 
  I'm trying out XWiki Office 1.0 Milestone 1 and I'm experiencing issues
 with
  authentication. XWiki is on Tomcat, which is behind Apache HTTPD. SSO
 with
  Kerberos is configured, with fallback to basic authentication - all this
  doesn't seem to accept j_username and j_password XOffice plugin is
 sending
  (can see login requests in apache access log). Since login isn't
 successful,
  every next request from plugin results with The remote server returned
 an
  error: (401) Unauthorized..
 
  Has any similar setup/scenario been supported/tested, and if not, are
 there
  any plans?
 
 
 This is not supported at the moment. The scenario would need to handle
 Kerberos at client level. This is not in the 1.0 roadmap, but if
 requested again we can put the 1.1 roadmap. This also applies for custom
 proxy settings.
  +1 for Office 2003 support
  +1 for OpenOffice plugin
 
 This has been asked several times. Unfortunately there are not any
 resources allocated to this right now. We are glad to see that the
 community is interested in office integration and we'll do our best to
 provide the solutions wanted by the community.

 Thanks,
 Florin Ciubotaru
 
  Regards,
  Stevo.
  ___
  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] XWiki Office 1.0 Milestone 1 and authentication

2009-03-16 Thread Florin Ciubotaru
Stevo Slavić wrote:
 Hello Florin,

 Thank you for quick reply!

 Yes, please do put this feature in for 1.1 roadmap. Will contribute solution
 back, if one is found.
   
I've noted your request on the XOffice roadmap page: 
http://xoffice.xwiki.org/xwiki/bin/view/Main/Roadmap#HXWord11
Thanks.
 Regards,
 Stevo.

 On Mon, Mar 16, 2009 at 5:50 PM, Florin Ciubotaru 
 florin.ciubot...@xwiki.com wrote:

   
 Stevo Slavić wrote:
 
 Hello all,

 I'm trying out XWiki Office 1.0 Milestone 1 and I'm experiencing issues
   
 with
 
 authentication. XWiki is on Tomcat, which is behind Apache HTTPD. SSO
   
 with
 
 Kerberos is configured, with fallback to basic authentication - all this
 doesn't seem to accept j_username and j_password XOffice plugin is
   
 sending
 
 (can see login requests in apache access log). Since login isn't
   
 successful,
 
 every next request from plugin results with The remote server returned
   
 an
 
 error: (401) Unauthorized..

 Has any similar setup/scenario been supported/tested, and if not, are
   
 there
 
 any plans?


   
 This is not supported at the moment. The scenario would need to handle
 Kerberos at client level. This is not in the 1.0 roadmap, but if
 requested again we can put the 1.1 roadmap. This also applies for custom
 proxy settings.
 
 +1 for Office 2003 support
 +1 for OpenOffice plugin

   
 This has been asked several times. Unfortunately there are not any
 resources allocated to this right now. We are glad to see that the
 community is interested in office integration and we'll do our best to
 provide the solutions wanted by the community.

 Thanks,
 Florin Ciubotaru
 
 Regards,
 Stevo.
 ___
 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

   

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


[xwiki-users] import administration enhancement/feature request

2009-03-16 Thread Niels Mayer
In addition to selecting a xar and allowing a user to check to allow the
xar's content to blindly overwrite the previous entry;  add a third option
merge.

When merge is selected, for that selected document, the diffs between the
uploaded-xar and the current db are presented in a mergediff-in-browser
style, allowing selection of  original content from the db versus xar.
clicking ok then collapses the diff and remembers the choices taken.

When the user has either selected the xar files they want to import
directly, or used the mergediff tool above to select the contents of the new
file, they click import and it's done. Note that the mergediff files,
create a new version, unlike the overwrite done by the current selected
checkboxes in the import tool.

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


Re: [xwiki-users] [xwiki-devs] support for google sitemaps and webmaster tools? (and why do xwiki RDF's give unsupported file format?)

2009-03-16 Thread Niels Mayer
Partially answering my own question... there is some support for Sitemaps in
XWiki
http://code.xwiki.org/xwiki/bin/view/Snippets/XmlSitemapGeneratorSnippet

The above might not even be necessary since google builds sitemaps out of
RSS fedds as well. However, they are not working with XWiki's RSS, only with
another application's Atom format feed.

I have three working XWiki feeds per my firefox browser:
http://nielsmayer.com/xwiki/bin/view/Blog/GlobalBlogRss?xpage=plain
http://nielsmayer.com/xwiki/bin/view/Main/TagsRss?xpage=plain
http://nielsmayer.com/xwiki/bin/view/Main/WebRss?xpage=plain

Yet when given to Google Webmaster
toolshttps://www.google.com/webmasters/tools/docs/en/about.html,
these feeds turn up errors, even though I corrected the encoding of the
files to UTF8 (see prev message):

roller/NielsMayer/feed/entries/atom
 Atom Feed Mar 14, 2009 OK 32
 xwiki/bin/view/Blog/GlobalBlogRss?xpage=plain
 -- 16 hours ago Errors --
 xwiki/bin/view/Main/TagsRss?xpage=plain
 -- Mar 14, 2009 Errors --
 xwiki/bin/view/Main/WebRss?xpage=plain
 -- 12 hours ago Errors --


The specific error continues to be:

 - *Unsupported file format*
 Your Sitemap does not appear to be in a supported format. Please ensure it
 meets our Sitemap guidelines and resubmit. 
 Helphttp://www.google.com/support/webmasters/bin/answer.py?answer=35738hl=en
  [image:
 Help]


Any further suggestions??

Is there a way to get XWiki to output 'atom' instead of 'RSS'? Perhaps
google will accept atom-based feeds but not RSS? The docs indicate it
handles RSS feeds.

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