Hello Xwikiers,
I need to import xwiki's user and password credentials to database of other
application to configure single sign on in tomcat. How can I verify
user/password from xwiki database.
I am using mysql database.
Thank you in advance.
Best,
Tadewos
Hello, guys.
Info: I have a Xwiki forum, installed on Debian 8 (64-bit). Xwiki version is
9.1.2. And I use LDAP auth.
My problem is:
I have 1 user user (with Developer skills, eg with nickname "developer")
When forum was started, "developer" had the Program and Script rights and he
installed
Now forum functions stably, and I as administrator don't want, that
"developer" had this rights.
But because "developer" was a owner of scripts and extensions => when I
untick from Program and Scripts => I get errors, like a:
*"Failed to execute the [velocity] macro.
Cause: [The execution of the [velocity] script macro is not allowed.
Check the rights of its last author or the parameters if it's rendered from
another script.].
Click on this message for details."*
... on main page in places where should be navigation panels and menus. This
elements was created by "developer".
May be my question could be like: "How I should be change owner of
scripts/elements, that I can untick rights from 'developer' and don't get
errors"
P.s.0 I read about of Script rights, and in this doc about of changes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HScrip…
and I ticked Script rights for XWikiAllGroup, but without this action my
forum works fine.
P.s.1 For messages like a: "Create new user for developer, and leave afk
first dev account" - sorry, but it is not my solution.
Thanks for understanding, Xwiki community.
-----
--
Best regards,
Arthur
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-Problem-with-program-and-Script-r…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
after upgrade from very old 5.X version to the new 9.X version, I'm
fighting with correct rights settings. I need to reset all pages to the
default rights setting.
Is there any easy way how to do it?
Or another question, is there any chance how to export/dump the current
page rights settings, so I can easily identify those pages, which I have
update?
Thanks for any comments/hints.
Jan
I'm integrating Xwiki with OAuth2. I managed to login but now I'm struggling
with logging out from the server when I click on 'logout' in Xwiki. This is
the code snippet that performs the redirection to the server to logout from
it:
else if ("logout".equals(context.getAction())
&& wrappedRequest.getUserPrincipal() != null) {
// redirect to the OAuth2 logout page
wrappedRequest.setUserPrincipal(null);
try {
context.getResponse().sendRedirect(
configuration.getOAuth2Param(
LOGOUT_URL.replace(".", "_"), LOGOUT_URL,
"logouturl", context));
} catch (IOException e) {
throw new XWikiException(XWikiException.MODULE_XWIKI_USER,
XWikiException.ERROR_XWIKI_USER_INIT,
"Can't redirect to the OAuth2 logout page", e);
}
return null;
}
I wrote a XWikiOAuth2Authenticator class that extends XWikiAuthServiceImpl
and overrides checkAuth.
The code works since I get redirected to LOGOUT_URL but I also get the
following stacktrace due to the calling of other Xwiki classes out of my
control:
2017-04-28 17:05:31,155
[http://localhost:8080/xwiki/bin/logout/XWiki/XWikiLogout?xredirect=%2Fxwiki…
%2F] WARN c.x.x.w.XWikiAction - Uncaught exception: Error number
0 in 11: Uncaught exception
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:474)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.j
ava:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.j
ava:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2476)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2465)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Cannot create a session after
the response has been committed
at
org.apache.catalina.connector.Request.doGetSession(Request.java:3008)
at
org.apache.catalina.connector.Request.getSession(Request.java:2384)
at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:897)
at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
at com.xpn.xwiki.web.LogoutAction.action(LogoutAction.java:57)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:446)
... 46 common frames omitted
I'm obviously doing something wrong and I couldn't find an example of how to
logout from a server. What's the correct way and where is the correct place
to do that? Or...how can I avoid this exception? Thank you.
--
View this message in context: http://xwiki.475771.n2.nabble.com/OAuth2-Logout-tp7603692.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Xwiki,
GDN is a non-profit organization based in India that conducts research to
improve well-being of poor people in developing countries and work with
local research agencies to inform better policies to the local government.
We’d like to create a wiki for researchers and policy makers to collaborate
and share their ideas to inform better policies to the local government.
Thank you!
Owner Name: gdni
Wiki Name: gdni
Thank you!
Hello,
We decided to use XWiki as our company wiki. I am trying to configure it,
but currently I'm stuck at implementing a very simple Document Tree as a
panel. Our Wiki is in one space : Main, which contains three children pages,
let's say Our A, Our B and Our C. I'm trying to build a document tree to
list all the subpages starting to Our A instead of Main.
Currently, using this reference as root:
$services.model.createDocumentReference('xwiki', 'Main', 'WebHome')
I can build a document tree showing the 3 sub-pages. However, I couldn't
manage to catch the reference of one of the sub-page. I tried :
$services.model.createDocumentReference('xwiki', 'Main', 'Our A')
$services.model.createDocumentReference('xwiki', 'Main.Our A', 'WebHome')
$services.model.createDocumentReference('xwiki', 'Our A', 'WebHome')
but none of them is working. I don't know if the problem comes from the
space, or if I'm not getting at all the notion of spaces and pages (which is
deprecated from what I read).
Thank you for your help,
J
--
View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-Document-Tree-tp7603755.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Is it possible to make announcements to users on XWiki so they can see it
easily when they log in?
Not sure whether this functionality is already available somehow on XWiki
(I'm using version 8.4.5) and I am thinking of presenting the announcements
within a panel wizard similar to one like "recently modified".
Best regards,
Sebastian
Hi,
Please, I run into strange situation after upgrade from obsolete version
5.4.5 to 9.3.1.
Now I have for example following links:
https://czwiki2/xwiki/bin/view/Main/Komunity/https://czwiki2/xwiki/bin/view/Komunity/
Both links are pointing to same page, however I would like to have just one
link.
Rename or deleting always affect both links.
Any ideas how to fix it?
Thanks!
Description: The College Transition Collaborative is a non-profit organization based out of Stanford University that conducts research to improve well-being and achievement for college students. We’d like to create an internal wiki for team operations and knowledge sharing. Thank you!
Owner Name: xali
Wiki Name: ctc
Hi everybody,
I have a huge issue here with our XWiki 7.4.4 instance running on CentOS 7
/ Tomcat 8.0.33.
We had a document space "Customer Docs" in a sub wiki "Customers" with
several nested docs (customers with more nested docs).
A user managed to break the whole document space by renaming it to "@Spain
Wiki". When accessing the page now the browser throws a "This page does not
work, <SERVERNAME> has redirected too often" (translated from German).
I see the pages with the old names in Page Index under deleted documents
but when I click the actions icon (which says it can't be restored because
it already has been recreated?!) I get the same browser error.
Is there any way I can restore the old document space?
(Restoring a database backup will not work because too many other things
have been changed in other parts of the wiki, the renaming was done on
April 20th but discovered today)
Regs,
Dennis