Re: [xwiki-users] Installation Issue / FAQ Tutorial
On Dec 12, 2010, at 1:59 AM, mearv...@aol.com wrote: Newbie tutorials aren't really supposed to assume anything, are they? That's why they're newbie tutorials, right? I can install the software without knowing the username/password. Why, then, would I look in the installation instructions for username/password? I cannot, however, complete the tutorial without knowing the username/password. It seems logical, then, that one would want to include all required information for completing the tutorial IN THE TUTORIAL ITSELF. Done. I've added a prereq section to the tutorial. http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial Thanks -Vincent That is all. -Original Message- From: Ricardo Rodriguez [eBioTIC.] ricardo.rodrig...@ebiotic.net To: XWiki Users users@xwiki.org Sent: Sat, Dec 11, 2010 7:47 pm Subject: Re: [xwiki-users] Installation Issue / FAQ Tutorial mearv...@aol.com wrote: Hello all. 1) Can we get the installer to run on 64-bit Windows? http://markmail.org/thread/gfyzisz2bplkh3xg 2) Can we get the FAQ tutorial updated to reflect that a) You need to be logged in with administrative privileges b) What the default admin username/password are Thanks http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HGototheClassEditorWizard Admin default password is clearly stated in the installation instructions. I think it is better not to repeat it again in the tutorial. Thanks! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] FAQ Tutorial - Editing Existing FAQ Entries?
Hi, On Dec 12, 2010, at 3:01 AM, mearv...@aol.com wrote: Hello all. I was wondering how one edits an FAQ entry after is been created? When on the FAQ.WebHome page (which contains all the FAQs I've created) how can I edit one of the existing FAQs to correct, for instance, a spelling error? I see that you can click on Edit Objects and choose the text of the FAQ. I would like the whole XWiki editing bar too. Just click the edit button itself. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Remove SPAM registration
Hi Thx Marius, The script works; select distinct doc.fullName, prop.value from XWikiDocument as doc, BaseObject as obj, StringProperty as prop, IntegerProperty as acti where obj.className='XWiki.XWikiUsers' and obj.name=doc.fullName and prop.id.id=obj.id and prop.name='first_name' and prop.value is not empty and prop.value in ( select prop.value from StringProperty as prop2 where prop2.id.id=obj.id and prop2.name='last_name' and prop2.value=prop.value) and acti.id.id=obj.id and acti.name='active' and acti.value 1 )) This script will get all documents with object of class XWiki.XWikiUsers wher first-name = last name and Active is not true Typically these tend to be SPAM users A tip I got from Ludovic is to use it in a groovy script and put it in a scheduled task A improvement would be to add doc.created date to the query so users get enough time to validate the email sended. A improvement might also be to refine the class with some constraints scripting so spamming behaviour in user registration will get error like; this type of user information is used by Spammers also; please select other ... Anybody has done this ? Gerritjan Op 11 dec 2010, om 12:19 heeft Marius Dumitru Florea het volgende geschreven: Hi Gerritjan, On 12/10/2010 10:23 PM, Gerritjan Koekkoek wrote: Hi, I'm looking to build a script that will delete all registered users from our XWiki that did not complete the registration by replying to the email and look like SPAM registration (firstname = lastname) The property of the object of XWiki.XWikiUsers - active (of type boolean) is false Now this is my first attempt to HQL and i need some help #foreach($result in $xwiki.search( select distinct doc.fullName, prop.value from XWikiDocument as doc, BaseObject as obj, StringProperty as prop, BooleanProperty as acti where obj.className='XWiki.XWikiUsers' and obj.name=doc.fullName and prop.id.id=obj.id and prop.name='first_name' and prop.value is not empty and prop.value in ( select prop.value from StringProperty as prop2 where prop2.id.id=obj.id and prop2.name='last_name' and prop2.value=prop.value) and acti.id.id=obj.id and acti.name='active' and acti.value=false )) * $result.get(0) - $result.get(1) #end BooleanProperty is a wild guess of me looking at StringProperty as a example The query should look for users where first-name = last-name and active is false If possible I would like to check if the document creation date/time is more then 8 hours old I guess you've seen http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Spam+Users but you missed http://extensions.xwiki.org/xwiki/bin/view/Extension/List+Inactive+Users . Shouldn't be hard to combine them. Hope this helps, Marius Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Lucene and log4j
Hi! Please, what how could I set XWiki to log Lucene messages at debug level? Thanks! Ricardo -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki Web Site = Slow
In case you guys didn't know the site is _crawling_ slow today. Almost like you guys are getting DDOS'd or something. BTW thanks for your help Vincent. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Lucene and log4j
Ricardo, do you have a log4.properties already existing? I have mine (probably extracted from some xwiki-core-xx.jar, in WEB-INF/classes so I can modify it (it needs to be in the root package). Then I added: log4j.logger.com.xpn.xwiki.plugin.lucene=debug This was for xwiki-1.5 but I think the class is very similar still now. paul Le 12 déc. 2010 à 12:18, Ricardo Rodriguez [eBioTIC.] a écrit : Please, what how could I set XWiki to log Lucene messages at debug level? Thanks! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Web Site = Slow
I think we have a memory issue ATM (no idea what could have caused it). I've seen permgen errors when trying to rename pages today... We should probably restart it; it'll restart by itself if it becomes slower though. Thanks -Vincent On Dec 12, 2010, at 4:41 PM, mearv...@aol.com wrote: In case you guys didn't know the site is _crawling_ slow today. Almost like you guys are getting DDOS'd or something. BTW thanks for your help Vincent. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Web Site = Slow
hmm indeed it's more than slow right now... I cannot access it. I guess it'll restart pretty soon automatically. -Vincent On Dec 12, 2010, at 7:59 PM, Vincent Massol wrote: I think we have a memory issue ATM (no idea what could have caused it). I've seen permgen errors when trying to rename pages today... We should probably restart it; it'll restart by itself if it becomes slower though. Thanks -Vincent On Dec 12, 2010, at 4:41 PM, mearv...@aol.com wrote: In case you guys didn't know the site is _crawling_ slow today. Almost like you guys are getting DDOS'd or something. BTW thanks for your help Vincent. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Web Site = Slow
On Dec 12, 2010, at 8:02 PM, Vincent Massol wrote: hmm indeed it's more than slow right now... I cannot access it. I guess it'll restart pretty soon automatically. I've restarted it. -Vincent -Vincent On Dec 12, 2010, at 7:59 PM, Vincent Massol wrote: I think we have a memory issue ATM (no idea what could have caused it). I've seen permgen errors when trying to rename pages today... We should probably restart it; it'll restart by itself if it becomes slower though. Thanks -Vincent On Dec 12, 2010, at 4:41 PM, mearv...@aol.com wrote: In case you guys didn't know the site is _crawling_ slow today. Almost like you guys are getting DDOS'd or something. BTW thanks for your help Vincent. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
Did I do this right? I am requesting a non-profit wiki. The event is to raise funds for ecological education materials in rural Guatemala. I would like to use the wiki to create an online volunteer signup sheet for jobs and commissions for a benefit music festival (www.festivalatitlan.com). I want to display tasks involved for each job/commission, and have a space for my users to sign up and enter their contact information, and to be able to see who else has signed up in that section (though not necessarily the contact info). My username is VioletaForegger, and the server name could be VoluntariosFestivalAtitlan(.myxwiki.org) Thanks Violeta Foregger Velasquez myhosting.com - Premium Microsoft® Windows® and Linux web and application hosting - http://link.myhosting.com/myhosting ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tomcat BSD Nginx
Eric, Java has a slow start. Yes that's known. But once warmed it often performs better than many other things. Maybe it helps. paul Le 11 déc. 2010 à 18:59, Eric Tse a écrit : I have now installed Nginx and done a proxy through to tomcat, its.. quite.. slow.. IMO, probably cause its Java? - Eric ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Lucene and log4j
Hi! Paul Libbrecht wrote: Ricardo, do you have a log4.properties already existing? I have mine (probably extracted from some xwiki-core-xx.jar, in WEB-INF/classes so I can modify it (it needs to be in the root package). Then I added: log4j.logger.com.xpn.xwiki.plugin.lucene=debug This was for xwiki-1.5 but I think the class is very similar still now. Up and running! Thanks! Just curiosity, please, why must we extract log4j.properties in WEB-INF/classes? Is this the way the version included in xwiki-core-xx.jar gets overwritten? Just to avoid that if you eventually extracts it again can accidentally overwrite a customized copy located in WEB-INF/lib? I think I don't understand your sentence (it needs to be in the root package). Thanks! Ricardo paul Le 12 déc. 2010 à 12:18, Ricardo Rodriguez [eBioTIC.] a écrit : Please, what how could I set XWiki to log Lucene messages at debug level? Thanks! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] lightbox and lucene
Hi! Paul Harris wrote: Hi, I had a look in the logs for something else and noticed this: 2010-12-08 16:29:50,190 [Lucene Index Updater] WARN lucene.AttachmentData - error getting content of attachment [cat2.jpg] for document [xwiki:XWiki.LightboxMacro] org.apache.tika.exception.TikaException: Can't read JPEG metadata at Tika (http://tika.apache.org) detects and extracts meta information for Lucene (the search engine XWiki is using) from a number of supported formats. It support JPGs. LightboxMacro includes two JPGs files: cat.jpg and cat2.jpg. Cat2.jpg contents much more meta information than cat.jpg (Device make, Device model, Profile name, Focal length and other stuff). By using XWiki Enterprise 2.7-SNAPSHOT.33319, I see the same error while Lucene is indexing cat2.jpg: cat.jpg gets indexed. cat2.jpg fails when extracting meta information. No errors when indexing other jpg files with much more information than cat2.jpg. I don't know yet how to know what field is referenced as Tag 9, but it seems clear that is a problem of the file. It will be great to be able to edit this meta information field, correct it and see if things done well. org.apache.tika.parser.jpeg.JpegExtractor.parse(JpegExtractor.java:60) at org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:55) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:132) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:99) at org.apache.tika.Tika.parseToString(Tika.java:267) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:161) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:136) at com.xpn.xwiki.plugin.lucene.IndexData.getFullText(IndexData.java:190) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:146) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:65) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:296) at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:237) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:171) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:153) at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99) at java.lang.Thread.run(Thread.java:662) Caused by: com.drew.metadata.MetadataException: Tag '9' cannot be cast to int. It is of type 'class [I'. at com.drew.metadata.Directory.getInt(Unknown Source) at com.drew.metadata.exif.CasioType2MakernoteDescriptor.getImageSizeDescription(Unknown Source) at com.drew.metadata.exif.CasioType2MakernoteDescriptor.getDescription(Unknown Source) at com.drew.metadata.Directory.getDescription(Unknown Source) at com.drew.metadata.Tag.getDescription(Unknown Source) at org.apache.tika.parser.jpeg.JpegExtractor.parse(JpegExtractor.java:54) ... 15 more something to be fixed? cheers Paul ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] FAQ Tutorial Follow Up
When I create the FAQ I get a screen that gives me the nice Wiki text input box and the Save Continue and Save View etc. buttons. If I wanted to modify this page how would I do it? How would I know where to modify such pages in the future so I'm not clogging up the email group with newbie questions? Ultimately I'd like to give users of a space the ability to create a tree structure for classifying their FAQs. For example, one FAQ may be related to food and one FAQ may be related to computers. I'd like to add some sort of tree hierarchy for sorting/storing the FAQs. Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users