Hi,
Since we had users asking on the IRC what are the differences between XWiki
and other solutions, it would be a good idea to provide such pages on the
website:
- XWiki and MediaWiki
http://dev.xwiki.org/xwiki/bin/view/Drafts/XWiki-vs-MediaWiki
- XWiki and Confluence
http://dev.xwiki.org/xwiki/bin/view/Drafts/XWiki-vs-Confluence
It would be great to know if you agree with the listed content and if you
find other similarities or distinctions between the above solutions.
Additionally, what other solutions would you be interested in seeing
comparison with?
Thanks,
Caty
Hi,
We had feedback that new users don't know where to find the 'Edit' and
'Create' buttons. Also there is some confusions of why we have a 'cog' icon
that contains actions like 'Delete' and a 'three dots' icon that contain
other actions.
Would be great if you could tell us which version you prefer:
P2:
http://design.xwiki.org/xwiki/bin/download/Proposal/IdeaLabeledActions/adva…
P4:
http://design.xwiki.org/xwiki/bin/download/Proposal/IdeaLabeledActions/P4_1…
Both proposals add backgrounds around the icons, the main difference is
that P2 also uses descriptive labels, while P4 keeps the consistency with
the top icons and a more minimalist style.
For the more actions menu, we want to combine the actions and add category
labels, see
http://design.xwiki.org/xwiki/bin/download/Proposal/IdeaLabeledActions/more…
What do you think? Do you have other solutions for your instances? Did you
encounter the same problem?
Thanks,
Caty
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 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
Hi Folks,
After LOTS of research, we have decided to seriously explore XWiki; one
feature in particular (among many) that stands out is the support for
*annotation*. We like the idea of a "*second generation Wiki*" (especially
after some extensive experience with MediaWiki and Confluence).
Right now the biggest *hurdle is getting a successful install*. We have
ready a large number of documents, but have now run out of insights.
*TARGET SYSTEM*: VPS running 42.1 OpenSUSE Linux (RPM-based). Latest MySQL
(actually MariaDB), Java, Apache etc. Currently a CRM system (PHP-based) and
an accounting system (PostBooks) running.
*CHALLENGE*: Tomcat and the WAR file.
*SPECIFIC QUESTION: What is the best documentation that would enable us to
very systematically install and configure XWiki? *
/Especially in a non-deb environment. And with details concerning e.g.
"ports". Widespread adoption will be encouraged when technically savvy
individuals and small teams can try XWiki without having a sysadmin as a
permanent team member.
/
We have voted for a *Bitnami *XWiki stack package. But we don't want to
wait!
Thanks for any pointers!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Detailed-XWiki-Install-Info-For-RPM-Based…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Greets,
I don’t get it.
I moved my environment.permanentDirectory and got into a messed up state.
I started over:
I shut down tomcat
I said "mysql drop database xwiki" and recreated it and re-granted app privs on xwiki.*
I copy-n-pasted the LDAP settings from my previous installation, where LDAP auth was working
I started tomcat, wenth thru the distribution wizard, and then installe LDAP Authenticator
I stopped tomcat and restarted it
Now I can log in with my AD account, but instead of the main page, I see
ERROR
You are not allowed to view this page or perform this action.
I don't get it. I pasted the LDAP setting from a previous install, where LDAP seemed to be working fine.
I tried another LDAP account and got the same results.
What could I have done wrong?
I think that this time the LDAP settings were there before the LDAP authenticator was installed, could that be it?
Could it be that I need to open the perms on the permanent data dir? It is writable to the xwiki user, and that is who is executing tomcat.
I see this in the catalina log:
2017-04-26 12:29:26,103 [http://dwswiki10.westmarine.net:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] ERROR o.x.c.l.XWikiLDAPConfig - Error parsing LDAP fields mapping attribute from configuration
... but as I said I didn't get the "You are not allowed..." bit last time around. And the LDAP settings were pasted from there.
Thanks
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
Sent: Tuesday, April 25, 2017 4:19 AM
To: XWiki Users
Subject: Re: [xwiki-users] Maximum size of an attachment in subwiki
Hi Sebastien,
> On 25 Apr 2017, at 13:02, Sebastian Luna Valero <sebastian.luna.valero(a)gmail.com> wrote:
>
> Hi All,
>
> Thanks for releasing XWiki 8.4.5!
>
> I am about to import content from the old to the new xwiki,
You should really consider using the recommended upgrade practice which is to use the Distribution Wizard, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade
If you really want to import content make sure you don’t include any default page at least. I’d still recommend using the DW.
Thanks
-Vincent
> but the .xar
> file is larger than the 32MB size limit. Previously I have followed
> the instructions here:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
>
> to increase the maximum size of the attachment. However, it seems to
> work only for the main wiki but not for subwikis, is that true?
>
> Best regards,
> Sebastian
The information contained in this transmission may contain West Marine proprietary, confidential and/or privileged
information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited.
If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original
message. To reply to our email administrator directly, please send an email to netadmin(a)westmarine.com.
I have set en (English) as the default language for our wiki (Administer wiki
-> Localization -> Default language).
Despite this, some of our pages have separate en page in translations.
Though it hasn't created any problem for us yet, I have concern whether
editing default page reflects the edits in its en page or not..
Also some time back, XWiki supported Marathi (mr) language. But currently, I
find it nowhere in the list.
--
View this message in context: http://xwiki.475771.n2.nabble.com/default-language-and-translation-pages-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi list,
This is my first post. Just starting with XWiki, and pretty excited about everything it can do.
I’m trying to configure the registration text (what unregistered users see when they create a new account on page XWikiRegister). I changed what I want in Administration:Registration (page heading and welcome message), as described in the XWiki help.
However, when an unregistered user goes to the registration page, they will not see my custom message, but a default message above the registration form (note absence of styling):
> Registration
> Sign up here so you can edit pages and participate in the wiki.
>
But… when I navigate to the registration page while logged in with my administrator account, I get the page with my customised page heading and welcome message. By navigate, I mean copy the link ".../xwiki/bin/register/XWiki/XWikiRegister" into my address bar.
And… when I navigate to the same page while logged in with a non-administrator account, I get an error ("You are not allowed to view this page or perform this action.”). Which is OK, I guess.
Can anyone point me towards what might be going on? My best guess is that it is a rights problem (I’ve been fighting with those). But I have no idea where to look.
My XWiki version is a hosted enterprise 8.4.4.
Thank you so much for your help!
Cheers,
Gilles