Hi guys,
I've this problem:
I installed xwiki 7.1 under jboss in my office network, uploading the
package xar with the main pages.
This network is under a proxy server that block at all some sites: when I
try to edit a page with the wysywyg editor the tool hanging because is
blocked the external loading of a single javascript, jsTree.min.js from the
site cloudflare.
So, I know that this js is present in my installation, but the application
always check it on the external site.
Can I instrument xwiki to load this file locally?
Thank you.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Wysiwyg-editor-broken-by-proxy-tp7595540.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everyone,
I am new to XWiki and wanted to thank you for your great work.
XWiki is a really robust system and I enjoy working with it.
However, I try to update XWiki 7.1-rc1 to xwiki 7.2 and the distribution
wizard moves into an endless loop (
http://jira.xwiki.org/browse/XWIKI-12315 ).
I already upgraded the default wiki pages with
xwiki-enterprise-ui-mainwiki-all-7.2-mil~.xar but now some of the
translations are broken.
In the administration panel it shows "wikis.rights" instead of the
translatet word for "Rights".
What could cause that error?
Can someone explain how I could update the enterprise ui packages manually?
Is there a workarround known already?
Thank you, Louis
Hi!
Ubuntu 14.04.2 LTS, XWiki 6.4.4 clean install.
LDAP set up as described here: http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application
nmap shows OpenLDAP is ready:
nmap -p 388 myserver.com
Starting Nmap 6.40 ( http://nmap.org )
Nmap scan report for myserver.com
Host is up (0.0086s latency).
rDNS record for myserver.com:
PORTÂ Â Â STATE SERVICE
388/tcp open ldap
An attempt to log in with "Dummy User" gives following:
2015-07-24 14:06:36,182 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-07-24 14:06:36,182 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConfig     - ldap_group_classes: [groupofnames, groupwisedistributionlist, dynamicgroup, dynamicgroupaux, g
roupofuniquenames, posixgroup, apple-group, group]
2015-07-24 14:06:36,182 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConfig     - ldap_group_memberfields: [member, memberuid, uniquemember]
2015-07-24 14:06:36,182 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConnection - Connection to LDAP server [myserver.com:388]
2015-07-24 14:06:36,197 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG c.x.x.p.l.XWikiLDAPConnection - Binding to LDAP server with credentials login=[cn=Dummy User,ou=people,dc=optrak,dc=com]
2015-07-24 14:06:36,209 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl -Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind failed with LDAPException.
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:197) ~[xwiki-platform-ldap-authenticator-6.4.4.jar:na]
       at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:125) ~[xwiki-platform-ldap-authenticator-6.4.4.jar:na]
       at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305) [xwiki-platform-ldap-authenticator-6.4.4.jar:na]
       at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182) [xwiki-platform-ldap-authenticator-6.4.4.jar:na]
       at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:129) [xwiki-platform-ldap-authenticator-6.4.4.jar:na]
       at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3295) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:241) [xwiki-platform-security-bridge-6.4.4.jar:na]
       at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:271) [xwiki-platform-security-bridge-6.4.4.jar:na]
       at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3308) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4304) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:269) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) [struts-core-1.3.10.jar:1.3.10]
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) [servlet-api-3.0.jar:na]
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-3.0.jar:na]
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
       at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:241) [xwiki-platform-security-bridge-6.4.4.jar:na]
       at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:271) [xwiki-platform-security-bridge-6.4.4.jar:na]
       at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3308) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4304) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:269) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
       at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) [struts-core-1.3.10.jar:1.3.10]
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) [servlet-api-3.0.jar:na]
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-3.0.jar:na]
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
       at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.4.jar:na]
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.4.jar:na]
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.4.jar:na]
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
       at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.4.jar:na]
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.4.jar:na]
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.4.jar:na]
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [tomcat-catalina-7.0.52.jar:7.0.52]
       at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041) [tomcat-coyote-7.0.52.jar:7.0.52]
       at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote-7.0.52.jar:7.0.52]
       at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) [tomcat-coyote-7.0.52.jar:7.0.52]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
       at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
     Â
Caused by: com.novell.ldap.LDAPException:Confidentiality Required
       at com.novell.ldap.LDAPResponse.getResultException(Unknown Source) ~[jldap-4.3.jar:na]
       at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source) ~[jldap-4.3.jar:na]
       at com.novell.ldap.LDAPConnection.chkResultCode(Unknown Source) ~[jldap-4.3.jar:na]
       at com.novell.ldap.LDAPConnection.bind(Unknown Source) ~[jldap-4.3.jar:na]
       at com.novell.ldap.LDAPConnection.bind(Unknown Source) ~[jldap-4.3.jar:na]
       at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.bind(XWikiLDAPConnection.java:231) ~[xwiki-platform-ldap-authenticator-6.4.4.jar:na]
       at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:193) ~[xwiki-platform-ldap-authenticator-6.4.4.jar:na]
       ... 55 common frames omitted
