[xwiki-users] Custom Xar
Hi everyone, First of all :-), I'm using XE 1.8.1 . I have created news panels in order to do my own xwiki. In order not to recreate these panels, I wanted to create a xar which contains a single folder (Panels) containing the page relating to my new panels and a file : package.xml. My problem is : when I use the function Import in my XE to export my customised xar, it uploads the file (.xar) but I can't really add it in Xwiki. Does anyone see the reason ? Thanks in advance, Hesediel. -- View this message in context: http://n2.nabble.com/Custom-Xar-tp2669458p2669458.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP integration issue
Hi Thomas, Thank you for your response! For security reason, the proxy account is not allowed to compare userPassword attribute. Furthermore, our ldap userPassword attributes are encrypted with SSHA and xwiki will compare password using cleartext password what will never work. Xwiki should definitly either re-bind with the proxy account to check groups mapping or bind first with the xwiki user and then bind with proxy user. Another solution might be to check the membership (memberOf attribute) of ldap user instead of searching for all members of the ldap groups Is there any bug/imporvement already logged for that issue? We have a lot of ldap groups to manage and group mapping is realy needed. BTW when no members are found, a NullPointerException is thrown, preventing the user to log in (only in 1.8). That seems indeed to be a bug (see exception stacktrace below). 2009-04-19 11:20:59,007 [http://...wiki/bin/loginsubmit/XWiki/XWikiLogin] [AJPRequestHandler-HTTPThreadGroup-4] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed. java.lang.NullPointerException at com.xpn.xwiki.plugin.ldap.XWikiLDAPUtils.isMemberOfGroup(XWikiLDAPUtils.java:443) at com.xpn.xwiki.plugin.ldap.XWikiLDAPUtils.isMemberOfGroups(XWikiLDAPUtils.java:465) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:585) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:537) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:427) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:202) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:244) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:170) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:153) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:199) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3603) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3611) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4621) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) On Mon, Apr 20, 2009 at 2:20 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: Hi Laurent, This is a bug I think, by default bind is
Re: [xwiki-users] New WYSIWYG (1.8.1)
On Mon, Apr 20, 2009 at 11:54 PM, Vincent Massol vinc...@massol.net wrote: AFAIR Jean-Vincent removed it by error thinking it wasn't used. He said he'd look into it but I guess he's been busy elsewhere. Would be great to put it back. Fixed. http://jira.xwiki.org/jira/browse/XWIKI-3641 Thanks, JV. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP integration issue
On Tue, Apr 21, 2009 at 14:55, ratso rizo ratso.r...@gmail.com wrote: Hi Thomas, Thank you for your response! For security reason, the proxy account is not allowed to compare userPassword attribute. Furthermore, our ldap userPassword attributes are encrypted with SSHA and xwiki will compare password using cleartext password what will never work. Xwiki should definitly either re-bind with the proxy account to check groups mapping or bind first with the xwiki user and then bind with proxy user. Another solution might be to check the membership (memberOf attribute) of ldap user instead of searching for all members of the ldap groups Is there any bug/imporvement already logged for that issue? We have a lot of ldap groups to manage and group mapping is realy needed. As I said a created the issue http://jira.xwiki.org/jira/browse/XWIKI-3642 I also fixed it (it should now re-bind the admin xwiki.cfg user) so it will be part of 1.8.2 BTW when no members are found, a NullPointerException is thrown, preventing the user to log in (only in 1.8). That seems indeed to be a bug (see exception stacktrace below). 2009-04-19 11:20:59,007 [http://...wiki/bin/loginsubmit/XWiki/XWikiLogin] [AJPRequestHandler-HTTPThreadGroup-4] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed. java.lang.NullPointerException at com.xpn.xwiki.plugin.ldap.XWikiLDAPUtils.isMemberOfGroup(XWikiLDAPUtils.java:443) at com.xpn.xwiki.plugin.ldap.XWikiLDAPUtils.isMemberOfGroups(XWikiLDAPUtils.java:465) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:585) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:537) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:427) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:202) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:244) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:170) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:153) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:199) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3603) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3611) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4621) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at
Re: [xwiki-users] LDAP integration issue
Thanks! On Tue, Apr 21, 2009 at 3:24 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Tue, Apr 21, 2009 at 14:55, ratso rizo ratso.r...@gmail.com wrote: Hi Thomas, Thank you for your response! For security reason, the proxy account is not allowed to compare userPassword attribute. Furthermore, our ldap userPassword attributes are encrypted with SSHA and xwiki will compare password using cleartext password what will never work. Xwiki should definitly either re-bind with the proxy account to check groups mapping or bind first with the xwiki user and then bind with proxy user. Another solution might be to check the membership (memberOf attribute) of ldap user instead of searching for all members of the ldap groups Is there any bug/imporvement already logged for that issue? We have a lot of ldap groups to manage and group mapping is realy needed. As I said a created the issue http://jira.xwiki.org/jira/browse/XWIKI-3642 I also fixed it (it should now re-bind the admin xwiki.cfg user) so it will be part of 1.8.2 BTW when no members are found, a NullPointerException is thrown, preventing the user to log in (only in 1.8). That seems indeed to be a bug (see exception stacktrace below). 2009-04-19 11:20:59,007 [http:// ...wiki/bin/loginsubmit/XWiki/XWikiLogin] [AJPRequestHandler-HTTPThreadGroup-4] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed. java.lang.NullPointerException at com.xpn.xwiki.plugin.ldap.XWikiLDAPUtils.isMemberOfGroup(XWikiLDAPUtils.java:443) at com.xpn.xwiki.plugin.ldap.XWikiLDAPUtils.isMemberOfGroups(XWikiLDAPUtils.java:465) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:585) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:537) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:427) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:202) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:244) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:170) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:153) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:199) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3603) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3611) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4621) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at
[xwiki-users] trying to make warning macro work in 2.0
Hi - I am trying to make the warning box macro work in 2.0. From the research I did, it looked like I needed to put it in like this: {{velocity}}#warning(this needs an update){{/velocity}}. Then I get this on render: div class=warningmessagespan class=messagetypeWarning: /spanthis needs an update/div. I tried {{velocity}}{{xhtml}}#warning(this needs an update){{/xhtml}}{{/velocity}} as well, but that failed too - I get an error box that says unknown macro: html. I'm using XWiki Enterprise 1.8.1.18545, installed on my local box. I'm not a programmer/developer, so I'm a little stuck on the next step and my investigations so far haven't turned up what I need to do. I saw also on the footnotes macro page that the comment said that it didn't work in 2.0, so I'm assuming that needs an update to get it to work? Or is the comment wrong? Hate to bother, just looking for a little help. Kelly Lakas Project Manager next wave logistics inc. 28377 davis parkway, suite 607a warrenville, il 60555 [office] 847.798.8897 [mobile]312.307.2079 [web] www.nwlinc.com http://www.nwlinc.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] trying to make warning macro work in 2.0
Hi, On Apr 21, 2009, at 8:34 PM, Kelly Lakas wrote: Hi - I am trying to make the warning box macro work in 2.0. From the research I did, it looked like I needed to put it in like this: {{velocity}}#warning(this needs an update){{/velocity}}. Then I get this on render: div class=warningmessagespan class=messagetypeWarning: /spanthis needs an update/div. I tried {{velocity}}{{xhtml}}#warning(this needs an update){{/xhtml}}{{/velocity}} as well, but that failed too - I get an error box that says unknown macro: html. Try using {{html}} instead of {{xhtml}}. Thanks -Vincent I'm using XWiki Enterprise 1.8.1.18545, installed on my local box. I'm not a programmer/developer, so I'm a little stuck on the next step and my investigations so far haven't turned up what I need to do. I saw also on the footnotes macro page that the comment said that it didn't work in 2.0, so I'm assuming that needs an update to get it to work? Or is the comment wrong? Hate to bother, just looking for a little help. Kelly Lakas Project Manager next wave logistics inc. 28377 davis parkway, suite 607a warrenville, il 60555 [office] 847.798.8897 [mobile]312.307.2079 [web] www.nwlinc.com http://www.nwlinc.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Moving spaces and their contents
Hello, I am trying to move a space and all it's children pages to a different space, which already exists and has content. If i move the space Webhome1 to Webhome2 the contents of Webhome1 will become orphaned. Is this possible without having to rename/move each page manually? view/Webhome1/* - view/Webhome2/Webhome1/* Thanks. -- Intertainservices 4101 Yonge St., Suite 506 Toronto, Ontario, M2P 1N6 Phone: +1 416 225-8475 x303 Fax: +1 416 535 9094 Cell: +1 416 562 5378 E-mail: mike.jaku...@intertainservices.com This message, including any attachments, is privileged and may contain confidential information intended only for the person(s) named above. Any other distribution, copying or disclosure is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify me immediately by reply email and permanently delete the original transmission, including any attachments, without making a copy. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] app: browse/listen to 60+ National Public Radio Podcasts in Pre2.4 Simile Timeline
http://nielsmayer.com/xwiki/bin/view/Timeline/NprTimeline xwiki (html+wikitext+velocity+javascript) code: http://nielsmayer.com/xwiki/bin/view/Timeline/NprTimeline?viewer=code see also http://nielsmayer.com/xwiki/bin/view/Timeline/MP3Feed2TL?viewer=code http://nielsmayer.com/xwiki/bin/view/Macros/JW-Player?viewer=code http://nielsmayer.com/xwiki/bin/view/Macros/Foobar?viewer=code Niels http://nielsmayer.com PS: I'd love to get feedback if this app doesn't work for you; or if it fails to load or display... and if so, what platform/browser/etc. Also, if you don't have Flash to play podcast audio (or its not available on your iphone) do you have java applets available, or http://silverlight.net ? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users