Re: [xwiki-users] Problems with Email verification
On Fri, Feb 20, 2009 at 5:49 PM, Henning Sprang Now the problem keeps there, that they cannot confirm because the verification code is not sent to them, only velocity code. Similar to the problem with the access to the forgot username/password pages, this works when the rights for the space XWiki for unregistered users is set to allow the view permission. Still, I want to find out what single page I'd have to grant view access for, because I don't want unregistered users to see wiki details like existing groups and users. Henning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] security concern: XWikiGuest rolling back versions
Yishay Mor wrote: This has happened a few times on http://patternlanguagenetwork.myxwiki.org/, and I can't explain it. I set the access rights to allow view by all, but edit is restricted. I'm seeing documents rolled back to older versions by XWikiGuest. Example: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopconceptmapping On this document the guest has been granted edit rights. Look at the rights editing for it, and select Users, and you will see that Unregistered Users has set view, comment and edit. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Forgot UserName / Password pages not working
Hi Guillaume, On Fri, Feb 20, 2009 at 6:22 PM, Guillaume Lerouge Check the rights of your XWiki space. Since the page is located in the XWiki space, if you protected that space against view, unregistered users will automatically be redirected to a login page when trying to see it. Right, that works. But I don't want unregistered Users to see things in the XWiki space, like lists of all Users, and things like that. Sure, I can disable the things I learn one by one that I don't want people to see, but I'd rather like restrict XWiki space, and only explicitly allow those pages/classes that are needed for the registration. The Email verification link seems to be something similar - one of these pages or classes in the XWiki space seems to be responsible for enabling velocity code execution in the registration Emails. (And also in the ResetPassword Email, because enabling this page to be viewed by unregistered users, they can view the page, but the Email does not contain proper content but unexecuted velocity code). Henning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Velocity + Tables
Hi xwiki-users, I've been playing with the new XWiki Syntax 2.0, but there are still some things possible with the old 1.0 syntax which are impossible in the new 2.0 syntax. One thing that I still cannot figure out is something like the following: {{html wiki=true}} table id=serverList class=grid sortable filterable doOddEven tr class=sortHeader th class=selectFilterSpace/th thClass/th thServer Name/th th class=unsortable noFilterLink/th /tr {{velocity}} #foreach($serverDocument in $serverDocuments) tr td$serverDocument.Space/td td$serverDocument.Name/td td #foreach($serverObject in $serverDocument.getObjects($serverClass)) * $serverObject.HostName #end /td td[[$serverDocument]]/td /tr #end {{/velocity}} /table {{/html}} This gives me a lot of br / tags (the number of $server in $serverList), and ends up displaying 1 row with the literal string $server.Space, $server.Class, etc. It works if I use the normal table syntax: |=Space|=Class|=Server Name|=Link {{velocity}} #foreach($serverDocument in $serverDocuments) |$serverDocument.Space|$serverDocument.Name|???|[[$serverDocument]] #end {{/velocity}} but I'm not sure how I'd iterate over each object associated with the document in the tag marked '???'. Also, whenever I have a {{velocity}} tag, I end up with a lot of empty p elements: * Line 1 {{velocity}} #set($foo = bar) {{/velocity}} * Line 2 This ends up with a p tag between Line 1 and Line 2, which seems very strange when rendered (since there's no content when viewing). Just my 2 cents on the new syntax. But other than that, creating macros now is a breeze (XWiki + Plexus is just purely amazing!), and I think the new syntax is only inches away from surpassing the old 1.0 syntax :-D Thanks again for the great work! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translation Volunteers needed
Hi, On Sat, Feb 21, 2009 at 1:43 AM, Ludovic Dubost ludo...@xwiki.com wrote: So we need all the help we can to get these translated before 1.8 final. I think we can achieve the following languages: I can also help with German, and I already asked about the exact workflow on the translations 20 days ago - because I saw some flaws in the existing translation strings. So, how to do it? Henning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Velocity + Tables
Hi Lewis, On Feb 22, 2009, at 5:56 PM, Lewis Denizen wrote: Hi xwiki-users, I've been playing with the new XWiki Syntax 2.0, Great, we need feedback on the new syntax from using it in the real world! but there are still some things possible with the old 1.0 syntax which are impossible in the new 2.0 syntax. One thing that I still cannot figure out is something like the following: {{html wiki=true}} table id=serverList class=grid sortable filterable doOddEven tr class=sortHeader th class=selectFilterSpace/th thClass/th thServer Name/th th class=unsortable noFilterLink/th /tr {{velocity}} #foreach($serverDocument in $serverDocuments) tr td$serverDocument.Space/td td$serverDocument.Name/td td #foreach($serverObject in $serverDocument.getObjects($serverClass)) * $serverObject.HostName #end /td td[[$serverDocument]]/td /tr #end {{/velocity}} /table {{/html}} I've tried your example and indeed it's not working. I've created the following issue: http://jira.xwiki.org/jira/browse/XWIKI-3258 You can monitor it if you want to follow the progress. I'll be working on it tomorrow. For now you can do the following: {{velocity}}{{html}} instead of {{html}}{{velocity}} This gives me a lot of br / tags (the number of $server in $serverList), and ends up displaying 1 row with the literal string $server.Space, $server.Class, etc. It works if I use the normal table syntax: |=Space|=Class|=Server Name|=Link {{velocity}} #foreach($serverDocument in $serverDocuments) |$serverDocument.Space|$serverDocument.Name|???|[[$serverDocument]] #end {{/velocity}} but I'm not sure how I'd iterate over each object associated with the document in the tag marked '???'. Also, whenever I have a {{velocity}} tag, I end up with a lot of empty p elements: * Line 1 {{velocity}} #set($foo = bar) {{/velocity}} * Line 2 This ends up with a p tag between Line 1 and Line 2, which seems very strange when rendered (since there's no content when viewing). This is normal. In the new syntax whitespaces and newlines are honored. Thus if you want only one new line between line1 and line2 you'd need to use: * Line 1 {{velocity}}#set($foo = bar){{/velocity}} * Line 2 Just my 2 cents on the new syntax. But other than that, creating macros now is a breeze (XWiki + Plexus is just purely amazing!), and I think the new syntax is only inches away from surpassing the old 1.0 syntax :-D Thanks again for the great work! Cool. Please keep the feedback coming as you try the new syntax out. Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translation Volunteers needed
We now have 620 translations strings more But where is the file ApplicationResources.properties? Bests, sime ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Error number 4001 in 4
Hi! Can someone help? My Xwiki http://apleti.normala.hr/xwiki to crashes with this message: Error number 4001 in 4: Error while parsing velocity page /templates/view.vm Wrapped Exception: Failed to evaluate content with id [/templates/view.vm] Error number 4001 in 4: Error while parsing velocity page /templates/view.vm Wrapped Exception: Failed to evaluate content with id [/templates/view.vm] Error number 4001 in 4: Error while parsing velocity page /templates/view.vm Wrapped Exception: Failed to evaluate content with id [/templates/view.vm] com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page /templates/view.vm Wrapped Exception: Failed to evaluate content with id [/templates/view.vm] at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja va:112) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1596) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:125) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl icationHandler.java:830) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi lter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl icationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi lter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl icationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl er.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext .java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Wrapped Exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'parseTemplate' in class com.xpn.xwiki.api.XWiki threw exception java.lang.OutOfMemoryError: Java heap space @ /templates/view.vm[1,8] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:300 ) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja va:203) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav a:294) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:31 8) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro xy.java:194) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav a:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:31 8) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement .java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:31 8) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java :178) at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java :143) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja va:107) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1596) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:125) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at
Re: [xwiki-users] security concern: XWikiGuest rolling back
Yishay Mor wrote: This has happened a few times on http://patternlanguagenetwork.myxwiki.org/, and I can't explain it. I set the access rights to allow view by all, but edit is restricted. I'm seeing documents rolled back to older versions by XWikiGuest. Example: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopconceptmapping On this document the guest has been granted edit rights. Look at the rights editing for it, and select Users, and you will see that Unregistered Users has set view, comment and edit. -- That's strange: I see view and comment ticked, but not edit ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translation Volunteers needed
Our localization tool is here: http://l10n.xwiki.org/xwiki/bin/view/L10N/ Register yourself to create an account, then login. You can then look for missing translations for any given language and propose new translations. Committers will then review them before applying the updated patch. Guillaume On Mon, Feb 23, 2009 at 12:15 AM, Sime Suljic sime.sul...@pu.htnet.hrwrote: We now have 620 translations strings more But where is the file ApplicationResources.properties? Bests, sime ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] top navigation bar on toucan skin is flickering/flashing while scrolling
On Fri, Feb 20, 2009 at 2:25 PM, Mike A. _m...@inbox.lv wrote: Hi! I don't use toucan skin, but I think (I've experienced this problem before) that the really small background patterns (like 4x4 px) are causing the slowdown. Try to use, for example, 80x80 px backround pattern. It's right that the background pattern is small - at least in height it's 4, width is about 1024 so it's full-page. But enlarging it to a height of 80 did not solve the problem. Maybe another background image is the problem - I only tried with bg-GRAY.png - maybe another image is the one making problems... Henning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] danish, norsk and swedisch languages
Henning Sprang a écrit : On Sat, Jan 31, 2009 at 6:16 PM, Henning Sprang henning.spr...@gmail.com wrote: How, apart from the obvious - setting the language to German and searching for missing words - can I check what's missing? (in German, mainly) So, it seems I saw so many links that I didn't come up with the idea to click on view (maybe because I didn't want to view the translation file, but want to work on the translation). I got that now. The approach is to: 1/ Click on view 2/ Click on show empty From time to time we will load the original ApplicationResources in english language. When we do this we have to run prepare to get the additional strings visible in each language. Apart from some missing I saw some things that could be optimized a little. What's the workflow for this? Just going in and change the things that seem not to fit? You can modify exisiting strings. Until we have done a full review of each language, we should consider the current translation changeable. Once we have done a first review then we will have some way to see the ones that have changed. Or is there a place to discuss some things with the guys who did the original translation? I don't want to step on other's feet... I'm not sure when and how the original German translation was done. So we are on our own for it. Henning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translation Volunteers needed
For the volunteers, the workflow is: 1/ Register on http://l10n.xwiki.org 2/ Visit http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources 3/ Click view empty next to the language you want to work on For german: http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewemptylanguage=de 4/ Start filling and don't forget to hit save. For now this will help make a lot of progress. Once we are up to date there are some more advanced functions but we don't need them now. Ludovic Ludovic Dubost a écrit : Hi, Guillaume (Lerouge) has done incredible work to transform all hardcoded strings in XWiki Enterprise to translations strings. We now have 620 translations strings more So we need all the help we can to get these translated before 1.8 final. I think we can achieve the following languages: French: 622 translations to do German: 629 translations to do Romanian: 1516 translations to do French and German were complete before we added the 620 more translations, and Romanian we HAVE to be able to do it with the number of romanians in the team ! Guillaume will coordinate the French translation. We need a volunteer from the Romanian team to coordinate the Ro translation. Let me know if there are volunteers to coordinate the translations effort in Geman or other languages before the final 1.8 release. Ludovic ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Velocity + Tables
Hi Lewis, On Feb 23, 2009, at 12:14 AM, Vincent Massol wrote: Hi Lewis, On Feb 22, 2009, at 5:56 PM, Lewis Denizen wrote: Hi xwiki-users, I've been playing with the new XWiki Syntax 2.0, Great, we need feedback on the new syntax from using it in the real world! but there are still some things possible with the old 1.0 syntax which are impossible in the new 2.0 syntax. One thing that I still cannot figure out is something like the following: {{html wiki=true}} table id=serverList class=grid sortable filterable doOddEven tr class=sortHeader th class=selectFilterSpace/th thClass/th thServer Name/th th class=unsortable noFilterLink/th /tr {{velocity}} #foreach($serverDocument in $serverDocuments) tr td$serverDocument.Space/td td$serverDocument.Name/td td #foreach($serverObject in $serverDocument.getObjects($serverClass)) * $serverObject.HostName #end /td td[[$serverDocument]]/td /tr #end {{/velocity}} /table {{/html}} I've tried your example and indeed it's not working. I've created the following issue: http://jira.xwiki.org/jira/browse/XWIKI-3258 You can monitor it if you want to follow the progress. I'll be working on it tomorrow. Actually I've worked on it and the result is that it's not valid... :) The HTML macro must only contain valid HTML and it's not the case in your example. You need to have the velocity content evaluated first so that the content is valid HTML: {{velocity}}{{html}}... Thanks -Vincent [snip] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] security concern: XWikiGuest rolling back
Yishay Mor wrote: Yishay Mor wrote: This has happened a few times on http://patternlanguagenetwork.myxwiki.org/, and I can't explain it. I set the access rights to allow view by all, but edit is restricted. I'm seeing documents rolled back to older versions by XWikiGuest. Example: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopconceptmapping On this document the guest has been granted edit rights. Look at the rights editing for it, and select Users, and you will see that Unregistered Users has set view, comment and edit. I still see edit selected... And as a guest I can indeed edit the document. Just to make sure we're on the same page, I'm looking at http://patternlanguagenetwork.myxwiki.org/xwiki/bin/edit/Patterns/tabletopconceptmapping?editor=rights -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] organize vote with XWiki
The Polls app does support adding new topics/votes/etc easily, and is a nice merging of a poll into a wiki-document. The only annoying thing is that it requires edit privs in the Polls space where the code exists, or at least in the space holding the the polls. This is because the Polls space is the default location for the poll documents to be created. It would be nice if it was an option to hide the voting record (it displays who voted for what). It also allows people to change their vote up till the end of the polling period, which should be an option as well. If you wanted to poll people without having them registerlogin (or expose their vote), you'd need to make the Polls space publicly writable by using Rights to edit XWikiPreferences specifically for the Polls space, selecting users option, and selecting edit for Unregistered Users. A different Space could be used to hold the polls, (which is good, you wouldn't want unregistered users editing the Polls templates/code/etc), but I don't believe that space is selected by default in the Polls.WebHome option-menu for selecting the location for the new poll to reside. This will need to be documented or edited to hard-code a specific publicly-alterable space, although this is an admin or poll-taker's issue. If unregistered users can edit a particular space containing Polls in order to enter a vote, wouldn't they also be able to edit the polls themselves? What's the right way of resolving this issue for XWiki apps? I guess making each public polll-document world editable, rather than making the entire space world-editable makes the most sense. However, in that case, a nonregistered user could still manually enter the bin/edit rather than bin/view URL and edit the poll data. If anybody has suggestions on the correct way to handle security issues and have a working Polls app, I'm interested. The polls app contains the following docs, fyi: Polls.WebHome Polls.CreatePoll Polls.PollEditSheet Polls.PollMetaClass Polls.PollOptionClass Polls.PollSheet Polls.PollTemplate Polls.PollViewSheet Polls.PollVoteClass . -- Niels http://nielsmayer.com On Fri, Feb 20, 2009 at 4:46 AM, Vincent Massol vinc...@massol.net wrote: On Feb 20, 2009, at 1:21 PM, pkernevez wrote: Hi, We are using XWiki for the http://jugl.ch JUGL . We want that all users would be able to add new subjects and vote on already purpose subjects. At this time we are using doodles, it works fine for the votes but all participants can't add new subject to the list. Is there a better way using XWiki and its plugins for our meeting organisation ? Maybe the poll application would help: http://code.xwiki.org/xwiki/bin/view/Applications/PollsApplication I don't know if it supports adding new topics on the fly but it wouldn't be hard to improve it to do so I think. Check at the end of that page there's a link to polldaddy too. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] top navigation bar on toucan skin is flickering/flashing while scrolling
There are a lot of small backgrounds. Just try to disable them and you'll#160; see that there would be no slowdown :) Quoting Henning Sprang : On Fri, Feb 20, 2009 at 2:25 PM, Mike A. wrote: Hi! I don't use toucan skin, but I think (I've experienced this problem before) that the really small background patterns (like 4x4 px) are causing the slowdown. Try to use, for example, 80x80 px backround pattern. It's right that the background pattern is small - at least in height it's 4, width is about 1024 so it's full-page. But enlarging it to a height of 80 did not solve the problem. Maybe another background image is the problem - I only tried with bg-GRAY.png - maybe another image is the one making problems... Henning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Best regards, Mike Links: -- [1] mailto:henning.spr...@gmail.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users