[xwiki-users] No create wiki menu in XWiki 5.4.3

2014-03-28 Thread Jeremie BOUSQUET
Hello,

Just migrated from 4.5.2 to 5.4.3, and it worked perfectly except some
"issues" (or misunderstandings) :
- My user is in an admin group with admin and PR rights, and I've set it
also (on the group) the "create wiki" right. Still, when logged in, I don't
have any "wiki" item in the "Add" menu (only usual space, page, ...). I'm
sure I'm missing something obvious but can't find it.
- I show the Blog in a gadget of the Dashboard. Weirdly, "permalinks"
correctly point to each blog entry, but the link from page title points to
a create action (though it points apparently to exact same url as permalink
except for the "create" action). The same for the buttons on right side of
each blog subject (create/delete/)

Thanks,
Jeremie
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Can admins see MyDashboards?

2014-03-28 Thread Patrick Masson
I'm concerned some may be using the MyDashboard feature of their profile 
page to post inappropriate content. What access rights do admins have on 
pages that are located off the MyDashboard or where permissions are set 
so that only some registered users may see them?


Let's say a user was using our site to post/distribute/develop child 
pornography or malware?


Patrick

--
|||  |  |||||  |||| |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Skype: massonpj
sip: mas...@getonsip.com 


Ph: (970) 4MASSON
Em: mas...@opensource.org 
Ws: www.opensource.org 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] PDF export - customizing table of content

2014-03-28 Thread Nicolas Sanitas
Hi all,

I have followed information given here 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration in order to 
customize my PDF export (via its CSS).

I succeeded in doing all I wanted, except concerning the table of content: I 
can’t customize it because I don’t know which component is used to display it 
(neither , nor …). 

Could you help me please? I would change the font used to display it.

For information I’ve tried to setup the font-family defined for the whole 
document with 
body { font-family: 'Helvetica Neue LT Com’; }
but it crashes at PDF generation time (please see below).

Thanks by advance!
Nicolas

Error number 11015 in 11: Exception while exporting
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while 
exporting
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:82)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:294)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129)
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.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:744)
Caused by: com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception 
while exporting pdf
at 
com.xpn.xwiki.pdf.impl.PdfExportImpl.createException(PdfExportImpl.java:569)
at 
com.xpn.xwiki.pdf.impl.PdfExportImpl.renderXSLFO(PdfExportImpl.java:343)
at 
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHTML(PdfExportImpl.java:271)
at 
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:224)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:210)
at com.xpn.xwiki.web.ExportAction.export(ExportAction.java:223)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:79)
... 35 more
Caused by: javax.xml.transform.TransformerException: 
org.apache.fop.fo.ValidationException: 
"{http://www.w3.org/1999/XSL/Format}block"; is not a valid 

Re: [xwiki-users] XWQL : order by count ?

2014-03-28 Thread vinc...@massol.net
 



On 27 Mar 2014 at 21:01:49, Jeremie BOUSQUET 
(jeremie.bousq...@gmail.com(mailto:jeremie.bousq...@gmail.com)) wrote:

> Hello,
>  
> Seems every year I hit this problem (ORDER BY COUNT in XWQL causes a parser
> exception), so this time I decided to create an issue ... :) :
>  
> http://jira.xwiki.org/browse/XWIKI-10189

cool :)


Maybe you’ll be able to provide a patch next year! ;)


Thanks
-Vincent

> BR,
> Jeremie
>  
>  
> 2012-05-24 15:13 GMT+02:00 Jeremie BOUSQUET :
>  
> > Hello,
> >
> > Seems I'm back to this problem (XWiki 3.5), and I did not find a
> > solution still ...
> >
> > For example this XWQL request :
> >
> > select topic.author, count(topic.author)
> > from Document doc, doc.object(MailArchiveCode.MailTopicClass) as topic
> > where doc.space<>'MailArchiveCode'
> > group by topic.author
> > order by count(topic.author) desc
> >
> > ... will throw this exception when executed :
> >
> > Caused by: org.xwiki.query.jpql.parser.ParserException: [1,165] expecting:
> > id
> > at org.xwiki.query.jpql.parser.Parser.parse(Parser.java:1247)
> > at
> > org.xwiki.query.jpql.internal.JPQLParser.parse(JPQLParser.java:46)
> > at
> > org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:55)
> > at
> > org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:78)
> > ... 123 more
> >
> > Column 165 refers to the count in the order by clause.
> >
> > This does not work better :
> >
> > select topic.author, count(topic.author)
> > from Document doc, doc.object(MailArchiveCode.MailTopicClass) as topic
> > where doc.space<>'MailArchiveCode'
> > group by topic.author
> > order by 2 desc
> >
> > It does not work with a MySQL nor HSQLDB default db.
> >
> > If I remove the order by clause, the query works correctly.
> >
> > I think it's strange because for me ORDER BY COUNT() is valid
> > in JPQL ? As long as the expression is also present in the SELECT
> > clause.
> >
> > Thanks,
> > Jeremie
> >
> >
> > 2011/10/18 jerem  
> > >
> > > Hi,
> > >
> > > I'm trying to use XWQL query language to select count of authors and
> > would
> > > like to order this by descending order of this count.
> > >
> > > I ended up having this work fine :
> > >
> > > "select count(myobject.author), myobject.author from Document as doc,
> > > doc.object(Space.MyClass) as myobject group by myobject.author"
> > >
> > > But adding " order by count(myobject.author) desc" leads to an error for
> > > translating the query ...
> > > Adding "AS" in the select expression does not seem to work either.
> > >
> > > Is this possible in XWQL and how ?
> > >
> > > Thanks,
> > > Jeremie
> > >
> > > --
> > > View this message in context:
> > http://xwiki.475771.n2.nabble.com/XWQL-order-by-count-tp6904819p6904819.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
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users