Re: [xwiki-users] How to enable Google Analytics for Xwiki?

2013-11-29 Thread Thomas Mortagne
On Fri, Nov 29, 2013 at 7:40 AM, Ldm Public ldm...@gmail.com wrote:
 Hi,

 The Wiki is http://tutos.myxwiki.org http://tutos.myxwiki.org/.

 I'm really not able to perform this operation by myself ? (ie to gain
 programming rights for user xrichard ?).

 Thanks,


 Le 28/11/2013 23:59, Sergiu Dumitriu a écrit :

 On 11/27/2013 04:49 PM, xrichard wrote:

 Hi,

 One more question before I (may) give up: is there anyone who managed to
 make Google Analystics works for a Wiki hosted on myxwiki.org ?

 Thanks for your answers,

 Oh, if this is about enabling GA on myxwiki.org, then the issue is very
 simple: only extensions saved by users with programming rights can be
 used in the whole wiki. A farm admin will have to re-save the GA
 settings page for you. Which wiki are you referring to?

Shouldn’t it be admin right for the wiki (and PR for the farm) like
wiki macros and translations ? Sounds like too strong restriction to
me.



 ___
 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


Re: [xwiki-users] Wiki manager and MySQL privileges

2013-11-29 Thread Guillaume Fenollar
Hello Martin,

Thanks for reporting this, I corrected the page, with a grant privileges
applied on every databases. Since 5.0, every xwiki instance is able to
create subwikis (WikiManager always installed), so I guess it's best to
avoid the privileges issues, by giving the good rights from the beginning.

Have a good day

Guillaume Fenollar


2013/11/26 Martin Hamant m...@ow2.org

 Le 26/11/2013 12:37, Martin Hamant a écrit :

  Hi!

 I am running Xwiki 5.2 and trying to create a new wiki from the Wiki
 Manager.

 If fails with the following message in container logs:  Access denied for
 user 'xwiki'@'localhost' to database 'ezr' (where 'ezr' is the wiki
 name).

 I verified my installation reading the steps specified here :
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL

 My guess is the 'xwiki' user can't create a new database : what if the
 official documentation about xwiki MySQL user for multi-tenant usage ?
 Do I have to modify something in MySQL privileges ?

 Here is the resulting privileges of grant all privileges on xwiki.* to
 xwiki@localhost identified by 'xxx'

 +---
 ---+
 | Grants for xwiki@localhost |
 +---
 ---+
 | GRANT USAGE ON *.* TO 'xwiki'@'localhost' IDENTIFIED BY PASSWORD '***'
 |
 | GRANT ALL PRIVILEGES ON `xwiki`.* TO 'xwiki'@'localhost' |
 +---
 ---+

 From my understanding of the above , xwiki user only have all privileges
 access to xwiki db... So the user can't create any additional xwiki
 database !?

 Thanks  !


 Answering to my own question : Found the answer here :
 http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#
 HInstallXEMusingDebian28.DEB29PackagesandExtensionManager


  Convert an existing XWiki Enterprise instance

  * In order for XEM to be able to create new wikis on demand, you will
need to give all rights to your database user. For example for
MySQL, execute:
mysql -u root -e grant all privileges on *.* to xwiki@127.0.0.1
identified by 'xwiki'


 This step is required. (I am using DEB distribution of XWiki.)
 Maybe this could be reminded somewhere on http://platform.xwiki.org/
 xwiki/bin/view/AdminGuide/InstallationMySQL ?? What do you think ?

 ___
 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] How to enable Google Analytics for Xwiki?

2013-11-29 Thread Valdis Vītoliņš
Workaround for this could be personalized Skin:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins

Leave everything else empty, but for footer add GA code somewhere at the
end of original one (from XWiki 5.2):

#if($isInServletMode)## Visible only in a page
div id=footerglobal class=layoutsection
div class=minwidth/div
hr/
  div id=xwikilicence$!copyright/div
  #set ($version = $xwiki.getSpacePreference('version'))
  #if ($!version == )
#set ($version = $xwiki.getXWikiPreference(version))
  #end
  #if ($!version != )
#set ($version = $xwiki.parseContent($version))
  #else
#set ($version = $!xwiki.version)
  #end
  div id=xwikiplatformversion$version/div
hr/
/div

## Put GA JavaScript here ##

