Hi everybody,
I am working on some brainstorming about the future of the XWiki REST API...
The starting point, of course, would be to understand who is using it,
how she's using it (i.e., for which use cases), what are the problems
she has encoutered and which kind of feature she would like to see in
the API.
So, if you have worked/interacted/built something with the REST API it
would be great to have your feedback.
Thanks,
Fabio
i downloaded the xwiki-application-watchlist-1.35.xar from link
http://maven.xwiki.org/releases/org/xwiki/platform/applications/xwiki-appli…
but
even after importing this xar , i do not see watch space/ watch page/watch
wiki options when i hover/click over space/page/wiki . Is there
any extra configuration i need to do(i already tried restarting my
webserver but did n't help)?
i have included couple of RSS feeds on a page. But when i go to that page
that takes lot of time to load(around 20 secs). I understand that it
is happening becuase of inclusion of RSS feed. I think what happens is
everytime i click on that page, it brings the fresh content
from RSS subscribed sites. My question is can we configure the time
frequency so that RSS feeds are fetched after certain specified
time not everytime on click of that page. It will improve the performance a
lot.
Here is my code that included RSS feed under tabs.If we can specify the
time frequency ,it would be great. If it is not possible
can we bring the RSS content of only site mentioned under first tab. Now if
user further clicks on second tab, content for that rss
feed is fetched that time itself instead of fetching contents of all rss
feed sites at a time(or if we can make the fetching
RSS feed contents asynchronously it would be amazing without imapceting
page loading).
{{tabs idsToLabels="tabId1=Martin Fowler, tabId2=Coding Horror"/}}
(% id="tabId1" %)
(((
{{box cssClass="tabId1div"}}{{/box}}
{{rss feed="http://martinfowler.com/feed.atom" content="yes" width="100%"/}}
)))
(% id="tabId2" %)
(((
{{box cssClass="tabId2div"}}{{/box}}
{{rss feed="http://feeds.feedburner.com/codinghorror/" content="yes"
width="100%"/}}
)))
Hi,
our existing xwiki is running under Xwiki Enterprise version 1.5.11446
(very old).
I am evaluating XWiki 5.0.1 with a local standalone installation.
I would like to import all pages of a very old XWiki with the pages
being in xwiki 1.0 format. Exporting the pages to a *.xar file and
importing this in the 5.0.1 installation didn't work. There were no
error messages, but no content was shown during import.
The I created a simple test page in the old Xwiki in XWiki 2.0 format.
This could not be imported into XWiki 5.0.1, either.
What did work, is to copy the content of one page of the old xwiki in
the browser view and insert it in the wysiwyg editor of a newly
created page in the new xwiki. But this would have to be done for
every single page and I didn't test it with more complex pages with
tables and images.
Any idea how to import very old pages in the current version of XWiki?
Thanks in advance
Matthias
--
Matthias Albert
Rastatter Straße 26
76199 Karlsruhe
Tel. 0721 885744
Email: matthias.albert(a)gmx.de
Hi everybody !
I'm using this method to send HTML mails :
xwiki.mailsender.sendHtmlMessage(...) in a groovy script and it works
perfectly, but I have trouble with pictures.
Indeed, in the content of my mail, I have a <img> tag with a "src"
attribute pointing on a picture located on my xwiki.
When i'm logged on my XWiki, I can see the pictures when I open my
mail.
When I'm not logged on XWiki, I can't see pictures beacause I suppose
I need authentication : does somebody know how I could do to solve this
? I think I have to send a HTTP Authorization Header in the content of
my
HTML mail in order to reach the picture but I don't know how to do, I
've tried with "http-equiv" in the <meta> tag but no success.
Thanks for your help !
Regards, Pierrick
Hi,
Would it be possible to use Arab language on XWiki? If so, has it been done?
What would it take to be able to write pages in Arab?
And what to have the XWiki present itself in Arab?
Gerritjan
I have integrated xwiki with active directory it works great. I want user
should be able to edit their profile only not anybody else.
Now if i give Admin rights on Xwiki space to XwikiAllGroup, active
directory user can edit any user profile and lot of other stuff under xwiki
space which i do not want. If i don't give Admin rights on Xwiki space to
XwikiAllGroup, in that case user can not edit his profile also.
So whats the right way to configure so that user can edit his profile only?
Hello fellow xwiki experts,
I know it is a shame to run such an old xwiki but sometimes, you have to. This is xwiki 1.5.4 which I deployed as a webapp inside a tomcat 6.
While a very similar instance runs flawlessly, this one says:
> Caused by: java.lang.NoSuchMethodError: com.xpn.xwiki.plugin.PluginApi.ajc$privFieldGet$com_xpn_xwiki_plugin_PluginApiAspect$com_xpn_xwiki_plugin_PluginApi$plugin(Lcom/xpn/xwiki/plugin/PluginApi;)Lcom/xpn/xwiki/plugin/XWikiPluginInterface;
> at com.xpn.xwiki.plugin.PluginApiAspect.ajc$interMethod$com_xpn_xwiki_plugin_PluginApiAspect$com_xpn_xwiki_plugin_PluginApi$getPlugin(PluginApiAspect.aj:36)
> at com.xpn.xwiki.plugin.PluginApi.getPlugin(PluginApi.java:1)
> at org.curriki.xwiki.plugin.lucene.ResourcesSearchCursor.next(ResourcesSearchCursor.java:416)
I don't think adding such a method makes any sense.
I just don't know how to dig things around so that the potential clash is removed (I suspect a config file wrongly loaded somehow).
With -verbose:class, all "Aspect" are loaded from the same jar.
thanks in advance.
paul
The XWiki development team is proud to announce the availability of
XWiki 5.1 Milestone 2.
This release brings automatic Solr indexing with locale inheritance
and a few bug fixes and improvements.
You can download it here:
http://www.xwiki.org/xwiki/bin/view/Main/Download (please allow a few
hours for the binaries to propagate to the download servers if the
download doesn't work yet)
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki51M2
Thanks
-The XWiki dev team
Hello.
I am having some tens of pages of groups and users and checking the
rights on spaces/pages is a real chore. Currently I have to manually
pass through all the pages to check the access rights and to discover
what groups/users have the rights modified from the default.
I would find it very valuable to have the groups/users that have the
access rights/permissions modified from the default to the top when
viewing the access rights for a space/page. Would you consider
implementing this functionality in future versions?
Thanks.
--
Adrian Fita
Hi guys,
I've been working on this little side project which I originally needed to
scratch a personal itch that came up during my work on the Resilience research project.
I needed an efficient way to generate XWiki export (.xar) files and post them to a
running wiki for rapid prototyping. In the past I would do some work from within the
wiki and once the bulk of the work was done, I'd export an xar file and unzip it.
Fixing up the XML and making small changes would be done by hand editing the XML dumps.
To test it, the XML files would be packaged into .xar file using Maven then uploaded
into the wiki by using the import function in the Admin interface.
There are a few problems with this process:
1. Manually editing XMhelL files.
2. My attention span lasts from `mvn clean install` to `[INFO] Scanning for projects...`
3. The turnaround cycle from making a change in the git repository to seeing it in the
wiki is somewhere around 2 minutes (edit, compile, upload in browser, test)
My solution is called xwiki-tools, it's a Javascript framework for scripting the creation
of XWiki packages with documents, objects and classes.
Code Golf example:
This is the shortest xwiki-tools script which will run (it makes a .xar file):
var XWiki = require('xwiki-tools');
var pack = new XWiki.Package();
pack.setName("XWiki - Contrib - XWiki Tools Tiny Example");
pack.setDescription("package name, description and extensionId are required");
pack.setExtensionId("org.xwiki.contrib:xwiki-tools-tiny-example");
var doc = new XWiki.model.XWikiDoc(["Main","TinyExample"]);
doc.setContent("A code-golf example of making an XWiki .xar file with 1 document.");
pack.addDocument(doc);
pack.genXar('XWikiToolsTinyExample.xar');
You can copy/paste this little .js script into a file and run `node yourFile.js` and
it will output XWikiToolsTinyExample.xar.
But wait, there's more!
xwiki-tools doesn't just allow you to wrap little documents into .xar files, it
allows you to add attachments, XObjects and even define your own XClasses.
It can also generate more than a xar file, it can post the package directly to a
running wiki which allows you to edit a file, run the command, page over to the
browser and immediately see your changes!
If you want, it can also generate output as an Apache Maven build.
Check out the example here: https://github.com/cjdelisle/xwiki-tools-example
to learn how to add attachments, XObjects and XClasses to your package and how to
post to a wiki or generate a Maven build.
Performance:
user@ubnta8:~/wrk/resiliance/xwiki-tools-example$ time ./do >/dev/null
real 0m0.643s
user@ubnta8:~/wrk/resiliance/xwiki-tools-example$ time ./do --mvn >/dev/null
real 0m0.416s
user@ubnta8:~/wrk/resiliance/xwiki-tools-example$ cd mvnout/
user@ubnta8:~/wrk/resiliance/xwiki-tools-example/mvnout$ time mvn clean install >/dev/null
real 0m20.578s
XWiki Classes:
So you've decided you want to give this a shot and you have a big ugly
class which you need to represent. If you've looked at one of the existing
classes such as:
https://github.com/cjdelisle/xwiki-tools/blob/master/lib/model/classes/Wiki…
then you know what it needs to look like but getting your class in that form
would be painful. Fortunately there is a tool which reads your .xml file with
the XClass and prints a .js file like the one above.
Just unzip the xar export from XWiki and run the following:
node ./bin/describeclass.js /path/to/YourBigClass.xml
Note: some of the class properties are unimplemented so some classes will not work.
License:
LGPLv2.1, same as XWiki, generated code/data explicitly exempted.
Thanks,
Caleb
Hello.
I imported a XAR from a backed up xwiki instance, but the users were not
added in the XWikiAllGroup. There are many users. How can I add them easily
to the XWikiAllGroup? Manually add each one of them is out of the
question...
Thanks,
--
Fita Adrian
As per instruction given at
http://extensions.xwiki.org/xwiki/bin/view/Extension/RSS+Macro i created
the page and icluded below macro
{{rss feed="http://rss.cnn.com/rss/edition_asia.rss" /}}
But getting below error(though i am able to open link
http://rss.cnn.com/rss/edition_asia.rss in browser). I am not getting whats
the issue here?
Failed to execute the [rss] macro
org.xwiki.rendering.macro.MacroExecutionException: Error processing [
http://rss.cnn.com/rss/edition_asia.rss] : Invalid XML: Error on line 18:
The element type "link" must be terminated by the matching end-tag
"</link>".
at
org.xwiki.rendering.internal.macro.rss.DefaultRomeFeedFactory.createFeed(DefaultRomeFeedFactory.java:68)
at
org.xwiki.rendering.internal.macro.rss.RssMacro.execute(RssMacro.java:136)
at org.xwiki.rendering.internal.macro.rss.RssMacro.execute(RssMacro.java:61)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:187)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:132)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:83)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:248)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
Hello.
I have a 200MB XAR file that I'm trying to import in a XWiki 5.0.3
installation, but the "Large XAR Import" extention[1] fails with the
following:
Caused by: javax.script.ScriptException: javax.script.ScriptException:
groovy.lang.MissingPropertyException: No such property: context for
class: javax.script.SimpleScriptContext
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:152)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:279)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:213)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:173)
... 106 more
Caused by: javax.script.ScriptException:
groovy.lang.MissingPropertyException: No such property: context for
class: javax.script.SimpleScriptContext
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:349)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:146)
... 109 more
Caused by: groovy.lang.MissingPropertyException: No such property:
context for class: javax.script.SimpleScriptContext
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at Script19.run(Script19.groovy:214)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:346)
... 110 more
Anybody has any suggestions about how to fix this? My XWiki is installed
from deb[2] on Ubuntu 12.04.2 LTS, running under tomcat7.
1/ http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import
2/ http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
Thank you,
--
Fita Adrian
Using XWiki 4.0
We tried to import a Word Document with the "Page from Office", but the
import failed...partially.
We got the text imported, but images are missing (no attachments)
But now:
When we try to delete the page, we get this error (see below)
When we try to edit the page and "Save and view", we get this error (see
below)
When we erase all content from the page and try to "Save and view", we get
this error (see below)
Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
at...blah blah blah
Caused by: java.sql.SQLException: Incorrect string value: '\xEF\x83\xA0
al...' for column 'XDD_XML' at row 1
at...blah blah blah
What to do now?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Can-t-delete-page-tp7585704.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is there a Skin or a setting or something so I could use XWiki as a
CMS for a web site? Something that if you're not logged in, it will
not show any wiki related functional things at all.
What I'd like to do is configure my XWiki install with 3 spaces:
"static" web site for default space, then blog and wiki spaces that
would use the default skin.
I've looked into building a custom skin, but it seems like this is
something someone might have already done so asking to avoid
reinventing the wheel.
Thanks!
Hi,
On save I've got "context: Exception while parsing HTML". Page was
reloaded only with previously saved changes. A page was edited in
WYSIWYG mode.
Is it possible to rescue changes which have been done since the last
save? Maybe XWiki keeps internally some drafts which could be used?
Marcin
Hi,
I tried to install the Diagram Application in a fresh install of xwiki
Enterprise 5.0.1 (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Diagram+Application).
I'm able to see the diagram viewer/editor from the Diagram Space but unable
to display anything in a wiki page and the "save" options from menu are
shown greyed (I use the save option from wiki page).
I have tried to display the diagram using the Display Macro without any
luck (no render). In place, I can only see diagram code in wiki page i.e:
<root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="2" value=""
style="ellipse" vertex="1" parent="1"><mxGeometry x="410" y="240"
width="80" height="80" as="geometry"/></mxCell><mxCell id="3" value=""
style="ellipse" vertex="1" parent="1"><mxGeometry x="330" y="260"
width="80" height="80" as="geometry"/></mxCell><mxCell id="4"
value="Double
Rounded Rectangle" style="shape=ext;double=1;rounded=1"
vertex="1" parent="1"><mxGeometry x="240" y="290" width="120" height="60"
as="geometry"/></mxCell></root>
Have anyone tried this application with 5.0.X versions?
Thanks in advance!
i downloaded the latest version of xwiki i.e
xwiki-enterprise-web-5.1-milestone-1.war file and put it in
<Tomcat_HomeDirectory>/xwiki ax extracted folder.
Now when startup the tomcat i am getting below error
Jun 11, 2013 12:32:30 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.xwiki.container.servlet.XWikiServletContextListener
java.lang.NoClassDefFoundError: Failed to get fields for class
[org.xwiki.extension.internal.DefaultExtensionLicenseManager] because the
class [org/reflections/Configuration] couldn't be found in the ClassLoader.
at
org.xwiki.component.util.ReflectionUtils.getAllFields(ReflectionUtils.java:71)
at
org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptor(ComponentDescriptorFactory.java:132)
at
org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptors(ComponentDescriptorFactory.java:105)
Am i missing some library?
Hello,
I am part of a new political party in Germany. Now there will be the
foundation of the youth movement of this party. I have the vision of a wiki
that can put in order all of the economic, political and social themes.
Is that something attributable to a non-profit-organization? As we simply
are not commercial?
Thx.
Lorenz
Hello,
I have a problem to implement Google Analytics into my wiki.
I used the Google Analytics functionality in the administration section and I put the ID number given by my Google Analytics account. It worked during a day and then nothing.
Do you know this problem and how it can be fixed ?
Thanks
Best regards,
Manon
For XWiki 4.5.3, when new tag is added,
it shows:
Tags: [object Text] Test1 [+]
Message before newly added tag.
It disappears after refreshing page.
It seems feels related to Javascript execution.
Any thoughts?
Thanks!
Valdis
Hi,
It is excited.
Is there any responsive skin for XWiki that run on browsers (that is, only based on HTML/CSS)? Will XOrange be maintained further?
Thanks
Guofeng
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Ludovic Dubost
Sent: Friday, June 07, 2013 4:58 PM
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [Announcement] XWiki Mobile Application on the Apple App Store
Hi,
I'm happy to announce that the XWiki Mobile Application has made it to the Apple App Store.
https://itunes.apple.com/us/app/xwiki-mobile/id655769489?l=fr&ls=1&mt=8
It requires XWiki Platform 4.x to function (also works with XWiki SAS'
XWiki Cloud instances).
More information as well as an Android package is available at:
http://extensions.xwiki.org/xwiki/bin/view/Extension/XWikiMobile
For developers more detailed information about the project are available
here:
http://dev.xwiki.org/xwiki/bin/view/Design/MobileClient
and the code is published on GitHub:
https://github.com/xwiki-contrib/xwiki-mobile-morpho
Any bugs can be reported in the XWiki Morpho bug tracker:
http://jira.xwiki.org/browse/XMMORPHO
We need a bit more work to get the Android version ready for Google Play.
We have Buddhi, our Google Summer of Code student who will work on this. If there are testers to try it on different Android OS versions and devices you are welcome to help us.
Ludovic
--
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users