Re: [xwiki-users] Please, badly need help with HQL...
Hi Adoro, One you have something fully working, would be nice if you could contribute this back on code.xwiki.org as a code snippet. Thanks -Vincent On Nov 14, 2008, at 4:58 PM, adoro wrote: Hi Sergiu, thank you so much for your help, the wanted pages query works fine if I use it for certain spaces: #set($sql= select link.fullName, link.link.id from XWikiLink link where link.fullName like 'MySpace.%' and not exists (select doc.fullName from XWikiDocument doc where doc.fullName = link.id.link) order by 1) #set($results= $xwiki.search($sql)) #if ($results.size() == 0) #warning('Es gibt keine gewünschte Seiten') #else {table} Space|Document|Link #foreach ($row in $results) #foreach ($col in $row) #if ($velocityCount==1) #set($docFullName=$col) #elseif ($velocityCount==2) #set($emptyLink=$col) #set($el=$emptyLink.getLink()) #set($spaceName=$xwiki.getDocument($docFullName).space) #end #end $spaceName|[$docFullName]|$el #end {table} #end Best Regards, Alla Sergiu Dumitriu-2 wrote: This should work: #set($query = select link.id.link from XWikiLink link where not exists (from XWikiDocument doc where doc.fullName = link.id.link)) #foreach($item in $xwiki.search($query)) * $item #end Note that several bad entries are placed there because the link detection process does not pre-run velocity, so lots of entries actually point to velocity variables or javascript code. Definitely the backlinks need to be revised in the new rendering. Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Wikifarm cpu 100%
Hi Samuel, This is really strange since the DB is almost not doing anything on our typical installs. Here are some tips: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances I'd suggest checking: * That you have indexes set correctly * That you have stats turned off (they are quite DB-hungry) Thanks -Vincent On Nov 14, 2008, at 6:02 PM, Samuel Lee wrote: Hello, I'm running an xwiki farm with 3 xwikis. Even when loading a simple text page, the request is very slow. I'm running on a CentOS box, using java in Tomcat and a mysql database. Mysql usually hits 99.9% CPU and hangs there for a while. Tomcat goes to about 50%. We have it authenticating against an LDAP server, but the slowness occurs even when loading the login screen. I've turned off global statistics. Any ideas as to what might be going on? Sam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] mailto links code blocks
On Nov 14, 2008, at 7:27 PM, Vincent Massol wrote: Hi Lewis, On Nov 14, 2008, at 6:13 PM, Lewis Denizen wrote: Hi xwiki-users, I've been using XE 1.6 for quite some time and it's one of the best apps that I've ever used (thank you so much)! Thanks a lot for the praise. You're sure to earn a quick response with such comments ;) Few small questons/issues. Whenever I create a mailto: link in xwiki 2.0 syntax, I can't put spaces in it: [[mailto:[EMAIL PROTECTED]@test.comsubject=This is a test]] It used to be possible with the xwiki 1.0 syntax, though. I'm checking this since this looks like a bug. Fixed now, will be in XE 1.7M3. See http://jira.xwiki.org/jira/browse/XWIKI-2838 Thanks for reporting this. -Vincent I'm really glad to see people are starting to use the XWiki 2.0 syntax. It's brand new and not fully finished yet (will be for 1.7 final) so all feedback is much appreciated. Also, I'd like to know how people are managing to place code snippets in xwiki 2.0 syntax. In the past, I had used the {code} macro, but now that it's gone, what do people use? Do people just wrap it in a pre now? How about code syntax highlighting? It's being rewritten by Thomas Mortagne right now. It's almost ready actually. We're now using Pygments (http://pygments.org) under the hood so you get access to syntax highlighting for all the following languages: http://pygments.org/languages/ Now if you only need to escape content and not do any formatting/ highlighting you can use the new verbatim syntax. For example: {{{ whatever here }}} or {{{ whatever here }}} Thanks -Vincent Keep up the good work! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] If you use and like XWiki please make it known...
Hi XWiki users, There are some simple ways to contribute to XWiki (see http://dev.xwiki.org/xwiki/bin/view/Community/Contributing) and one of them is help spread the word about XWiki. * And one way that helps is for example to click on the I use this button on Ohloh: http://www.ohloh.net/projects/xwiki Right now there are only 20 users who taken the time to click on it. I'm sure we could increase this number easily with your help! Go, go go :) * Another way is to create a reference page on http://www.xwiki.org/xwiki/bin/view/References/ (very easy to do), just use the template there. * We also have a XWiki user map on frappr: http://www.frappr.com/xwikiusers * Of course blogging, tweeting and talking to people about XWiki helps tremendously too. So if you want to see XWiki continue and grow you know what you have to do! Thanks a lot for your help -Vincent on behalf of the XWiki project ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] DocumentTree Plugin
Should be ok now. Someone (hel) had made some invalid modifications to the page I believe. I have reverted it. Thanks -Vincent On Nov 17, 2008, at 2:19 PM, Bruno Neves wrote: Greetings I saw this page http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin in the Xwiki Code Zone / Plugins. In the document instructions says: - Copy the jar-Archive to the %xwikipath%/WEB-INF/lib/ directory of your xwiki installation and add com.xpn.xwiki.plugin.doctree.DocumentTreePlugin to the xwiki.cfg. So I search for the link of the plugin, and I saw this note in the top of the page: - This plugin cannot currently be downloaded separately It cannot be downloaded from where separately from where? Can anyone give me some clue abou it? Thanks in advance Bruno Neves ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] hierarchy between tags
Hin On Nov 17, 2008, at 2:25 PM, Bruno Neves wrote: Greetings It's possible to set an hierarchy between tags? For example, make a tag parent of another one, like we can do with the documents. No this is not possible ATM. I'm interested in your use case. Could you elaborate on the need? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't use comments, attachments, history or information
Hi Samuel, On Nov 17, 2008, at 6:28 PM, Samuel Lee wrote: I'm running an XWiki Farm with 3 XWikis. I upgraded to the latest version of the XWiki, but now I can't use the Comments, Attachements, History or Information Tabs (buttons). I click on them and it sends me to the url domain/xwiki/bin/view/Main/#Attachments, but it doesn't show anything. These were working before the upgrade. Any ideas? We've changed the UI for displaying comments/attachments/history/info. How did you perform the upgrade? (I think you missed something). Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] Office-Importer Test Server.
Hi, On Nov 18, 2008, at 6:04 AM, Asiri Rathnayake wrote: Hi Guillaume, On Mon, Nov 17, 2008 at 7:55 PM, Guillaume Lerouge [EMAIL PROTECTED] wrote: Hi Asiri, I just tested it and got an exception: http://91.121.237.216/xwiki/bin/view/Test/WikiDeveloppeurs I can send you the original file if you wish. Could the exception be related to the presence of bulleted lists in the original document? I checked the JIRA issue related to lists but it didn't seem to be the same one. It's the following content that is causing the exception to be thrown : Par exemple:*#if($context.user == «XWiki.Admin»)Vous êtes l'administrateur par défaut de ce wiki!#else Vous êtes un utilisateur classique.#end* [snip] The issue here is that the rendering mechanism thinks exemple://#if($context.user is a url and tries to parse it... I think this is something that has to be handled in the rendering module. We'll wait for vincent's opinion on this. First, a comment: * I'm currently working on error handling and this error will be reported inline with an ErrorBlock and thus with a visual error where it happened in the very near future. The format for an inline link is (scheme):(something) However for URIs, only some are considered valid: mailto, image, attach For URL (i.e of the form (scheme)://(something) there's no check currently and all are considered URLs and checked to be valid. The reason we don't check for validity is because there can be any number of valid URL schemes (for example skype:// is a valid scheme if you've registered skype URL in your browser). I don't see any solution for this except not allowing inline links but I'm not sure this is a good solution. I think the inline error handling is the best solution and the user will use {{{exemple://#if($context.user..}}} if we really wants to enter this text. WDYT? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Re(2): DocumentTree Plugin
Something strange is happening... The link was there yesterday but was gone today. I've put it back. Let me know if this is ok this time. Thanks -Vincent On Nov 18, 2008, at 1:17 PM, Bruno Neves wrote: I couldn't find it the link to download the jar-Archive. Am I missing something here or the link isn't present in the page? Best Regards Bruno Neves users@xwiki.org em segunda-feira, 17 de Novembro de 2008 às 13:33 + escreveu: :Should be ok now. Someone (hel) had made some invalid modifications to :the page I believe. I have reverted it. : :Thanks :-Vincent : :On Nov 17, 2008, at 2:19 PM, Bruno Neves wrote: : : Greetings : : I saw this page http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin : in the Xwiki Code Zone / : Plugins. : In the document instructions says: : - Copy the jar-Archive to the %xwikipath%/WEB-INF/lib/ directory of : your xwiki installation and add : com.xpn.xwiki.plugin.doctree.DocumentTreePlugin to the xwiki.cfg. : So I search for the link of the plugin, and I saw this note in the : top of the page: : - This plugin cannot currently be downloaded separately : It cannot be downloaded from where separately from where? : : Can anyone give me some clue abou it? : : Thanks in advance : Bruno Neves ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to reduce database size?
Hi Jan, You should definitely not use HSQLDB for anything other than demo purpose. You should use a real production database such as MySQL. You can export from HSQLDB and reimport in MySQL. Thanks -Vincent On Nov 18, 2008, at 3:02 PM, Jan-Sebastian Winckelmann wrote: Hello, we run a small XWiki Enterprise (now V1.6.1) in the out-of-the-box HSQL / jetty version. Actually it's not so small anymore and the HSQL database file grew to a size of 1,4 GB. This size doesn't represent the actual size of the attachments stored in the XWiki, it's much, much bigger. So I guess there is a lot of space wasted by old versions and other unwanted stuff maybe left there as the results of several XWiki version upgrades. Is there any safe way to clean-up the database? Which tables could be emptied? I can live with losing all the versioned attachments and pages. Due to limited Java heap size we already get OutOfMemory exceptions when trying to delete bigger attachments or export some bigger pages. And the heap size is 1500 MB at the moment which is almost the maximum size available. Any ideas? Thanks! Bye, Jan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] about the table cell split and merge in the xwiki editor
Splitting/merging cells is not supported (even though the wysiwyg editor has action menus for that which I thought we removed in the latest XE version BTW). If you need merging/splitting you can use HTML directly in the page. Note that this will be supported in the new rendering with the new XWiki 2.0 syntax. Thanks -Vincent On Nov 19, 2008, at 9:15 AM, Huang Sheng wrote: hi,All I have a question about the xwiki table usage.When I have a table ,I try to split one cell to more cells or merge some cells into one cell,I find this function is invalid,when I click the save button ,the saved table is not what I want,is anybody know how to solve this issue?or anyone who has the same problem?is xwiki support this syntax?if so,who has the xwiki script for the table? Thanks Steven ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] groovy notification
On Nov 22, 2008, at 4:30 PM, Jerome Velociter wrote: It is probably due to the following : if(newdoc.getSpace().substring(lastFour) == Blog) { in Java, if you have the following : String st1 = Blog; String st2 = new String(Blog); then st1 == st2 will always return false OT This statement is not quite correct... In order for JVM to be performant there's a pool of reusable string objects and if the string created as the same content as one of the strings in the pool that string object will be returned (and thus both of your strings will point to the same object in memory). There's even an intern() method to force your string content to be interned in that pool. Try this to convince yourself: String st1 = Blog.intern(); String st2 = new String(Blog).intern(); assertSame(st1, st2); This is AFAIR. You can google for Java String intern. /OT Of course what Jerome says is correct, you should always check for equality use equals() and not == Thanks -Vincent , as the objects are not the same. What you want is to compare their values, using st1.equals(st2), which will return true. You can read here to find out more http://www.unix.com.ua/orelly/java/langref/ch04_09.htm (especially this sentence : Because the == operator determines if two objects are the same object, it is not appropriate for comparisons that need to determine if two objects have the same contents. For example, if you need to know whether two String objects contain the same sequences of characters, the == operator is inappropriate. You should use the equals() method) Anyway, their is even simpler for you. What you want to do is check if the space name finishes by Blog. For this the appropriate method is String#endsWith (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#endsWith(java.lang.String) ) As in : if(newdoc.getSpace().endsWith(Blog)) { Hope this helps and fixes your issue, Regards, Jerome Daniel Svoboda wrote: Yes. The problem is that no mail gets sent, which is the purpose of the notification. I reread my initial post, and now I understand your confusion. I didn't explicitly state that the class wasn't working. I'm using XWiki Enterprise manager 1.3 with platform version 1.5.2. Dan Do you actually encounter a problem, besides the error in the logs ? I believe those logs are generated when you call getRenderedContent on your blog article, so I maintain they have nothing to do with your notification class. Which version of XWiki Enterprise are you using ? Jerome. Dan Svoboda wrote: Hi, See below Dan Svoboda wrote: Hi, I'm trying to use the notification system to trigger the sending of email whenever a comment is added to a blog article. I'm patterning my groovy class after the pircbot example on the xwiki snippets site. My system is xwiki workspaces as a virtual xwiki under xem. The platform version is 1.5.2. Here's my groovy class (XWSNotify.BlogMailNotificationGroovyClass): /* Groovy Class #* */ import com.xpn.xwiki.api.XWiki; import com.xpn.xwiki.XWikiContext; import com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface; import com.xpn.xwiki.notify.DocObjectChangedRule; import com.xpn.xwiki.notify.XWikiNotificationRule; import com.xpn.xwiki.doc.XWikiDocument; public class BlogMailNotificationGroovyClass implements \ XWikiDocChangeNotificationInterface { def xwiki; def rule; def name; public void initClasses(XWikiContext context) { this.xwiki = context.getWiki(); // listen to notifications this.rule = DocObjectChangedRule(this); context.getWiki().getNotificationManager().addGeneralRule(rule); } public void notify(XWikiNotificationRule rule, XWikiDocument newdoc, \ XWikiDocument olddoc, int event, XWikiContext context) { def length = newdoc.getSpace().length(); def lastFour = length - 4; if(newdoc.getSpace().substring(lastFour) == Blog) { def ms = xwiki.getPlugin(mailsender); def nb = ms.sendHtmlMessage(context.getUser(), [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] , \ context.get(ccrecipients), context.get(bccrecipients), \ context.get(subject), newdoc.getRenderedContent(), \ newdoc.getContent(), newdoc.getAttachments()); } } } /* *# */ Here's a velocity script I'm using to initialize/test: #set($sc = $context.getContext().getEngineContext().getServletContext()) $sc.getAttribute(blgmailnotif)br/ #set($blgmlnotif = $ xwiki .parseGroovyFromPage (XWSNotify.BlogMailNotificationGroovyClass)) #set($ok = $sc.setAttribute(blgmailnotif, $blgmlnotif)) #set($blgmailnotif = $sc.getAttribute(blgmailnotif)) $sc.getAttribute(blgmailnotif)br/ #set($ok = $blgmlnotif.initClasses($context)) #set($ok = $blgmlnotif.notify($blgmlnotif.rule,$newdoc,$newdoc, 3,$context)) Here's
Re: [xwiki-users] Headings in old WYSIWYG and some more questions
Hi, On Nov 25, 2008, at 11:08 AM, hel-o wrote: Since 1.6 creating headings in the old WYSIWYG-Editor creats html- Headings Heading 1 - h1Text/h1 Heading 2 - h2Text/h2 The result is that some functions (e.g. Toc macro) don't work anymore. Is it planned to fix that? or is there no more development for the old WYSIWYG? Well someone reported this but it was closed as it was another problem. Do you have a jira issue for this? The new looks great but has not the functionality of the old one (yet?) In order for us to focus on what's needed most, what are you missing in the new rendering that you would need to use it? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Headings in old WYSIWYG and some more questions
On Nov 25, 2008, at 3:35 PM, hel-o wrote: vmassol wrote: Since 1.6 creating headings in the old WYSIWYG-Editor creats html- Headings Heading 1 - h1Text/h1 Heading 2 - h2Text/h2 The result is that some functions (e.g. Toc macro) don't work anymore. Is it planned to fix that? or is there no more development for the old WYSIWYG? Well someone reported this but it was closed as it was another problem. Do you have a jira issue for this? No i don't have a jira issue. Is somewhere information what problem that was or am i the only one with that problem. vmassol wrote: The new looks great but has not the functionality of the old one (yet?) In order for us to focus on what's needed most, what are you missing in the new rendering that you would need to use it? Just looked at 1.7m3 and if i'm not mistaken theres no table, and no include image or attachment function and the new link feature is not that elaborated as in the old WYSIWYG. In the proposal für the new WYSIWYG-GUI all this functions are included http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface Oh I thought you were talking about the new rendering (which already has everything you mentioned), not the WYSIWYG editor... Yes the WYSIWYG editor is currently lagging a bit behind. Is there a plan, road-map ... for the implementation or information what features are implemented now? The plan for 1.7 final is to have: * link insertion/edition/removal (already done) * table insertion/edition/removal (already done - some bugs to fix) * image insertion/edition/removal (work just starting today) * only view support for macros (no insertion/edition yet, that's for 1.8) Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Office-Importer Test Server.
Guillaume, I can see some other problems: * title is not correct * lots of empty lines Thanks -Vincent On Nov 25, 2008, at 4:30 PM, Guillaume Lerouge wrote: Hi Asiri, I tested strict filtering with my usual test document and apparently something went wrong with links (see the bottom of the page): http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez Apart from this, it looks pretty good. Guillaume On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake [EMAIL PROTECTED] wrote: Hi Devs, Users, I have uploaded yet another new version of office-importer @ http://91.121.237.216/xwiki/bin/view/Import/. This version utilizes the latest rendering module which has improved a lot since the last upload. Also a moderate style filtering option is introduced. Please try it out and let us know what you think. Thanks. - Asiri ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Pygments
Hi Lewis, On Nov 25, 2008, at 5:39 PM, Lewis Denizen wrote: Hi xwiki-users, I have a question (or more of a request) regarding the upcoming Pygments support in XWiki 1.7. We currently use XWiki at work to keep an internal documentation wiki for our application. We've created a few plugins which we've used in the following fashion perfectly (XWiki 1.0 syntax): {code:sql} DECLARE myDate DATETIME SELECT myDate = '$xwiki.dateParser.parseDate( -1b, MMdd )' -- this gives us the previous business date in MMdd format ... {code} Vincent kindly gave me a heads up regarding XWiki 1.7's Pygments support (seems to be supported by running it under Jython - VERY exciting :- D). So, I was wondering... Would something like the above be supported (i.e. verbatim code, but allow velocity macros to be run inside the code block)? Sure. You'd write: {{velocity}}{{code language=sql}} DECLARE myDate DATETIME SELECT myDate = '$xwiki.dateParser.parseDate( -1b, MMdd )' -- this gives us the previous business date in MMdd format ... {{/code}}{{/velocity}} If not, are there any documentation out there (other than the source code) detailing steps to create an XWiki macro (found http://dev.xwiki.org/xwiki/bin/view/Drafts/Tutorial+to+Write+a+Macro+in+the+new+rendering+enginewhich does help a bit if viewed in the code viewer), so that maybe we can build in support for something like that? Again, thanks for the great work! We don't have a tutorial for writing macros yet but that'll come. Anyone interested to help is welcome to work on this. That'd help a lot. Currently the easiest way to learn how to write a macro is to check out xwiki source tree and look at how the current macros are implemented. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Pygments
On Nov 25, 2008, at 5:57 PM, Vincent Massol wrote: Hi Lewis, On Nov 25, 2008, at 5:39 PM, Lewis Denizen wrote: Hi xwiki-users, I have a question (or more of a request) regarding the upcoming Pygments support in XWiki 1.7. We currently use XWiki at work to keep an internal documentation wiki for our application. We've created a few plugins which we've used in the following fashion perfectly (XWiki 1.0 syntax): {code:sql} DECLARE myDate DATETIME SELECT myDate = '$xwiki.dateParser.parseDate( -1b, MMdd )' -- this gives us the previous business date in MMdd format ... {code} Vincent kindly gave me a heads up regarding XWiki 1.7's Pygments support (seems to be supported by running it under Jython - VERY exciting :- D). So, I was wondering... Would something like the above be supported (i.e. verbatim code, but allow velocity macros to be run inside the code block)? Sure. You'd write: {{velocity}}{{code language=sql}} DECLARE myDate DATETIME SELECT myDate = '$xwiki.dateParser.parseDate( -1b, MMdd )' -- this gives us the previous business date in MMdd format ... {{/code}}{{/velocity}} Actually even better the code macro automatically guesses the language if you don't pass it! :) -Vincent If not, are there any documentation out there (other than the source code) detailing steps to create an XWiki macro (found http://dev.xwiki.org/xwiki/bin/view/Drafts/Tutorial+to+Write+a+Macro+in+the+new+rendering+enginewhich does help a bit if viewed in the code viewer), so that maybe we can build in support for something like that? Again, thanks for the great work! We don't have a tutorial for writing macros yet but that'll come. Anyone interested to help is welcome to work on this. That'd help a lot. Currently the easiest way to learn how to write a macro is to check out xwiki source tree and look at how the current macros are implemented. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Office-Importer Test Server.
On Nov 26, 2008, at 4:13 AM, Asiri Rathnayake wrote: Hi Vincent, On Tue, Nov 25, 2008 at 9:07 PM, Vincent Massol [EMAIL PROTECTED] wrote: Guillaume, I can see some other problems: * title is not correct Did you mean the title content (spellings?) or the font size of the title? If it's the latter, it's because openoffice server in this case has used font size=/font for sizing, and this is filtered in the strict filtering mode. A title should be converted to a title (i.e. using the == syntax in wiki). Wasn't this a real title in the original word doc? I'm pretty sure you didn't mean the latter one, if so please explain what's exactly wrong :) * lots of empty lines Good point. If any of you have some free time (which excludes vincent ;)) please try this : Open a new text document in openoffice and: 1. Type one line of text. 2. Press enter twice and type another line of text. So you'd have something like : Hi, This is the first line And this is the second line 3. Save the document as *html*. 4. Open the document in firefox and see the result. The same thing happens when converting documents via openoffice server. The problem is, for each empty line in a word document, open office uses : p style=margin-bottom: 0inbr//p What is the effect of margin-bottom: 0in? If it removes the new line then we should check for this and remove the paragraph altogether (for all filterings IMO). For spacing. And this is obviously not correct. May be I should take this to openoffice guys ? Yes you should but in the meantime we can filter this (only when margin-bottom is 0). Vincent, if you remember, I tried to replace these empty paragraphs with br/ elements. But I didn't mention this to you at that time. Yes you didn't mention that there was a CSS with margin-bottom: 0in which changes everything... -Vincent I simply didn't like these empty paragraphs ;) Thanks. - Asiri Thanks -Vincent On Nov 25, 2008, at 4:30 PM, Guillaume Lerouge wrote: Hi Asiri, I tested strict filtering with my usual test document and apparently something went wrong with links (see the bottom of the page): http://91.121.237.216/xwiki/bin/view/Main/GuillaumeTestProgrammez Apart from this, it looks pretty good. Guillaume On Tue, Nov 25, 2008 at 4:14 PM, Asiri Rathnayake [EMAIL PROTECTED] wrote: Hi Devs, Users, I have uploaded yet another new version of office-importer @ http://91.121.237.216/xwiki/bin/view/Import/. This version utilizes the latest rendering module which has improved a lot since the last upload. Also a moderate style filtering option is introduced. Please try it out and let us know what you think. Thanks. - Asiri ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki Enterprise 1.7 Release Candidate 1 Released
On Nov 26, 2008, at 4:38 PM, Jean-Vincent Drean wrote: The XWiki development team is pleased to announce the release of XWiki Enterprise 1.7 RC 1. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is the first release candidate for the 1.7 version. Changes from 1.7M3: * Link feature implemented in the new WYSIWYG editor (link to wiki page, web page, email). * Work in progress on the new experimental WYSIWYG editor. * Work in progress on the new XWiki Syntax v2.0 * New syntax for tables * Images can be defined as URLs * New Code macro (experimental) Thanks -Vincent * Reorganized, documented and enhanced xwiki.cfg configuration file Important bug fixes: * XWIKI-2873 : Wrong user name is inserted in group during LDAP membership synchronisation Note that general goals for XWiki Enterprise 1.7 are: * Working and usable (i.e. users can use them for their day to day work instead of the old Syntax and old WYSIWYG editor) versions of new rendering and new WYSIWYG editor. * Working JCR (can be used for day to day work instead of Hibernate). * Blog revamping * Webdav integration For more information see the Release notes at: http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17RC1 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Default skin for guest user
Hi Robert, On Nov 28, 2008, at 6:36 PM, Robert Munro wrote: Hi I have made a skin for my xwiki installation but it doesnt show up when no user is logged in. Is there a different space or persmiison for guest users - i have set the View permission for my XWikiGuest group on the skin, but it still doesnt show up. The most likely reason is indeed that your guest users don't have the view permissions for the user. Can you try navigating to the skin page when you're not logged in? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XE 1.6.1 issues with importing xar's
Hi, Just an idea: did you try to control-refresh in your browser. We had a bug we fixed in the past but the new JS needs to be reloaded as otherwise it might be in your browser cache. Jean-Vincent put the instruction in one of the release notes but it has probably not been carried forward in all subsequent release notes. We probably needs to add this again in the final release notes for 1.5 and 1.6.x. Could you please verify it works after you fully clear your browser cache? Thanks -Vincent On Nov 29, 2008, at 7:15 PM, DeVon Jarvis wrote: Yes, I was usig the administration link.Opening the imported xar must be using javascript, as the URL just reads javascript:void(). I think I have found the issue. It seems on windows XP, using IE6sp2 or FF 3.0.4, I cannot import uning the import page that exists before the admin app is imported. Using FF 3.0.4 or safari on my mac works fine though. May have a browser or platform compatability issue? Don't know why FF would act differently on different platforms... Anyway, I was able to get it working. Thanks for the response. On Sat, Nov 29, 2008 at 9:49 AM, Jean-Vincent Drean [EMAIL PROTECTED] wrote: Hi, do you go to the administration by clicking on the administration link ? Can you tell us which URL is used ? If you've pasted a direct URL from some documentation give us a pointer ? JV. On Sat, Nov 29, 2008 at 5:56 PM, DeVon Jarvis [EMAIL PROTECTED] wrote: I am running xwiki XE on windows 2003 on mysql 5.0. Until this weekend, we had been on 1.1.2, so I thought it was time to upgrade. I upgraded a version at a time (don't know if this was required, but I saw some versions had DB updates). Everything went fine through 1.4. When I deployed the 1.5 war, I noticed that the admin app was not there and needed to be imported. I was able to upload the xar file, but when I clicked on it to import it, I get the message No documents found in the selected archive I also tried this with the default xar and had the same issue.Thinking this was an software issue, I upgraded to 1.6.1 and had the same problem. At this point I created a 2nd database in MySQL and tried that. Still no luck. I can't import the admin or default xar files.Any ideas? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [DocsTestSite] new wiki request
Hi Jim, On Nov 29, 2008, at 11:45 PM, Jim Slaughter wrote: I would like to have a new wiki set up on the XWiki community farm. The purpose of this site will be to test out XWiki as a platform for storage and serving of business forms. I am registered on xwiki.org as jimslaughter. My proposed server name is DocsTestSite, however I am OK with another name if that is unavailable. This is more of a proof of concept site at this time. Done. Your wiki is available as http://docstestsite.myxwiki.org/xwiki/bin/view/Main/ Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Configure home page.
Hi Robert, On Dec 1, 2008, at 1:35 PM, Robert Munro wrote: Hi, How want to configure the home page to be another space, I want it to be Capita.WebHome (our companys space) instead of Main.WebHome? See http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhenyouenterhttplocalhost8080xwiki and also i want to configure this page to show after logout. is this possible? See http://www.xwiki.org/xwiki/bin/view/FAQ/howcanilinkanlogouttoanlogoutpage Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Making front page of space public
Hi Sam, Just configure the whole space to be private and edit the only the Space WebHome page. See http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement Thanks -Vincent On Dec 4, 2008, at 10:59 PM, Samuel Lee wrote: How do I make the front page of a space in an XWiki public while the rest of the space require login? Sam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Default XAR merge on import
Hi, On Dec 5, 2008, at 5:48 PM, Clemens Robbenhaar wrote: According to the installation/upgrade guide, You may want to upgrade to a newer version of the Default Wiki XAR in order to benefit from the latest changes. As mentioned above in the Installing the Default Wiki XAR section you should be very careful and when doing the import make sure you selectively decide what pages you wish to import. Is there any particularly good recommended way of doing this efficiently? [...] I would be interested in some pointers here, too. Currently for every upgrade most of the time I am busy with comparing the exported and unpacked *.xar of my wiki with the differences between the xwiki-enterprise-*.war from the corresponding releases, and update the *.xml files manually. When I reimport the changes files again in the running xwiki I always have the fear of overwriting some important local modifications, or forgot to add important updates from the release. I guess there must be better ways to do it, and maybe someone already knows one ;) Right now there are only 2 best practices: * first you should try to avoid making modification to pages bundled with the default XAR that you'd like reimport in future versions. For example if you need to change the WebSearch page you can create your own WebSearch page in your own space for example or copy it to a different name. * you could also maintain a list of default XAR pages that you have modified so that you don't overwrite them when importing a new XAR. Last there's a list of pages that you should not reimport (they are mentioned in the installation guide). Of course none of this is perfect and it won't be perfectly till we have finished the new application manager: http://dev.xwiki.org/xwiki/bin/view/Design/ApplicationManager The work for it is going to start in XE 1.8 but since it's a complex thing it'll probably be fully operational only around 1.9 or maybe even 1.10. Depends how fast we progress, the contributions, etc. I personally don't need any pretty xwiki app to do this, if I can accomplish it in my shell, it'd be fine. And barring comments, I'll try to work this up on my own. I just wondered if one day I get to the point where I could at least write an importer plugin, which accepts the pristine *.xar from the current and new release, and then updates all pages, which still have the content from the old release with the content of the corresponding page in the new release. (Well, just updating the content would not help for the Panels, which are actually the most heavily customized things in the wiki here). Though I am not there yet, partially because still have to learn the XWiki API, partially because the updates somehow went through without it. Yes it's definitely possible. You could probably even reuse the diff API to compare the versions. That said what you describe is very similar to the application manager idea we have: http://dev.xwiki.org/xwiki/bin/view/Design/ApplicationManager You are very welcome to help us design it. Thomas Mortagne and Jean- Vincent Drean are the ones who have planned looking into this during the XE 1.8 timeframe. If you have some ideas fire them here for discussion and when agree we can consolidate everything on that page: http://dev.xwiki.org/xwiki/bin/view/Design/ApplicationManager Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Removing the Register Link
Hi, We need to modify http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement to explain this. I think Jerome is working on this. Basically when you allow a right to a group it means the other groups won't have it allowed unless you explicitely allow them. I don't full remember the rationale behind this, maybe Sergiu or Ludovic can help here. That said I do agree it's not self explicit and I'd be for changing that although that would be a big change (we need to discuss it for when we're going to rewrite the authorization module). Thanks -Vincent On Dec 6, 2008, at 3:10 AM, Nick Watts wrote: I'm using XWiki Enterprise version 1.6.1.13621. I was following the instructions in the FAQ to forbid registration ( http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIForbidRegistration, which seems to be out-of-date for my version BTW) and noticed some strange behavior. I don't want anyone to self-register so I denied access in the Register column of the Rights admin page for all groups. I logged out and noticed the register link was still on the page. I tried registering a fake user and it worked. After playing around for a while I figured out that I had to actually grant Register access for the XWikiAdminGroup group to get the Register link to disappear. If I deny Register access or just leave it blank for the XWikiAdminGroup group the Register link is present and works. This is backwards to me. Without looking at the code it seems like a logical error somewhere. Could someone tell me whether I'm understanding this process correctly or not? -- Nick Watts blog: thewonggei.wordpress.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] FAQ : how to let users modify their own profile?
On Dec 7, 2008, at 10:04 PM, antoine Seilles wrote: Well i have already created a FAQ about this point. My problem is : I wan to let users modify their profile (first name, last name, company, description) but not to give them right to modify the other pages of the wiki. just don't give them edit rights and page level rights for the profile page. -Vincent Thank for your help Antoine ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] export pdf
I've just searched on google and found http://www.nabble.com/FOP-.94-Fonts-td17386501.html It seems FOP creates some font cache. Could it be that your tomcat dir doesn't have the correct permissions to that dir? Thanks -Vincent On Dec 8, 2008, at 1:00 PM, antoine Seilles wrote: I have a problem when trying to export a pdf. And i didn't find a solution in : http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration Here is my error message: [snip] java.io.FileNotFoundException: /usr/share/tomcat5.5/.fop/fop- fonts.cache (No such file or directory) at org.apache.fop.util.LogUtil.handleException(LogUtil.java:53) at org.apache.fop.fonts.FontCache.saveTo(FontCache.java:182) at Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] generic XML API snippet, and SOS
Hi Yishay, On Dec 19, 2008, at 3:54 AM, Yishay Mor wrote: I've posted a snippet: http://code.xwiki.org/xwiki/bin/view/Snippets/GenericXMLapiSnippet Which adds a very simple XML API to a site. This API allows other sites to programmaticaly query the XWiki site, and display data from it in any form they choose. You can see an example here: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/ genericXML In case you didn't know about it, all xwiki pages can be viewed as XML right (just add xpage=xml i the URL)? Then all you need is an XPath expression to query whatever part you're interested in. Or a XSL transformation to transform it into another XML document. The snippet looks cool but it's quite hard to understand what it does. Maybe you could add some more explanation and examples? I came across two problems in the process of writing this. One is general, and onw specific to my site - and fatal. the first problem is that is seems like this API can deliver protected data to a non-registered user. To avoid this on my site, I restricted it not to show classes under the XWiki space. Shouldn't this be blocked at a lower level? It's already blocked by the permission system and for password fields you shouldn't be able to see the value. If you don't want users to view some data you must make the page non viewable for them. The second problem was that I have some fields (propoerties) in some of the classes which I'm not using. Since I can't delete them, I decided to change the name to .unused and filter. However, once I did this it seems to have completly crashed the class at hand. I can't even look at the Class in the ClassEditor to delete the latest versions and go back to the latest good one. Here is the corrupted class: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass I've never seen that :) Something is indeed deeply broken since the rendering is failing to display but I don't know why. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki is deleting my pages
On Dec 29, 2008, at 5:25 PM, srferdave wrote: Asiri Rathnayake wrote: On Sat, Dec 27, 2008 at 4:37 AM, Sergiu Dumitriu ser...@xwiki.com wrote: srferdave wrote: After I stop the XWiki service. All the pages that I added are deleted. I can't even log in again. And i have to re-register and start all over. It's like everything is being refreshed when the service is stopped. Whats going on? What distribution are you using? And on what operating system? The problem is that the database is not stored back to the disk. This might happen if you put it on a readonly filesystem, or if you manually override the database between restarts. This is not a normal behavior, and it hasn't been reported by other users so far, so most likely it has something to do with your installation. Is it possible that killing the XE process (as opposed to stopping it) would cause this kind of behaviour ? May be HSQLDB doesn't get a chance to write the data back to the disk file I don't think so I've always pressed ctrl-C on windows and it has never lost anything. I think you should check the leads given by Sergiu. Thanks -Vincent I use the shortcuts created be the installation to start and stop the process. If there is another way to stop the process let me know. Otherwise, I don't think that is the issue. Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] how to remove the trailing ? the edit link
Hi Dave, On Jan 3, 2009, at 12:53 PM, couak couak wrote: Hi, How to remote the trailing ? for new pages ? I found out how to change the style in the css file but I didn't see anything about the trailing ? that I want to remove. Add display:none to the CSS for .wikicreatelinkqm Thanks -Vincent http://xwiki.com http://massol.net http://xwiki.org ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] New blog on XWiki
Just wanted to let you know I have started a new personal blog at http://massol.net which will talk a lot about XWiki (amongst other things). Hope you'll enjoy it. Thanks -Vincent http://xwiki.com http://massol.net http://xwiki.org ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] blog listing is very slow
On Jan 4, 2009, at 5:49 PM, Elek Márton wrote: Is it normal that the blog listing page (http://localhost:8080/xwiki/bin/view/Blog) is generated in 6-10 seconds if I have only one word per title/content and in 25-30 seconds if I am using some more detailed articles? I am using XWiki 1.7 with 1.0 XWiki syntax + Mysql (with indexes). Is there any solution to achieve faster performance? Performance should be sub-second (a few ms) especially when executed locally so you have a problem somewhere. Can you start by verifying if the problem is in your database, in your web server (if you have any) or in XWiki? Is this a large wiki? Thanks -Vincent http://xwiki.com http://massol.net http://xwiki.org ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] blog listing is very slow
Hi Paul, On Jan 4, 2009, at 8:18 PM, Paul Armstrong wrote: At 2009-01-04T20:08+0100, Vincent Massol wrote: On Jan 4, 2009, at 5:49 PM, Elek Márton wrote: Is it normal that the blog listing page (http://localhost:8080/xwiki/bin/view/Blog) is generated in 6-10 seconds if I have only one word per title/content and in 25-30 seconds if I am using some more detailed articles? I am using XWiki 1.7 with 1.0 XWiki syntax + Mysql (with indexes). Is there any solution to achieve faster performance? Performance should be sub-second (a few ms) especially when executed locally so you have a problem somewhere. As per this bug, this is a known problem: http://jira.xwiki.org/jira/browse/XWIKI-3022 Can you start by verifying if the problem is in your database, in your web server (if you have any) or in XWiki? Is this a large wiki? From the bug above: A load of the front page (which includes the blog on my site) takes 24,452 calls to MySQL with 22,940 calls recorded in the query log before the limit statement. I've got about 800 blog posts on my site so this seems a little excessive. During the time when it's doing the heavy querying, one core is stuck at 100% utilization. For me, it can take 20-30 seconds to load that page. The workaround I'm using is to cache the page, but that's only so effective. Unfortunately, I've got a lot of things going on so haven't thrown dtrace at it yet. If you install XWiki Enterprise you don't get this behavior so there must be something happening. Do you have a way to reproduce this starting with a clean install? Alternatively if you could attach a DB dump that reproduces the pb maybe someone here could have a look see if it can be reproduced. Paul, is this caused by the number of blog posts? Last, we have a new Blog application which is going to be released real soon now. Would be good if you could try it and see if it helps. Snapshot here: http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-blog/1.0-SNAPSHOT/ Thanks -Vincent http://xwiki.com http://massol.net http://xwiki.org ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] blog listing is very slow
On Jan 4, 2009, at 9:53 PM, Elek Márton wrote: Can you start by verifying if the problem is in your database, in your web server (if you have any) or in XWiki? I tried it in two different machine with two different configuration (tomcat + myql and the simple XWiki distribution with jetty + embedded db) but the results were the same, so I think the problem is in the XWiki. (I am planning to profile it with VisualVM or NetBeans.) The News page at XWiki.org is also rendered a little slowly for me (http://www.xwiki.org/xwiki/bin/view/Main/News?category=nbstart=4 is retrieved between 5 and 7 seconds). For xwiki.org the page is cached and it would be normal since it's remote so you need to add up network times. Is this a large wiki? Sure. We are trying to migrate a snipsnap based wiki (http://jhacks.anzix.net) to XWiki. We have about 500 blog posts and also a lot of wiki pages. Ok so that's probably the reason then. We must have some bugs in the old blog post (intensive queries) that are only visible when there are lots of blog posts. Fortunately we've fully rewritten it from scratch and improved it a lot. We're almost ready to release it. Do you think you could try it: http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-blog/1.0-SNAPSHOT/ Thanks -Vincent http://xwiki.com http://massol.net http://xwiki.org ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] removing spam
Hi Yishay, On Jan 6, 2009, at 12:14 PM, Yishay Mor wrote: My XWiki has recently been hit by spam. I found a discussion of this issue on: http://markmail.org/message/yq6kbwyxznk7nezd However, since my XWiki is on the farm, I don't have programming rights. Luckily, the spam was localized to specific pages, so I edited those, added the code below, ran in and deleted to code: #set($comments = $doc.getComments()) #foreach($comment in $comments) $doc.removeObject($comment) #end $doc.save() But I was thinking, would it be worth adding some generic spam control? Or at least bulk comment control? e.g.: * integrate http://sourceforge.net/projects/akismet-java/ * support captcha for user registration / anonymous comments * provide an interface in the admin area for selecting multiple comments deleting them with one button Yes I have been thinking about this too. Several solutions: * Integrate typepad antispam rather than Akismet: http://antispam.typepad.com/ (it has a more friendly license) * Use the system I've used on my blog at http://massol.net to allow guest users to enter comments * Implement a captcha (we have it but make it work) Is someone interested in working on this? The typepad antispam sounds the most promising to me. Thanks -Vincent http://xwiki.com http://massol.net http://xwiki.org ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki 1.6: Export a complete Space as XAR
On Jan 8, 2009, at 5:43 PM, Jerome Velociter wrote: Hello Tug, Check http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication , it makes it very easy to export a whole space. You'll need to import that XAR and then go to Admin/Export page. Reminder to self: we really need to replace/modify our default export in the admin to support selective exports. Regads, Jerome. Tugdual Grall wrote: Hello, Is it possible to export and import a full space as XAR in XWiki 1.6.x? I have tried to follow the documentation, mixing html and xar samples: http://platform.xwiki.org/xwiki/bin/view/Features/Exports doing something like http://server/xwiki/bin/export/Space/Page?format=htmlname=foopages=Space.%25 but it does not work (the export is empty, no document are created. (the Space is created) Thanks in advance tug 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] link to headlines xwiki1.7
Hi Dustin, On Jan 12, 2009, at 10:57 AM, Dustin Bensing wrote: Hi folks, i've heard that in xwiki 1.7 it is possible to link to headlines in other xwiki documents. is this information correct? i am trying to figure this out. the only way i found, is to manually attach an anchor to a headline and append this It's always been possible to link to a section header even in past versions since our headers automatically generate anchors. All you need to do is find the anchor's name. The rule is: H followed by the header without spaces. For example if you have: 1.1 Project List that'll generate an anchor named HProjectList. You can view source in your browse to see the generated anchors if you need to. So linking to it from another page would be: [labelSpace.Page#HProjectList] #anchorname at the end of the link to the file. is there any change in 1.7 of an comfortable way to do this? in the doc i found this: anchor: An optional anchor name pointing to an anchor defined in the referenced link. Note that in XWiki anchors are automatically created for titles. Example: TableOfContentAnchor. unfortunately there are no anchors automatically created for titels (btw toc isn't working, is this a hint what causes this?) I use a fresh new xwiki war deployed to a tomcat (using an old xwiki database 1.1.2.5797 with mysql) best regards ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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] [myxwiki] XWiki Enterprise 1.7.1 Upgrade
Hi Gaetan, On Jan 12, 2009, at 11:30 AM, Gaëtan GUYODO wrote: Thanks, but I tried to say that XE stable version is now 1.7.1, but XEM satble version is still 1.4.1, based on XE 1.6.2. Is there a XEM based on 1.7.1 ? I didn't found it. XEM isn't maintained any more ? I'm sorry, I just don't know. It definitely is. A new version based on 1.7.1 will be out soon. That said you can easily install XE 1.7.1 and transform it into a XEM: http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation Jean-Vincent Drean a écrit : Hello, The myxwiki.org server has been upgraded to XE 1.7.1, if you own a wiki hosted there you should have a look at : http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise171 We also recommend you upgrade to the latest wiki version. To upgrade you must download the last 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 Thanks, JV. 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] Scripting issue - xwiki
Glad you found the answer and thanks for posting the solution. -Vincent On Jan 12, 2009, at 3:37 PM, Ajdin Brandic wrote: Hi again My problem was that in my Velocity script (page3) I forgot to add $ in front of some variable names (Groovy doesn't use $) so the real values were not passed across correctly and the object was not created correctly therefore NullPointerException (Null Pointer Exception). Anyway, for those who get stuck like me, this is the correct way to include groovy class within another groovy class. Velocity script : #set($wsd = $xwiki.parseGroovyFromPage(GroovyScripts.Class1)) #set($discard2 = $wsd.setXWiki($xwiki, $context)); Groovy Class1: def groovyHTTP = xwiki.parseGroovyFromPage(GroovyScripts.Class2); //then groovyHTTP.someMethod(someParam); Groovy Class2: //some methods * Some tags: Include groovy class in velocity script, pass value from velocity to groovy * Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ajdin Brandic Sent: 12 January 2009 13:50 To: XWiki Users Subject: [xwiki-users] Scripting issue - xwiki Hi I wander if anyone can help. I have found a discussion on IRC between users asyd and lucaa but the was no answer to the problem. I have two Groovy Classes saved as two pages page1 and page2. I also have some scripting outside class in page1. So page1 class requires an instance of page2 class and I use xwiki.parseGroovyFromPage(somespace.page2) which works fine until I introduce a third page / script called page3. In page3 I use xwiki.parseGroovyFromPage(somespace.page1) REMEMBER: page1 also uses parseGroovyFromPage to call page2. I get NullPinterException when page1 class tries to access a method of page2 class. I then tried to create an instance of page1 and page 2 classes in my page3 script then pass page2 instance as parameter to page1 but still the same error. Is there any way around this except putting all content (page1 and page2) into one class? I would really appreciate some feedback. If you require the code to be sent I'll gladly do that. Thanks Ajdin B. 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. 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] Tags
Hi Ajdin, I've just tested with a 1.8-SNAPSHOT version built a few minutes ago and it worked fine. Here's what I did: 1) go to tags page. No tags showing 2) tag the home page using the information panel in edit mode 3) go back to the tags page. The new tag is showing. Thanks -Vincent On Jan 16, 2009, at 4:30 PM, Ajdin Brandic wrote: Tags facility to display all tags in XWiki is not working as I mentioned before. I would really like someone from the development team to answer this post as there are others with the same problem. I searched internet for 'xwiki tags' and 'how to use xwiki tags' but get tons of pages which display No documents have been tagged yet I created an API that searches through Tags, I added some Velocity code to view/delete tags on a page, but cannot get the system to display all tags (Well I can on v1.6 but myxwiki is using the latest version). Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Jean Couteau Sent: 29 December 2008 13:10 To: XWiki Users Subject: Re: [xwiki-users] Tags Hi Adjin, I do not know the reason, but I have exactly the same problem... Best regards, Jean Ajdin Brandic a écrit : Hi I've tried the same as below on my live site http://patternlanguagenetwork.myxwiki.org but no joy. Is there a reason why tags are not showing? I could not find any info on the web. Ajdin -Original Message- From: users-boun...@xwiki.org on behalf of Ajdin Brandic Sent: Wed 24/12/2008 12:43 To: XWiki Users Subject: [xwiki-users] Tags Hi I'm playing with tags and noticed something odd. I've added tags to a few pages but when I go to xwiki/bin/view/Main/Tags I always get message No documents have been tagged yet. To tag a document, edit it and enter the tags I've searched all the posts but found only one person having the same problem in April 2008 but no one answered. In the end I found the problem in the page itself ##set($sql = select distinct elements(prop.list) from BaseObject as obj, DBStringListProperty as prop where obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags') Note at the end and prop.id.name='tags' should be and prop.name='tags' Example: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags There are some tags added alredy but none displayed. Also is there a list of all Hibernate Object names that relate to database tables (ie. DBStringListProperty = xwikilistitems or LargeStringProperty = xwikilargestrings). I am trying to work with xwiki but its documentation is patchy and sometimes out of date so I try to find info in the database to understand xwiki structure but get stuck when I want to get some info out using HQL. I usualy spend hours looking through Volocity scripts. Ajdin Brandic Coventry University 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] Tags
On Jan 16, 2009, at 5:21 PM, Ajdin Brandic wrote: Hi Vincent I just did the same and no tags showing. If I reedit the main page the tags are clearly displayed in the tag field so they have been saved. I guess when you say 2) tag the home page using the information panel in edit mode it means simply edit with WYSIWYG or editor=wiki. Yes. I've tried both in wiki edit mode or wysiwyg mode and both worked. What DB are you using? Thanks -Vincent Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol Sent: 16 January 2009 16:13 To: XWiki Users Subject: Re: [xwiki-users] Tags Hi Ajdin, I've just tested with a 1.8-SNAPSHOT version built a few minutes ago and it worked fine. Here's what I did: 1) go to tags page. No tags showing 2) tag the home page using the information panel in edit mode 3) go back to the tags page. The new tag is showing. Thanks -Vincent On Jan 16, 2009, at 4:30 PM, Ajdin Brandic wrote: Tags facility to display all tags in XWiki is not working as I mentioned before. I would really like someone from the development team to answer this post as there are others with the same problem. I searched internet for 'xwiki tags' and 'how to use xwiki tags' but get tons of pages which display No documents have been tagged yet I created an API that searches through Tags, I added some Velocity code to view/delete tags on a page, but cannot get the system to display all tags (Well I can on v1.6 but myxwiki is using the latest version). Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Jean Couteau Sent: 29 December 2008 13:10 To: XWiki Users Subject: Re: [xwiki-users] Tags Hi Adjin, I do not know the reason, but I have exactly the same problem... Best regards, Jean Ajdin Brandic a écrit : Hi I've tried the same as below on my live site http://patternlanguagenetwork.myxwiki.org but no joy. Is there a reason why tags are not showing? I could not find any info on the web. Ajdin -Original Message- From: users-boun...@xwiki.org on behalf of Ajdin Brandic Sent: Wed 24/12/2008 12:43 To: XWiki Users Subject: [xwiki-users] Tags Hi I'm playing with tags and noticed something odd. I've added tags to a few pages but when I go to xwiki/bin/view/Main/Tags I always get message No documents have been tagged yet. To tag a document, edit it and enter the tags I've searched all the posts but found only one person having the same problem in April 2008 but no one answered. In the end I found the problem in the page itself ##set($sql = select distinct elements(prop.list) from BaseObject as obj, DBStringListProperty as prop where obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags') Note at the end and prop.id.name='tags' should be and prop.name='tags' Example: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags There are some tags added alredy but none displayed. Also is there a list of all Hibernate Object names that relate to database tables (ie. DBStringListProperty = xwikilistitems or LargeStringProperty = xwikilargestrings). I am trying to work with xwiki but its documentation is patchy and sometimes out of date so I try to find info in the database to understand xwiki structure but get stuck when I want to get some info out using HQL. I usualy spend hours looking through Volocity scripts. Ajdin Brandic Coventry University ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tags
ok have a look at http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags I copied paste the content I had for the tags page from my local wiki. 2 things could have happened (still checking): 1) the page had the wrong content 2) when I saved I saved using programming rights and that page is using some private api that requires programming rights (which you don't have) 2) is most likely. -Vincent On Jan 16, 2009, at 5:27 PM, Vincent Massol wrote: On Jan 16, 2009, at 5:21 PM, Ajdin Brandic wrote: Hi Vincent I just did the same and no tags showing. If I reedit the main page the tags are clearly displayed in the tag field so they have been saved. I guess when you say 2) tag the home page using the information panel in edit mode it means simply edit with WYSIWYG or editor=wiki. Yes. I've tried both in wiki edit mode or wysiwyg mode and both worked. What DB are you using? Thanks -Vincent Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol Sent: 16 January 2009 16:13 To: XWiki Users Subject: Re: [xwiki-users] Tags Hi Ajdin, I've just tested with a 1.8-SNAPSHOT version built a few minutes ago and it worked fine. Here's what I did: 1) go to tags page. No tags showing 2) tag the home page using the information panel in edit mode 3) go back to the tags page. The new tag is showing. Thanks -Vincent On Jan 16, 2009, at 4:30 PM, Ajdin Brandic wrote: Tags facility to display all tags in XWiki is not working as I mentioned before. I would really like someone from the development team to answer this post as there are others with the same problem. I searched internet for 'xwiki tags' and 'how to use xwiki tags' but get tons of pages which display No documents have been tagged yet I created an API that searches through Tags, I added some Velocity code to view/delete tags on a page, but cannot get the system to display all tags (Well I can on v1.6 but myxwiki is using the latest version). Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Jean Couteau Sent: 29 December 2008 13:10 To: XWiki Users Subject: Re: [xwiki-users] Tags Hi Adjin, I do not know the reason, but I have exactly the same problem... Best regards, Jean Ajdin Brandic a écrit : Hi I've tried the same as below on my live site http://patternlanguagenetwork.myxwiki.org but no joy. Is there a reason why tags are not showing? I could not find any info on the web. Ajdin -Original Message- From: users-boun...@xwiki.org on behalf of Ajdin Brandic Sent: Wed 24/12/2008 12:43 To: XWiki Users Subject: [xwiki-users] Tags Hi I'm playing with tags and noticed something odd. I've added tags to a few pages but when I go to xwiki/bin/view/Main/Tags I always get message No documents have been tagged yet. To tag a document, edit it and enter the tags I've searched all the posts but found only one person having the same problem in April 2008 but no one answered. In the end I found the problem in the page itself ##set($sql = select distinct elements(prop.list) from BaseObject as obj, DBStringListProperty as prop where obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags') Note at the end and prop.id.name='tags' should be and prop.name='tags' Example: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags There are some tags added alredy but none displayed. Also is there a list of all Hibernate Object names that relate to database tables (ie. DBStringListProperty = xwikilistitems or LargeStringProperty = xwikilargestrings). I am trying to work with xwiki but its documentation is patchy and sometimes out of date so I try to find info in the database to understand xwiki structure but get stuck when I want to get some info out using HQL. I usualy spend hours looking through Volocity scripts. Ajdin Brandic Coventry University ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tags
On Jan 16, 2009, at 5:37 PM, Vincent Massol wrote: ok have a look at http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags I copied paste the content I had for the tags page from my local wiki. 2 things could have happened (still checking): 1) the page had the wrong content 2) when I saved I saved using programming rights and that page is using some private api that requires programming rights (which you don't have) 2) is most likely. I've checked and indeed it uses a private api which requires programming rights: #set ($tags = $xwiki.search($sql)) On wiki farms only users from the master wiki have programming rights (provided they are given programming rights there). This is to prevent subwikis to do dangerous things. Thus if you modify this page (or any other page requiring programming rights) and you save it, it'll not execute correctly since the private apis won't execute. Hence on myxwiki.org you need to ask here on this list if you need someone to save some page with programming rights. Thanks -Vincent On Jan 16, 2009, at 5:27 PM, Vincent Massol wrote: On Jan 16, 2009, at 5:21 PM, Ajdin Brandic wrote: Hi Vincent I just did the same and no tags showing. If I reedit the main page the tags are clearly displayed in the tag field so they have been saved. I guess when you say 2) tag the home page using the information panel in edit mode it means simply edit with WYSIWYG or editor=wiki. Yes. I've tried both in wiki edit mode or wysiwyg mode and both worked. What DB are you using? Thanks -Vincent Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol Sent: 16 January 2009 16:13 To: XWiki Users Subject: Re: [xwiki-users] Tags Hi Ajdin, I've just tested with a 1.8-SNAPSHOT version built a few minutes ago and it worked fine. Here's what I did: 1) go to tags page. No tags showing 2) tag the home page using the information panel in edit mode 3) go back to the tags page. The new tag is showing. Thanks -Vincent On Jan 16, 2009, at 4:30 PM, Ajdin Brandic wrote: Tags facility to display all tags in XWiki is not working as I mentioned before. I would really like someone from the development team to answer this post as there are others with the same problem. I searched internet for 'xwiki tags' and 'how to use xwiki tags' but get tons of pages which display No documents have been tagged yet I created an API that searches through Tags, I added some Velocity code to view/delete tags on a page, but cannot get the system to display all tags (Well I can on v1.6 but myxwiki is using the latest version). Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Jean Couteau Sent: 29 December 2008 13:10 To: XWiki Users Subject: Re: [xwiki-users] Tags Hi Adjin, I do not know the reason, but I have exactly the same problem... Best regards, Jean Ajdin Brandic a écrit : Hi I've tried the same as below on my live site http://patternlanguagenetwork.myxwiki.org but no joy. Is there a reason why tags are not showing? I could not find any info on the web. Ajdin -Original Message- From: users-boun...@xwiki.org on behalf of Ajdin Brandic Sent: Wed 24/12/2008 12:43 To: XWiki Users Subject: [xwiki-users] Tags Hi I'm playing with tags and noticed something odd. I've added tags to a few pages but when I go to xwiki/bin/view/Main/Tags I always get message No documents have been tagged yet. To tag a document, edit it and enter the tags I've searched all the posts but found only one person having the same problem in April 2008 but no one answered. In the end I found the problem in the page itself ##set($sql = select distinct elements(prop.list) from BaseObject as obj, DBStringListProperty as prop where obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags') Note at the end and prop.id.name='tags' should be and prop.name='tags' Example: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags There are some tags added alredy but none displayed. Also is there a list of all Hibernate Object names that relate to database tables (ie. DBStringListProperty = xwikilistitems or LargeStringProperty = xwikilargestrings). I am trying to work with xwiki but its documentation is patchy and sometimes out of date so I try to find info in the database to understand xwiki structure but get stuck when I want to get some info out using HQL. I usualy spend hours looking through Volocity scripts. Ajdin Brandic Coventry University ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Strangeness with numbers...
On Jan 16, 2009, at 9:03 PM, Kevin_C wrote: Ugh, typo. Sorry. I ended up using $util.add($num, 1).. Don't use that one it's deprecated and will be removed soon. Look at your logs you should see the deprecation warning appearing. Use numbertool instead. 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] Visio diagram / map
On Jan 17, 2009, at 6:50 PM, Asiri Rathnayake wrote: Hi Mike, On Fri, Jan 16, 2009 at 6:07 PM, Mike A. _m...@inbox.lv wrote: Hi! Is it possible to import a Visio diagram (with links) into XWiki page? I mean the functionality like in Sharepoint: you save the diagram as a web page and then import it. Currently we do have a office import application (demo: http://91.121.237.216/xwiki/bin/view/XWiki/OfficeImporter) but it doesn't support visio diagrams or raw html documents. But for sure, we will support raw html documents in near future. Actually we do support raw HTML documents. Just edit a page, select the HTML 4.01 syntax, copy paste your content and hit save. Thanks. - Asiri 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] Lossing Data Changes in Version 1.7 - Why?
Hi Lee, Since we had issue with our old wysiwyg editor we've decided to rewrite it from scratch. There's a preview version of the new editor in 1.7.1 but it's not perfect and I'd suggest you wait till 1.8M1 is released (on Monday) before trying it out. It'll be final for the 1.8 final release which is planned for March 2009. To use the new editor, edit in wiki mode, select 2.0 syntax in the Information panel on the right and save. The next time you hit edit it'll use the new editor. Note that in 1.8M1 there's the first version of an automatic converter from xwiki 1.0 syntax to xwiki 2.0 syntax. Let me know if this is still not clear -Vincent On Jan 17, 2009, at 7:02 PM, Lee Chalupa wrote: Marius Dumitru Florea mariusdumitru.flo...@... writes: Sergiu Dumitriu wrote: Lee Chalupa wrote: Hello: I am relatively new to xwiki. I'm running version 1.7. Occassionally, I will make changes to a wiki page it seems to sort of flicker and all of a sudden I'm looking at a version of the page from many versions back. In other words I am losing data. I'm trying to diagnose the problem. Could it be the type of data I'm entering? It seems to happen when I'm using the wysiwyg editor? Does saved content disappear, or only changes you are making in the editor get lost during editing? Is this the old WYSIWYG editor, or the new one? What syntax appears in the Document Information panel on the right when you edit? If it's xwiki/1.0 then you're using the old WYSIWYG. ___ users mailing list us...@... http://lists.xwiki.org/mailman/listinfo/users Ok. I'm confused. I downloaded version 1.7 (enterprise). Does this version have the new wysiwyg editor? Does it also have the old version? How do I get the app to use the new version of the editor? I did find one other fact. When I select the wysiwyg editor and then try to select wiki 2.0, an error message is displayed that says these are not compatible. So I assume this is consistent with your earlier message? So what I need to know is how to enable the new version of the editor. Thanks Lee ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] some questions concerning editing pages - more specific section behaviour - XWiki 1.8M1
Hi Sebastian, On Jan 22, 2009, at 11:27 AM, Sebastian Kannengiesser wrote: Hi guys, I have some points that I don't understand in XWiki, which occur somehow like bugs to me. I just edited the WebHome article of the Main Space which came with the default XWiki-Xar-File. In that WebHome there are 2 sections defined, the first one being the started by a Title1 format caption and the second one being started by a Title2 format caption. First thing is, how can I get another section with Title2 format in that page. I couldn't find any documentation on this. When editing the page in XWiki1.0 syntax I tried to add a section by having a 1.2 prefix after the existing 1 and 1.1 section, but that results in 1.2 being printed on the resulting page instead of a Title2 headline and a new section. When I format Title2 using WYSIWYG, I get HTML syntax in Wiki-Syntax instead of 1.2 (which didn't work before). The result is, that the page has a new bold Title2 headline, but still no new section (besides the syntax being strange - HTML). Another point is, that I just reedited that page and now, after saving, the first section, the one with the Title1 headline is no longer editable. WebHome points to section 2 directly, though I still see the content in the page. Last point is: How can I get XWiki2.0 Syntax working? I enabled it in xwiki.cfg, but that doesn't seem to have any effect. See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing I really hope, you can give me some hints on my troubles. BTW, I'm using MSSQL 2000, if that could be involved in the problems. Many thanx in advance. Cheers, Sebastian ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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] some questions concerning editing pages - more specific section behaviour - XWiki 1.8M1 [partly solved]
On Jan 22, 2009, at 1:41 PM, Sebastian Kannengiesser wrote: Hi Vincent, thanks for your quick reply. Though I didn't find anything new on that page, I discovered, that I have to always write 1.1 in XWiki1.0 Syntax instead of increasing the number to 1.2. That wasn't intuitive for me in the first place. Also, XWiki2.0 Syntax seems to work now, though I asked myself, if it is possible to convert existing Syntax 1.0 articles to 2.0 articles. Good point this is not documented yet. It should go on that page too. Basically on a xwiki 1.0 page you just select the 2.0 syntax and you'll get a popup asking if you want to convert it. -Vincent What I still don't get is How to create sections - or get an edit icon at the top right at all. While the original WebHome and the edited version of it has it for each section, new pages don't get such an icon. I looked at the WebHome page and found, it is using the XWiki.ArticleClass object. Unfortunately adding this object to a new article doesn't resolve the issue. Any idea, what I might be doing wrong? Cheers Sebastian On Thu, Jan 22, 2009 at 11:34 AM, Vincent Massol vinc...@massol.net wrote: Hi Sebastian, On Jan 22, 2009, at 11:27 AM, Sebastian Kannengiesser wrote: Hi guys, I have some points that I don't understand in XWiki, which occur somehow like bugs to me. I just edited the WebHome article of the Main Space which came with the default XWiki-Xar-File. In that WebHome there are 2 sections defined, the first one being the started by a Title1 format caption and the second one being started by a Title2 format caption. First thing is, how can I get another section with Title2 format in that page. I couldn't find any documentation on this. When editing the page in XWiki1.0 syntax I tried to add a section by having a 1.2 prefix after the existing 1 and 1.1 section, but that results in 1.2 being printed on the resulting page instead of a Title2 headline and a new section. When I format Title2 using WYSIWYG, I get HTML syntax in Wiki-Syntax instead of 1.2 (which didn't work before). The result is, that the page has a new bold Title2 headline, but still no new section (besides the syntax being strange - HTML). Another point is, that I just reedited that page and now, after saving, the first section, the one with the Title1 headline is no longer editable. WebHome points to section 2 directly, though I still see the content in the page. Last point is: How can I get XWiki2.0 Syntax working? I enabled it in xwiki.cfg, but that doesn't seem to have any effect. See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing I really hope, you can give me some hints on my troubles. BTW, I'm using MSSQL 2000, if that could be involved in the problems. Many thanx in advance. Cheers, Sebastian ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net ___ 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 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] some questions concerning editing pages - more specific section behaviour - XWiki 1.8M1 [partly solved]
On Jan 22, 2009, at 2:10 PM, Sebastian Kannengiesser wrote: Hi Kevin, thanx for your answer. Yes, this helps a little and I also think, to have a seperate option of distinguishing between title and section would be nice. But, as I just wrote, here the following does not create editable sections with XWiki Syntax 2.0. = title1 = == subtitle1 == == subtitle2 == Yes this is a known limitation. We haven't implemented it yet. See http://jira.xwiki.org/jira/browse/XWIKI-2881 to follow the status. Thanks -Vincent and so forth... Can someone check this please, could be a potential bug. Cheers, Sebastian On Thu, Jan 22, 2009 at 1:58 PM, KevinC kevin.cummi...@cpa.state.tx.us wrote: What I still don't get is How to create sections - or get an edit icon at the top right at all If you are getting it on some pages then you have it turned on in the config so that's step one. Now the magic bit... Use a header for your section, any of these will create you a new section in the page that can be edited separately. 1 1.1 1.1.1 1.1.1.1 I believe all of these create new sections. To be honest, I think that this behavior is annoying. I'd much rather have a Tag or some other indicator that I want a given heading to be individually editable. There are times when I may want to use one of those headings and NOT have it create a nee editable section in the page. But that is neither here nor there... Hope this helps! .:. Kevin -- View this message in context: http://n2.nabble.com/Re%3A-some-questions-concerning-editing-pages---more-specific-section-behaviour---XWiki-1.8M1--partly-solved--tp2197512p2197585.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 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] New WYSIWYG Bug
Hi Hel, Could you create a jira issue for this? Thanks -Vincent On Jan 23, 2009, at 7:52 PM, hel-o wrote: Hi, trying the new WYSIWYG i got following szenario. Made a list with links following a line break and a description http://n2.nabble.com/file/n2205053/WYSIWYG-1.png When i open this page in WYSIWYG the links disappear http://n2.nabble.com/file/n2205053/WYSIWYG-2.png When i try to save or cancel (or anything) i get an error http://n2.nabble.com/file/n2205053/WYSIWYG-3.png hel. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Default Syntax
Hi, On Jan 25, 2009, at 6:35 PM, hel-o wrote: Hi, just wanted to know if it is possible to change the defalut syntax to 2.0. Not yet but we need to add this before 1.8 final. I've created http://jira.xwiki.org/jira/browse/XWIKI-3151 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] Continuation of numbered list after code
Hi Ken, On Jan 27, 2009, at 10:41 PM, Ken Teague wrote: M Rawash said the following on 1/27/2009 1:04 PM: yes, that does break the list, try this: 11. Step 1 {code} your code here.. {code} 11. Step 2 I'm afraid that b0rks things even more. :-( My right-side nav bar shifted to the left, ending up inside of the body of my wiki page and overlapping text. In addition to that, my {code} got stripped down to a single line and the remaining lines of code were outside of my code box. XWiki Version 0.9.840 ouch... This version is not supported anymore since... let me check... at least 2 years ago ;) I suggest migrating to 1.7.1 (might have some small issues since it's an upgrade from a very long time ago). 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] table border color - XE 1.8M1
Hi Sebastian, On Jan 28, 2009, at 10:24 AM, Sebastian Kannengiesser wrote: Hi guys, changing border color for tables (i.e setting 00 for making them black) has no effect on the table, when saving the document. (using eysiwyg editor) You need to tell us if you're using the old wysiwyg editor or the new one (when using xwiki 2.0 syntax). The old wysiwyg editor is now deprecated and all our effort is done on the new one. See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HChoosingasyntax for more details on choosing a syntax. Cheers, Sebastian PS: Should i better post to another list or preferable should i register on your jira, and post stuff there? If you're sure about a bug please post on jira.xwiki.org Thanks for asking! -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] using links in section heading makes the section-editing function inaccessable - XE 1.8M1
On Jan 28, 2009, at 5:52 PM, Sebastian Kannengiesser wrote: Hi Marius, I'm using Firefox 3.0.5 and just tested it with IE6. It is not working in either browser, both with any popup blockers disabled. Could it be I'm missing something in xwiki.cfg. BTW, XWiki/1.0 syntax appears twice in my syntax selection list. My xwiki.cfg line concernign available syntaxes looks as follows: xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, mediawiki/1.0 Any ideas? It seems you might be using XE 1.7.1 since we've fixed this problem in 1.8M1 I believe. -Vincent Thanx, Sebastian On Wed, Jan 28, 2009 at 5:22 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Sebastian Kannengiesser wrote: Thanx Marius, but switching to Syntax 2.0 makes the section editing feature completely inaccessible, as confirmed as a known issue by Vincent some days ago in that context. Sorry for that. There is still work to be done on XWiki 2.0 syntax and the new WYSIWYG, unfortunately. Furthermore, the conversion popup that Vincent mentioned does not occur here, when switching the syntax field from 1.0 to 2.0. Am I doing something wrong? Hmm, it should work.. You should be switching from within Wiki mode (I know the syntax combo is disabled in WYSIWYG mode) and the popup that asks you about the conversion should appear as you change the syntax from the combo. Maybe it's a browser issue. What browser are you using? Cheers, Sebastian On Wed, Jan 28, 2009 at 10:52 AM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Sebastian Kannengiesser wrote: I was using wysiwyg editor and syntax was set to 1.0 That's the old WYSIWYG, enabled for XWiki 1.0 syntax. It has been deprecated. You can try the new one by switching to XWiki 2.0 syntax. Thanks, Marius On Wed, Jan 28, 2009 at 10:29 AM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Hi Sebastian, Which syntax are you using? XWiki 1.0 or XWiki 2.0? Which editor are you using? Wiki or WYSIWYG? Thanks, Marius Sebastian Kannengiesser wrote: Hi guys, as mentioned in the subject, turning a section heading into a link, removes the section editing feature for the same section. Cheers, Sebastian ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Lucene search in classes
On Jan 28, 2009, at 9:00 PM, Jean-Vincent Drean wrote: It is not possible to search at the property level. I guess JV is saying it's not implemented yet but it's a good idea IMO. Juergen, you could create a jira issue for it? (http://jira.xwiki.org/jira/browse/XPLUCENE) Thanks -Vincent JV. On Mon, Jan 26, 2009 at 7:09 PM, xw...@mauhs.eu xw...@mauhs.eu wrote: Thank you for your fast response! I want to search at the TodoClass only in the field Description. Is this also possible? thanks juergen Jean-Vincent Drean schrieb: Hi, our lucene search provide this feature. Example1: object:Toto.TodoClass AND foobar Example2: http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=object%3AXWiki.XWikiUsers+AND+dreanx=12y=8 I'll have to delete the 2 useless profiles :) JV. On Mon, Jan 26, 2009 at 6:27 PM, xw...@mauhs.eu xw...@mauhs.eu wrote: Dear all, is it possible to search with the lucene search only in a selected class? e.g. I want to search in the TodoClass for Todo OR Read only in the Description class. Or is there another possibility? thanks juergen ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Changing the logo
Hi Richard, See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins#HChangingthelogofortheAlbatross2FToucanskins Thanks -Vincent On Jan 29, 2009, at 9:38 AM, goldring, richard wrote: How do you change the logo? I've copied our logo over the existing logo under the skins directory - and restarted the wiki and opened a new browser on the wiki but it still has the old logo! What am I missing? Thanks. Richard ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Pro hosting of XWiki Enterprise
Hi XWiki users, I thought some of you might be interested by the new offering from XWiki SAS (http://xwiki.com) in term of hosting. See http://www.xwiki.com/xwiki/bin/view/Services/Hosting for details. The prices have been revised down and they are now very affordable for everyone I think: - 600 euros/year (that's 50 euros/month) for companies - 300 euros/year (that's 25 euros/month) for associations. So if you want to have a ready to use wiki very quickly and you don't want to install it and maintain it yourself check it out. Of course for non business and non critical hosting we still have our free farm on http://myxwiki.org Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net PS: Some of you know me from my work on the xwiki open source project. To know more about my relationship with XWiki SAS see http://tinyurl.com/7c488p ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Admin pages...
Hi there, On Jan 30, 2009, at 9:43 PM, bretteua wrote: Is there any way to hide admin type pages from users? What I mean is that when I go to an index or search results, not only does all of the user created pages/content show up, but so does all of the admin pages and pages related to the structure of the XWiki platform. Given that some of my XWiki users are not savvy programming types, I want to avoid them even being able to see these pages. They tend to distract and confuse. Is there a way to have only end user created content appear in searches, what's new and index pages? There are several ways: 1) exclude them from the search. We already do that for several pages. For example if you go to http://localhost:8080/xwiki/bin/edit/XWiki/WebSearchCode you'll see this line: #set ($excludedWebs = doc.space'XWiki' and doc.space'Admin' and doc.space'Panels' and doc.name'WebPreferences' and) 2) Mark the pages as hidden. This is a new feature we've added in 1.8M1. We need to mark ourselves those technical pages as hidden in the default XE XAR. Especially since there's no UI to do that right now. Also note that this is a temporary hack while we work on the new model. If you really want to mark a page as hidden you can edit that page in wiki mode, type the following 2 lines, hit preview and then cancel: $doc.document.setHidden(true) $doc.save() 3) However the best solution is to move your hidden pages to the XWiki space since that space is a technical space that doesn't appear in search results as is show in 1). We normally do that for pages that we consider shouldn't appear in search results. Let us know if we missed some pages that should be hidden. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to set page break?
Hi Wahono, Basically it's an advanced feature and we're going to add support to enter parameters (such as CSS parameters) in the wysiwyg later on in XE 1.9. Thanks -Vincent On Feb 2, 2009, at 8:32 PM, Marius Dumitru Florea wrote: Hi, There's no shortcut key or tool bar entry for page break as far as I know and the reason I can think of is that this feature is not that often used. Thanks, Marius wahono wrote: From: Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Hi, Using XWiki 2.0 syntax you can write: 8 First paragraph (% style=page-break-before:always %) Second paragraph 8 See also http://www.w3schools.com/CSS/css_ref_print.asp Hope this helps, Marius Yes, it works. Why this tools doesn't included in toolbar? Or we can use shortcut key like ctrl+break as MS WOrd? Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Filtering/sorting tables on toucan skin.
Hi Jean, On Feb 4, 2009, at 11:55 AM, Jean Couteau wrote: Hi list, I tried adding filtering/sorting to tables on the toucan skin. I see that the feature is now present only on albatross skin. Is there an easy way to add it to the toucan skin ? Toucan skin extends the Albatross skin so you also have it in Toucan. What's not working? 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] Comments Attachments small size
On Feb 4, 2009, at 1:24 PM, Jerome Velociter wrote: Hernández Cuchí wrote: Hello, I would like to reduce the size of the comment/attachments/history/ Information footer. As I've seen, I would like to have it as it is shown in the botton part of http://www.xwiki.org/xwiki/bin/view/Main/WebHome That's easy: just downgrade to an older version of XWiki Enterprise ( 1.6) :P More seriously, an easy way you have to reduce the size of the footer without downgrading is to not load the initial content of the comment tab. You'll have all tabs links available, but no content under them as long as you don't click one of the tab. To do this, you have to edit the file docextra.vm under the templates/ directory in you webapp and comment or remove the following line at the end of the file : Event.observe(window, load, extraInit, false); You can also use the content from XE 1.6 into your vm file (not sure which one should be changed). Last you can disable any of the tabs if you don't want to see them. You can also make them appear on some conditions that you specify. If other users want the old style we could probably offer different variations. At least we could make it available on the code zone explaining how to set it back to what it was. -Vincent Hope this helps, Jerome. I am using the toucan skin. Thanks a lot for the help, Francisco -- Francisco Hernández Cuchí mail: francisco.hernan...@oepm.es mailto:francisco.hernan...@oepm.es ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [ANN] XWiki Enterprise 1.8 Milestone 2 Released
On Feb 4, 2009, at 2:12 PM, Thomas Mortagne wrote: The XWiki development team is pleased to announce the release of XWiki Enterprise 1.8 Milestone 2. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download Last milestone of the XWiki Enterprise 1.8 version before release candidate. Main changes: * New Wiki Dashboard * New way of displaying tags * Page loading time reduced by 30% * Improved information section in document footer * Added wiki syntax for embedded documents * Improved authentication performance for LDAP Important bug fixes: * Many bug fixes and improvements in the new GWT WYSIWYG editor * Add support for Velocity and HTML as well as many bug fixes and improvements in the XWiki syntax converter to convert from 1.0 syntax to 2.0 syntax. Note that general goals for XWiki Enterprise 1.8 are: * Office Importer * New Blog * REST API * Finish new rendering/syntax * Finish new WYSIWYG * French XE * MediaWiki import err... mediawiki import is no longer part of the general goals for 1.8... ;) For more information see the Release notes at: http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise18M2 Thanks, The XWiki dev team 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] Use lucene search as default
On Feb 6, 2009, at 10:14 AM, christophe perinaud wrote: Hello, You can edit the search panel and replace the link to the search page to the lucene one. I did like that in my wiki Also, in the 1.8 Lucene will be the default. It must be confirm by someone from the xwiki team. We'd like to make lucene search the default for some time but we still have some issues with our lucene plugin. See http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidepid=10331resolution=-1sorter/field=updatedsorter/order=DESC Thanks -Vincent 2009/2/6 Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es Hello everybody, How can i set that the search panel uses lucene search as default, instead of the normal search? Thanks Francisco ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] MIT Simile Widgets (spiffy JS Timeline/Timeplot/Timegrid) for Xwiki?
Hi Ricardo, On Feb 6, 2009, at 11:45 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Hi Niels, Thank you for your insight. I am almost sure that doc names and spaces have not inappropriate characters, but I can not be so sure about titles. My first trial following your message has been to test your code in a XWIKI ENTERPRISE 1.7-MILESTONE-3.14362 It worked without a glitch. Of course this not solve the doubt if the reason for the failure is in the contents. I think that is time to face the update process with this server and eliminate some possible causes. I need to reach the end of February with this installation untouched. I will be move then to XE 1.7.3. There's no such thing as XE 1.7.3 yet :) There's a 1.7.1 and maybe there'll be a 1.7.2 (not planned yet). Since XE 1.8 final is planned for early March I'd suggest you move to XE 1.8RC1 or RC2 at that time. Thanks -Vincent I will be back ASAP! Best, Ricardo Niels Mayer wrote: (1) check to see whether the affected tables and queries in the timeline example are actually *in* your database and that the schema hasn't changed (any xwiki experts feel free to chime in on whether this is or isn't the problem -- tho I'm pretty sure that doc.space was in 1.3...). ... and if it's not a db schema issue ... (2) It also might be a variant of the problem i found with inappropriate characters in documents, spaces and subject/titles thereof. Your error is: RCSNode Info as ni where doc.id=ni.id.doc Id and ni.id.version2=1 group by doc.space, doc.name order by max(ni.date) desc?http://xgmx.environmentalchange.net/xwiki/bin/edit/select+distinct+doc.web%2C+doc.name%2C+max%28ni.date%29+from+XWikiDocument+as+doc+%2C+XWikiRCSNodeInfo+as+ni+where+doc.id%3Dni.id.docId+and+ni.id.version2%3D1+group+by+doc.space%2C+doc.name+order+by+max%28ni/date%29+desc?parent=Timeline.ChangesList Wrapped Exception: could not resolve property: space of: com.xpn.xwiki.doc.XWikiDocument web, doc.name, max(ni.date) from com.xpn.xwiki.doc.XWiki Document as doc , com.xpn.xwiki.doc.rcs.XWiki RCSNode Info as ni where doc.id=ni.id.doc Id and ni.id.version2=1 group by doc.space, doc.name order by max(ni.date) desc?http://xgmx.environmentalchange.net/xwiki/bin/edit/select+distinct+doc.web%2C+doc.name%2C+max%28ni.date%29+from+com.xpn.xwiki.doc.XWikiDocument+as+doc+%2C+com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo+as+ni+where+doc.id%3Dni.id.docId+and+ni.id.version2%3D1+group+by+doc.space%2C+doc.name+order+by+max%28ni/date%29+desc?parent=Timeline.ChangesList @ Timeline.ChangesList 17,45?http://xgmx.environmentalchange.net/xwiki/bin/edit/Timeline/17%2C45?parent=Timeline.ChangesList From: Error number 4001 in 4: Error while parsing velocity page Timeline.ChangesList Wrapped Exception: Invocation of method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with SQL http://xgmx.environmentalchange.net/xwiki/bin/view/Timeline/ChangesList web, doc.name, max(ni.date) from XWiki Document as doc , XWiki RCSNode Info as ni where doc.id=ni.id.doc Id and ni.id.version2=1 group by doc.space, doc.name order by max(ni.date) desc?http://xgmx.environmentalchange.net/xwiki/bin/edit/select+distinct+doc.web%2C+doc.name%2C+max%28ni.date%29+from+XWikiDocument+as+doc+%2C+XWikiRCSNodeInfo+as+ni+where+doc.id%3Dni.id.docId+and+ni.id.version2%3D1+group+by+doc.space%2C+doc.name+order+by+max%28ni/date%29+desc?parent=Timeline.ChangesList Do any of your spaces (or document names) have inappropriate characters, like `` ' '' or `` ' For some reason these don't necessarily get noticed (to the point of creating problems that pop up backtraces), until you run the timeline: http://jira.xwiki.org/jira/browse/XE-376 ( characters entered as document title must be escaped or a cascade of bugs occur ). Edit/save the offending document even fixes em -- with lossage of all characters after first ' ' And all it takes is one document with one such character to make the Timeline blow up. The extra quotes could be in some innocent document made years ago... but if you accidentally quoted a phrase in a subject somewhere it triggers the error. Solution: use two single quotes, e.g. ``quoted a phrase'' ... I'm Stating #2 on remote chance my intuituion on this is correct. I didn't spend much time looking at your site to find such docs, etc...just got the error backtrace and noticed the oddness of it. Niels http://nielsmayer.com On Fri, Feb 6, 2009 at 1:41 AM, [Ricardo Rodriguez] Your EPEC Network ICT Team webmas...@environmentalchange.net wrote: Yeap, I did that, restarted Tomcat (just in case!) and saved the page as admin. Here the error: http://xgmx.environmentalchange.net/xwiki/bin/view/Timeline/ChangesList Any input will be welcome!
Re: [xwiki-users] Panel Wizard doesn't show it
Hi Antonio, On Feb 7, 2009, at 9:07 AM, Antonio Goncalves wrote: Hi, I'm using XE 1.6.2 / XEM 1.4.1 and when I click on the Panel Wizard it just doesn't show up. I click on the link, but nothing happens. hmmm we need to look into this since I've heard this problem reported twice over one week. If you agree, I'll ask Raffaello to give me the rights to go the Paris JUG wiki and try it myself from there. Is there a way to skip the wizard and set up the panels layout manually like the previous versions of XWiki ? Yes. Just go to the wiki administration page and then select edit -- Objects. Find the XWikiPreferences object and find the property for panels location and put the values you want in there. 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] Tutorial XWiki
Hi Frans, On Feb 11, 2009, at 1:42 AM, Frans Thamura wrote: hi all i am seeking free tutorial for newbies to start XWiki, anyone can give me recommendation I'm sure you've checked out http://xwiki.org. Since you're asking the question it means you haven't found your answer there unfortunately. Could you tell us exactly what you're trying to do? I'd like to ensure that the doc on xwiki.org is as easy as possible to use but I need to know what you were looking for. For example were you able to find the user guide on xwiki.org? Thanks -Vincent i am preparing to setup the content for www.jug-asia.org , an xwiki, hosted by xwiki.com -- -- Frans Thamura ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Send something by FTP in a space
Hi Herve, On Feb 11, 2009, at 9:01 AM, Hervé Agnoux wrote: Hi, I should want use XWiki as a platform to distribute java web start applications. I want some acces control : only register persons can get the jnlp and jar file. I put the jars on the server by FTP with an ant task. I edit the jnlp file on the server with vim (or KEdit, if the X server is ok). I don't want use the internal stuff in XWiki to edit or install these files, I use xwiki only to control the acces and to make a presentation page (ex : Please clic here (here), it's my very good java application) of the product. How is it possible to get the FTP transfert inside a xwiki context ? XWiki supports several remote access protocols: * XMLRPC * REST * HTTP uploads Why don't you use one of these? That would be the simplest. Another solution (but quite hacky) would be to use a groovy script to look for files in a given directory and install them somewhere in the wiki if found, and use the Scheduler to trigger this groovy script every few minutes. Again this is hacky and way less better than using REST or XMLRPC for ex. which you can trigger using a crontab that does the same thing as the groovy script but outside of xwiki. 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] Send something by FTP in a space
On Feb 11, 2009, at 9:41 AM, Vincent Massol wrote: Hi Herve, On Feb 11, 2009, at 9:01 AM, Hervé Agnoux wrote: Hi, I should want use XWiki as a platform to distribute java web start applications. I want some acces control : only register persons can get the jnlp and jar file. I put the jars on the server by FTP with an ant task. I edit the jnlp file on the server with vim (or KEdit, if the X server is ok). I don't want use the internal stuff in XWiki to edit or install these files, I use xwiki only to control the acces and to make a presentation page (ex : Please clic here (here), it's my very good java application) of the product. How is it possible to get the FTP transfert inside a xwiki context ? XWiki supports several remote access protocols: * XMLRPC * REST * HTTP uploads Forgot WebDAV too. You can probably FTP to a webDAV mount which means the files you upload will directly find their way as attachments. -Vincent Why don't you use one of these? That would be the simplest. Another solution (but quite hacky) would be to use a groovy script to look for files in a given directory and install them somewhere in the wiki if found, and use the Scheduler to trigger this groovy script every few minutes. Again this is hacky and way less better than using REST or XMLRPC for ex. which you can trigger using a crontab that does the same thing as the groovy script but outside of xwiki. Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net 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] Tutorial XWiki
Hi Frans, On Feb 11, 2009, at 3:40 PM, Frans Thamura wrote: right now i try to collect all the xwiki tutorial stuff, because we want to put xwiki as official education program in our country (indonesia) work with minstery of education Sounds very nice. We'll be glad to support you here as much as we can. If you ever need some professional support/hosting/services please check http://xwiki.com (there's a 50% discount on some services for associations). and my jug (jug indonesia and jug asia), will become the first project for us to use Xwiki Cool! my dream if this project success, we can go to xwiki module development Even nicer :) any idea for this Doc for XE: http://enterprise.xwiki.org/xwiki/bin/view/Main/WebHome Re tutorials for XE: * User Guide: - http://enterprise.xwiki.org/xwiki/bin/view/UserGuide/ - http://enterprise.xwiki.org/xwiki/bin/view/Main/Features * Admin Guide: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ * Dev Guide: http://platform.xwiki.org/xwiki/bin/view/DevGuide/ Also note that Guillaume Lerouge has just started a getting started guide that will be packaged in the XE standalone distribution in the near future: http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/ This is still a work in progress. Thanks -Vincent F 2009/2/11 Vincent Massol vinc...@massol.net: Hi Frans, On Feb 11, 2009, at 1:42 AM, Frans Thamura wrote: hi all i am seeking free tutorial for newbies to start XWiki, anyone can give me recommendation I'm sure you've checked out http://xwiki.org. Since you're asking the question it means you haven't found your answer there unfortunately. Could you tell us exactly what you're trying to do? I'd like to ensure that the doc on xwiki.org is as easy as possible to use but I need to know what you were looking for. For example were you able to find the user guide on xwiki.org? Thanks -Vincent i am preparing to setup the content for www.jug-asia.org , an xwiki, hosted by xwiki.com -- -- Frans Thamura ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Panel Wizard doesn't show it
Hi Antonio, On Feb 8, 2009, at 10:32 AM, Antonio Goncalves wrote: Yes Vincent, you can check by yourself on the Paris JUG website. I can't see any logs, I've tried with 3 different browsers but I've found a strange work around. When I am on the http://www.parisjug.org/xwiki/bin/admin/XWiki/XWikiPreferences page and that I click on Panel Wizard, nothing happens. But I can access the wizard from the page http://www.parisjug.org/xwiki/bin/view/XWiki/. Do you have any idea ? Are you sure you have upgraded the panels pages ? I've checked the page Panels.PanelWizard and its content looks old. Could you explain how you've done the last XAR upgrade? Can you try reimporting the Panels application that corresponds to you wiki version (you're on XEM 1.4.1 which means XE 1.6.2) ? I could do it but I don't know if you've changed any panels page so I'll let you do it instead. Thanks -Vincent Antonio 2009/2/7 Vincent Massol vinc...@massol.net Hi Antonio, On Feb 7, 2009, at 9:07 AM, Antonio Goncalves wrote: Hi, I'm using XE 1.6.2 / XEM 1.4.1 and when I click on the Panel Wizard it just doesn't show up. I click on the link, but nothing happens. hmmm we need to look into this since I've heard this problem reported twice over one week. If you agree, I'll ask Raffaello to give me the rights to go the Paris JUG wiki and try it myself from there. Is there a way to skip the wizard and set up the panels layout manually like the previous versions of XWiki ? Yes. Just go to the wiki administration page and then select edit -- Objects. Find the XWikiPreferences object and find the property for panels location and put the values you want in there. 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] My orphaned pages panels do not work properly
Hi, On Feb 16, 2009, at 11:46 AM, Hernández Cuchí, Francisco Ricardo wrote: Hello, I have some pages listed in the orphaned panel, but this page have a backlink in the backlink panel, so meybe I don´t understand the meaning of the orphaned pages panel, but I think that a page with a parent, is not orphaned. * orphaned means no parent. * backlinks means that some page points to you If you want no parent + no backlinks then you'd need to modify the query in your orphaned pages panel. Thanks -Vincent Here is the code of the panel: #panelheader('Páginas Huérfanas') #set ($query = where doc.parent is null or doc.parent='' and doc.name 'WebHome' order by doc.name asc) #foreach ($item in $xwiki.searchDocuments(${query})) #if ($xwiki.hasAccessLevel(view, $context.user, $ {context.database}:${item})) #set($bentrydoc = $xwiki.getDocument($item)) * [${bentrydoc.fullName}] #end #end #panelfooter() Thanks for the help, Francisco, ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Myxwiki Programming rights required
Hi Ajdin, On Feb 17, 2009, at 12:51 PM, Ajdin Brandic wrote: To myxwiki admin people Can someone reinstate/flush my progtramming rights, username: ajdinbrandic I had programming rights set up by Vincent for myxwiki.patternlanguagenetwork.org. Due to issues with upgrade I lost all rights. Now my admin rights have been reinstated but yesterday I added a new panel 'Panels.TagCloud' and it only works on Main/Tags page. The code uses code which requires programming rights. I've checked and you still have programming rights with your user from myxwiki.org. Are you sure you're logging with the correct user? In the meantime I have save the TagCloud page with my user. 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] Page layout not changing after setting it in panels page
Hi Sean, On Feb 18, 2009, at 1:25 PM, Sean Davis wrote: I have installed xwiki-enterprise-web-1.8-milestone-2 into a tomcat6 instance and cannot seem to change the page layout of one of the spaces. Changing skin colors works fine. When I go to the panels page and choose page layout, I can see the no sidebar chosen. I choose another layout without a problem and click save. This reports that the layout has been saved correctly. However, when I go to the space that I edited, I still get the no-sidebar option. Any thoughts? Was this an upgrade on a previous version of XE? If so could it be that you haven't upgraded the panels application? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Myxwiki Programming rights required
On Feb 18, 2009, at 6:08 PM, Ajdin Brandic wrote: I really think my programming rights on myxwiki are corrupt. Can someone PLEASE remove me then add me again!! U: ajdinbrandic I know I already asked you to check but once more (just in case): are you really sure you're using the user from myxwiki.org and not from patternlanguagenetwork.myxwiki.org? The one you must use to get programming rights is: http://myxwiki.org/xwiki/bin/view/XWiki/AjdinBrandic The one that doesn't have programming rights is: http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/XWiki/AjdinBrandic Thanks -Vincent Ajdin Brandic -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ajdin Brandic Sent: 18 February 2009 16:34 To: XWiki Users Subject: Re: [xwiki-users] Myxwiki Programming rights required Hi If I cannot execute $doc.saveWithProgrammingRights() (I get erors) Does this mean I do not have programming rights. Also if I write Groovy code between % and % but the code is still visible on page Does this mean I do not have programming rights? Vincent Massol or JV ? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ajdin Brandic Sent: 17 February 2009 17:51 To: XWiki Users Subject: Re: [xwiki-users] Myxwiki Programming rights required HI Also the tagcloud code might be old but is simple and uses two simple queries. Why is it deprecated snippet ? It is deprecated since there's now a tag plugin that allows to manipulate tags : - without requiring programming rights - without knowledge of the storage implementation http://code.xwiki.org/xwiki/bin/view/Plugins/TagPlugin Thank you! No reason why it should work on one page and not on another. You're right the snippet should not work on one page and not on another but it is related to a known core bug. Ok, all clear now. Thanks Ajdin ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Import/export tool
Hi, On Feb 19, 2009, at 3:40 PM, CASTRO roney wrote: Hello all, I was transferring information from an xwiki to another one using the import/export tool, and I was wondering if it is possible to export just a .xar file containing only a space within my xwiki, since I don't want to copy all information from the old wiki to this new one. For example: If I have in my xwiki the spaces A, B and C, I would like to import to my new xwiki only space A. How can I do it without having to export page by page in space A (and then having to recreate all hiperlinks) using several .xar files? Install this application http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication We need to roll this feature in by default but it's not done yet. 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] permissions/rights for printing
Hi, On Feb 20, 2009, at 1:36 AM, Henning Sprang wrote: Hi, We decided to write an online book by using xWiki as the authoring system. While we want to make it freely available, we'd like to restrict pdf and other printable output apart from plain html. (we might want to sell pdf outputs later, with watermarks, but that would be a different story - and we will probably go via Latex then). But current permissions seem only to make a distinction between view(including html, pdf, rtf, xml, ...) and edit. How would we go to add such a print right, and even differentiate pdf and .xar and other there? One easy solution I can think of would be to prevent access to them by configuring your web server to deny some actions (*/export/.). Apart from this you would have to modify some java code (the Action classes code). 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] permissions/rights for printing
On Feb 20, 2009, at 12:53 PM, Henning Sprang wrote: Hi On Fri, Feb 20, 2009 at 10:47 AM, Sergiu Dumitriu ser...@xwiki.com wrote: xwiki-core/src/main/java/com/xpn/xwiki/user/impl/xwiki/ XWikiRightServiceImpl.java, around line 106, there should be a line like: actionMap.put(pdf, view); and around line 115: actionMap.put(export, view); Thanks a lot for the detailed information! I'll be looking at it the next few days - I will finally have to start setting up a development environment for xWiki coding. A quick solution is to replace view with admin. For start that would suffice. A better solution is to replace view with export, but then you will have to also change other java code and some skin files. No problem for the long term. I'll have to change stuff in the skins anyway. I'm thinking of a better commenting system - for example like it is in the djangobook project: http://djangobook.com/en/1.0/chapter01/ This is something Lucien started to work on, see http://dev.xwiki.org/xwiki/bin/view/Design/Annotat ionFeature I don't know what's the status but if you want to help you're welcome! Does someone know where the sources are for this? 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] organize vote with XWiki
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. Thanks, Philippe 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] Changing default editor to wiki
On Feb 20, 2009, at 7:51 PM, Guillaume Lerouge wrote: Hi, On Fri, Feb 20, 2009 at 6:48 PM, Samuel Lee sam...@ncmir.ucsd.edu wrote: I would like to change the default editor (when you press the edit button) to be wiki and not wysiwyg for all users. How do I do it? Click on the Administration link at the top right of the page. Then click on the General icon. Then go to the default editor line. Select the editor of your choice. Click on Save at the bottom of the page. You're done ;-) Idea: Would be even greater to answer with a link to the doc, i.e. add it to the doc if it's not there. That way we'll improve the doc. Basically we should always answer with a link to the part of the doc answering the question as otherwise we won't improve. WDYT? Thanks -Vincent ___ 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] 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
Hi, On Feb 23, 2009, at 11:15 PM, 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 This is really puzzling. I don't understand how the guest user has obtained edit rights on some objects and not on others. Just to be on the safe side, I ran the script below: #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='Patterns.PatternClass' and obj.name 'Patterns.PatternClassTemplate') #set ($items= $xwiki.searchDocuments($hql)) #foreach ($item in $items) * $item #set ($itemDoc = $xwiki.getDocument($item)) #set ($rights = $itemDoc.getObject(XWiki.XWikiRights, true)) #set ($result = $rights.set(levels, edit)) #set ($result = $rights.set(users, XWiki.XWikiGuest)) #set ($result = $rights.set(allow, 0)) #end I don't think this is correct since you're not saving the modifications... They'll be in the cache when but they go out of the cache you'll have lost your changes. See http://code.xwiki.org/xwiki/bin/view/Snippets/SettingRightsSnippet -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Compatibility issue
Hi there, On Feb 24, 2009, at 11:23 AM, Hernández Cuchí, Francisco Ricardo wrote: Hello, I have been searching for a compatibility matrix of Xwiki, and I hadn't found if it is compatible with theses infrastructure: DB: Oracle 10g See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallandconfigureaRelationalDatabase AppServer:Oracle Weblogic 9.2 See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallandconfigureaServletContainer Would be great to make a Prerequisite page listing all prerequisites for all external dependencies (OO, DB, Container, etc). If someone wants to help this is a good area to do so :) Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrate blog posts to new blog (18RC1)
On Feb 27, 2009, at 3:26 PM, Sergiu Dumitriu wrote: hel-o wrote: Hi, how can i migrate existing blog posts to the new blog application? Visit /xwiki/bin/view/Blog/Migration using an administrator account. Hint: We need updated doc on http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication 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] Migrate blog posts to new blog (18RC1)
Hi, On Feb 27, 2009, at 3:51 PM, hel-o wrote: Thanks, worked, one more question. I used a flikr macro in my blog. As i understand the new blog application uses the new syntax. Tried to change the syntax for the http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros macro - macro didn't work. Tried to link to the http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages picture (which schoud be possible in the new syntax) - didn't work. Know Bugs or did i do something wrong? 2 things: * the new blog app doesn't use the new syntax. It's independent. * in the new syntax if you need to use an existing velocity macro that generate HTML you'll need to wrap it in html macro for now (there's an issue to fix this and thus make it easier) for ex: {{html}}{{velocity}}#flickr(...){{/velocity}}{{/html}} * for the image you need to show us what you've typed. It should work just fine. Thanks -Vincent hel. Sergiu Dumitriu-2 wrote: hel-o wrote: Hi, how can i migrate existing blog posts to the new blog application? Visit /xwiki/bin/view/Blog/Migration using an administrator account. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrate blog posts to new blog (18RC1)
On Feb 27, 2009, at 4:21 PM, Sergiu Dumitriu wrote: hel-o wrote: Thanks, worked, one more question. I used a flikr macro in my blog. As i understand the new blog application uses the new syntax. Tried to change the syntax for the http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros macro - macro didn't work. Tried to link to the http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages picture (which schoud be possible in the new syntax) - didn't work. Know Bugs or did i do something wrong? That's not true, the new application still uses the old syntax. The new one is not stable and mature enough to be the default for the wiki. I wouldn't quite say that in 1.8RC1. It's quite stable IMO and we do need people to use it to know the area that we still need to improve (the new rendering core is quite stable, probably way more than the old syntax but there are some integration parts that we probably still need to work on). And it can be set on a page by page basis so you don't have to commit your full wiki to use it. 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] Migrate blog posts to new blog (18RC1)
Hi, On Feb 27, 2009, at 6:11 PM, hel-o wrote: I try (if possible) to use only the new syntax in this wiki. And in its quite stable for most parts. The new WYSIWYG is better, but it laks functionality the old one had. Which features are you looking for that are lacking? But back to my Blog problem: http://semantic-web.hel.at/xwiki/bin/view/Blog/ flickrusertag Macro didn't work after update. When i use the velocity code the result is an error The image link and the {{velocity}} things show that no new syntax is used:wistle: Using the Macro on a normal Page works http://semantic-web.hel.at/xwiki/bin/view/Main/ So it seems no code can be used in the new Blog application Yes there seems to be some issues mixing the blog app written in 1.0 syntax with blog pages written in 2.0 syntax. I'll look into it to understand the problem. Thanks -Vincent vmassol wrote: On Feb 27, 2009, at 4:21 PM, Sergiu Dumitriu wrote: hel-o wrote: Thanks, worked, one more question. I used a flikr macro in my blog. As i understand the new blog application uses the new syntax. Tried to change the syntax for the http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros macro - macro didn't work. Tried to link to the http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages picture (which schoud be possible in the new syntax) - didn't work. Know Bugs or did i do something wrong? That's not true, the new application still uses the old syntax. The new one is not stable and mature enough to be the default for the wiki. I wouldn't quite say that in 1.8RC1. It's quite stable IMO and we do need people to use it to know the area that we still need to improve (the new rendering core is quite stable, probably way more than the old syntax but there are some integration parts that we probably still need to work on). And it can be set on a page by page basis so you don't have to commit your full wiki to use it. 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] Migrate blog posts to new blog (18RC1)
On Feb 27, 2009, at 6:24 PM, Vincent Massol wrote: Hi, On Feb 27, 2009, at 6:11 PM, hel-o wrote: I try (if possible) to use only the new syntax in this wiki. And in its quite stable for most parts. The new WYSIWYG is better, but it laks functionality the old one had. Which features are you looking for that are lacking? But back to my Blog problem: http://semantic-web.hel.at/xwiki/bin/view/Blog/ flickrusertag Macro didn't work after update. When i use the velocity code the result is an error The image link and the {{velocity}} things show that no new syntax is used:wistle: Using the Macro on a normal Page works http://semantic-web.hel.at/xwiki/bin/view/Main/ So it seems no code can be used in the new Blog application Yes there seems to be some issues mixing the blog app written in 1.0 syntax with blog pages written in 2.0 syntax. I'll look into it to understand the problem. One problem is in our xwiki syntax 1.0 to 2.0 converter. What happens is that when you convert a blog page into 2.0 syntax it calls Blog.BlogPostSheet which is in xwiki 1.0 syntax so the new include macro will automatically try to convert it to 2.0 syntax and there seems to be some problem. Raised as comments in http://jira.xwiki.org/jira/browse/XWIKI-3107 The second problem is on the blog WebHome page (which is syntax 1.0). Since some blog pages are in syntax 2.0 their content are rendered in syntax 2.0 but the syntax 1.0 page cannot display 2.0 content I'm not sure yet how to solve this one... Thanks -Vincent vmassol wrote: On Feb 27, 2009, at 4:21 PM, Sergiu Dumitriu wrote: hel-o wrote: Thanks, worked, one more question. I used a flikr macro in my blog. As i understand the new blog application uses the new syntax. Tried to change the syntax for the http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros macro - macro didn't work. Tried to link to the http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HImages picture (which schoud be possible in the new syntax) - didn't work. Know Bugs or did i do something wrong? That's not true, the new application still uses the old syntax. The new one is not stable and mature enough to be the default for the wiki. I wouldn't quite say that in 1.8RC1. It's quite stable IMO and we do need people to use it to know the area that we still need to improve (the new rendering core is quite stable, probably way more than the old syntax but there are some integration parts that we probably still need to work on). And it can be set on a page by page basis so you don't have to commit your full wiki to use it. 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] Migrate blog posts to new blog (18RC1)
On Feb 27, 2009, at 7:47 PM, hel-o wrote: Hi, vmassol wrote: Hi, On Feb 27, 2009, at 6:11 PM, hel-o wrote: I try (if possible) to use only the new syntax in this wiki. And in its quite stable for most parts. The new WYSIWYG is better, but it laks functionality the old one had. Which features are you looking for that are lacking? The new link functionality is not very handy, especially in a virtual environment (i can see all wikis, which i should not) no target option in the web link tab, limited search possibilities in wiki tab, no link to file tab ... ok. We're currently working on implementing the new dialog boxes (the ones currently in were done roughly while waiting for the new ones). If you're interested here are the mockups for the new dialog boxes: http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface Thanks -Vincent There also features that are great (listing images of all pages in the wiki) hel. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Migrate blog posts to new blog (18RC1)
On Feb 27, 2009, at 11:18 PM, Sergiu Dumitriu wrote: Vincent Massol wrote: On Feb 27, 2009, at 6:24 PM, Vincent Massol wrote: Hi, On Feb 27, 2009, at 6:11 PM, hel-o wrote: I try (if possible) to use only the new syntax in this wiki. And in its quite stable for most parts. The new WYSIWYG is better, but it laks functionality the old one had. Which features are you looking for that are lacking? But back to my Blog problem: http://semantic-web.hel.at/xwiki/bin/view/Blog/ flickrusertag Macro didn't work after update. When i use the velocity code the result is an error The image link and the {{velocity}} things show that no new syntax is used:wistle: Using the Macro on a normal Page works http://semantic-web.hel.at/xwiki/bin/view/Main/ So it seems no code can be used in the new Blog application Yes there seems to be some issues mixing the blog app written in 1.0 syntax with blog pages written in 2.0 syntax. I'll look into it to understand the problem. One problem is in our xwiki syntax 1.0 to 2.0 converter. What happens is that when you convert a blog page into 2.0 syntax it calls Blog.BlogPostSheet which is in xwiki 1.0 syntax so the new include macro will automatically try to convert it to 2.0 syntax and there seems to be some problem. Raised as comments in http://jira.xwiki.org/jira/browse/XWIKI-3107 Why does the include try to do this? The second problem is on the blog WebHome page (which is syntax 1.0). Since some blog pages are in syntax 2.0 their content are rendered in syntax 2.0 but the syntax 1.0 page cannot display 2.0 content I'm not sure yet how to solve this one... Theoretically the blog displays the content in the document's syntax, as it calls $entryDoc.getRenderedContent($entryContent, $entryDoc.syntaxId). Is there a bug here too? No it's not a bug. The problem is that to make it work we would need to modify XWiki.include() so that it doesn't aggregate content of included doc before rendering them in 1.0 syntax but instead that it uses rendered content when doing the aggregation. -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Images in links
Hi Lewis, On Feb 28, 2009, at 7:14 PM, Lewis Denizen wrote: Hi xwiki-users, In XWiki Syntax 1.0, I was able to do something like this: a href=${documentURLRoot}img src=$xwiki.getSkinFile('icons/black-file.png') alt=Root URL title=Root URL //a This would render an icon from the current skin as a link. I understand that in XWiki Syntax 2.0, there's a new form of this available: [[image:space.w...@picture.png${documentURLRoot}]] Since $documentURLRoot is velocity syntax you'd need to wrap it in {{velocity}} macro but indeed it'll still not work for the moment since the link syntax supports either absolute URL or document references but not relative paths. So right now you'd need to make documentURLRoot absolute. There are some xwiki api to do so. This works if the image exists in your document as an attachment, but doesn't work when the image link is relative to your web context: [[image:$xwiki.getSkinFile('icons/black-file.png')$ {documentURLRoot}]] Same here, the image syntax doesn't support relative paths. I guess we could improve the link and image syntax to support paths starting with / and then consider them as paths relative to the context root. However it wouldn't work for relative paths such as ../../some/path. Right now we could easily add a XWiki API to get an absolute URL from a relative one. Note that you can still use the old syntax using the {{velocity}} {{html}}a href=..{{/html}}{{/velocity}} but that's not very nice and it would be nice if it could be written using the new syntax but was made to avoid using HTML... :) Would recognizing references starting with / a good solution for you? What do others think? This renders as the following: a href=http://www.google.com/; img alt=/xwiki/skins/albatross/icons/black%2Dfile.png class=wikimodel-freestanding src=/xwiki/bin/download/XWiki/WebHome/%2Fxwiki%2Fskins%2Falbatross %2Ficons%2Fblack%252Dfile.png/ /a which is not what I expected... One workaround is to put an explicit http://server-name:port/; before the $xwiki.getSkin() call, but that ties the wiki to the server's address/port. One other interesting thing I found out was that: {{velocity}} {{html wiki=true}} BTW this is the default I think so no need to specify wiki=true AFAIR. * this works - [[image: http://localhost:8080/$xwiki.getSkinFile('icons/black-file.png')]] * this doesn't work - img src=$xwiki.getSkinFile('icons/black-file.png') {{/html}} {{/velocity}} This is not correct. The html macro must contain HTML. This is not the case in your example. You need this: {{velocity}} * this works - [[image:http://localhost:8080/$xwiki.getSkinFile('icons/black-file.png') ]] * this doesn't work - {{html}}img src=$xwiki.getSkinFile('icons/ black-file.png')/{{/html}} {{/velocity}} It seems that the HTML Macro's final filter parses this last test case as 1 BulletedListBlock and 1 XMLBlock, but I'm not sure if this the expected behavior. If this is the expected behavior, the more need to get the [[image:]] tag working... Thanks again for the great job! 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] Migrate blog posts to new blog (18RC1)
On Feb 28, 2009, at 8:35 PM, hel-o wrote: Hi, vmassol wrote: ok. We're currently working on implementing the new dialog boxes (the ones currently in were done roughly while waiting for the new ones). If you're interested here are the mockups for the new dialog boxes: http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface Thanks -Vincent looks good, but is it really the default case that you have more than one wiki. There schould at least be a setting in the configuration to enable (or disable) that. When there's only one wiki then the treeview will display the spaces at the top level. 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] Create a tree navigation
Hi, You can already use the TOC macro. See http://code.xwiki.org/xwiki/bin/view/Macros/TocMacro and http://code.xwiki.org/xwiki/bin/view/Macros/TocMacro20 Thanks -Vincent On Thu, Mar 5, 2009 at 4:02 PM, CASTRO roney roney.cas...@gemalto.com wrote: Hi, I have a space where I want to make navigation easier. So inside this space I want to create a navigation panel, containing only the Table of contents, is it possible? The best situation would be to create tree view, like a file explorer. Does anyone know how can it be done? Thanks - Roney ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Syntax problem 1.0 - 2.0
Hi, On Mar 6, 2009, at 11:02 AM, Helmut Lehner wrote: Hi Vincent I don't know if there's much we can do here since the tinymce-based wysiwyg will have saved the content of the page in HTML in your case and the converter cannot distinguish this from someone typing HTML in the page. I get this code editing a page in WYSIWYG-Mode with Syntax 1.0 and only the headings are html. The rest is wiki syntax. This behavior started somwhere around Version 1.5 i think. before headings were created correctly in wiki syntax (as the rest). If you have an idea of how to do it let us know. For me you'll need to correct the 1.0 content for your pages that have this problem. I know how to correct this i just wanted to mention that this could be a problem not only for me but for every user who creates pages in syntax 1.0 in WYSIWYG and converts them to syntax 2.0 afterwards. Yes it's a problem. One thing that can be done is to write/provide a small velocity/groovy script that scans all wiki pages and replaces the heading with the wiki syntax. The best thing would be to make the tiny mce editor create headings again in wiki syntax:) That will not solve the problem for all page contents which have now HTML for headings. The next best thing would be to convert html headings like the ones created (without class, or style information) to headings in xwiki syntax 2.0 because i think there are fewer headings created intentionally in html with that code than by accident through that editor bug. I think I'd prefer the script solution since otherwise that'll make the converter heavier and with some hacks. WDYT? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Images in links
Hi Lewis, On Mar 14, 2009, at 9:18 AM, Lewis Denizen wrote: Thanks Vincent (and sorry for the late reply!) - inlined my reply: On Sun, Mar 1, 2009 at 4:41 AM, Vincent Massol vinc...@massol.net wrote: Same here, the image syntax doesn't support relative paths. I guess we could improve the link and image syntax to support paths starting with / and then consider them as paths relative to the context root. However it wouldn't work for relative paths such as ../../some/path. Right now we could easily add a XWiki API to get an absolute URL from a relative one. Note that you can still use the old syntax using the {{velocity}} {{html}}a href=..{{/html}}{{/velocity}} but that's not very nice and it would be nice if it could be written using the new syntax but was made to avoid using HTML... :) Would recognizing references starting with / a good solution for you? What do others think? I guess checking for / at the beginning would work, or maybe some way of flagging it as a relative path would be even better (maybe something like [[image:img.png||relative=true]]). Not sure how feasible this is, or if it would make sense to do so... See the vote I've sent on this: http://tinyurl.com/c737ve This won't be in 1.8 final but will be in 1.9M1. This is not correct. The html macro must contain HTML. This is not the case in your example. You need this: {{velocity}} * this works - [[image: http://localhost:8080/$xwiki.getSkinFile('icons/black-file.pnghttp://localhost:8080/$xwiki.getSkinFile%28%27icons/black-file.png ') ]] * this doesn't work - {{html}}img src=$xwiki.getSkinFile('icons/ black-file.png')/{{/html}} {{/velocity}} It seems that the HTML Macro's final filter parses this last test case as 1 BulletedListBlock and 1 XMLBlock, but I'm not sure if this the expected behavior. If this is the expected behavior, the more need to get the [[image:]] tag working... Thanks again for the great job! Hm... kind of makes sense but, what does the wiki=true flag do, then...? It means that HTML element content can contain wiki syntax as in: elementtext with wiki syntax here/element It's also a bit problematic for me since I have the following (posting everything, since this might be useful for others as well): -- {{velocity}}#set($serverClassFullName = Server.ServerClass){{/ velocity}} {{velocity}}#set($serverDocumentSQL = select distinct doc from Document as doc, doc.object(${serverClassFullName}) as obj where obj.name '${serverClassFullName}Template'){{/velocity}} {{velocity}}#set($serverDocuments = $xwiki.queryManager.xwql($serverDocumentSQL).execute()){{/velocity}} There are currently {{velocity}}**${serverDocuments.size()}**{{/ velocity}} document(s) containing Server objects. {{velocity}} Why do you repeat the velocity macro several times? You can wrap all the macros into one single velocity macro. {{html}} This one can also be in the top level velocity macro. table id=serverList class=grid sortable filterable doOddEven tr class=sortHeader th class=selectFilterSpace/th thClass/th thServer/th th class=unsortable noFilterLink/th /tr Note that in the future we've planned to add filterable/sortable tables in the new table syntax directly. #foreach($serverDocument in $serverDocuments) #set($serverObjectSQL = select obj.hostname, obj.prettyName, obj.urlRoot, obj.hostName from Document as doc, doc.object(${serverClassFullName}) as obj where doc.id = ${serverDocument.id}) #set($serverObjects = $xwiki.queryManager.xwql($serverObjectSQL).execute()) tr td${serverDocument.space}/td td${serverDocument.name}/td td #foreach($serverObject in $serverObjects) #set($server = $listtool.get($serverObject, 0)) #set($serverPrettyName = $listtool.get($serverObject , 1)) #set($serverURLRoot = $listtool.get($serverObject, 2)) #set($serverHostName = $listtool.get($serverObject , 3)) * ${serverPrettyName} - a href=${serverURLRoot}img src=$xwiki.getSkinFile('icons/black-file.png') alt=Root URL title=Root URL //a a href=${serverHostName}img src=$xwiki.getSkinFile('icons/black-rss-mini.png') alt=Host Name title=Host Name //a #end /td td[[${serverDocument.name}${serverDocument}]]/td /tr #end /table {{/html}} {{/velocity}} This looks good. -- This will list out all the properties of Server.ServerClass for all documents that contain a Server.ServerClass object in it. I got this to work by replacing the XWiki list syntax with: td ul #foreach($serverObject in $serverObjects) #set($server = $listtool.get($serverObject, 0)) #set($serverPrettyName = $listtool.get($serverObject , 1)) #set($serverURLRoot = $listtool.get($serverObject, 2)) #set
Re: [xwiki-users] Panel Wizard doesn't show it
Hi Antonio, On Mar 14, 2009, at 10:36 AM, Antonio Goncalves wrote: So that means until the next upgrade we can't use the panel wizard ? I thought you confirmed sergiu's supposition that you had imported a XAR not matching the version installed on the farm? If so you'll need to revert it and it should work fine. If you tell us what you've done exactly maybe we can find a workaround. Is there another way to move panels around without the wizard (previous versions of XWiki had textfields for left and right panels) ? You can go the administration, then click on Edit Objects and look for left and right panels field. Thanks -Vincent Thanks, Antonio 2009/3/14 Vincent Massol vinc...@massol.net On Mar 13, 2009, at 6:19 PM, Antonio Goncalves wrote: Hi Sergiu, Our wiki instance is hosted, so what can I do to upgrade the platform to a recent version ? You can't. We do this regularly but we wait for the admin waits a bit after releases are done to upgrade. Raffaello is in charge of this farm so I'll let him answer when is the next upgrade planned. Thanks -Vincent Thanks, Antonio 2009/3/13 Sergiu Dumitriu ser...@xwiki.com Antonio Goncalves wrote: Hi, I'm not sure of what happen (our XWiki is hosted and I don't know all the admin tasks that are made), but the Panel wizard application doesn't work anymore. It looks like the XWiki version has changed (1.4.1.14796), it could be a reason. When I go to the panel wizard, I get the following at the top and cannot move any panels around. It's like the page doesn't include the needed javascript Any idea ? Thanks, Antonio Glissez et déposez les panels pour les réarranger a l'intérieur des colonnes latérales. Pour ajouter ou retirer des panels, glissez les de la liste des panels disponibles vers une colonne ou à l'inverse, d'une colonne vers la liste. $xwiki.jsfx.use(js/scriptaculous/scriptaculous.js) $xwiki.jsfx.use(js/xwiki/accordion/accordion.js) $xwiki.jsfx.use(js/xwiki/panelwizard/Drag.js) $xwiki.jsfx.use(js/xwiki/panelwizard/ieemu.js) $xwiki.jsfx.use(js/xwiki/panelwizard/toolTip.js) This means that you have imported a recent .xar, but didn't upgrade the rest of the platform accordingly. Looking at the version, I think you're talking about XWiki Enterprise Manager, which doesn't include the required plugins yet. You can either: - downgrade the wiki content to an equivalent version (XEM 1.4 uses XE 1.6) - upgrade the platform to a recent version ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
Hi, I'd like to open a new wiki named lescastcodeurs.myxwiki.org that will be used as the wiki for a new French geek podcast to be announced later. I'm taking care of this request, this is just a fyi. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Dashboard display problems in XE1.8
Hi Joshua, Please create a jira issue at http://jira.xwiki.org and attach the image to the issue. Thanks -Vincent On Mar 21, 2009, at 12:00 AM, Joshua Eastburn wrote: I just finished a standalone installation of XE 1.8 on a Windows XP SP3 system. For some reason the main Wiki Dashboard does not display correctly in Firefox or in IE (although, oddly, it is slightly better in IE). Please see the attached image. Other parts of the wiki seem to be fine. I would appreciate any help. Thanks, Josh Eastburn SAES Pure Gas, Inc. SLO, CA ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] what about task manager application and syntax 2.0
Hi Michael, On Mar 22, 2009, at 9:12 AM, Michael Beetz wrote: Hi all, Is there any roadmap to go to syntax 2.0 for the task manager application? Not planned yet but my guess would be that we'll want to convert the Default XAR to the 2.0 syntax within the coming 3-4 months. That said, we've worked hard to make 1.0 and 2.0 syntax cohabit nicely together. What about migration issues? We have a converter which you can try simply by changing the syntax in wiki edit mode. Let us know if you find any issue with it. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users