Hi all !!!
I want to enable an application where i m allowing users to add comments
on my articles...But when ever users are submitting their comments then my
system should check it for abusive or bad words. ..it is something similar
to spell check...i have came across two softwares : Akismet and
Spamkarma....
but I dont know how to integrate it with XWIki....can anyone help me with
it...
Shruti Modi
Mailto: shruti.modi(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
does anybody know where the var $isAdvancedUser is used ? the code below is found in the xwikivars.vm but i don;t get it where it is explained, defined...
#if($context.user == "XWiki.superadmin")
#set($isAdvancedUser = true)
thx
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
Using Xwiki 1.2; I get the following quite often on a fair chunk of
documents across my local Xwiki server:
---
Error number 3201 in 3: Exception while saving document Main.docg
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#
XWiki.esbachb
]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document Main.docg
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#
XWiki.esbachb
]
...<snip>
---
Often this happens with a document that's just never had any changes
done to it, sometimes it doesn't happen. It has happened a few times
with user accounts. Data is always saved though.
Any thoughts?
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.3.1
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is a bug fix release.
Bugs fixed
* XWIKI-921 - When using XWikiDocuments as resource bundles, no
default value is used
* XWIKI-1605 - The WYSIWYG editor does not save for unprivileged
users in Safari 3.0.3
* XWIKI-2130 - Document.getPreviousDocument() and
Document.getPreviousVersion() seems not to work
* XWIKI-2193 - LDAP error message with stack trace in xwiki.log
when processing invalid LDAP credentials. User gets "Internal Error"
feedback on UI.
* XWIKI-2201 - LDAP group mapping defined in XWikiPreferences is not working
* XWIKI-2202 - LDAP user update corrupt XWiki user page
* XWIKI-2206 - Cookie domains not compliant with RFC 2109
* XWIKI-2208 - LDAP parameter "user_group" is not taken into account.
* XWIKI-2209 - XWiki GWT Api breaks UTF translations
* XWIKI-2210 - Can't use differents uid name configuration for the
same ldap server for two differents wikis
* XWIKI-2211 - Cannot log in using Internet Explorer
* XWIKI-2215 - LDAP Authenticator should add proper error message
in the context when authentication fail
* XWIKI-2235 - Cannot deploy XWiki as ROOT application
* XWIKI-2236 - doc#getLastChanges() does not work with the new
versioning scheme
* XWIKI-2247 - The rendering component does not handle
and empty line correctly together
* XWIKI-2248 - DBTreeListClass needs to support translations
* XWIKI-2255 - Exception while saving some documents
* XWIKI-2258 - Empty page returned when login cookie with wrong IP address
* XWIKI-2260 - Wysiwyg editor needs to handle multiple carriage
returns properly
* XWIKI-2269 - \
in wiki syntax does not convert to 2
but instead escaped one in HTML
Improvements
* XWIKI-2246 - Add Galician translation
New Features
* XWIKI-2204 - Ability to set url redirections at the wiki level
* XWIKI-2205 - add better Active Directory support - case
insensitive username
* XWIKI-2259 - Configurable prefix for authentication cookies
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise131
Thanks
-The XWiki dev team
Hi XWikiers,
An issue has been raised during the XWiki Enterprise 1.3.1 release
process, http://jira.xwiki.org/jira/browse/XWIKI-2269 :
2 successive newlines (\\\\) are taken by the escape filter and
transformed to one \ (escapeFilter)
Is there anyone here using this syntax ? If not the filter will
removed today and XE 1.3.1 released with this modification.
ps : If you don't use it please tell it here too, it'll help us to
estimate the number of people who've seen the thread.
Thanks,
--
Jean-Vincent Drean
hi,
The information about building XWiki in Eclipse (
http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse) is very
clear and I'm able to do everything as it described. In my Eclipse, I have
every XWiki project and can run whichever Maven goal. I'd like to update the
war and/or jar of XE and XWS, which task in which project is suppose to do
the job? I suppose I need to build the XWiki platform/core, then XE then XWS
in sequence?! there are so many projects... for XWS alone, there are 11
projects/pom.xml. could someone point me to the project or path of pom.xml
for core, XE and XWS? thx.
p.s. I'd like to use the latest source code to build the app as some of the
features that are critical to me have been fixed in the trunk but not in the
last release. btw, it would be great if there is a nightly build
regards,
mingfai
Hello,
we have a regular problem when we cycle off-on our tomcat instance.
Logged in users suddently have blank pages instead of their wiki pages.
And we have tons of these errors in the logs. The only solution we have
is to ask users to clean their cookies. (A close / reopen browser should
be enough for most users). Shouldn't xwiki send new cookies if the old
ones have been 'tampered' with?
See error log below,
Regards,
David Delbecq
2008-04-02 09:43:20,630
[http://intrarmi.oma.be:8081/xwiki/bin/view/Main/WebHome?language=fr]
[http-8081-Processor11] WARN xwiki.MyPersistentLoginManager - Login
cookie validation hash mismatch! Cookies have been tampered with
2008-04-02 09:43:20,631
[http://intrarmi.oma.be:8081/xwiki/bin/view/Main/WebHome?language=fr]
[http-8081-Processor11] WARN xwiki.MyPersistentLoginManager - Login
cookie validation hash mismatch! Cookies have been tampered with
2008-04-02 09:43:20,988
[http://intrarmi.oma.be:8081/xwiki/bin/view/Main/WebHome?language=fr]
[http-8081-Processor11] WARN xwiki.MyPersistentLoginManager - Login
cookie validation hash mismatch! Cookies have been tampered with
2008-04-02 09:43:20,989
[http://intrarmi.oma.be:8081/xwiki/bin/view/Main/WebHome?language=fr]
[http-8081-Processor11] WARN xwiki.MyPersistentLoginManager - Login
cookie validation hash mismatch! Cookies have been tampered with
2008-04-02 09:43:21,597
[http://intrarmi.oma.be:8081/xwiki/bin/view/Main/WebHome?language=fr]
[http-8081-Processor11] WARN web.XWikiAction - Uncaught
exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: 4096
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: 4096
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.ArrayIndexOutOfBoundsException: 4096
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:721)
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:628)
at
org.apache.coyote.http11.InternalOutputBuffer.sendHeader(InternalOutputBuffer.java:501)
at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1561)
at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:918)
at org.apache.coyote.Response.action(Response.java:180)
at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:573)
at org.apache.coyote.Response.doWrite(Response.java:551)
at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:403)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323)
at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392)
at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381)
at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:76)
at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:70)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:132)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Hi,
i tried to install xwiki 1.3 with a mssql databas following the instructions the documentation.
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMSSQL
When i try to connect i get the following error.
"javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param
xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not find a getter for archive in class
com.xpn.xwiki.doc.XWikiDocumentArchive
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)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param
xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not find a getter for archive in class
com.xpn.xwiki.doc.XWikiDocumentArchive
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:302)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
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 couldnt find the class "com.xpn.xwiki.doc.XWikiDocumentArchive" in the xwiki.hbm.xml
provided with xwiki 1.3 but in the xwiki.mssql.hbm.xml i downloaded following the
documentation.
Is the version in the documentation not compatible with xwiki 1.3??
Is there a updated version somewhere??
Is there a nother reason/solution for our problem??
Hope anybody can help.
Thanks
Helmut
thnx for ur help..but actually
$xwiki.rightsmanager.getAllGroupsNamesForMember($context.user)
is returning a hyperlink...and it is becoming difficult for me to fetch
the actual group since xwiki is adding every user in XWikiAllGroup by
default
so how to fetch yhe actual grp of user?
Shruti Modi
Tata Consultancy Services
Cell:- 9870245740
Mailto: shruti.modi(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
----- Forwarded by Shruti Modi/MUM/TCS on 03/31/2008 07:43 PM -----
Sergiu Dumitriu <sergiu(a)xwiki.com>
Sent by: users-bounces(a)xwiki.org
03/31/2008 06:02 PM
Please respond to
XWiki Users <users(a)xwiki.org>
To
XWiki Users <users(a)xwiki.org>
cc
Subject
Re: [xwiki-users] fetching group of user
Shruti Modi wrote:
> hi
>
> i m trying to fetch the group of the logged in user...can anyone plz
help
> me wid it...
Since XWiki 1.2:
$xwiki.rightsmanager.getAllGroupsNamesForMember($context.user)
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
ForwardSourceID:NT00004106
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hello Ricardo,
let me present 2 cases.
1- you are a user and u will access ca page. there you are allowed to edit the "text" part but not the "links" part. and "text" and "sumbit" are on the same page
2 - you are superadmin(administrator) and you can edit all: text and links
this is what i want to do :)) i have attached a "photo"...sorry for it...didn;t have much time:))
so...if i understood correctly from your email..i do not wanna have a special button placed on the page..."edit this part"
what do you think?
----- Original Message ----
From: [Ricardo Rodriguez] Your EPEC Network ICT Team <webmaster(a)environmentalchange.net>
To: XWiki Users <users(a)xwiki.org>
Sent: Tuesday, April 1, 2008 1:36:38 PM
Subject: Re: [xwiki-users] special rights
Hi Gabriela,
Gabriela Radu wrote:
> hello.
> i don't think i get what you said about the rights on space..
> i was talking about sections from the page that can have different rights(to edit or not) then the page.
> this is what i am trying to make... and yep..i said trying. a bit lost. if you have some pointers they are more then welcomed :D
> i have to write something like macros? in .vm files?
> thank you
Sorry if I have not been able to explain myself. In fact, the problem is
that I am also a bit lost!
Let's try to start again (it will help me with this issue! It is
important for our group as well):
We are speaking about being able to create a "page" where "sections" can
have different assigned rights.
Look at this:
http://xepecnet.environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStane…
It seems a "page" including text, but it only includes five "calls" to
other "pages". Look at the code:
#includeTopic('Sandbox.Title')
#includeTopic('Sandbox.FirstParagraph')
#includeTopic('Sandbox.SecondParagraph')
#includeTopic('Sandbox.ThirdParagraph')
#includeTopic('Sandbox.FourthParagraph')
In this case I am using a page (a single XWiki entry in a single space,
in this case, Sandbox.NichitaStanescu) as a "document" metaphor and I
can assign rights to any of the pieces as you do with any other page. I
must not be difficult to add a button close to the starting point of
each paragraph that only appears if the logged user has edit rights on
each "section" and allow him/her to edit it.
Please, let me know if this makes sense for you! It will be help me to
decide if this makes sense for me! Then, we could go ahead completing
this solution.
XWiki is PLENTY of tools/features. The "only" point is to put it in the
correct order :-)
Cheers,
Ricardo
BTW: I think it is time to add XWiki to your CV ;-)
--
Ricardo RodrÃguez
Your EPEC Network ICT Team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com