Re: [xwiki-users] viewer=code
Thanks for the response (Caleb James DeLisle and Sergiu). I am using myxwiki.org so not sure if I have access to .vm files?! I think a way of disabling viewer=code should be available ASAP. As it is not obvious (especially for new xwiki users/developers) that any code is publicly acessible and there is no clear way of hiding Groovy + Velocity code from the public (or search engines) this feature poses a great security risk. Someone unaware of this feature (like I was) and using a 3rd party API which requires authentication could easily embed and revile username/password to the whole world. Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu Sent: 26 August 2009 22:24 To: XWiki Users Subject: Re: [xwiki-users] viewer=code Ajdin Brandic wrote: Is there an option (settings) to disable this (viewer=code) on a site? First thing to keep in mind is that any user that can *edit* documents on your wiki will always be able to retrieve the source code of documents. Now, if you want to disable the display of code to users, you should edit the following templates and add a rights check at the start: code.vm, xml.vm, changes*.vm, editwiki.vm, editwysiwyg.vm, editwysiwygnew.vm, inline.vm, plaincode.vm This snippet prevents guest access: #if($context.user == 'XWiki.XWikiGuest') #stop #end -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users NOTICE This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee. Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Receiving Watch list notifications.
Hi Thibaut, On Aug 27, 2009, at 2:08 AM, Thibaut DEVERAUX wrote: Woot, bravo Caleb. Seems there is a lot of people on this subject from now. I released some files about this on Flickr : http://www.flickr.com/photos/thibautdeveraux/3821532046 http://www.flickr.com/photos/thibautdeveraux/3821531914 http://www.flickr.com/photos/thibautdeveraux/3820724537 http://www.flickr.com/photos/thibautdeveraux/3820724599 (the begining of the texts is alway the same, jump at the end) Caty told me the non-panel versions were to complicated, wich is right. The fact is I think a lot about a communication board including wave integration and should separate concepts in the time to get a working design at each moment. The wave part is not finalized from now. However I think I could post the third and forth links to GoogleWave page in incubator so that it may give other people ideas. Can someone post it / make me an account on incubator ? Lots of cool stuff :) Re google wave you might be interested in http://incubator.myxwiki.org/xwiki/bin/view/Main/GoogleWave (you need a wave account to see it) I couldn't find your account on http://myxwiki.org to add you. What's your user name? Thanks -Vincent 2009/8/27 clay c...@grabafact.com Caleb, You're a CHAMP! Thanks! Caleb James DeLisle wrote: You're right, xwiki needs a watchlist panel. The watchlist has an rss feed so I copied the workings of that to make a panel. You can get it here. http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistPanelApplication This will not interfere with notifications being emailed to you. Caleb James DeLisle clay wrote: Greetings, Is there a way to have notifications posted to a panel for the interested user rather than through email? If so, is there a way to choose one, the other or both? Thanks! ___ 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 -- View this message in context: http://n2.nabble.com/Receiving-Watch-list-notifications-tp3500490p3520065.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 ___ 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] Receiving Watch list notifications.
On Thu, Aug 27, 2009 at 10:26 AM, Vincent Massolvinc...@massol.net wrote: Hi Thibaut, On Aug 27, 2009, at 2:08 AM, Thibaut DEVERAUX wrote: Woot, bravo Caleb. Seems there is a lot of people on this subject from now. I released some files about this on Flickr : http://www.flickr.com/photos/thibautdeveraux/3821532046 http://www.flickr.com/photos/thibautdeveraux/3821531914 http://www.flickr.com/photos/thibautdeveraux/3820724537 http://www.flickr.com/photos/thibautdeveraux/3820724599 (the begining of the texts is alway the same, jump at the end) Caty told me the non-panel versions were to complicated, wich is right. The fact is I think a lot about a communication board including wave integration and should separate concepts in the time to get a working design at each moment. The wave part is not finalized from now. However I think I could post the third and forth links to GoogleWave page in incubator so that it may give other people ideas. Can someone post it / make me an account on incubator ? Lots of cool stuff :) Re google wave you might be interested in http://incubator.myxwiki.org/xwiki/bin/view/Main/GoogleWave (you need a wave account to see it) I couldn't find your account on http://myxwiki.org to add you. What's your user name? Just found you and you now have edit rights on incubator. Thanks -Vinent 2009/8/27 clay c...@grabafact.com Caleb, You're a CHAMP! Thanks! Caleb James DeLisle wrote: You're right, xwiki needs a watchlist panel. The watchlist has an rss feed so I copied the workings of that to make a panel. You can get it here. http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistPanelApplication This will not interfere with notifications being emailed to you. Caleb James DeLisle clay wrote: Greetings, Is there a way to have notifications posted to a panel for the interested user rather than through email? If so, is there a way to choose one, the other or both? Thanks! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] #info, #warning and floating boxes
Hi! When working with XWiki 1.0 syntax, any info or warning box flows under a floating box that, for instance, holds a table of content. For instance... http://playground.myxwiki.org/xwiki/bin/view/Main/CodeStyle Please, could this be avoided? Thanks! Ricardo -- Ricardo RodrÃguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] #info, #warning and floating boxes
On Aug 27, 2009, at 2:45 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Hi! When working with XWiki 1.0 syntax, any info or warning box flows under a floating box that, for instance, holds a table of content. For instance... http://playground.myxwiki.org/xwiki/bin/view/Main/CodeStyle Please, could this be avoided? Thanks! Can you provide the CSS to fix it? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] #info, #warning and floating boxes
Vincent Massol wrote: Can you provide the CSS to fix it? Nope. Sorry! But I will try discover how to do it. Thanks! -- Ricardo RodrÃguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] XWiki Enterprise 2.0 Milestone 4 Upgrade
Hello, myxwiki.org has been upgraded to XE 2.0 Milestone 4, if you own a wiki hosted there you should have a look at : http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M4 We also strongly recommend an upgrade to the latest wiki version. To upgrade you must download XE 2.0 Milestone 4 XWiki XAR from : http://www.xwiki.org/xwiki/bin/view/Main/Download And follow the upgrade guide available at : http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments XWiki Enterprise 2.0 Milestone 4 introduce a new skin : Colibri, declined in several themes (it will be the default skin in future releases). Don't hesitate to try it for your wiki on myxwiki and give us feedback about it. Check http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M4#HColibriskin for more information. To be notified of the myxwiki.org server upgrade you can follow myxwiki on twitter: http://twitter.com/myxwiki Thanks, Jerome, on behalf of the myxwiki.org community. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Downloading Velocity macro documentor
I tried to download the xwiki-plugin-velocidoc-0.3.jar, xwiki-core-xmlrpc-client-1.5.jar and velocidoc-0.3.xar from the page: http://dev.xwiki.org/xwiki/bin/view/Drafts/Documenting+XWiki+Velocity+Ma cros But the link to the download is not available, as far as I can see. Can someone tell me where these tools are? And do they still work in XWiki Enterprise version 1.9? Thanks for any help you can offer. Steven Calkins ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki 2 ML 4 .xar import error
I downloaded the Generic Installer, installed it and when showing the XWiki Dashboard I get an exception from the menuview.vm caused by the DB upgrade. This is what I see first in the console: 009-08-27 15:47:21,258 [http://localhost:8080/xwiki/bin/view/Main/] [http://localhost:8080/xwiki/bin/view/Main/?null] INFO .AbstractXWikiMigrationManager - New storage version is now [15429] org.hibernate.MappingException: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550) at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) Cheers Andreas Schaefer CEO of Madplanet.com Inc. EMail: andreas.schae...@madplanet.com schaef...@me.com Twitter: andy_mpc AIM: schaef...@me.com On Wednesday, August 26, 2009, at 06:29PM, Dilipkumar Jadhav jadhav.dilipku...@gmail.com wrote: Hello everyone, Tried setting up XWiki 2 ML4 as a fresh installation on a test machine. The installation went fine. However, importing the .xar file for XWiki 2 ML 4 throws the following error: Wrapped Exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class com.xpn.xwiki.api.Document threw exception com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access denied in edit mode on document XWiki.XWikiPreferences at /templates/admin.vm[line 58, column 26] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException( ASTMethod.java:337) . When I tried again, it takes me to the XWiki preferences page but the page says it is locked in edit mode by XWiki.Guest. Clicking force edit throws the above mentioned error again. Is anyone else too facing the same issue. Did I miss out on anything critical during setup. The machine is the same where a test version of XWiki 2 ML 3 works just fine. ___ 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] #info, #warning and floating boxes
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Hi! When working with XWiki 1.0 syntax, any info or warning box flows under a floating box that, for instance, holds a table of content. For instance... http://playground.myxwiki.org/xwiki/bin/view/Main/CodeStyle Please, could this be avoided? Thanks! Yes, just add overflow: hidden to its CSS. (overlow: auto would be better, but I noticed a strange dark bottom border when using it...) -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki 2 ML 4 .xar import error
On a side note I checked what is in SVN and built the entire application from scratch. The generic installer is failing there the same way. In addition the built from 2 days ago (8/25/09) does work fine meaning the error was introduced in the last two days. - Andreas Schaefer On Thursday, August 27, 2009, at 04:00PM, Andreas Schaefer schaef...@me.com wrote: I downloaded the Generic Installer, installed it and when showing the XWiki Dashboard I get an exception from the menuview.vm caused by the DB upgrade. This is what I see first in the console: 009-08-27 15:47:21,258 [http://localhost:8080/xwiki/bin/view/Main/] [http://localhost:8080/xwiki/bin/view/Main/?null] INFO .AbstractXWikiMigrationManager - New storage version is now [15429] org.hibernate.MappingException: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550) at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) Cheers Andreas Schaefer CEO of Madplanet.com Inc. EMail: andreas.schae...@madplanet.com schaef...@me.com Twitter: andy_mpc AIM: schaef...@me.com On Wednesday, August 26, 2009, at 06:29PM, Dilipkumar Jadhav jadhav.dilipku...@gmail.com wrote: Hello everyone, Tried setting up XWiki 2 ML4 as a fresh installation on a test machine. The installation went fine. However, importing the .xar file for XWiki 2 ML 4 throws the following error: Wrapped Exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class com.xpn.xwiki.api.Document threw exception com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access denied in edit mode on document XWiki.XWikiPreferences at /templates/admin.vm[line 58, column 26] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException( ASTMethod.java:337) . When I tried again, it takes me to the XWiki preferences page but the page says it is locked in edit mode by XWiki.Guest. Clicking force edit throws the above mentioned error again. Is anyone else too facing the same issue. Did I miss out on anything critical during setup. The machine is the same where a test version of XWiki 2 ML 3 works just fine. ___ 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