Hello all, I previously had an error with inputing JCaptcha on the register page. I figured out how to enable this plugin and I successful have it on the register page and it validates the captcha. (Meaning if it is wrong it throws an error code and if it is correct it registers user). The problem I am facing now is that even though it throughs an error code, it still registers the user. Do anyone have any insight on why it might be doing this? I am pasting my code below to better help the solution of this problem.
Tim Campbell
Junior, Computer Science-Ecommerce major
Winston Salem State University
tcampbell106(a)wssu.edu
(704) 877-2261
<h1>$msg.get("core.register.title")</h1>
## declare the plugin
#set($captchaPlugin = $xwiki.jcaptcha)
#if ($captchaPlugin && $reg)
##call the verifyCaptcha
#if($captchaPlugin.verifyCaptcha("edit"))
##register the user
#$xwiki.createUser(false)
#else
##display some error
#error("$msg.get('core.register.registerFailed', [$reg])")
#end
#end
#if(!$xwiki.hasAccessLevel("view","XWiki.Registration")||$xwiki.getDocument("XWiki.Registration").isNew())
#if(!$reg||$reg<0)
<p>$msg.get("core.register.welcome")</p>
#if($reg && $reg<=0)
#if($reg==-2)
#error("$msg.get('core.register.passwordMismatch')")
#elseif($reg==-3)
#error("$msg.get('core.register.userAlreadyExists')")
#elseif($reg==-4)
#error("$msg.get('core.register.invalidUsername')")
#elseif($reg==-8)
#error("$msg.get('core.register.userAlreadyExists')")
#elseif($captchaPlugin != "edit")
#error("$msg.get('core.register.registerFailed', [$reg])")
#else
#error("$msg.get('core.register.registerFailed', [$reg])")
#end
#end
#elseif($reg && $captchaPlugin.verifyCaptcha("edit"))
#set($xwname = "XWiki.${request.xwikiname}")
#info("$msg.get('core.register.successful', [$xwiki.getUserName($xwname), $request.xwikiname])")
#end
#if(!$reg||$reg<0)
<form id="register" action="verifyCaptcha" method="post">
<div>
#set($captchaPlugin = $xwiki.jcaptcha)
#if ($captchaPlugin)
##call the displayCaptcha pass the class name as "register_captcha" which should map to the css classname to render the image
##pass the name as edit
##and under http://<host>:<port>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object&
##under XWiki.XWikiPreferences[0]: XWiki.DefaultSkin select the values for Anonymous: and Registered: as image or text
<input type="hidden" name="template" value="XWiki.XWikiUserTemplate" />
<input type="hidden" name="register" value="1"/>
#set($class = $xwiki.getClass("XWiki.XWikiUsers"))
#set($obj = $class.newObject())
#set($serverobj = $class.newObject())
#set($discard = $doc.use("XWiki.XWikiUsers"))
#if($request.register_first_name)
$doc.set("first_name", $request.register_first_name)
#end
#if($request.register_last_name)
$doc.set("last_name", $request.register_last_name)
#end
<dl>
#set($prop = $class.first_name)
<dt>$msg.get("core.register.firstName")</dt>
<dd>$doc.displayEdit($prop, "register_", $obj)</dd>
#set($prop = $class.last_name)
<dt>$msg.get("core.register.lastName")</dt>
<dd>$doc.displayEdit($prop, "register_", $obj)</dd>
<dt>$msg.get("core.register.username")</dt>
<dd><input name="xwikiname" type="text" size="20" onfocus=" prepareName(document.forms.register);" /></dd>
#set($prop = $class.password)
<dt>$msg.get("core.register.password")</dt>
<dd>$doc.displayEdit($prop, "register_", $obj)</dd>
<dt>$msg.get("core.register.passwordRepeat")</dt>
<dd>$doc.displayEdit($prop, "register2_", $obj)</dd>
#set($prop = $class.email)
<dt>$msg.get("core.register.email")</dt>
<dd>$doc.displayEdit($prop, "register_", $obj)</dd>
$captchaPlugin.displayCaptcha("edit","register_captcha")
#end
</dl>
<span class="buttonwrapper"><input type="submit" value="$msg.get("core.register.submit")"/></span>
</div>
</form>
#end
#else
$xwiki.getDocument("XWiki.Registration").getTranslatedDocument().getRenderedContent()
#end
##end
In possible please shift the invitation manager plugin to platform plugins
section first, so that it is at central location, available to be built for
any product.
Thanks
Sachin
------------------------------
>
> Message: 8
> Date: Fri, 21 Mar 2008 20:56:15 +0100 (CET)
> From: "Jerome Velociter" <jerome(a)xwiki.com>
> Subject: Re: [xwiki-users] Invite new users in XWiki Workspaces
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID: <58476.83.195.219.126.1206129375.squirrel(a)mail.xwiki.com>
> Content-Type: text/plain;charset=iso-8859-1
>
> > This feature addresses a common use case and is planned though not
> > implemented yet. Please consider the fact that XWS is still under
> > heavy development & in pre-release phase ;-) Thanks for the feedback !
> > Guillaume
>
> Indeed, our plan is to integrate XWS with the invitation-manager plugin
> (
> http://fisheye2.cenqua.com/changelog/xwiki/xwiki-products/curriki/trunk/plu…
> ).
> This will happen after XWS 1.0 final, though.
>
> Jerome.
>
> >
> > On 21/03/2008, Mike Oliver <moliver(a)corenttech.com> wrote:
> >>
> >>
> >>
> >> Jerome Velociter-2 wrote:
> >> >
> >> >
> >> > If you are a workspace admin, click "Space administration" in the
> >> space
> >> > left menu, then "Space members" in the administration menu. You can
> >> now
> >> > add members of the wiki to the space, by giving them a role (admin,
> >> writer
> >> > or reader).
> >> >
> >> > Hope this helps, Regards
> >> > Jerome.
> >> >
> >> Well no it doesn't actually. Perhaps it is my inadequate use of
> >> terminology.
> >>
> >> I create a new XWS in my domain and Admin / admin is the first user and
> >> I
> >> create the Organization space.
> >>
> >> I can create workspaces under that instance and add users. I can make
> >> one
> >> or more of those users Admins on one or more of the workspaces. But I
> >> see
> >> no way for those Admins on those spaces to Register new users unless I
> >> make
> >> them Admins on the whole XWS, I don't want to have a space admin
> >> administering the whole Place and I don't want to register all the
> users
> >> anybody could possibly want in their department or project workspaces.
> >> I
> >> would like the ability to send an email invite from a workspace
> >> administrator and let the recipient register and that admin grant the
> >> access
> >> to that workspace ONLY.
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Invite-new-users-in-XWiki-Workspaces-tp16198814p16205…
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> > --
> > http://wikibc.blogspot.com/
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
>
> ------------------------------
>
> Message: 9
> Date: Fri, 21 Mar 2008 15:42:40 -0700 (PDT)
> From: Mike Oliver <moliver(a)corenttech.com>
> Subject: Re: [xwiki-users] new applications for Workspaces
> To: users(a)xwiki.org
> Message-ID: <16210365.post(a)talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
>
>
> Mike Oliver wrote:
> >
> >
> > Ok, what about a middle ground? Say a way to easily allow access
> through
> > from XWS to (wiki apps), perhaps another panel on the left for "Other
> > Apps" and a tutorial on building that?
> >
> > I look forward to adding what you desribe, but I can wait for that, I
> just
> > need a couple of things. I don't want to go to XE and build my own XWS
> > just so I can get a couple of other things.
> >
> >
>
> Ok, so how would we do this? We install XE and we Create Spaces that are
> themselves XWS roots that look and act just like stand alone XWS spaces
> and
> can have their own little sets of users and we can build applications in
> the
> super XE and expose those in pages on the child XWS spaces The Admin for
> the
> space created on XE would then be able to invite users and auto register,
> etc.
>
> XE with wiki apps and XWS as spaces on that XE. What would it take?
>
> Ollie
>
> --
> View this message in context:
> http://www.nabble.com/new-applications-for-Workspaces-tp16190336p16210365.h…
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 8, Issue 99
> ************************************
>
Hi all,
I've create two new skins based on albatross and applied them to a
virtual wiki. Once of them only applies to the home page following a
method proposed by Guillaume in a previous thread and the other one to
the rest of the site.
I have no problems while accessing the site as guest or logged with an
user with administration rights. But any other user didn't use the set
skin but toucan. There is a error message recorded in the log...
2008-03-22 00:29:54,384
[http://localvirtualwiki/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-80-3] ERROR log.SimpleLog4JLogSystem - Method sendRedirect
threw exception for reference $response in template /templates/login.vm
at [15,38]
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'sendRedirect' in class com.xpn.xwiki.web.XWikiServletResponse
threw exception java.lang.IllegalStateException @ /templates/login.vm[15,48]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1415)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:108)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:199)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.IllegalStateException
at
org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435)
at
com.xpn.xwiki.web.XWikiServletResponse.sendRedirect(XWikiServletResponse.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 34 more
sh-3.2#
Please, does this make any sense for you? Must I set any particular
rights on the customized skins? I've tried this without success.
Thank you so much,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi,
I'm new to XWiki and Velocity too,
I don't understand how to set a new skin by the "Edit object" page.
Can anyone help me to solve this issue? At the moment I'm trying to modify the Albatross skin by css... I know there is a better way to do this... but after I've read the guide I'm not able to do.
I ask if someone can explain me by example...
Thanks a lot,
Riccardo.
Riccardo Grazioli
grazioli(a)adacto.it
Web Developer
------------------------------------------
Please, does export utility export (sic) a document with its history? I
have tried here (XE 1.3) and it seems to export only the current version
of the document.
Is there any way of moving a given document to a different installation
including its whole history?
Thanks!
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi,
Right now I'm just playing around with xwiki, so please forgive me if I
missed the obvious solution/option to my question:
Why is xwiki showing items to users who don't have the right to see the page
anyway? Ie. the "Index" page or the "What's new" section.
Wouldn't it be better to show the user only things he can access, too? This
way the "Index" page would make way more sense and the "What's new" section
wouldn't show unimportant changes to the user (from his POV).
WDYT?
--
View this message in context: http://www.nabble.com/Why-showing-items-where-no-access--tp16149729p1614972…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Trying to answer to Vincent about Toucan use I am facing a problem while
updating a 1.3M1 to 1.3M2 in my test box.
Here the error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception while updating
archive XWiki.XWikiPreferences
Wrapped Exception: Error number 3212 in 3: Exception while loading
archive 104,408,758
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Null value was assigned to a property of primitive
type setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.diff
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
I am using the same MySQL connector than with 1.3M1,
mysql-connector-java-5.1.5-bin, and hibernate has been edited to
uncomment and set up a MySQL connection. I noticed that hibernate
includes a new line (or at least it is I think the first time I read it)
in the MySQL configuration comment:
We need to set the sql_mode to a less strict value, see XWIKI-1945
And connection.url is slightly different:
jdbc:mysql://localhost/xwiki?useServerPrepStmts=false&sessionVariables=sql_mode=''
Perhaps I am doing something wrong, but I think I am following the same
proces I've used before.
Thanks for your help,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
We are trying to get the smtp send notifications working in XWiki Workspaces
with no luck
When we tried to send via gmail with a gmail account we get.
Error number 10006 in 10: Could not send mail to server smtp.gmail.com
port 25 error code 530 (530 5.7.0 Must issue a STARTTLS command first
k26sm4233753waf.8
)
com.xpn.xwiki.XWikiException: Error number 10006 in 10: Could not send mail
to server smtp.gmail.com port 25 error code 530 (530 5.7.0 Must issue a
STARTTLS command first k26sm4233753waf.8
)
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3017)
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3051)
When we try to send via an unauthenticated smtp server (hiding actual ip
address with nnn but it is a valid smtp server address on our lan) we get.
Error number 10005 in 10: Could not login to mail server 61.11.73.nnn port
25 error code 501 (501 5.5.4 Invalid Address
)
com.xpn.xwiki.XWikiException: Error number 10005 in 10: Could not login to
mail server 61.11.73.nnn port 25 error code 501 (501 5.5.4 Invalid Address
)
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3007)
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3051
Can sendMessage use an unauthenticated smtp server?
Can sendMessage use an SSL smtp server?
<http://www.corenttech.com>
On Demand Solutions On Demand
Michael Oliver
Chief Technology Officer
Corent Technology
<http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=3600+W+Florida+Ave&csz=Hemet
%2C+CA+92545&country=us> 3600 W Florida Ave
#340
Hemet, CA 92545
<mailto:moliver@corenttech.com> moliver(a)corenttech.com
<http://www.corenttech.com> http://www.corenttech.com
AIM: moliver(a)corenttech.com
tel:
fax:
mobile:
Skype ID:
<http://www.plaxo.com/click_to_call?src=jj_signature&To=949-547-5700&Email=m
oliver(a)corenttech.com> 949-547-5700
7029740341
<http://www.plaxo.com/click_to_call?src=jj_signature&To=949-547-5700&Email=m
oliver(a)corenttech.com> 949-547-5700
MikeOliverAZ
<https://www.plaxo.com/add_me?u=55837372229&src=client_sig_212_1_banner_join
&invite=1> Want to always have my latest info?
<http://www.plaxo.com/signature?src=client_sig_212_1_banner_sig> Want a
signature like this?
View <http://corenttech.ning.com/xn/detail/u_25igigalsj1dt> my page on
Corent Technology
View my page <http://linkedinspin.ning.com/xn/detail/u_25igigalsj1dt> on
CMU SEI LinkedIn SPIN
Hi.
I have a javascript with an 'onload' which I only want to be loaded on
a single certain page.
I have achieved this by putting an
<script type="text/javascript">
[...]
window.onload=someFunction();
[...]
</script>
on the beginning of the page, on wiki edit mode.
However, this doesn't seem very clean to me. Is there a better way to
do it? If so, how?
regards,
Joao
Has anyone recently tried the Excel plug-in on Xwiki 1.3 (standalone)?
Installation
Download the Java Excel API <http://jexcelapi.sourceforge.net/> and
copy the jxl.jar file to the %xwikipath%/WEB-INF/lib/ directory of your
xwiki installation.
Edit your WEB-INF/xwiki.cfg file as follows:
xwiki.plugins=[...],edu.uci.ics.mondego.wiki.plugin.excel.ExcelPlugin
Copy the plugin jar
<http://code.xwiki.org/xwiki/bin/view/Plugins/ExcelPluginDownload> to
the %xwikipath%/WEB-INF/lib/ directory of your xwiki installation.
Restart your XWiki instance
I used the plug-in from the first link (version 2.6.6.), and xwiki
adapter in the second link - and it didn't behave well at all..
Do I need to stay with all the components under
http://code.xwiki.org/xwiki/bin/view/Plugins/ExcelPluginDownload ?
--
Jim Dowson
CTO, Global Services, EMC Corporation
Linx: (617) 598-0505
hi,
I've been learning XWiki in this few days. XEclipse looks like a very useful
tool. Just a few questions:
1. Some folders cannot be expanded. e.g. XWS, XWSCode, it seems only
folder with valid page(s) can be opened. Is it a bug or it is designed in
this way? Under XWSCode, there should be something inside it as I can edit
in the web interface (e.g. /xwiki/bin/edit/XWSCode/MySpacesCode)
2. If I want to massively delete objects, is XEclipse suppose to be
the most convenient way? when i'm evaluating, I keep removing and re-import
pages. It would be great if the XWiki explorer support using Ctrl key to
select multiple folder/page. Should I add a Jira new feature request?
3. Is the security permission in XEclipse identical to the web? it's
better to me if it hides all folder and pages that the user is not
accessible. I tried to connect to www.xwiki.org with XEclipse and I
think most folders are expandable except the admin folder. Am i correct that
if all pages under a folder is not accessible, the folder is not expandable?
I suppose the /xmlrpc/ path shall be strictly limited from public Internet
anyway. It looks like a security risk.
Thank you.
Regards,
mingfai
thx JV, the shorturl link is exactly what I need.
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
The first thing I try is the application name / context path. I made it the
root application and changed the displayname accordingly. And I've cleared
all cache and restarted already. Looks like the displayname parameter
doesn't take effect. The following are the html code the site generates:
*<link rel="alternate" type="application/rss+xml" title="Wiki Feed
RSS" href="/xwiki/bin/view/Main/WebRss?xpage=rdf" />
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed"
href="/xwiki/bin/view/Main/BlogRss?xpage=rdf" />
<script type="text/javascript" src="/bin/skins/workspaces/xws.js"></script>
<link href="/bin/bin/skin/skins/albatross/css/lightbox/lightbox.css"
rel="stylesheet" type="text/css" />
<link href="/bin/bin/skin/skins/workspaces/style.css" rel="stylesheet"
type="text/css" />*
I run in JBoss 4.2.2. Any idea?
Regards,
mingfai
On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <jv(a)xwiki.com> wrote:
> On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <jerome(a)xwiki.com>
> wrote:
> >
> > > - could anyone point me to where I may be able to customize the
> space
> >
> > > name and url? basically, the use of "Space_" as prefix look quite
> odd
> > > to me
> > > and i would like to remove it. And if it is possible i would want
> to
> > > make
> > > the url shorter. Currently, it's something like: "
> > > http://mydomain.com/xwiki/bin/view/Space_username/", i am able to
> > > remove the context "xwiki", and i suppose it shouldn't be
> difficult to
> > > turn
> > > Space_username to username. It's most desirable to turn bin/view
> to
> > > nothing
> > > or make it a single "folder", e.g. remove "/bin" (i suppose the
> action
> > > cannot be removed.)
> >
> > See http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin,
> and
> > in particular the xwiki.spacemanager.prefix param of xwiki.cfg.
> >
>
> See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
>
> JV.
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
A month ago we tested 1.2 ver. XWiki and there wasn't problem to set up
Active Directory authentication. Now we are going to start XWiki for
enterprise use and we had a problem to setup AD authentication with
1.3ver. Can anybody help us?
Frantisek Kall
Our System info:
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /JBoss
JAVA: /usr/java/jdk1.5.0_11/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx1024m
-XX:PermSize=64m -XX:MaxPermSize=256m -
Dsun.rmi.dgc.client.gcInterval=3600000 -
Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
CLASSPATH: /JBoss/bin/run.jar:/usr/java/jdk1.5.0_11/lib/tools.jar
=========================================================================
08:02:48,641 INFO [Server] Starting JBoss (MX MicroKernel)...
08:02:48,644 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build:
SVNTag=JBoss_4_2_2_GA date=200710221139)
08:02:48,648 INFO [Server] Home Dir: /JBoss
08:02:48,649 INFO [Server] Home URL: file:/JBoss/
08:02:48,652 INFO [Server] Patch URL: null
08:02:48,652 INFO [Server] Server Name: default
xwiki.cfg:
xwiki.base=../../
xwiki.store.class=com.xpn.xwiki.store.XWikiHibernateStore
xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
xwiki.store.hibernate.updateschema=1
xwiki.store.hibernate.custommapping=1
xwiki.store.cache=1
xwiki.store.cache.capacity=100
xwiki.store.migration=1
xwiki.monitor=1
# List of active plugins.
xwiki.plugins=\
com.xpn.xwiki.monitor.api.MonitorPlugin,\
com.xpn.xwiki.plugin.calendar.CalendarPlugin,\
com.xpn.xwiki.plugin.feed.FeedPlugin,\
com.xpn.xwiki.plugin.ldap.LDAPPlugin,\
com.xpn.xwiki.plugin.google.GooglePlugin,\
com.xpn.xwiki.plugin.flickr.FlickrPlugin,\
com.xpn.xwiki.plugin.mail.MailPlugin,\
com.xpn.xwiki.plugin.packaging.PackagePlugin,\
com.xpn.xwiki.plugin.query.QueryPlugin,\
com.xpn.xwiki.plugin.svg.SVGPlugin,\
com.xpn.xwiki.plugin.charts.ChartingPlugin,\
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
com.xpn.xwiki.plugin.image.ImagePlugin,\
com.xpn.xwiki.plugin.captcha.CaptchaPlugin,\
com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\
com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\
com.xpn.xwiki.plugin.lucene.LucenePlugin,\
com.xpn.xwiki.plugin.diff.DiffPlugin,\
com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
com.xpn.xwiki.plugin.watchlist.WatchListPlugin
# This parameter allows XWiki to operate in Hosting mode allowing to create
# multiple wikis having their own database and responding to different URLs
xwiki.virtual=0
xwiki.virtual.redirect=http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist
# This parameter will activate the eXo Platform integration
xwiki.exo=0
xwiki.authentication=form
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
# Comment if you want to enable logout only for
/bin/logout/XWiki/XWikiLogout
xwiki.authentication.logoutpage=/[^/]+/logout/*
# Stats configuration allows to globally activate/deactivate stats module
# It is also possible to choose a different stats service to record
# statistics separately from XWiki.
# Note: Statistics are disabled by default for improved performances.
xwiki.stats=0
xwiki.stats.default=1
xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
xwiki.encoding=UTF-8
xwiki.backlinks=1
xwiki.tags=1
# Use edit comments
xwiki.editcomment=1
# Hide editcomment field and only use Javascript
xwiki.editcomment.hidden=0
# Make edit comment mandatory
xwiki.editcomment.mandatory=0
# Make edit comment suggested (asks 1 time if the comment is empty.
# 1 shows one popup if comment is empty.
# 0 means there is no popup.
# This setting is ignored if mandatory is set
xwiki.editcomment.suggested=0
# GraphViz plugin configuration. The GraphViz plugin is not configured by
default.
# To enable it, add "com.xpn.xwiki.plugin.graphviz.GraphVizPlugin" to the
list of plugins
# in the xwiki.plugins property.
# Uncomment and set the locations of the Dot and Neato executables
#xwiki.plugin.graphviz.dotpath=c:/Program Files/ATT/GraphViz/bin/dot.exe
#xwiki.plugin.graphviz.neatopath=c:/Program Files/ATT/GraphViz/bin/neato.exe
xwiki.plugin.laszlo.baseurl=/openlaszlo/xwiki/
xwiki.plugin.laszlo.path=c:/Program Files/Apache Software Foundation/Tomcat
5.0/webapps/openlaszlo/xwiki/
xwiki.plugin.image.cache.capacity=30
xwiki.plugin.captcha=0
# Enable to allow superadmin. It is disabled by default as this could be a
security breach if
# it were set and you forgot about it.
xwiki.superadminpassword=system
#-------------------------------------------------------------------------------------
# LDAP
#-------------------------------------------------------------------------------------
#-# new LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=10.0.1.2
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.check_level=1
xwiki.authentication.ldap.bind_DN=CHEMOSVIT\\{0}
xwiki.authentication.ldap.bind_pass={1}
authentication.ldap.UID_attr=sAMAccountName
authentication.ldap.fields_mapping=name=sAMAccountName
,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
xwiki.authentication.ldap.base_DN=dc=chemosvit,dc=sk
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the username, {1} with the password
#xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
#xwiki.authentication.ldap.bind_pass={1}
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
#-# only members of the following group will be verified in the LDAP
# otherwise only users that are found after searching starting from the
base_DN
#xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# base DN for searches
#xwiki.authentication.ldap.base_DN=
#-# specifies the LDAP attribute containing the identifier to be used as the
XWiki name (default=cn)
#xwiki.authentication.ldap.UID_attr=cn
#-# retrieve the following fields from LDAP and store them in the XWiki user
object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object for
faster access
#xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki otherwise
this happens only once when the XWiki account is created.
xwiki.authentication.ldap.update_user=1
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=XWikiAdmin
,ou=XWikiGroups,ou=groups,dc=chemosvit,dc=sk|\
# XWiki.Organisation=cn=XWikiUsers,ou=XWikiGroups,ou=groups,o=MegaNova,c=US
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed from
LDAP (default=3600*6)
# xwiki.authentication.ldap.groupcache_expiration=21800
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first
created
#-# - always: synchronize on every login
# xwiki.authentication.ldap.mode_group_sync=always
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB authentication
with the same credentials
xwiki.authentication.ldap.trylocal=0
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# 0: normal
#-# 1: SSL
xwiki.authentication.ldap.ssl=0
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
#-------------------------------------------------------------------------------------
xwiki.authentication.unauthorized_code=200
# This parameter will activate the sectional editing
xwiki.section.edit=1
# Uncomment if you want to ignore requests for unmapped actions, and simply
display the document
# xwiki.unknownActionResponse=view
# You can configure the toolbars you wish to see in the WYSIWYG editor by
defining the
# xwiki.wysiwyg.toolbars property.
# When not defined it defaults to:
# xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar,
undotoolbar, titletoolbar, \
# styletoolbar, horizontaltoolbar, attachmenttoolbar, macrostoolbar, \
# tabletoolbar, tablerowtoolbar, tablecoltoolbar, linktoolbar
# The full list of toolbars includes the one defined above and the following
ones:
# subtoolbar, findtoolbar, symboltoolbar
xwiki.defaultskin=toucan
xwiki.defaultbaseskin=albatross
xwiki.temp.dir=/tmp/xwiki
# xwiki.work.dir=/usr/local/xwiki
# xwiki.plugins.lucene.indexdir=/usr/local/xwiki/lucene
#
xwiki.plugins.lucene.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
# xwiki.plugins.lucene.indexinterval=20
xwiki.work.dir=/docudata/xwiki
Authentication Error message:
08:05:46,657 INFO [STDOUT] 2008-03-17 08:05:46,642 [
http://dokument.chemosvit.sk:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [
http-10.0.1.17-8080-1] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP
authentication failed.
com.xpn.xwiki.XWikiException: Error number 8001 in 8: Can't find LDAP user
DN.
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(
XWikiLDAPAuthServiceImpl.java:268)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(
XWikiLDAPAuthServiceImpl.java:107)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(
MyFormAuthenticator.java:195)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(
MyFormAuthenticator.java:128)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(
MyFormAuthenticator.java:113)
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(
XWikiAuthServiceImpl.java:211)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3258)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(
XWikiRightServiceImpl.java:136)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3266)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4210)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:164)
at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(
JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(
CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
Ping
Mike Oliver wrote:
>
> Anyone have any experience working with Google Universal Gadgets on XWiki?
> Any issues with Compatibility?
>
> the XWiki feature to publish JSR-168 Portlets seems similar enough to me
> to warrant a feature to publish in kind as Google Universal Gadgets for
> Google Apps, iGoogle and Google Desktop.
>
--
View this message in context: http://www.nabble.com/How-does-XWiki-fit-with-Google-Universal-Gadgets-tp15…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello Vincent,
Thanks a lot for your reply but it have to be embedded in the wiki. I can't ask every user of the wiki to install the plugin for his browser.
Is there anyway to to embed it in the wiki as a plugin or so? I can write the plugin myself if it won't take that long to do it
Cheers,
Hosam
Original Message:
<br />On Mar 19, 2008, at 4:24 PM, Hosam Hassan wrote:
<br />
<br />> Hello,
<br />>
<br />> Is there any way to intergrate a spelling checker with the wiki
<br />> Editor?.
<br />
<br />You could just use your browser's plugins for this... For example if
<br />you install the google toolbar you get this for free.
<br />
<br />-Vincent
<br />
<br />_______________________________________________
<br />users mailing list
<br />users(a)xwiki.org
<br />http://lists.xwiki.org/mailman/listinfo/users
<br />
--
Hello all,
How can I revert the order of comments on xwiki?
Vincent Massol once wrote:
"Note that this will be a preference in the next interface of xwiki.com
which is coming soon. "
Thanks you all.
alan
This email message is intended only for the use of the named recipient.
Information contained in this email message and its attachments may be
privileged, confidential and protected from disclosure. If you are not the
intended recipient, please do not read, copy, use or disclose this
communication to others. Also please notify the sender by replying to this
message and then delete it from your system.
Thanks alot for your reply but there is no simpler way to do this?.
I want to control the style as well for that Top link maybe add an icon to it.
If I know where is that Edit link I can simply add the Top link beside it.
Cheers,
Hosam
Original Message:
Hosam Hassan wrote:
<br />> Hello all,
<br />>
<br />> I want to add a link beside the edit icon in each section to jump to the top of the page.
<br />>
<br />> Any idea which VM file have the page section I can't find it the contentview.vm holds the whole page and I can just add a jump to the top of the page link at the end of the page but I want it in each section.
<br />>
<br />> Any ideas?
<br />>
<br />
<br />Look inside com.xpn.xwiki.render.filter.XWikiHeadingFilter
<br />
<br />Or, you can change radeox_markup_xwiki.properties with:
<br />
<br />filter.heading.print=<span>{2}{3}
<br />--
<br />Sergiu Dumitriu
<br />http://purl.org/net/sergiu/
<br />_______________________________________________
<br />users mailing list
<br />users(a)xwiki.org
<br />http://lists.xwiki.org/mailman/listinfo/users
<br />
--