#end
### TODO: Format the footer for pdf output

Or, harder (not sure, what will happen after myxwiki.org update then)
but more appropriate way would be adding htmlfooter property to
XWiki.XWikiSkins class, and similarly changing original code:

/div## xwikimaincontainerinner
/div## xwikimaincontainer

## put GA code here ##

#if($isInServletMode)
/body
/html
#else ## Portlet Mode
/div
#end

Valdis

 On 11/27/2013 04:49 PM, xrichard wrote:
  Hi,
  
  One more question before I (may) give up: is there anyone who managed to
  make Google Analystics works for a Wiki hosted on myxwiki.org ?
  
  Thanks for your answers,
  
 
 Oh, if this is about enabling GA on myxwiki.org, then the issue is very
 simple: only extensions saved by users with programming rights can be
 used in the whole wiki. A farm admin will have to re-save the GA
 settings page for you. Which wiki are you referring to?


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


[xwiki-users] Awaiting patch for the issue with exporting images to PDF

2013-11-29 Thread Marcin Zajączkowski
Hi. A few months ago I hit the problem with exporting images to PDF with 
the XWiki MultipagePdfExport Application - Space Export plugin with 
configured LDAP/AD/SSO - https://jira.xwiki.org/browse/XWIKI-9161


After some time there was a fix suggested in that issue (a change of one 
line) which works and looks reasonably. I don't know who is responsible 
for the Old Core - PDF export component and who has proper knowledge 
and permissions to review proposed change and push it into the 
repository, so I asked here to gain attentions to make it fixed upstream.


Thanks
Marcin

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


Re: [xwiki-users] Awaiting patch for the issue with exporting images to PDF

2013-11-29 Thread vinc...@massol.net
Hi Martin,

This was fixed in https://jira.xwiki.org/browse/XWIKI-9611 in 5.2.1 and 5.3M2.

Thanks
-Vincent

On 29 Nov 2013 at 17:59:43, Marcin Zajączkowski (msz...@wp.pl) wrote:

Hi. A few months ago I hit the problem with exporting images to PDF with  
the XWiki MultipagePdfExport Application - Space Export plugin with  
configured LDAP/AD/SSO - https://jira.xwiki.org/browse/XWIKI-9161  

After some time there was a fix suggested in that issue (a change of one  
line) which works and looks reasonably. I don't know who is responsible  
for the Old Core - PDF export component and who has proper knowledge  
and permissions to review proposed change and push it into the  
repository, so I asked here to gain attentions to make it fixed upstream.  

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


Re: [xwiki-users] Awaiting patch for the issue with exporting images to PDF

2013-11-29 Thread Marcin Zajączkowski

On 2013-11-29 18:15, vinc...@massol.net wrote:

Hi Martin,

This was fixed in https://jira.xwiki.org/browse/XWIKI-9611 in 5.2.1 and 5.3M2.


I need to upgrade my XWiki instance. Thanks for quick info.

Marcin




On 29 Nov 2013 at 17:59:43, Marcin Zajączkowski (msz...@wp.pl) wrote:

Hi. A few months ago I hit the problem with exporting images to PDF with
the XWiki MultipagePdfExport Application - Space Export plugin with
configured LDAP/AD/SSO - https://jira.xwiki.org/browse/XWIKI-9161

After some time there was a fix suggested in that issue (a change of one
line) which works and looks reasonably. I don't know who is responsible
for the Old Core - PDF export component and who has proper knowledge
and permissions to review proposed change and push it into the
repository, so I asked here to gain attentions to make it fixed upstream.

Thanks
Marcin
___
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] How to paste image in the WYSIWYG editor?

2013-11-29 Thread Danilo Amaral de Oliveira
Hello XWiki,


I am trying to paste an image in the WYSIWYG editor, without attach it, but I 
am getting an error... When I paste the image in the WYSIWYG editor the image 
looks fine but when I save and view the document the image crashes.

See:
http://playground.xwiki.org/xwiki/bin/view/Sandbox/TestPage1

Thank You

Danilo



Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - CTZ-C
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


-Mensagem original-
De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de Sergiu 
Dumitriu
Enviada em: quinta-feira, 28 de novembro de 2013 20:59
Para: XWiki Users
Assunto: Re: [xwiki-users] How to enable Google Analytics for Xwiki?

