Hi.
Is there a way to delete (e.g. using Velocity) document by it's ID ? One of my documents received bad name (I suppose lack of some input validation in rename form), I tried to fix it in xwikidoc table, and now I cannot access it in any way. I don't need it, but how to remove it safely?
TIA,
Ryszard.
Hello,
I use XWiki Enterprise 7.4.2.
I would like to be able to zoom on my images to view them in their
original size.
How can I do this please ?
Thanks !
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
Hi,
i create a macro that renders a link by using macro parameters. The link
name should be prefixed with double backslashs.
The macro body looks like that:
{{velocity}}
[[~~\~~\ $xcontext.macro.params.name
">>url:file://$xcontext.macro.params.link||rel="__blank"]]
{{/velocity}}
Instead of the expected out of "\\Name of the link" I get "\\$
xcontext.macro.params.name". The parameter is only evaluated correctly if I
insert a space after the last backlash, so the last backlash prevents the
parameter evaluation. How I have to escape the double quots correctly?
Best regards
Peter
Hello all,
A new version of the application workflow was released this morning,
version 1.5.1. It contains only one fix compared to 1.5, issue
http://jira.xwiki.org/browse/XAWORKFLOW-16 , which is actually quite
particular (we might want to revert this modification at some point in a
future version, as it's only impacting some upgraded instances).
Enjoy!
Anca
Sent from my phone
I'm trying to use the REST API to retrieve some data but the API seems to be
ignoring the type parameter.
My environment is XWiki 7.4.2, Debian 8, PostgreSQL, Tomcat 8, Openjdk 8
If I try to fetch some data using the browser and the following URL:
http:// ...
/rest/wikis/query?q=select%20obj.first_name,obj.last_name%20from%20Document%20doc,%20doc.object%28XWiki.XWikiUsers%29%20as%20obj&type=xwql
the result is as follows (I'm reproducing here only the first few lines -
there are actually 10 items returned)
<searchResults
template="http://10.1.16.192:8080/wiki/rest?q={solrquery}(&number={number})(&start={s…"><searchResult><link
href="http://10.1.16.192:8080/wiki/rest/wikis/xwiki/spaces/XWiki/pages/DocumentTr…"
rel="http://www.xwiki.org/rel/page"/><type>page</type><id>xwiki:XWiki.DocumentTreeMacros</id><pageFullName>XWiki.DocumentTreeMacros</pageFullName><wiki>xwiki</wiki><space>XWiki</space><pageName>DocumentTreeMacros</pageName><modified>2016-02-15T12:14:34-03:00</modified><author>xwiki:XWiki.Admin</author><version>4.1</version><score>0.75986093</score></searchResult><searchResult><link
href="http://10.1.16.192:8080/wiki/rest/wikis/xwiki/spaces/Panels/pages/DocumentI…"
rel="http://www.xwiki.org/rel/page"/><type>page</type><id>xwiki:Panels.DocumentInformation</id><pageFullName>Panels.DocumentInformation</pageFullName><wiki>xwiki</wiki><space>Panels</space><pageName>DocumentInformation</pageName><modified>2016-01-12T09:56:52-03:00</modified><author>xwiki:XWiki.superadmin</author><version>1.1</version><score>0.63381535</score></searchResult>
The result is not related in any way to the user data or their names. From
the template on the first line, it seems to think that the query is a SOLR
query not xwql. I've verified that the query is correct xwql syntax and
gives a valid result by trying it in a velocity script on an actual xwiki
page. The result is basically the same if I just query for the first name
instead of both the first name and last name.
How should I be executing xwql queries using the REST API?
Regards
Mark Sack
--
View this message in context: http://xwiki.475771.n2.nabble.com/REST-API-ignores-type-parameter-tp7599586…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
FYI I’ve released version 8.2.1 of the JIRA Macro (http://extensions.xwiki.org/xwiki/bin/view/Extension/JIRA+Macro) and the JIRA Scripting API (http://extensions.xwiki.org/xwiki/bin/view/Extension/JIRA+Module).
The main new feature is the ability to access authenticated JIRA servers and to manage JIRA servers configuration from the Admin UI, see http://extensions.xwiki.org/xwiki/bin/view/Extension/JIRA+Administration/
Before you had to specify a URL when using the JIRA macro, such as {{jira url=“http://jira.xwiki.org” …/}}. You should now prefer using the {{jira id=“someid” …/}} parameter and define “someid” in the Admin UI. This allows to manage centrally JIRA instance configuration. Note that the URL parameter is still supported though.
In addition, these extensions were located in xwiki-rendering and xwiki-platform. They’re now under xwiki-contrib which means they’re now no longer linked to releases of XWiki; they now have their own release lifecycle, which will have 2 consequences:
- it’ll be easier to release new versions more quickly
- any committer on xwiki-contrib can improve them
Enjoy!
Thanks
-Vincent