The XWiki development team is proud to announce the availability of
XWiki 6.1 Milestone 2.
This milestone contains a new mail API and module to replace the old
mailsender plugin, Flamingo skin and Extension Manager improvements as
well as various performances improvements and bug fixes.
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/ReleaseNotesXWiki61M2
Thanks
-The XWiki dev team
Hi everyone,
On the 15th of December (i.e. in a month's time), it will be **10 years**
since the first commit on the XWiki open source project.
Ludovic did the first commit in CVS on Sourceforge:
"
15.12.2003 10:13:33, by ludovic
Initial revision
"
(Can be seen at
http://svnsearch.org/svnsearch/repos/XWIKI/search?from=20030101&to=20040101
)
10 years is starting to be some respectable milestone!
I invite everyone to join us in celebrating by adding your own story about
your interaction with the XWiki community or the XWiki software at
http://dev.xwiki.org/xwiki/bin/view/Drafts/TenYearsOfXWiki
<XWiki SAS hat>
Since I'm also the CTO of the XWiki SAS company, I'd like to officially
invite all the members of this great community to join us in celebrating
the 10 days of the XWiki project at the XWiki SAS office in Paris, France
on the 12th of December 2013.
Here's the invitation:
http://www.xwiki.com/lang/en/News/XWiki+10th+Anniversary
See you there!
</XWiki SAS hat>
Well done everyone!
-Vincent Massol
Hi devs,
Following this email thread http://markmail.org/message/batmj7h2oibckroy I’ve now progressed with Lyes and we would like to move our code to XWiki Platform.
More detail is available at http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Here’s my +1
Note that it’s not fully finished but I’d like to start making it official in 6.1M2 and tune it from there. It’s already working and tested with some integration test for some use cases.
Thanks
-Vincent
Hello,
I'm working on semantic extension for XWiki[1][2] and currently on
performance tunning to be ready for scaling up. The problem with current
implementation is that it always modifies semantics DB on all page
views. E.g. when I do have a page with
{{semProp value="http://purl.org/dc/elements/1.1/title::The Hobbit"/}}
to define property 'title' to value 'The Hobbit', this macro basically
saves this knowledge to the DB everytime the page is viewed which is
obvious performance killer. Of course there is a possibility to optimize
this call to first check if the property is already defined and if not,
do nothing, but it's still not the best.
What I think I'd like to do is to kind of check if the pages is saved or
viewed and based on this semProp will do its job (during page save) or
will do nothing (during page view).
Now, my question is if something like that is possible since I've not
found any hints about it so far.
Thanks!
Karel
[1]: http://extensions.xwiki.org/xwiki/bin/view/Extension/Semantic+XWiki
[2]: https://github.com/kgardas/semxwiki
Folks,
I'm testing kind of scalability of XWiki by simple benchmark which
creates N pages in a loop (one page at a time, it's not parallel run!)
and then when this loop finishes, it again in another loop gets all the
pages from the server (again serially, one page at the time). For page
creation we're using REST API, for getting the pages we're using common
browseable URL (/xwiki/bin/view/...).
Now the problem is that if I try to attempt creation of 100k pages, then
I hit Java's out of memory errors and server is unresponsive from that
time. I've tested this on:
- xwiki-jetty-hsql-6.0.0
- xwiki-jetty-hsql-6.0.1
- xwiki-tomcat7-pgsql -- debian xwiki packages running on top of debian 7.5
Of course I know the way how to increase Java's memory space/heap space.
The problem is that this will not help here. Simply if I do so and then
create 100 millions of pages on one run I will still get to the same
issue just it'll take a lot longer.
I've googled a bit for memoryleaks issues on Java and found an
interesting recommendation to use parallel GC. So I've changed
start_xwiki.sh to include -XX:+UseParallelGC in XWIKI_OPTS
Anyway, the situation is still looking suspiciously. I've connected
JConsole to the xwiki java process and overall view looks:
https://app.box.com/s/udndu96pl2fvuz3igvor
this is whole run overview, but perhaps even more clear is it on last 2
hours view which is here:
https://app.box.com/s/deuix33fzejra4uur941
Sidenote this all is from debugging xwiki-jetty-hsql-6.0.1 distro.
Now, what worries me a lot is this bottom cap which is growing. You can
see that clearly in Heap Memory Usage from 15:15. In CPU usage you can
also see that around the same time the CPU consumption went up from ~15%
to ~45%
When I switch to Memory Tab in JConsole and click several times on
"Perform GC" button, the bottom cap is still there and I cannot get
lower in memory usage. With this going on I can also see server failing
after some time on OOM error.
Any help with this is highly appreciated here.
Thanks!
Karel
Hello Developers,
How are you?
Last weeks we have added some listeners to our XWiki platform. I am losing the control in what listeners are registered and working.
Is there a way in the observation Module to check what listeners are registered and working?
Thanks
Danilo
Grupo Energisa
Danilo Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342 | cel: (32) 8452-9478
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately.
Hi,
I'd like to propose installing the Realtime WikiText extension on myxwiki.org.
It has already been installed on webviewers.org and in XWiki SAS internal wiki.
I would like to broaden the scope to myxwiki.org and then xwiki.org.
Myxwiki.org is a special scenario because it contains many subwikis, some of
which have fairly radical custom skins. However after some thought I decided
we should install the extension globally anyway because it will allow us to
gather the widest range of feedback about it's behavior.
I propose to write a document explaining how it works, where to report issues
and how to disable it, install the extensions globally on myxwiki.org, then
place a banner on myxwiki.org for 1 week which invites administrators to the
document.
WDYT?
Caleb
Good morning devs,
Actually, the notification email show changes made on document's source,
but end user want to see formatted changes and not sources.
Is it possible to change this in a way to display formatted content in
email body ?
Thanks :)
Hi community,
I have a listener on DocumentUpdateEvent
List<Event> getEvents()
{
return Arrays.asList(new DocumentUpdateEvent())
}
void onEvent(Event event, Object source, Object data)
{
println "onEvent start !"
def obj = source.getObject("Revision.RevisionClass")
source.setComment('this is listener comment')
println obj.getName()
obj.set("approvedRev", '1.1', data)
println "onEvent end"
}
I'm sure onEvent is executed but the document is not saved.
The same problem with DocumentUpdatedEvent
when i added saveDocument, i got stackoverflow.
I tried on XWIKI 4.4 and 5.4.5, with no success
Thanks in advance :)
Hi,
In Flamingo, we have created the concept of Application Bar, that we have
implemented as a Panel:
http://jira.xwiki.org/browse/XWIKI-10254
I propose to put the Application Bar by default on the left column.
Since we do not have a configuration system at the skin level, it would be
present for both Colibri & Flamingo. I think it is not a problem because I
have managed to make it look good for both (except for the size of the
icons) :
http://jira.xwiki.org/secure/attachment/27707/appbar.png
WDYT?
Thanks,
Guillaume
Hi,
There have been some recently discussions about Application Descriptors and
their utility when generating content for XWiki features, like taking the
icon field from the descriptor in order to generate the application panel
for the AppBar, etc.
I've gathered some use cases / needs on this page:
http://design.xwiki.org/xwiki/bin/view/Proposal/ApplicationDescriptor
It would be nice to brainstorm a bit if we consider the 'Application
Descriptor' concept to be needed in our future, especially since the
Flamingo Skin is focused heavily on the Applications concept.
I would be curious why this concept has been deprecated (Application
Manager):
* maybe the fields the descriptor contained are deprecated by the Extension
Manager;
* maybe a bad usage;
* etc.
And also very important is what fields you consider should be needed in the
Application Descriptor and ways to make it easily extensible.
Having an Application Descriptor would facilitate having an index
containing all applications, called Application Index, in order to help the
user navigate and manage the installed applications outside the Extension
Manager (which is found in Administration).
Thanks,
Caty & Louis-Marie
Hello XWiki Dev,
How are you?
In my company, we have created an XWiki extension that allows use the sigmajs framework (sigmajs.org) and we would like to share the extension with the community. Our idea is create a github project and make it available through extension manager to the users however we don’t have idea how to create the github and after that link that with the extension, how can we do that?
Thank you,
Danilo
Grupo Energisa
Danilo Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342 | cel: (32) 8452-9478
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately.
Hello,
When clicking on preview, I need to add some velocity code before rendring
the page, please where can i find the code of preview button of the editor
"WYSIWYG" ?
Thanks in advance
Hi devs,
We’re Thursday and Thursday is XWiki Day! :)
I’d like to propose that we do our first PR Review Day today. The goal is to review all the JIRA issues that have patches or PRs in them (http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&mode=hide&jqlQu…) and:
- apply them if possible
- comment on them if something is missing/not right
- set the proper “Pull Request Status” field value: Awaiting Committer Feedback, Awaiting Contributor Feedback, None
- ping the contributor if we’ve already asked for some info and we didn’t get it
- if some PR are almost good then spend the extra time to finish them to allow applying the PR
Process:
- when you start reviewing a PR please assign it to yourself to set the lock on it
- when you’re done, if the issue wasn’t closed, then unassign yourself
Please record:
- how many issues you’ve reviewed
- how many PRs you’ve applied
WDYT?
Let’s do it! :)
Thanks
-Vincent
Hi devs,
Running mvn dependency:dependency-analyze produces interesting results.
For example:
[INFO] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] Building XWiki Commons - Properties 3.2-SNAPSHOT
[INFO] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
…
[INFO] --- maven-dependency-plugin:2.3:analyze (default-cli) @ xwiki-commons-properties ---
[WARNING] Used undeclared dependencies found:
[WARNING] org.slf4j:slf4j-api:jar:1.6.1:compile
[WARNING] javax.inject:javax.inject:jar:1:compile
[WARNING] Unused declared dependencies found:
[WARNING] org.xwiki.commons:xwiki-commons-component-api:jar:3.2-SNAPSHOT:compile
[WARNING] org.xwiki.commons:xwiki-commons-test:jar:3.2-SNAPSHOT:test
[WARNING] org.hibernate:hibernate-validator:jar:4.2.0.Final:test
[WARNING] org.hamcrest:hamcrest-core:jar:1.1:test
[WARNING] org.jmock:jmock:jar:2.5.1:test
The question is (for this module but more generally for all others):
* Should we add slf4j and javax.inject reps in the pom.xml for this module? (for ex today slf4j and javax.inject are found in the component-api dep)
I think we should, wdyt?
Note that the "Unused declared dependencies found:" doesn't always generate correct results as is the case here. This is mostly because it's a static byte code check so any dep used at runtime will be considered unused.
See http://www.sonatype.com/books/mvnex-book/reference/optimizing-sect-dependen…
Thanks
-Vincent
At last! Good news :)
-Vincent
On 4 Jun 2014 at 13:40:19, noreply(a)ckeditor.com (noreply@ckeditor.com(mailto:noreply@ckeditor.com)) wrote:
> Hi vmassol,
>
> wiktor has commented on: "Where are the sources for CKBuilder?"
>
> ----
> Apologies for taking so long to publish it. We had a plan to rewrite
> CKBuilder to node.js, but after realising that it would be a pretty
> time-consuming task, we've decided to postpone it till CKEditor 5. After
> cleaning up the code, documentation etc. the source files are finally
> available:
>
> https://github.com/ckeditor/ckbuilder [1]
>
> Thanks for your patience!
>
> ----
>
> You can view the comment at the following url
> http://ckeditor.com/comment/132339#comment-132339
Hi devs,
I’ve noticed a recurring trend from our users: a lot of them seem to wish to display Tree views/navigation view of their wiki pages either in page content or in a panel.
When they go to e.x.o, there’s a lot of extensions listed (showing that other users had this need previously) but none really work well:
http://extensions.xwiki.org/xwiki/bin/view/Extension/WebHome#|t=extensions&…
We do have a tree view in AllDocs but it’s not perfect and it’s not easily reusable.
Thus I believe we need to find an official solution to this tree view issue.
The easiest solution could be to create a wiki macro based on our current tree view so that it can be reused in wiki pages and more importantly in a panel. Having a “spaces” parameter to restrict the list of spaces to display would be nice too.
WDYT?
Any other idea?
Thanks
-Vincent
Good evening,
We have discussed recently about the necessity of having a new Color Theme
Editor for Flamingo. Some of you have suggested to try to integrate in
XWiki an existing Bootstrap Customizer such as FancyBoot:
http://fancyboot.designspebam.com/
After looking on Google and Github, I could not find any that matches this
criterias:
- Bootstrap 3 support
- active
- compatible with an XWiki integration
That is why I propose to write our own, which could actually take some code
from existing projects.
On my side, I have written 2 prototypes and I have pushed them in a new
github repository:
https://github.com/xwiki-contrib/bootstrap-customizer-prototypes
Prototype A
====
Demo:
http://xwiki-contrib.github.io/bootstrap-customizer-prototypes/prototypeA/
(chrome users: please refresh the page if you do not see a color picker
when you click on an input box)
This prototype opens a real web page inside an iframe, and use the LESS
browser compiler to update the CSS.
Pros:
- it uses LESS so it shows the **real** results
- any wiki page can be seen in the preview frame
- not so hard time to implement
Cons:
- it is quite slow, and sometimes the browser gets frozen for a few seconds.
Prototype B
====
Demo:
http://xwiki-contrib.github.io/bootstrap-customizer-prototypes/prototypeB/
This prototype emulates the behaviour of LESS when we change some
variables. The results is displayed in a preview box, but it is a fake one.
Pros:
- The prototype runs quickly in the browser because there is no LESS
compiler involved.
Cons:
- The preview box is not a real page and it cannot show all use-cases.
- Will take more time to implement and to maintain because we have to
manually emulate what LESS would do in the preview box.
I'm +1 for Prototype A.
What do you think?
Thanks,
Guillaume
Hi Devs,
I have a loop in which i add object to all documents under the space
"Main", it crashes in the middle of the loop ...
##get all document in the Main space
#set($docus = $xwiki.getSpaceDocsName("Main"))
#foreach($docu in $docus)
#set ($myDoc = $xwiki.getDocument("Main", $docu))
$myDoc.getFullName()
##Add object to the page
#set($obj = $myDoc.newObject("Revision.RevisionClass"))
$obj.set("approvedRev", $myDoc.getVersion())
## Save the object in the page
$myDoc.getDocument().setMetaDataDirty(false)
$myDoc.getDocument().setContentDirty(false)
$myDoc.save()
#end
Stack is attached
Please any method to catch the exception and let it go in Velocity
Thanks in advance :)
Hi community
I need a method which return all documents under a specific space, a
deperecated method if possible, cuz i'm working on 4.4 actually,
Thanks in advance :)
Hi devs,
I’ve worked with Lyes to define a new mail sender API.
We’ve put it here:
http://design.xwiki.org/xwiki/bin/view/Proposal/MailModule
Our idea is to:
- implement this in XWiki Platform in xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-sender. In the future we’ll be able to have xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-reader if we want. At some point we should also move the Mail configuration UI in xwiki-platform-core/xwiki-platform-mail/xwiki-platform-mail-ui.
- deprecate the mailsender plugin and once all our code has been updated to use this new API, move the plugin to xwiki-contrib.
Please let us know what you think about both the API and the plan.
Thanks
-Vincent
Hi devs,
In notification emails, the link of modified document is like :
localhost:port, in the template script i found $event.getUrl().
How can i change in order getUrl return the right URL and not localhost
Thanks in advance :)
Hi Community,
I'm migrating all our content from XWIKI 4.4 to XWIKI 5.4.5.
I use admin tools to export/import large content, it's a very good tool,
almost all documents are imported successfully.
but now in order to have the approved revision functionality i must have
the version "1.1" for all imported document.
Can i tell Admin tools to override version to "1.1" ?
Thanks in advance :)
Hi devs,
Right now our practice in XWiki Platform for the apps we develop is to move to storing all the pages of an app in a single space.
See http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPra…, specifically:
“
Generally, put all your pages in a single space dedicated for the application you're developing (e.g. Faq, Scheduler, IRC, AppWithinMinutes, etc). The name must be as short as possible while still being understandable of course and without overusing abbreviations.
"
Now there are potentially some use cases that may warrant to have 2 spaces: one for the content documents and one for the technical documents:
- ability to easily set permissions on all technical pages so that only a group of person can modify them but allow another group of persons to edit the content pages (e.g. for the Blog application)
- easier to remove all the content pages of an app but still keep the app working
So one idea would be systematically have 2 spaces for apps:
- one XXX space (e.g. Blog space) for holding content pages
- one XXXCode space (e.g. BlogCode space) for holding technical pages
Of course all technical pages are hidden and thus the XXXCode space will not appear in the list of spaces or searches by default.
WDYT? Would you be ok to modify all our existing apps to go in that direction?
Note: A future solution is to use nested spaces but even with nested spaces the need for 2 spaces would be the same. We would just need to make the XXXCode space a subspace of the XXX space (assuming we can set permissions on subspaces ;)).
Thanks
-Vincent
Hello,
I used admin tool to export the whole wiki from XWIKI 4.4 and i did the
import in XWIKI 5.4.5
The result wasn't perfect i have some link which still refer to the old
wiki,
Please, another tools to try ? should try some other script out there?
Thanks in advance :)