On 11/27/2013 04:49 PM, xrichard wrote:
 Hi,

 One more question before I (may) give up: is there anyone who managed
 to make Google Analystics works for a Wiki hosted on myxwiki.org ?

 Thanks for your answers,


Oh, if this is about enabling GA on myxwiki.org, then the issue is very
simple: only extensions saved by users with programming rights can be used in 
the whole wiki. A farm admin will have to re-save the GA settings page for you. 
Which wiki are you referring to?
--
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] FavIcon

2013-11-29 Thread pmasson
Is this still the best approach?

Thanks,
Patrick



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/FavIcon-tp6321607p7588176.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 enable Google Analytics for Xwiki?

2013-11-29 Thread Ldm Public

Ok thanks for the answer.

I would really appreciated if some admin can kindly save the GA settings page 
for me on http://tutos.myxwiki.org http://tutos.myxwiki.org/ to enable GA 
tracking once for all.


The reason of this request to farm admins is that I have already tried to made 
custom changes to skin (I wanted to change some vm content following a tutorial) 
but unfortunatly I didn't managed to make it work ;-(, see my attempt and call 
for help here: 
http://dev.xwiki.org/xwiki/bin/view/Community/Forum;jsessionid=0A377BB0F73EBD2EA1906F571BEE5868


best regards,


Le 29/11/2013 11:51, Valdis Vi-tolin,s( a écrit :

Workaround for this could be personalized Skin:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins

Leave everything else empty, but for footer add GA code somewhere at the
end of original one (from XWiki 5.2):

#if($isInServletMode)## Visible only in a page
div id=footerglobal class=layoutsection
div class=minwidth/div
hr/
   div id=xwikilicence$!copyright/div
   #set ($version = $xwiki.getSpacePreference('version'))
   #if ($!version == )
 #set ($version = $xwiki.getXWikiPreference(version))
   #end
   #if ($!version != )
 #set ($version = $xwiki.parseContent($version))
   #else
 #set ($version = $!xwiki.version)
   #end
   div id=xwikiplatformversion$version/div
hr/
/div

## Put GA JavaScript here ##

#end
### TODO: Format the footer for pdf output

Or, harder (not sure, what will happen after myxwiki.org update then)
but more appropriate way would be adding htmlfooter property to
XWiki.XWikiSkins class, and similarly changing original code:

/div## xwikimaincontainerinner
/div## xwikimaincontainer

## put GA code here ##

#if($isInServletMode)
/body
/html
#else ## Portlet Mode
/div
#end

Valdis


On 11/27/2013 04:49 PM, xrichard wrote:

Hi,

One more question before I (may) give up: is there anyone who managed to
make Google Analystics works for a Wiki hosted on myxwiki.org ?

Thanks for your answers,


Oh, if this is about enabling GA on myxwiki.org, then the issue is very
simple: only extensions saved by users with programming rights can be
used in the whole wiki. A farm admin will have to re-save the GA
settings page for you. Which wiki are you referring to?


___
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] How to enable Google Analytics for Xwiki?

2013-11-29 Thread vinc...@massol.net
Hi,

On 29 Nov 2013 at 23:15:11, Ldm Public (ldm...@gmail.com) wrote:

Ok thanks for the answer. 

I would really appreciated if some admin can kindly save the GA settings page 
for me on http://tutos.myxwiki.org http://tutos.myxwiki.org/ to enable GA 
tracking once for all. 
I’ve saved the XWikiPreferences page (hope it’s the right page). Does it work 
now?

We really need to make this feature work on a subwiki without requiring 
Programming Rights...

Thanks

-Vincent



The reason of this request to farm admins is that I have already tried to made 
custom changes to skin (I wanted to change some vm content following a 
tutorial) 
but unfortunatly I didn't managed to make it work ;-(, see my attempt and call 
for help here: 
http://dev.xwiki.org/xwiki/bin/view/Community/Forum;jsessionid=0A377BB0F73EBD2EA1906F571BEE5868
 

best regards, 