2015-07-24 14:06:36,209 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki DB
2015-07-24 14:06:36,212 [http://myserver.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user [Dummy User]
Does anyone know how to fix "Confidentiality Required" error?
Thanks in advance!
Kind regards,
Dmitry
Hello,
My goal is to send array json variable from velocity to javacript or more precisely I want loop over all objects of same Class of a page and put them in a json array (http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfr…)
But I didn't manage to edit an velocity array variable (add an entries or modify one) AND
With velocity I declare my array like this:
#set ($MyArray={
'Index1':{'Field1':'value1','field2':'value2'},
'Index3':{'Field1':'A value','field2':'Another value'}
})
How can I add an "Index2" entrie by example:
'Index2':{'Field1':'A new value','field2':'Another new value'}"
and/or can how can I modify a value ('Index 1'.field2' by example)?
I tried to generate arraw velocity variable from a string like this,
but unfortunaly generate a unique ... string :-(
Here my code:
{{velocity}}
#set ($MyArray={
'Index1':{'Field1':'value1','field2':'value2'},
'Index3':{'Field1':'A value','field2':'Another value'}
})
$jsontool.serialize($MyArray)
Correct json arraw but I can NOT edit it :-(
{"Index1":{"Field1":"value1","field2":"value2"},"Index3":{"Field1":"A value","field2":"Another value"}}
----
#set ($MyArrayString="{")
#set ($MyArrayString=$MyArrayString +"'Index1':{'Field1':'value1','field2':'value2'},")
#set ($MyArrayString=$MyArrayString +"'Index3':{'Field1':'A value','field2':'Another value'}")
#set ($MyArrayString=$MyArrayString +"}")
$jsontool.serialize($MyArrayString)
I can edit this json arraw but it as wrong json arraw because the "" characters :-(
"{'Index1':{'Field1':'value1','field2':'value2'},'Index3':{'Field1':'A value','field2':'Another value'}}"
{{/velocity}}
Thxs for any help
Pascal b
Hi,
Is there a convenient way to install XWiki Platform without all the extra Enterprise Wiki packages? I'm wanting to run an instance for a specific project, and I'd prefer not to distract users with all the wiki-related elements. I'm running Ubuntu and there only appears to be xwiki-enterprise deb package available.
Thanks,
Bryn
by [IDIS Technical Secretariat] Ricardo RodrÃguez
Hi!
I think that after a some years using XWiki, I can now more or less
understand the magic behind it: documents are "populated" with XWiki
objects which make them behave in one or other way and content several
flavours of information. Logic can be also implemented in XWiki pages
facilitating different kinds of outputs. Thus, a XWiki user is "only" a
XWiki document where we instantiate XWikiUsers class. A XWiki group
is"only" a document where we instantiate XWikiGroups class.
It is really simple to use XWiki group as metaphor for many of the items we
have to deal with in the day-by-day managerial work: a research project
team, a consolidated research group or scientific publication authorship
can all be represented/stored as a XWiki group. That is a really simple
operation.
But what I'm not able to figure out how to store properties that
characterise a given combination of user and group.
Please, allow me to present three cases of use:
1) A person (represented by a XWiki user) can participate in several
research project teams with different roles (main researchers, teammate,
lab responsible, task responsible...)
2) A person (represented by a XWiki user) can participate in the authorship
of several scientific publications, but he/she will appear in a different
position in the authors list. And order matters in this case!
3) A person can participate in two scientific publications with different
filiations, let's call them different *hats*.
Case 1) is illustrated by...
http://atriumkm.idisantiago.es/bin/USiRModel/Projects
Red user participates in all three projects, but only in one of them act as
leader (a star on the chest). Light blue user participates in two projects,
as a leader in one of them. But her/his leadership comes from a different
source (different color of the star)
...and cases 2) and 3) by...
http://atriumkm.idisantiago.es/bin/USiRModel/Publications
Red user participates in all three publications BUT in a different position
(the order matters!) and on behalf of a different meta-organisation (white
or black hats).
A couple of simple questions:
a) If I use a XWiki group to represent a publication, how could I store the
position of each author if authorship is represented by the membership of
that group?
b) Red user belongs to at least five different groups: three publications
and two hats. How could I represent the hat associated with red user in
publications 02 and 03?
I ended up calling this concept "user alias": a user alias is a set of
XWiki documents only one of which includes an instance of XWikiUsers class.
I'm sure there is some "strong concept" in software design and data
modeling that apply to what I'm looking for, but I've not enough formation
as for looking for it. Your insights will be really welcome!
Please, does this make any sense for you? Any idea?
Thank you so much,
Ricardo
--
Ricardo RodrÃguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Hello All,
I'm struggling trying to get various resources to render or load correctly
when moving xwiki from:
/usr/share/tomcat/webapps/xwiki to
/usr/share/tomcat/webapps/ROOT
I've followed the 'Deploying as ROOT' step on the XWiki page below:
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs#HDeployingasROOT
Including setting the xwiki.cfg value:
xwiki.webapppath=
However, when restarting tomcat and testing these changes, the
logo, glyphicons fail to load as per the screenshot:
http://i.imgur.com/SUfMtjs.png
I am at wits' end trying to work this one out! Can anyone help or give me
some clue what I can check?
This is with Fedora 22 server, Java 1.8 and Tomcat 8 with XWiki 7.1.1 and
XWiki 7.2M1
Many thanks,
Alex