Re: [xwiki-users] Creating user using XML RPC.... and also how to add the user in default group with the xwiki all group rights via xml rpc/programmatically??
Hi Dilip, Thanks for the valuable reply. I tried your example with this set of code and password also able to create for the user. But i didnt checked whether its plain text or hashed.. I used this snippet of code XWikiObject xobj = new XWikiObject(); xobj.setClassName(XWiki.XWikiUsers); xobj.setPageId(XWiki.testuser); xobj.setProperty(first_name, Test); xobj.setProperty(last_name, User); xobj.setProperty(password, aa); rpc.storeObject(xobj); If you check the xwiki-core..jar, you can find the class com.xpn.xwiki. XWiki and method getUserClass() which has properties which you are meaning here. I hope we can use all the properties depends on our need. Thanks, Nithya. And i logined as test user and its successfully working. -- View this message in context: http://n2.nabble.com/Creating-user-using-XML-RPC-tp4669004p4701447.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
[xwiki-users] [myxwiki] new wiki request
Hello I'd like to create a wiki at myxwiki.org. It will be used for debating certain strange decisions in local government, and for collecting and organizing information about the background to these decisions, and discussing what can be done about them. Desired subdomain: slussen.myxwiki.org My username: Kafpauzo Should I give some more background? At a place in our city that is now fabulously beautiful they intend to erect horribly ugly buildings that will block a breathtaking view over lake and islands. A charming waterfront will be converted into an ugly mess. We need to explore why they're making such strange decisions, and try to get them to change them. This happens in Sweden, so the wiki will be in Swedish. You can see a half-finished version at http://slussen.wikispaces.com (prettiest in Firefox = 3.5). I started to build my wiki there, but then found that Wikispaces is not ideal for this particular kind of wiki (although it's great for many other kinds). It looks like myxwiki is better for this. Best regards Kafpauzo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Adding user to defaul group with appropriate rights through xml rpc.....
Hi, Nithya Vembu wrote: Hi All, I have created user through xml rpc. But the user dont have any rights and the user not added in the default group. how to add the user in XWiki All Group and give the rights through xml rpc?? Any idea.?? I surfed net and this nabble forum but i didnt get the solution. XWiki.XWikiAllGroup is a page like any other. Have you tried adding an object of class XWiki.XWikiGroups (set the member property to the user you want to add) to this page? It should work the same for any group. Hope this helps, Marius Thanks, Nithya. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG editor language in user interface
Hallo I made the translation in Italian of the same string.properties file and updated l10n.xwiki.org/.../Wysiwyg I hope the file will be included in one of the next release. I would like to update my xwiki but the link provided seems dead. Is there any other way? (I don't want to break my installation) (3) Build the editor yourself. For this you have to follow this steps: i) Edit http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/wysiwyg/src/main/resources/com/xpn/xwiki/wysiwyg/Wysiwyg.gwt.xml and change: extend-property name=locale values=fr,de/ to extend-property name=locale values=fr,de,sk/ If you don't need the French and the German translations then keep just yours, but note that the build time increases with the number of languages. ii) build the editor (mvn clean install) iii) update the editor in your XWiki Enterprise instance. Delete the resources/js/xwiki/wysiwyg/xwe directory from your XE instance and copy the same directory from the war generated by the build. -- View this message in context: http://n2.nabble.com/WYSIWYG-editor-language-in-user-interface-tp4440246p4702211.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG editor language in user interface
Hi, AngeloG wrote: Hallo I made the translation in Italian of the same string.properties file and updated l10n.xwiki.org/.../Wysiwyg I hope the file will be included in one of the next release. Definitely. It will be included in 2.3M1 and 2.2.3 releases. I would like to update my xwiki but the link provided seems dead. platform/web/wysiwyg module has been refactored on trunk (2.3). I suppose you're using a 2.2.x release, is that right? Then you have to checkout the editor sources from svn.xwiki.org (e.g. http://svn.xwiki.org/svnroot/xwiki/platform/web/tags/xwiki-web-2.2.2/wysiwyg/ for XE 2.2.2) and change src/main/resources/com/xpn/xwiki/wysiwyg/Wysiwyg.gwt.xml as indicated below. Is there any other way? (I don't want to break my installation) Unfortunately, the only options are: * wait for the next release * build the editor yourself (I can give you all the details you need) This limitation is due to the fact that translations are included in the generated JavaScript code when the editor is compiled. This is how GWT works. Hope this helps, Marius (3) Build the editor yourself. For this you have to follow this steps: i) Edit http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/wysiwyg/src/main/resources/com/xpn/xwiki/wysiwyg/Wysiwyg.gwt.xml and change: extend-property name=locale values=fr,de/ to extend-property name=locale values=fr,de,sk/ If you don't need the French and the German translations then keep just yours, but note that the build time increases with the number of languages. ii) build the editor (mvn clean install) iii) update the editor in your XWiki Enterprise instance. Delete the resources/js/xwiki/wysiwyg/xwe directory from your XE instance and copy the same directory from the war generated by the build. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Adding user to defaul group with appropriate rights through xml rpc.....
Hi Marius, Thanks for the reply. This is my code snippet which i tried before posting this post. XWikiObject xobj = new XWikiObject(); xobj.setClassName(XWiki.XWikiAllGroups); xobj.setProperty(member, test1); rpc.storeObject(xobj); But i am getting the error that xobj is null in rpc.storeObject(xobj).. Whether i have create some pages?? Here i want to add the user to xwikiallgroup.. Please guide me. Thanks, Nithya. -- View this message in context: http://n2.nabble.com/Adding-user-to-defaul-group-with-appropriate-rights-through-xml-rpc-tp4701451p4703643.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Adding user to defaul group with appropriate rights through xml rpc.....
On Tue, Mar 9, 2010 at 6:28 PM, Nithya Vembu nithu...@gmail.com wrote: Hi Marius, Thanks for the reply. This is my code snippet which i tried before posting this post. XWikiObject xobj = new XWikiObject(); xobj.setClassName(XWiki.XWikiAllGroups); XWiki.XWikiAllGroups is the page where to sotre the object, it's className on the other side must be XWiki.XWikiGroups xobj.setProperty(member, test1); rpc.storeObject(xobj); But i am getting the error that xobj is null in rpc.storeObject(xobj).. Whether i have create some pages?? Here i want to add the user to xwikiallgroup.. Please guide me. Thanks, Nithya. -- View this message in context: http://n2.nabble.com/Adding-user-to-defaul-group-with-appropriate-rights-through-xml-rpc-tp4701451p4703643.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
[xwiki-users] Question regarding visibility of Space indexes
Hi there, just a quick question: When I browse through a space as a non-registered user, I always see both the pages - WebHome - WebPreferences besides the other pages the owner of the space has created. Example: - I've created a space called Database - inside this space I've created a page MySQL I gave everyone View-access to the space Database However, to avoid puzzling some people, I'd like anybody *but* the Space-owner *not* to see both the pages WebHome and WebPreferences. Is there a solution for this request I've missed so far? TIA Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] FAQ bundle
Hey, The XWiki site offers a good tutorial on making an FAQ, but the FAQ on the XWiki.org site is a little different. I can't find it in the code snippets. Is it possible to see the velocity script for this FAQ or see how the search FAQ was implemented? Thanks, Felix ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] FAQ bundle
Hi Meng, On Mar 9, 2010, at 8:02 PM, Meng Wu wrote: Hey, The XWiki site offers a good tutorial on making an FAQ, but the FAQ on the XWiki.org site is a little different. I can't find it in the code snippets. Is it possible to see the velocity script for this FAQ or see how the search FAQ was implemented? http://www.xwiki.org/xwiki/bin/view/FAQ/?viewer=code Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Adding user to defaul group with appropriate rights through xml rpc.....
Hi Nithya, As Jean Vincent pointed out, following would be the modified code: XWikiObject xobj = new XWikiObject(); //Class Name is XWikiGroups xobj.setClassName(XWiki.XWikiGroups); //Host page to which we want to add the user is the Page which contains the group //In this case, XWikiAllGroup is the group to which we want to add the user //So, we would use XWiki.XWikiAllGroup Page in the wiki xobj.setPageId(XWiki.XWikiAllGroup); //Set member property as XWiki.UserName xobj.setProperty(member, XWiki.nithya); rpc.storeObject(xobj); And, for me the password update did work. For some reason, it was not working in the first attempt. Thanks for your help :) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Deleting a Page but Tag remain???
Hi there, again me: I've deleted a page which I had tagged before. So far, so good. However, within my tag-cloud the tag still shows up. When selecting this tag, I get a overview All Documents Tagged With Tag, but when I click on that tag (which belongs to the previously deleted document), I get (obviously) a message Notice The requested document could not be found. Hm... Any idea how I can remove orphaned tags? TIA Gregor PS.: If there's something in the docs what I've missed, a hint to this would also be great... -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Search class properties through XMLRPC
Hello folks, While at the topic of XMLRPC, I was trying to search for properties in a particular object. I have a customized property called UID to the XWiki.XWikiUsers class. Naturally, each user in the wiki can chose to fill this field. I have been trying to find the method in the XMLRPC api to search for all the users who have property=xyz. I checked that it is possible to search for property values using HQL in the wiki page. Is there an equivalent method to search through XMLRPC... Any help would be greatly appreciated. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki newbie question
Latest version of XWiki Enterprise MS SQL 2005 JSQLConnect JDBC Driver Tomcat 5.5.28 The initial database gets created but when I try to import the following xar file xwiki-enterprise-wiki-2.2.1.xar I start to get the following error Wrapped Exception: com.jnetdirect.jsql.JSQLException: The data types varchar and ntext are incompatible in the equal to operator. at com.jnetdirect.jsql.JSQLException.makeFromDatabaseError(JSQLException.java:85) at com.jnetdirect.jsql.IOBuffer.processPackets(IOBuffer.java:547) at com.jnetdirect.jsql.JSQLConnection.prePrepare(JSQLConnection.java:2620) at com.jnetdirect.jsql.JSQLConnection.getPreparedStatementHandle(JSQLConnection.java:2553) at com.jnetdirect.jsql.JSQLPreparedStatement.executeQuery(JSQLPreparedSt atement.java:359) Once this error has occurred, any interactions from then on essentially generate the same error. Is there something that I am missing. I'm assuming that somehow the initial config needs to be told how to create columns using ntext and not varchar I can skip importing the xar file for now but I rather like to use some of the features What I am really after is to disable registration and add the users manually with appropriate rights. Any help would be appreciated ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users