Hello,
A user want to rename lot of page in Xwiki and I don't want this op displayed on WebHome Activity Stream.
Then, I found these API to use:
http://tiny.cc/2fb0vx
public void deleteActivityEvent(ActivityEvent event)
Delete the passed event form the database.
and
http://tiny.cc/gkb0vx
public List<ActivityEvent> getEventsForUser(String streamName,
String user,
boolean filter,
int nb,
int start)
throws ActivityStreamException
Return the latest events recorded for the given stream name and the given user.
Unfortunaly, my code return only old activity events (probably some old events before my Xwiki upgrade ... I guess?). I obtain this
XWiki.MyUser - 2014/09/24 13:27 - 2014-09-24 13:27:44.0 - update - 20
MySpace.MyPage - 2014/09/22 17:14 - 2014-09-22 17:14:17.0 - deleteAttachment - 20
BacASable.Tableau filtré - 2014/09/19 15:37 - 2014-09-19 15:37:31.0 - update - 20
Here my code:
{{velocity}}
#set ($MonStream=$xwiki.activitystream.getStreamName("Encyclopédie"))
#foreach ($MonEvent in $xwiki.activitystream.getEventsForUser($MonStream, "XWiki.christianchambon", false, 1500, 0))
1. $MonEvent.getPage() - $MonEvent.getDisplayDate() - $MonEvent.getDate() - $MonEvent.getType() - $MonEvent.getPriority()
#end
{{/velocity}}
With this, it is the same thing :#foreach ($MonEvent in $xwiki.activitystream.getEventsForUser("XWiki.christianchambon", false, 1500, 0)): only old events :-(
Activity stream working well on my Xwiki WebHome
Thxs for any helps
Pascal B
The XWiki development team is proud to announce the availability of
XWiki 7.0 Release Candidate 1.
The version is mostly about stabilization before 7.0 final. It
contains diff UI improvements, Extension Repository improvements, a
new component based watchlist module, a new application to edit wiki
skins. XWiki also moved to Servlet 3.0.1 which means various old
application servers versions are not supported anymore.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70RC1
Thanks
-The XWiki dev team
I would like to create a Javascript application in XWiki.
My precise goal is to go get some content from Jenkins (build status)
and render it over a static image using d3.js or any other rich
rendering framework.
I suppose the only way to implement that is to write my webpage as HTML.
But, then, how will I use external frameworks ? (typically d3.js)
Thanks
--
Nicolas Delsaux
Hi,
I'm in organization where we have 3 unsynchronized wikis, implemented
using the software named in subject (ie JSPWiki/DokuWiki/mediawiki).
I would like to merge their content in one unique wiki, obviously
implemented using XWiki (due to the excellent interview Vincent Massol
and Ludovic Dubost gave to the castcodeurs podcast).
I have seen there are extensions to have content of those legacy wiki
imported into XWiki.
However, i'm not sure I understand how they work.
1 - JSPWiki to XWiki
There seems to be an old (?) extension at
http://extensions.xwiki.org/xwiki/bin/view/Extension/JSPWiki+To+XWiki+Conve…,
documented by Vincent Massol. From what I understand, the Java code in
this extension has to be compiled independently, and run as a
stand-alone program on the machine hosting the JSPWiki server. It will
generate a XAR that can be injected into XWiki. Am I right ? If so, it
is hardly an extension of XWiki, but rather a companion program (but I'm
nitpicking). However, as a stand-alone program, isn't it available as an
executable JAR somewhere ?
2 - Dokuwiki to XWiki
This time, it's a valid XWiki extension :
http://extensions.xwiki.org/xwiki/bin/view/Extension/Import+DokuWiki+into+X…
which is easily installable using Extension manager (cool !). However, I
wonder how it will work with XWiki 6.4.2 ...
3 - mediawiki to XWiki
This time ... it seems like there is no extension. or is it ?
bonus - xwiki-OLD to xwiki
We also have some content in an old (5.0.1) version of XWiki. How do I
migrate ?
Conclusion - cheers
I must confess I had never tried before XWiki, and my first impression
is that it's a robust and perfectly usable wiki solution. The XWiki team
did a really impressive work.
--
Nicolas Delsaux
Hello,
we are a groupe of four students and we are actually working on a XWiki
extension.
This extension will be a modern photo gallery which allows users to
organise and publish photos.
For now, our planned features are the followings:
-Thumbnails display
-Responsive display
-Autoplay (diaporama)
-Nice transitions
-Intuitive configuration page included drag and drop function to upload
images
Do you have another ideas or suggestions to improve our extension ?
Thank you in advance.
Best regards,
CRAY team
According to XWiki documentation, "all non Velocity scripting languages
are only allowed to be used by sers having the programming rights".
Does it means a groovy macro can only be used if I have the programming
role ?
If so, is it possible to have all users granted those rights automatically ?
--
Nicolas Delsaux
Hi
On that same tab you are looking at (Base colors) scroll down and change the value for @headings-color. This will allow you to change all the titles and headings. I hope that helps.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of MishaK
Sent: 13 March 2015 14:45
To: users(a)xwiki.org
Subject: Re: [xwiki-users] Globally changing font, headers and title in XWiki
Okay, I changed the font thank you for that!
I don't know how to change the default *Title *and *Headings* colour.
I can only see colour modification for all text, backgrounds and so on.
Here is a picture:
<http://xwiki.475771.n2.nabble.com/file/n7594315/Color_Theme.png>
--
View this message in context: http://xwiki.475771.n2.nabble.com/Globally-changing-font-headers-and-title-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
I am looking for a solution for the following situation.
I have 2 wiki's. The fist one (ref: MD) contains "Master Data". The
second one (ref: UD) contains "User Data". I have Classes in UD that use
data from the MD. The way to connect them is using DBList. I am however
not able to compose a HQL query that enables me to select a different
Wiki to run the query on. I know it is possible to select the Wiki in
Velocity but until now, that didn't help me. In the Github code (the
getDBList method in the DBListClass.java) a comment is included just
before a statement:
// The DBlist may come from an other wiki
StringwikiName =getReference().extractReference(EntityType.WIKI).getName();
This might indicate that selecting a wiki might be an option when
getting a DBList.
Anybody knows how to solve this problem (without replicating the data
from MD in UD ;-))? Any additional suggestions are welcome.
Thanks,
Peter