Le 29/11/2013 11:51, Valdis Vi-tolin,s( a écrit : 
 Workaround for this could be personalized Skin: 
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins 
 
 Leave everything else empty, but for footer add GA code somewhere at the 
 end of original one (from XWiki 5.2): 
 
 #if($isInServletMode)## Visible only in a page 
 div id=footerglobal class=layoutsection 
 div class=minwidth/div 
 hr/ 
 div id=xwikilicence$!copyright/div 
 #set ($version = $xwiki.getSpacePreference('version')) 
 #if ($!version == ) 
 #set ($version = $xwiki.getXWikiPreference(version)) 
 #end 
 #if ($!version != ) 
 #set ($version = $xwiki.parseContent($version)) 
 #else 
 #set ($version = $!xwiki.version) 
 #end 
 div id=xwikiplatformversion$version/div 
 hr/ 
 /div 
 
 ## Put GA JavaScript here ## 
 
 #end 
 ### TODO: Format the footer for pdf output 
 
 Or, harder (not sure, what will happen after myxwiki.org update then) 
 but more appropriate way would be adding htmlfooter property to 
 XWiki.XWikiSkins class, and similarly changing original code: 
 
 /div## xwikimaincontainerinner 
 /div## xwikimaincontainer 
 
 ## put GA code here ## 
 
 #if($isInServletMode) 
 /body 
 /html 
 #else ## Portlet Mode 
 /div 
 #end 
 
 Valdis 
 
 On 11/27/2013 04:49 PM, xrichard wrote: 
 Hi, 
 
 One more question before I (may) give up: is there anyone who managed to 
 make Google Analystics works for a Wiki hosted on myxwiki.org ? 
 
 Thanks for your answers, 
 
 Oh, if this is about enabling GA on myxwiki.org, then the issue is very 
 simple: only extensions saved by users with programming rights can be 
 used in the whole wiki. A farm admin will have to re-save the GA 
 settings page for you. Which wiki are you referring to? 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] FavIcon

2013-11-29 Thread vinc...@massol.net
Hi Patrick,

On 29 Nov 2013 at 21:04:57, pmasson (mas...@opensource.org) wrote:

Is this still the best approach? 
I think so.

Would be great to add a FAQ entry at http://www.xwiki.org/xwiki/bin/view/FAQ/ 
for this as a first step.

Then I think it would be nice to make this easier to do… Would be nice if 
someone could open a jira issue for this on http://jira.xwiki.org

Thanks

-Vincent



Thanks, 
Patrick 



-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/FavIcon-tp6321607p7588176.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] Trying to change PDF export layout

2013-11-29 Thread xrichard
Hi,

To change my skin more easily I have tried to install Skin Editor
Application (see here :
http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Editor+Application)
with Extension Manager but I received the following error during install
process on my Wiki hosted on myxwiki.org:

Failed to register the wiki component located in the document
[Dashboard.WebHome]: Registering UI extensions requires admin rights

Is it possible to have this extension installed on mywiki.org?

regards,

PS: I thought I can operate XWiki in a 100% cloud mode but now I'm less
confident.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Trying-to-change-PDF-export-layout-tp7587884p7588180.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 enable Google Analytics for Xwiki?

