[xwiki-users] Unable to search [unregistered and normal users]

2014-11-26 Thread Prasad Kamath
Hello , I am currently trying to setup Xwiki in my local machine and I am seeing that when I turn off admin role for un-registered and any other users that have been created , those users are unable to perform any search . Search works only when admin role is enabled for any user . Below are the d

Re: [xwiki-users] How to hide FlamingoThemes Space from users

2014-11-26 Thread D R
Thanks Vincent, hiding the color theme page worked, I created Jira http://jira.xwiki.org/browse/XWIKI-11485 to hide created color theme pages by default. BR, Dennis 2014-11-25 18:23 GMT+01:00 vinc...@massol.net : > Hi, > > On 25 Nov 2014 at 16:30:22, D R (rir@gmail.com(mailto: > rir@gma

[xwiki-users] Xwiki / accessing external SQL database / How to use SQL plugin ?

2014-11-26 Thread m...@ow2.org
Hi, We are looking for the best way to access an external SQL database using velocity exclusively (because we can't write a macro using groovy language). So, we installed and tried to use this plugin : http://extensions.xwiki.org/xwiki/bin/view/Extension/SQL+Plugin. The plugin is properly install

[xwiki-users] Include macro permission issue though page is accessible

2014-11-26 Thread D R
Hi all, I have a strange issue on XWiki 6.3 (Windows Server 2003 R2, Apache 2.4, MySQL 5, Tomcat 7). On a subwiki main page I added the include macro to display the contents of a page on the main wiki (an info box that should appear on all subwikis). The macro works logged in as the admin user bu

[xwiki-users] Error "code too large"

2014-11-26 Thread Adrien Moi
Hello ! I got a pretty long code for one of my page and I get this error : Caused by: javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! Is there any way to change the xwiki s

Re: [xwiki-users] Unable to search [unregistered and normal users]

2014-11-26 Thread Marius Dumitru Florea
I think you hit http://jira.xwiki.org/browse/XWIKI-9386 . Check who is the last user that edited the search pages (Main.Search, Main.SolrSearch). You can probably fix the problem by saving the search pages with an user that has programming rights. But the question remains: why were they saved by an

Re: [xwiki-users] Include macro permission issue though page is accessible

2014-11-26 Thread Marius Dumitru Florea
On Wed, Nov 26, 2014 at 1:18 PM, D R wrote: > Hi all, > > I have a strange issue on XWiki 6.3 (Windows Server 2003 R2, Apache 2.4, > MySQL 5, Tomcat 7). > > On a subwiki main page I added the include macro to display the contents of > a page on the main wiki (an info box that should appear on all

Re: [xwiki-users] Include macro permission issue though page is accessible

2014-11-26 Thread D R
Sometimes it's the small things. Using the wiki reference lowercase did the trick, thanks :) 2014-11-26 15:44 GMT+01:00 Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com>: > On Wed, Nov 26, 2014 at 1:18 PM, D R wrote: > > Hi all, > > > > I have a strange issue on XWiki 6.3 (Windows Server 2

[xwiki-users] Search subwikis from main wiki

2014-11-26 Thread D R
Hi, is there a way to make the search function on the main wiki also search inside subwikis? Couldn't find something in the documentation. Thanks in advance, Dennis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Error "code too large"

2014-11-26 Thread Thomas Mortagne
This is not a XWiki setting but a bug/limitation of the Java implementation of whatever script language you used. If you are talking about python (looks a lot like the error you would get with Jython) the issue to follow would be http://bugs.jython.org/issue1891. On Wed, Nov 26, 2014 at 1:01 PM,

Re: [xwiki-users] Search subwikis from main wiki

2014-11-26 Thread Thomas Mortagne
Well that's exactly what the default search is doing by default. You then get on the right a filter where you can select which wiki's result you want to keep. On Wed, Nov 26, 2014 at 4:12 PM, D R wrote: > Hi, > > is there a way to make the search function on the main wiki also search > inside sub

[xwiki-users] Configuring Social Login Extension for Google

2014-11-26 Thread Jamal
I want to use the Social Login extension to allow users to log in with their Google credentials. I have a couple of questions about generating OAuth key/secret pairs from the Google Developer Console 1. What API should I use for login only? Google recommends the Google+ API. Will that work? 2. I

[xwiki-users] Missing Edit options

2014-11-26 Thread Bryn Jeffries
I have an instance of XWiki Enterprise 6.3 running with no access for unregistered users. I am adding content as a user with membership to XwikiAdminGroup, which has admin and program rights across the wiki. I wanted to add a Groovy component by creating a new page and then editing the object p

[xwiki-users] Stéphane LASSIRE est en formation

2014-11-26 Thread Stéphane LASSIRE
Je serai absent(e) à partir du 27/11/2014 de retour le 01/12/2014. je suis en formation. Je répondrai à vos messages dès mon retour. En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56. Merci ___ users mailing list users@xwiki.org

[xwiki-users] Registering components

2014-11-26 Thread Bryn Jeffries
Having been put off writing Java components a number of times I've decided to really tackle the problem head on. I would greatly appreciate any help in this. I've been following the advice in http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents and I have compiled a Jar identical

[xwiki-users] Getting user name with a Java Component

2014-11-26 Thread Bryn Jeffries
What's the right way to get the current user from the execution context within a Java component? Taking the example from the guide (http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents) I thought it would be something like the following, which won't compile for me due to the get

Re: [xwiki-users] Missing Edit options

2014-11-26 Thread Manuel Smeria
Hello Bryn, In order to have multiple Edit choices you need to change your user type to Advanced. You can find more information about this feature here: http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HAdvancedMode Thanks, Manuel On Thu, Nov 27, 2014 at 1:36 AM, Bryn Jeffries wro

Re: [xwiki-users] Getting user name with a Java Component

2014-11-26 Thread Thomas Mortagne
Looks like you did not read http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents#HTheXWikicontext fully and are mixing ExecutionContext and XWikiContext, ExecutionContext does not have any typed methods, it's just a map basically and most of the time you don't really use it directly

Re: [xwiki-users] Registering components

2014-11-26 Thread Thomas Mortagne
What you have in XE_WAR_HOME/WEB-INF/lib is loaded by Tomcat at startup, there is not much XWiki can do about it. But you can install your jar as an extension using Extension Manager as long as it's on some supported repository (which mean a Maven repository or XWiki repository, see http://extensi

Re: [xwiki-users] Registering components

2014-11-26 Thread Thomas Mortagne
On Thu, Nov 27, 2014 at 8:36 AM, Thomas Mortagne wrote: > What you have in XE_WAR_HOME/WEB-INF/lib is loaded by Tomcat at > startup, there is not much XWiki can do about it. > > But you can install your jar as an extension using Extension Manager > as long as it's on some supported repository (whi