2013-11-29 Thread Ldm Public
Thanks, I think it's the correct page 
(http://tuto.cloud.xwiki.com/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=analytics)


I will tell you if it's okay, yet there is nothing in GA under real time.

Best regards,

Le 29/11/2013 23:48, vinc...@massol.net a écrit :

Hi,

On 29 Nov 2013 at 23:15:11, Ldm Public (ldm...@gmail.com 
mailto://ldm...@gmail.com) wrote:



Ok thanks for the answer.

I would really appreciated if some admin can kindly save the GA settings page
for me on http://tutos.myxwiki.org http://tutos.myxwiki.org/ to enable GA
tracking once for all.


I've saved the XWikiPreferences page (hope it's the right page). Does it work 
now?

We really need to make this feature work on a subwiki without requiring 
Programming Rights...


Thanks

-Vincent




The reason of this request to farm admins is that I have already tried to made
custom changes to skin (I wanted to change some vm content following a tutorial)
but unfortunatly I didn't managed to make it work ;-(, see my attempt and call
for help here:
http://dev.xwiki.org/xwiki/bin/view/Community/Forum;jsessionid=0A377BB0F73EBD2EA1906F571BEE5868

best regards,


Le 29/11/2013 11:51, Valdis Vi-tolin,s( a écrit :
 Workaround for this could be personalized Skin:
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins

 Leave everything else empty, but for footer add GA code somewhere at the
 end of original one (from XWiki 5.2):

 #if($isInServletMode)## Visible only in a page
 div id=footerglobal class=layoutsection
 div class=minwidth/div
 hr/
 div id=xwikilicence$!copyright/div
 #set ($version = $xwiki.getSpacePreference('version'))
 #if ($!version == )
 #set ($version = $xwiki.getXWikiPreference(version))
 #end
 #if ($!version != )
 #set ($version = $xwiki.parseContent($version))
 #else
 #set ($version = $!xwiki.version)
 #end
 div id=xwikiplatformversion$version/div
 hr/
 /div

 ## Put GA JavaScript here ##

 #end
 ### TODO: Format the footer for pdf output

 Or, harder (not sure, what will happen after myxwiki.org update then)
 but more appropriate way would be adding htmlfooter property to
 XWiki.XWikiSkins class, and similarly changing original code:

 /div## xwikimaincontainerinner
 /div## xwikimaincontainer

 ## put GA code here ##

 #if($isInServletMode)
 /body
 /html
 #else ## Portlet Mode
 /div
 #end

 Valdis

 On 11/27/2013 04:49 PM, xrichard wrote:
 Hi,

 One more question before I (may) give up: is there anyone who managed to
 make Google Analystics works for a Wiki hosted on myxwiki.org ?

 Thanks for your answers,

 Oh, if this is about enabling GA on myxwiki.org, then the issue is very
 simple: only extensions saved by users with programming rights can be
 used in the whole wiki. A farm admin will have to re-save the GA
 settings page for you. Which wiki are you referring to?


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


Re: [xwiki-users] FavIcon

2013-11-29 Thread Patrick Masson

Thanks Vincent.

I've created a FAQ for this and added the instructions from the thread: 
http://www.xwiki.org/xwiki/bin/view/FAQ/How+do+I+add+a+favicon+for+my+wiki%3F


However, I am not sure the instructions provide the detail needed to 
walk me through the process...


/First, go to the presentation section of the administration page.
/

1. Logged in as an administrator, I go to the WIKI: xwiki menu and
   down to Administer Wiki.
2. I then go to Presentation under the Look and Feel tab on the
   left hand navigation
   
(http://[mywikidomain].xwiki.com/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Presentation)

/Add the following lines in the HTTP Meta Information :/

/link rel=icon href=$xwiki.getSkinFile(favicon.ico)//
//type=image/x-icon/ link rel=shortcut icon//
//href=$xwiki.getSkinFile(favicon.ico) type=image/x-icon//

1. I cannot find the HTTP Meta Information on the presentation section
   of the administration page.
2. The only fields available are:
1. Skin Customize = XWiki.DefaultSkin
2. Stylesheet = style.css
3. Stylesheets = style.css

/Then, visit the XWiki.DefaultSkin page and attach a favicon.ico file./

1. I have been able to upload my favicon to the XWiki.DefaultSkin page
   (http://[mywikidomain].xwiki.com/xwiki/bin/view/XWiki/DefaultSkin)
   by going to ADD in the menu bar and clicking Attachment to page.
   The icon is viewable at
   
http://[mywikidomain].xwiki.com/xwiki/bin/download/XWiki/DefaultSkin/favicon.png

/Finally, the most important, refresh your browser cache. /

Thanks,
Patrick



On 11/29/2013 05:52 PM, vinc...@massol.net wrote:

Hi Patrick,

On 29 Nov 2013 at 21:04:57, pmasson (mas...@opensource.org 
mailto://mas...@opensource.org) wrote:



Is this still the best approach?


I think so.

Would be great to add a FAQ entry at 
http://www.xwiki.org/xwiki/bin/view/FAQ/ for this as a first step.


Then I think it would be nice to make this easier to do… Would be nice 
if someone could open a jira issue for this on http://jira.xwiki.org


Thanks

-Vincent




Thanks,
Patrick



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/FavIcon-tp6321607p7588176.html

Sent from the XWiki- Users mailing list archive at Nabble.com.



--
|||  |  |||||  |||| |||
Patrick Masson
General Manager, Director  Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Sk: massonpj
Ph: (970) 4MASSON
Em: mass...@opensource.org mailto:mas...@opensource.org
Ws: www.opensource.org http://www.opensource.org
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users