[xwiki-users] A tool to convert terminal pages to Nested Pages

2016-01-20 Thread Guillaume "Louis-Marie" Delhumeau
Hello, users of XWiki!

I just have released the first version (alpha) of a new application to help
you convert your existing (terminal) pages to nested pages after an upgrade
to a recent wiki (7.4.x is the targeted version).

This tool is available and can be installed directly with Extension
Manager. All informations are there:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+Application

The application *does not currently apply the migration*. It only computes
a plan which say what actions should be done. The purpose, right now, is
only to test the tool without affecting any wiki.

There is an option to simply convert your pages to nested pages (Space.Page
=> Space.Page.WebHome) so they can have children (which they cannot while
being terminal). But, by default, the migrator tries to preserve the
existing hierarchy of pages (based on the "parent" field of each page) by
moving the pages under their parent page. So if you have SpaceA.PageA with
SpaceB.PageB as parent, the proposed migration will be SpaceA.PageA =>
SpaceB.PageB.PageA.WebHome.

In the future, the plan will also contain actions for preserving the
configured preferences (right now, if a page is moved, all the preferences
from its previous space are not applied to it anymore), and rights.

This version is a first step in order to have a very complete tool. A
design document have been written with more informations (
http://design.xwiki.org/xwiki/bin/view/Proposal/UpgradeToNestedPages).

I would love to see some of you testing this application, the user
interface, and judging the proposed plans. Don't hesitate to give your
feedbacks. Please tell me if you have other ideas that I have not listed in
the design document, like features that I have not think about.

Thanks a lot,
-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Dropdown menù with child pages

2016-01-14 Thread Guillaume "Louis-Marie" Delhumeau
Hello.

You need to look at:
* the query module:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module
* the bootstrap's documentation about dropdowns:
http://getbootstrap.com/javascript/#dropdowns
* the HTML macro:
http://extensions.xwiki.org/xwiki/bin/view/Extension/HTML+Macro
* the children viewer to look at the used query:
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/children.vm#L70-70


2016-01-14 10:40 GMT+01:00 Giordano Ninonà :

> Hi users,
>
> Today I am wondering about how to create, inside a wiki page, a drop down
> menù containing all the child pages of another space.
>
> Any idea?
> Giordano.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How retrieve terminal pages

2016-01-12 Thread Guillaume "Louis-Marie" Delhumeau
BTW the documentation is there:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module

2016-01-12 17:54 GMT+01:00 Guillaume "Louis-Marie" Delhumeau <
gdelhum...@xwiki.com>:

> I think you only need xwiki-platform-model as a dependency of your module.
>
> You should paste your code on http://pastebin.com/ to enable us to
> understand what is going wrong.
>
> 2016-01-12 17:43 GMT+01:00 Giordano Ninonà :
>
>> I got the same behaavior also with the modifications suggested by
>> Guillaume.
>>
>> Any other ideas?
>>
>> Giordano.
>>
>> 2016-01-12 17:16 GMT+01:00 Giordano Ninonà :
>>
>> > Hi Guillaume,
>> >
>> > Thank you a lot, that really helps! The only thing is which library I
>> > should import :
>> >
>> >1. org.xwiki.model.reference
>> >2. org.wiki.rendering.wikimodel
>> >
>> > Moreover, there is a place to find how this "reference-game" works? I
>> mean
>> > that I've found Entity References, Document References, SpaceReferecens,
>> > Wiki References but I don't understand how this works.
>> >
>> >
>> > Thank you,
>> >
>> > Giordano
>> >
>> > 2016-01-12 17:05 GMT+01:00 Guillaume "Louis-Marie" Delhumeau <
>> > gdelhum...@xwiki.com>:
>> >
>> >> Hi Giordano.
>> >>
>> >> Is it possible for you to modify your method to have a list of spaces
>> >> instead of the space name? Or better: having a DocumentReference as
>> input?
>> >>
>> >> If not, it means that you need to parse your "wikiSpace" input, get the
>> >> list of spaces from it, and then create a clean DocumentReference.
>> >>
>> >> You should use a SpaceReferenceResolver to get a clean space reference.
>> >>
>> >> Example:
>> >>
>> >> @Inject
>> >> @Named("current")
>> >> private SpaceReferenceResolver spaceReferenceResolver;
>> >>
>> >> public void myMethod(String wikiName, String wikiSpace, String
>> wikiPage) {
>> >>   // resolve the spaces:
>> >>   SpaceReference spaceRef = spaceReferenceResolver.resolve(wikiSpace,
>> new
>> >> WikiReference(wikiName));
>> >>   // Create a clean DocumentReference:
>> >>   DocumentReference docRef = new DocumentReference(wikiPage, spaceRef);
>> >>   // Work with the docRef
>> >>   XWikiDocument doc = xwiki.getDocument(docRef, xcontext);
>> >>   // ...
>> >> }
>> >>
>> >> Similar code in Groovy:
>> >>
>> >> {{groovy}}
>> >> def spaceReferenceResolver =
>> >>
>> >>
>> services.component.getInstance(org.xwiki.model.reference.SpaceReferenceResolver.TYPE_STRING,
>> >> "current");
>> >> def spaceRef = spaceReferenceResolver.resolve("AB.CD\\.E.F", new
>> >> org.xwiki.model.reference.WikiReference('hello'));
>> >> def docRef = new org.xwiki.model.reference.DocumentReference('page',
>> >> spaceRef);
>> >> {{/groovy}}
>> >>
>> >> I hope it helps,
>> >> Guillaume
>> >>
>> >>
>> >> 2016-01-12 16:27 GMT+01:00 Giordano Ninonà > >:
>> >>
>> >> > Hi users,
>> >> >
>> >> > I have a problem with my Java component. I have a hjava method wich
>> >> take as
>> >> > input 3 strings: wikiName, wikiSpace and the wiki page to retrieve
>> the
>> >> doc,
>> >> > thus the content and perform modification.
>> >> >
>> >> > Ok, when I try to delete a terminal page inside a nested page, there
>> is
>> >> no
>> >> > problem, the component retrieve the page's document and can delete
>> it,
>> >> it
>> >> > works!
>> >> >
>> >> > But when I want to delete a terminal page that is inside a nested
>> page
>> >> > which is inside another nested page it stops working. The point is
>> that
>> >> I
>> >> > can't retrieve the terminal page's document, probably because of the
>> >> > wikiSpace variable.
>> >> > I have tried "NestedPage1.NestedPage2" but it is not woking at all,
>> it
>> >> is
>> >> > keep creating and successively deleting new documents(thus pages).
>> >> >
>> >> > Thank you,
>> >> > Giordano.
>> >> > ___
>> >> > users mailing list
>> >> > users@xwiki.org
>> >> > http://lists.xwiki.org/mailman/listinfo/users
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Guillaume Delhumeau (gdelhum...@xwiki.com)
>> >> Research & Development Engineer at XWiki SAS
>> >> Committer on the XWiki.org project
>> >> ___
>> >> 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
>>
>
>
>
> --
> Guillaume Delhumeau (gdelhum...@xwiki.com)
> Research & Development Engineer at XWiki SAS
> Committer on the XWiki.org project
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How retrieve terminal pages

2016-01-12 Thread Guillaume &quot;Louis-Marie" Delhumeau
I think you only need xwiki-platform-model as a dependency of your module.

You should paste your code on http://pastebin.com/ to enable us to
understand what is going wrong.

2016-01-12 17:43 GMT+01:00 Giordano Ninonà :

> I got the same behaavior also with the modifications suggested by
> Guillaume.
>
> Any other ideas?
>
> Giordano.
>
> 2016-01-12 17:16 GMT+01:00 Giordano Ninonà :
>
> > Hi Guillaume,
> >
> > Thank you a lot, that really helps! The only thing is which library I
> > should import :
> >
> >1. org.xwiki.model.reference
> >2. org.wiki.rendering.wikimodel
> >
> > Moreover, there is a place to find how this "reference-game" works? I
> mean
> > that I've found Entity References, Document References, SpaceReferecens,
> > Wiki References but I don't understand how this works.
> >
> >
> > Thank you,
> >
> > Giordano
> >
> > 2016-01-12 17:05 GMT+01:00 Guillaume "Louis-Marie" Delhumeau <
> > gdelhum...@xwiki.com>:
> >
> >> Hi Giordano.
> >>
> >> Is it possible for you to modify your method to have a list of spaces
> >> instead of the space name? Or better: having a DocumentReference as
> input?
> >>
> >> If not, it means that you need to parse your "wikiSpace" input, get the
> >> list of spaces from it, and then create a clean DocumentReference.
> >>
> >> You should use a SpaceReferenceResolver to get a clean space reference.
> >>
> >> Example:
> >>
> >> @Inject
> >> @Named("current")
> >> private SpaceReferenceResolver spaceReferenceResolver;
> >>
> >> public void myMethod(String wikiName, String wikiSpace, String
> wikiPage) {
> >>   // resolve the spaces:
> >>   SpaceReference spaceRef = spaceReferenceResolver.resolve(wikiSpace,
> new
> >> WikiReference(wikiName));
> >>   // Create a clean DocumentReference:
> >>   DocumentReference docRef = new DocumentReference(wikiPage, spaceRef);
> >>   // Work with the docRef
> >>   XWikiDocument doc = xwiki.getDocument(docRef, xcontext);
> >>   // ...
> >> }
> >>
> >> Similar code in Groovy:
> >>
> >> {{groovy}}
> >> def spaceReferenceResolver =
> >>
> >>
> services.component.getInstance(org.xwiki.model.reference.SpaceReferenceResolver.TYPE_STRING,
> >> "current");
> >> def spaceRef = spaceReferenceResolver.resolve("AB.CD\\.E.F", new
> >> org.xwiki.model.reference.WikiReference('hello'));
> >> def docRef = new org.xwiki.model.reference.DocumentReference('page',
> >> spaceRef);
> >> {{/groovy}}
> >>
> >> I hope it helps,
> >> Guillaume
> >>
> >>
> >> 2016-01-12 16:27 GMT+01:00 Giordano Ninonà :
> >>
> >> > Hi users,
> >> >
> >> > I have a problem with my Java component. I have a hjava method wich
> >> take as
> >> > input 3 strings: wikiName, wikiSpace and the wiki page to retrieve the
> >> doc,
> >> > thus the content and perform modification.
> >> >
> >> > Ok, when I try to delete a terminal page inside a nested page, there
> is
> >> no
> >> > problem, the component retrieve the page's document and can delete it,
> >> it
> >> > works!
> >> >
> >> > But when I want to delete a terminal page that is inside a nested page
> >> > which is inside another nested page it stops working. The point is
> that
> >> I
> >> > can't retrieve the terminal page's document, probably because of the
> >> > wikiSpace variable.
> >> > I have tried "NestedPage1.NestedPage2" but it is not woking at all, it
> >> is
> >> > keep creating and successively deleting new documents(thus pages).
> >> >
> >> > Thank you,
> >> > Giordano.
> >> > ___
> >> > users mailing list
> >> > users@xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >>
> >>
> >>
> >> --
> >> Guillaume Delhumeau (gdelhum...@xwiki.com)
> >> Research & Development Engineer at XWiki SAS
> >> Committer on the XWiki.org project
> >> ___
> >> 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
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How retrieve terminal pages

2016-01-12 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Giordano.

Is it possible for you to modify your method to have a list of spaces
instead of the space name? Or better: having a DocumentReference as input?

If not, it means that you need to parse your "wikiSpace" input, get the
list of spaces from it, and then create a clean DocumentReference.

You should use a SpaceReferenceResolver to get a clean space reference.

Example:

@Inject
@Named("current")
private SpaceReferenceResolver spaceReferenceResolver;

public void myMethod(String wikiName, String wikiSpace, String wikiPage) {
  // resolve the spaces:
  SpaceReference spaceRef = spaceReferenceResolver.resolve(wikiSpace, new
WikiReference(wikiName));
  // Create a clean DocumentReference:
  DocumentReference docRef = new DocumentReference(wikiPage, spaceRef);
  // Work with the docRef
  XWikiDocument doc = xwiki.getDocument(docRef, xcontext);
  // ...
}

Similar code in Groovy:

{{groovy}}
def spaceReferenceResolver =
services.component.getInstance(org.xwiki.model.reference.SpaceReferenceResolver.TYPE_STRING,
"current");
def spaceRef = spaceReferenceResolver.resolve("AB.CD\\.E.F", new
org.xwiki.model.reference.WikiReference('hello'));
def docRef = new org.xwiki.model.reference.DocumentReference('page',
spaceRef);
{{/groovy}}

I hope it helps,
Guillaume


2016-01-12 16:27 GMT+01:00 Giordano Ninonà :

> Hi users,
>
> I have a problem with my Java component. I have a hjava method wich take as
> input 3 strings: wikiName, wikiSpace and the wiki page to retrieve the doc,
> thus the content and perform modification.
>
> Ok, when I try to delete a terminal page inside a nested page, there is no
> problem, the component retrieve the page's document and can delete it, it
> works!
>
> But when I want to delete a terminal page that is inside a nested page
> which is inside another nested page it stops working. The point is that I
> can't retrieve the terminal page's document, probably because of the
> wikiSpace variable.
> I have tried "NestedPage1.NestedPage2" but it is not woking at all, it is
> keep creating and successively deleting new documents(thus pages).
>
> Thank you,
> Giordano.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New Page Has No Parent

2015-12-30 Thread Guillaume &quot;Louis-Marie" Delhumeau
At least we should not propose to create a top-level page if the user has
not the right to do it.

2015-12-30 9:07 GMT+01:00 vinc...@massol.net :

> Hi Randy,
>
>
> On 29 Dec 2015 at 18:52:05, Randy Havens (randy.hav...@cityofrochester.gov
> (mailto:randy.hav...@cityofrochester.gov)) wrote:
>
> > That seems very counter-intuitive. It also is very inconsistent. It
> creates a
> > child by default when within a specific space, but not when on the home
> > page?
>
> Yes that’s correct. If you go in the main space and add a page it’ll
> correctly create a child page inside the Main space.
>
> > I somewhat follow the thought process behind this, but it causes a
> > huge inconsistency and a lot of confusion. From the link that you sent,
> it
> > seems that I am not alone in thinking that the old way was more
> intuitive.
> >
> > How can I make it so that it returns to that functionality? I am not
> going
> > to be able to instruct all of my users to put "Main" in the location
> before
> > creating a new page. Especially since some users have access to multiple
> > spaces, and it works as expected in other spaces.
>
> It also works like this for the Main space :) It’s only the Home page that
> is affected.
>
> For my information, could you explain why you wish that all your users
> create content pages in the Main space?
>
> Why not, for example, have a Content space at the top level or some more
> semantic top level space name under which you’d put all your content?
>
> Maybe the real underlying issue is that you wish to control where your
> users put content by default (whether in the Main space or some other
> Content space)? And you’d wish to avoid having lots of top level spaces
> created “by mistake”?
>
> On our side we have to balance the following 2 use cases:
> * UC1: Create new top level spaces by default when on the home page
> * UC2: Create new pages inside the Main space by default when on the home
> page
>
> Note that it’s only a question of default since the user can pick the
> parent when in the Create UI.
>
> One solution of course would be to introduce a configuration option,
> allowing to choose the reference of the Space into which to create new
> pages by default when clicking on “+” on the Home page. Note that this
> would allow admins to define a Content space where they’d want users to
> create content by default when on the home page.
>
> Now, even with a configuration option we’d still need to decide what the
> default would be :) Right now, for the sake of not having tons of top level
> spaces created by mistakes, I think I’d lean to having pages created in the
> Main space by default, as we had before.
>
> @Edy: WDYT? (asking Edy since he was the one who proposed the change and
> he may have some good arguments I haven’t mentioned above)
>
> Thanks
> -Vincent
>
> > Luckily, 7.4 is currently only running in a test environment, and my
> > production environment is still running 7.1.2. I don't plan on upgrading
> my
> > production environment until I can get this figured out. (aka - working
> the
> > way that my users and I are used to.)
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New Page Has No Parent

2015-12-29 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Andy.

It's actually a controversial feature: on the main page, we assume that
users don't necessary want to create a child of that page, meanwhile on
other pages, we assume that creating a child page is OK.

But some users already have reported this behavior as weird, and your
message is comforting them. If you want to see more:
http://markmail.org/message/dqrqsul32bs4h53w

So the short answer is: it's normal.

Thanks,



2015-12-29 14:13 GMT+01:00 Randy Havens :

> OK, I just did some of my own troubleshooting and got some new information.
>
> When I click the "+" icon to create a new page from my "Main" space, as
> mentioned the parent is blank by default. I used my admin account to go
> through with creating a new page with no parent, and that page became a
> space. That explains why my non-admin user gets "access denied", because my
> non-admin users don't have access to create new spaces. The question
> remains: Why is the "parent" field blank when I try to add a new page from
> my "Main" space, but not from the other spaces that I've created?
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/New-Page-Has-No-Parent-tp7597344p7597346.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
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New Page Has No Parent

2015-12-29 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hello Randy.

I do not reproduce your problem. Does the user try to create terminal pages?

Thanks,

2015-12-28 22:51 GMT+01:00 Randy Havens :

> When I create a new page in my Main space, the "Parent" field defaults to
> empty, but when I create a new page in any other space, it defaults to the
> name of that space. When a user tries to post a new page with the parent
> empty, they get an "access denied" message, but if you put "Main" in the
> parent it works as expected. Is there a way to default this value to "Main"
> when not in another space, instead of having it default blank? This wasn't
> an issue up to XWiki 7.1.2, but it is an issue in 7.3 and 7.4 - when nested
> pages started getting worked on.
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/New-Page-Has-No-Parent-tp7597344.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
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 7.4 released

2015-12-28 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
7.4.

This is our last stabilization release for the XWiki 7.x cycle and the new
Long Term Support (LTS) version. It mainly brings polishing and
stabilization for the Nested Pages feature, especially in the UI. Among
other things, this release introduces a new notifications menu with the
watchlist actions inside. Application Within Minutes now creates a *Code*
and a *Data* page where the application content is stored. And it is now
possible to have template hierarchies and to add an redirection when a page
is renamed.

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/ReleaseNotesXWiki74

The following people have contributed code to this release (sorted
alphabetically):

* Andreas Jonsson
* Clemens Robbenhaar
* Ecaterina Moraru (Valica)
* Eduard Moraru
* Guillaume Delhumeau
* Jean SIMARD
* Manuel Smeria
* Marius Dumitru Florea
* Sergiu Dumitriu
* Thomas Mortagne
* Vincent Massol

Thanks for your support
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 7.4 Milestone 2 released

2015-12-16 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
7.4 Milestone 2.
This is our last stabilization branch for the XWiki 7.x Cycle. It brings
polishing and stabilization for the Nested Pages feature and the changes in
UI that resulted from it. It is now possible to have template hierarchies,
and to add an automatic redirect when a page is renamed.

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/ReleaseNotesXWiki74M2

The following people have contributed code to this release (sorted
alphabetically):

Guillaume Delhumeau
Sergiu Dumitriu
Marius Dumitru Florea
Vincent Massol
Eduard Moraru
Thomas Mortagne
Manuel Smeria

Thanks for your support
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Strange behaviour when creating new pages => new spaces are created instead (xwiki 7.2)

2015-11-19 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hello Denis.

"This is not a bug, it's a feature" ;)

In XWiki 7.2, we have introduced the concept of "Nested Pages". Actually,
every time you create a page, you actually create a page called "WebHome"
in a new space. From the UI perspective, it acts as if we don't have the
"space" notion anymore, but only a hierarchy of pages.

I invite you to read:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HNestedPages

I hope it helps.

Thanks,

2015-11-19 12:08 GMT+01:00 :

> Hello,
>
> I'm running a fresh 7.2 XWiki install (RHEL 7, tomcat 7, postgreSQL 9.1)
> and I'm experiencing strange behaviour when I try to create new pages in a
> given space.
>
> If I use the big "+" sign on the top of the page in the space I want, the
> result is always the same : a new space is created instead of a new page.
>
> This is not a "parenting" problem, the space in question is indeed child
> of the parent space.
> I can try to change the location of the page in the "Location in the page
> hierarchy where this new page will be created." menu
>
> But it doesn't appear in the page list of the space, and it appears in the
> list of all the spaces.
>
> The template doesn't seem to be the problem (Page Type). I can use a page
> template or a blank page (default choice) in the page type.
>
> The only workaround that I found is to create a new page through the space
> WYSIWIG editor.
> I edit the home page of the space, then in the WYSIWIG editor I click on
> "Link" and then "XWiki Page". This way a link to a new unknown page is
> created in the space, and then and only then can I create a page inside
> the space.
>
> This doesn't seem normal. Can someone give me some insights on what might
> cause this ?
>
> Regards,
> Denis GERMAIN
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to add a menu in the top menu?

2015-11-19 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hello.

First, I think you should create one page per UI extension. It's not a good
practice to have 2 UIExtension objects on the same wiki page.

Then, we cannot see your attachments, because the mailing list does not
allow them. You should use a web service (such as http://snag.gy/), upload
your images there, and then paste their URL on your emails.

Finally, I've tried to reproduce your issue, and indeed, there are missing
HTML elements in the top menu which make any addition bad located. I've
created the following issue http://jira.xwiki.org/browse/XWIKI-12841 and
I'm going to fix it quickly.

Sorry for the inconvenience and thanks for your report, it helps us to
improve the quality of the product.

Thanks,
Guillaume



2015-11-18 16:22 GMT+01:00 Guofeng Zhang :

> Vincent,
>
> I missed the link "how to add an UIX" on that page.
>
> By following the steps on Writing a simple UI Extension. I created two UI
> Extensions on a new page using  "org.xwiki.platform.topmenu.left" as the
> extension point ID, the order for the first (Some Text) is 5000, and
> another (Some Text 1) is 4000. They all displayed on the right part of the
> top menu.
>
> Some Text1 is displayed at the right of Some Text (it behaved like the
> description of Top Menu Right).
>
> see the attached.
>
> What did I do incorrectly?
>
> Thanks for your help very much.
>
> Guofeng
>
>
>
>
>
> On Mon, Nov 16, 2015 at 4:19 PM, vinc...@massol.net 
> wrote:
>
> > Hi Guofeng,
> >
> > On 14 Nov 2015 at 18:11:35, Guofeng Zhang (guofen...@gmail.com) wrote:
> >
> > Hi,
> >
> > I am trying XWiki 7.3.
> >
> > I want to add add a menu with icon in the top menu. I have read
> > http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/TopMenuLeft, but
> > still can not understand where to add the following:
> >
> > {{velocity}}{{html clean="false"}} ## we need clean="false" because we
> want
> >
> > to display the raw content
> > 
> >  > role="button" arias-haspopup="true" aria-expanded="false"> >
> >
> class="sr-only">$services.localization.render('core.menu.toggleNavigation')Some
> >
> > text
> > 
> > Some link
> > 
> > 
> > {{/html}}{{/velocity}}
> >
> > Could you give me advice where to add the above lines?
> >
> >
> > Just want to verify that you’ve read the tutorial linked from
> > http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/
> >
> >
> > Could you confirm that you’ve read it?
> >
> > Thanks!
> >
> > -Vincent
> >
> >
> >
> >
> > Thanks for your help very much.
> >
> > Guofeng
> >
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 7.2 released

2015-09-24 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
7.2.

This release is probably one of the biggest releases we have done in XWiki
for years (more than 900 commits)! We have worked hard during all the
summer to finally achieve the introduction of a new concept: Nested Pages.
This big change affects both the platform and the user interface, and you
will discover many differences while using XWiki.

For developers, this release also introduces a new Script right and some
changes in the REST, Job and Refactoring modules, just to list a few...

Finally, it also brings a lot of bugs 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/ReleaseNotesXWiki72

The following people have contributed code to this release:

* Caleb James DeLisle
* Clemens Robbenhaar
* Denis Gervalle
* Ecaterina Moraru (Valica)
* Eduard Moraru
* Gabriela Smeria
* Guillaume Delhumeau
* Jean Simard
* Marius Dumitru Florea
* Sergiu Dumitriu
* Thomas Mortagne
* Veronika Koltunova
* Vincent Massol

Thanks for your support
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 7.1.1 released

2015-06-17 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
7.1.1.

This is a stabilization release that fixes important bugs discovered in the
7.1 version.

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/ReleaseNotesXWiki711

The following people have contributed code to this release:

- Vincent Massol
- Guillaume Delhumeau

Thanks for your support
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [myxwiki] XWiki Enterprise 7.1 Upgrade

2015-06-16 Thread Guillaume &quot;Louis-Marie" Delhumeau
Subject:

Hi everyone,

myxwiki.org has been upgraded to XE 7.1. If you own a wiki hosted there you
should have a look at the release notes for this version at:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki71 (note
that the bug concerning the upgrade of wikis has been fixed on the myxwiki
server).

You should automatically get an upgrade wizard for your wiki when you login
as admin.
For more details see the upgrade guide available at :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingwikidocuments

To be notified of the myxwiki.org server upgrade you can follow myxwiki on
twitter:
http://twitter.com/myxwiki

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


[xwiki-users] [ANN] XWiki 7.0.1 released

2015-04-30 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
7.0.1.
This is a stabilization release that fixes important bugs discovered in the
previous 7.0 version.

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/ReleaseNotesXWiki701
Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Cross-wiki livetable

2015-04-29 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hello.

That could work if you create a custom resultPage (see:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HCustomJSON)
that would be a modified version of the current XWiki.LiveTableResults page
with a custom gridresult_buildRowsJSON macro that set the desired subwiki
on the query.

What you cannot do is a livetable accross different subwikis.


I hope it helps,

2015-04-29 16:11 GMT+02:00 Jamal :

> Hi,
>
> I'd like to know if it's possible for a livetable on the main wiki to list
> pages from a subwiki that contain objects of a class defined on the
> subwiki.
>
> Thanks,
>
> Jamal
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Cross-wiki-livetable-tp7594795.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
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 6.2.7 released

2015-02-25 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
6.2.7.
This is a stabilization release that fixes important bugs discovered in the
6.2.6 version.

You can download it here:
http://forge.ow2.org/project/showfiles.php?group_id=170

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki627

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 6.4.2 released

2015-02-25 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
6.4.2.
This is a stabilization release that fixes important bugs discovered in the
6.4.1 version.

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/ReleaseNotesXWiki642

Thanks
-The XWiki dev team

-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Creating a panel for all wikis

2015-02-02 Thread Guillaume &quot;Louis-Marie" Delhumeau
2015-01-30 17:18 GMT+01:00 vinc...@massol.net :

>
>
> On 30 Jan 2015 at 16:50:35, Jamal (ram...@gmail.com(mailto:
> ram...@gmail.com)) wrote:
>
> > Thanks Vincent.
> >
> > This raises another question: if I create a new template wiki, or turn an
> > existing wiki into a template, can I retroactively apply it to an
> existing
> > subwiki?
>
> There’s no UI for this but I guess you could script it and use the exposed
> wiki script service to perform the copy.
>
> I was looking for documentation for that on extensions.xwiki.org but
> couldn’t find it.
>
> @GuillaumeD:
> - question 1: any idea where the doc could be for the various script
> services of the wiki modules?
>

Currently, there is this:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application#HFordevelopers


> - question 2: do we have a script service API to perform the template copy?
>

Unfortunately no, but you can use WikiTemplateManager#applyTemplate() in a
Groovy script.


>
> Thanks
> -Vincent
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 6.2.5 released

2015-01-27 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
6.2.5.

This version is mostly a stabilization release which fix many bugs we have
discovered since XWiki 6.2.4. But it also brings some improvements on the
screen-width-responsiveness of the livetable in Flamingo.

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/ReleaseNotesXWiki625

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [VOTE] Enable default actions for the Flamingo top menu entries

2014-12-11 Thread Guillaume &quot;Louis-Marie" Delhumeau
It's good to see in action, I like it!

Thanks for this.

2014-12-10 17:17 GMT+01:00 Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com>:

> I committed my changes so that those that haven't voted yet can see it
> in action. Will revert if someone is against it.
>
> Thanks,
> Marius
>
> On Mon, Dec 8, 2014 at 11:07 PM, Guillaume Lerouge 
> wrote:
> > +1
> >
> > Thanks a lot for all your effort on this Marius!
> >
> > Guillaume
> >
> > On Mon, Dec 8, 2014 at 1:18 PM, Guillaume "Louis-Marie" Delhumeau <
> > gdelhum...@xwiki.com> wrote:
> >
> >> +1, looks good.
> >>
> >> 2014-12-08 12:59 GMT+01:00 Marius Dumitru Florea <
> >> mariusdumitru.flo...@xwiki.com>:
> >>
> >> > On Sat, Dec 6, 2014 at 11:02 PM, Denis Gervalle 
> wrote:
> >> > > +1, ideally with a hover feedback very similar to the one of a
> dropdown
> >> > > button.
> >> >
> >> > The color theme is responsible for the hover effect. A flat color
> >> > theme will probably use a single color highlight, controlled by the
> >> > @navbar-default-link-hover-bg LESS variable. A 3D color theme may use
> >> > some gradients to achieve the 3D effect on hover. A minimalistic color
> >> > theme (like Simplex) will just change the text color on hover, leaving
> >> > the background transparent.
> >> >
> >> > This proposal/vote is about agreeing on:
> >> > * displaying a small vertical bar between the menu label and toggle
> >> > (using a color derived from the menu background) to indicate the
> >> > separation between the two (especially for tablet devices where
> >> > there's no hover)
> >> > * hovering/activating the menu label and the toggle separately, as it
> >> > happens with a drop down button (e.g. the Add button).
> >> >
> >> > Thanks,
> >> > Marius
> >> >
> >> > >
> >> > > On Fri, Dec 5, 2014 at 6:59 PM, Pascal BASTIEN <
> >> pbasnews-xw...@yahoo.fr>
> >> > > wrote:
> >> > >
> >> > >> May I? (you send mail at user list)... then +1
> >> > >> On 6.3 I still use 6.2 menu (I modified the template on my xwiki)
> >> > >>
> >> > >> I'm agree with you the 2 side of button must be better separate
> (with
> >> > >> color on hoover or a black vertical bar?).
> >> > >>
> >> > >> IMO we must respect the same logic of actions button (an one-click
> >> > default
> >> > >> action and drop down sub menu level at the right-side-click )
> >> > >> With CSS it should be possible to:- use 2 side button on big
> screen-
> >> use
> >> > >> GoTo menu on small screen
> >> > >> (with @media min-width)
> >> > >>
> >> > >> Thxs
> >> > >> Pascal BASTIEN
> >> > >>   De : Marius Dumitru Florea 
> >> > >>  À : XWiki Developers ; XWiki Users <
> users@xwiki.org>
> >> > >>  Envoyé le : Vendredi 5 décembre 2014 17h20
> >> > >>  Objet : [xwiki-users] [VOTE] Enable default actions for the
> Flamingo
> >> > top
> >> > >> menu entries
> >> > >>
> >> > >> Hi everyone,
> >> > >>
> >> > >> = Short Story =
> >> > >>
> >> > >> I propose to change the behaviour of the top level menu from
> Flamingo
> >> > >> for tablet and desktop screens (so NOT for phones) to match the
> >> > >> behaviour we had in 6.2 BUT improving the separation between the
> >> > >> navigation links and the drop down toggle. The idea is that the top
> >> > >> level menu entries should behave like a drop down button (e.g. the
> Add
> >> > >> button) but without looking like one. You can see some screen
> shots at
> >> > >> http://jira.xwiki.org/browse/XWIKI-11517.
> >> > >>
> >> > >> = Long Story =
> >> > >>
> >> > >> I've heard complains that the current behaviour of the top level
> menu
> >> > >> from Flamingo skin is not perfect. The issue is that you need to
> click
> >> > >> twice to navigate. Ok, with a mouse you can use the middle click
> >> > >> (wheel) to op

Re: [xwiki-users] [VOTE] Enable default actions for the Flamingo top menu entries

2014-12-08 Thread Guillaume &quot;Louis-Marie" Delhumeau
+1, looks good.

2014-12-08 12:59 GMT+01:00 Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com>:

> On Sat, Dec 6, 2014 at 11:02 PM, Denis Gervalle  wrote:
> > +1, ideally with a hover feedback very similar to the one of a dropdown
> > button.
>
> The color theme is responsible for the hover effect. A flat color
> theme will probably use a single color highlight, controlled by the
> @navbar-default-link-hover-bg LESS variable. A 3D color theme may use
> some gradients to achieve the 3D effect on hover. A minimalistic color
> theme (like Simplex) will just change the text color on hover, leaving
> the background transparent.
>
> This proposal/vote is about agreeing on:
> * displaying a small vertical bar between the menu label and toggle
> (using a color derived from the menu background) to indicate the
> separation between the two (especially for tablet devices where
> there's no hover)
> * hovering/activating the menu label and the toggle separately, as it
> happens with a drop down button (e.g. the Add button).
>
> Thanks,
> Marius
>
> >
> > On Fri, Dec 5, 2014 at 6:59 PM, Pascal BASTIEN 
> > wrote:
> >
> >> May I? (you send mail at user list)... then +1
> >> On 6.3 I still use 6.2 menu (I modified the template on my xwiki)
> >>
> >> I'm agree with you the 2 side of button must be better separate (with
> >> color on hoover or a black vertical bar?).
> >>
> >> IMO we must respect the same logic of actions button (an one-click
> default
> >> action and drop down sub menu level at the right-side-click )
> >> With CSS it should be possible to:- use 2 side button on big screen- use
> >> GoTo menu on small screen
> >> (with @media min-width)
> >>
> >> Thxs
> >> Pascal BASTIEN
> >>   De : Marius Dumitru Florea 
> >>  À : XWiki Developers ; XWiki Users 
> >>  Envoyé le : Vendredi 5 décembre 2014 17h20
> >>  Objet : [xwiki-users] [VOTE] Enable default actions for the Flamingo
> top
> >> menu entries
> >>
> >> Hi everyone,
> >>
> >> = Short Story =
> >>
> >> I propose to change the behaviour of the top level menu from Flamingo
> >> for tablet and desktop screens (so NOT for phones) to match the
> >> behaviour we had in 6.2 BUT improving the separation between the
> >> navigation links and the drop down toggle. The idea is that the top
> >> level menu entries should behave like a drop down button (e.g. the Add
> >> button) but without looking like one. You can see some screen shots at
> >> http://jira.xwiki.org/browse/XWIKI-11517.
> >>
> >> = Long Story =
> >>
> >> I've heard complains that the current behaviour of the top level menu
> >> from Flamingo skin is not perfect. The issue is that you need to click
> >> twice to navigate. Ok, with a mouse you can use the middle click
> >> (wheel) to open the link in a new tab but still it's annoying for
> >> simple uses and for those that use the touch pad or a tablet.
> >>
> >> An alternative I have investigated in
> >> http://jira.xwiki.org/browse/XWIKI-11479 is to open the menu on hover
> >> (on devices that support this of course). The result is quite nice and
> >> effective but there is a problem: if you have a second horizontal menu
> >> displayed under the top level menu then you'll have a hard time
> >> hovering the second menu. So I decided to close XWIKI-11479 as Won't
> >> Fix. For those that like the open-on-hover behaviour and which don't
> >> plan to use a second menu I've published this extension
> >>
> >>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Hover+and+Default+Action+for+Flamingo+Menu
> >> .
> >>
> >> The other alternative to fix the problem is to go back to the
> >> behaviour from 6.2. Precisely, each menu has two sides:
> >> * on the left is the label which is a link used for navigation
> >> * on the right there is a toggle (arrow) used to open the menu.
> >>
> >> The problem with this, and the reason we change it in 6.3, was that
> >> the label and the toggle were not separated very well so the user
> >> could easily think they were doing the same action (opening the menu).
> >> At the same time this separation felt unnatural on extra small screens
> >> (phones) because you couldn't tap easily on the toggle (arrow).
> >>
> >> The solution I propose is to:
> >> * Keep the current behaviour for extra small screens (phones). That
> >> means the use has to tap twice to navigate: one tap to open the menu
> >> and another one on the "Go to this XYZ".
> >> * On desktop and tablet enable the default action (navigation link) as
> >> in 6.2 but improve the separation so that the menu behaves as much as
> >> possible as a drop down button (e.g. the Add button) without looking
> >> like one. This means:
> >> ** You should understand there are two sides without hovering
> >> ** Separate hover and active state (e.g. the link is not hovered when
> >> the toggle is hovered)
> >>
> >> I've investigated *many* ways to achieve this and the result can be
> >> seen on http://jira.xwiki.org/browse/XWIKI-11517. This is close to
> >>
> >>
> http://exte

[xwiki-users] [ANN] XWiki 6.3 released

2014-11-12 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
6.3.

This release provides a great stabilization of the Flamingo Skin, and
includes new themes and some improvements to manage them.

It also contains a new mail API and module to replace the old mailsender
plugin, a new dynamic tree widget that is progressively replacing all
existing trees in XWiki (Document Index, Navigation Panels, etc...), some
improvements on the Extension Manager as well as on the User Directory and
the Applications Panel.

Efforts have been made on the performances side, with good results on view
mode (except on the first loaded-page). We reach the same performances as
5.4.6, which was not the case during the 6.x cycle until now. This is a
first milestone to get even better!

Finally, and like every releases, a lot of bugs have been fixed.
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/ReleaseNotesXWiki63

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Flaming Less to CSS processor

2014-10-27 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

Yes the LESS compiler is running on the server, except for the preview box
of the Flamingo Theme Application.

You should be able to put any valid LESS code in the "advanced" section of
that application.

For example, if you want to set a bootstrap variable that the application
does not handle, you could add:

@modal-content-bg: red;

But you can also add new CSS classes, like:
.myClass{
  background-color: red;
}
and this class can use LESS functions and bootstrap mixins:
.myClass{
  background-color: darken(red, 10%); // LESS function
  .make-xs-column(12); // Bootstrap mixin
}

And the class will be added to the default style.css. I am updating
http://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo+Theme+Application

I hope this helps,

2014-10-27 16:01 GMT+01:00 Gerritjan Koekkoek :

> Does the Less to CSS preprocessor in the Flamingo themes app run on the
> server?
> What documentation is available (or examples of what kind of Less code can
> be entered in the Advanced Less box?
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 5.4.6 released

2014-10-16 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
5.4.6.

This release is a stabilization version that fix important bugs discovered
in the 5.4.5 version.

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/ReleaseNotesXWiki546

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-25 Thread Guillaume &quot;Louis-Marie" Delhumeau
2014-09-24 22:27 GMT+02:00 Sergiu Dumitriu :

> On 09/24/2014 10:15 AM, Pascal BASTIEN wrote:
> > Hello,
> >
> > (freely inspired/adapted by:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail (Vincent)
> and
> http://xwiki.markmail.org/message/bksyjlpwezx4dgco?q=getAllMembersNamesForGroup+velocity
> (Sergiu)
> >
> > Some questions:
> > to replace some text in velocity, I used $text.replaceAll(xxx,yyy).
> > Are they a way to use StringUtils tools in velocity?
> >
> http://commons.apache.org/proper/commons-lang/javadocs/api-3.1/org/apache/commons/lang3/StringUtils.html
> > If yes, how?
>
> Yes, $stringtool
>
> > I failed to get email adress with $userdoc.display("email","view",$user)
> function but without "mailto:"; prefix ...
> >
> http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String,%20com.xpn.xwiki.api.Object,%20java.lang.String%29
>
> Use $user.getProperty('email').value to access the raw value, display
> methods generate HTML code.
>

Since 6.2, you can do $user.getValue('email') :)


>
> > Are they a tip with wrappingSyntaxId value? or I must use regexp like i
> did?
> >
> > If there are too much email I don't know if my macro is safe... (Perhaps
> there are a way to insert a sleep instruction in velocity?)
> >
> > Thxs
> >
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-24 Thread Guillaume &quot;Louis-Marie" Delhumeau
Just my 2 cents:

If you plan to send a lot of emails though the Internet, then your emails
may be rejected by the mail providers, considering they are spams.

If you send emails internally, it should not be a problem.


2014-09-24 16:15 GMT+02:00 Pascal BASTIEN :

> Hello,
>
> (freely inspired/adapted by:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail (Vincent)
> and
> http://xwiki.markmail.org/message/bksyjlpwezx4dgco?q=getAllMembersNamesForGroup+velocity
> (Sergiu)
>
> Some questions:
> to replace some text in velocity, I used $text.replaceAll(xxx,yyy).
> Are they a way to use StringUtils tools in velocity?
>
> http://commons.apache.org/proper/commons-lang/javadocs/api-3.1/org/apache/commons/lang3/StringUtils.html
> If yes, how?
> I failed to get email adress with $userdoc.display("email","view",$user)
> function but without "mailto:"; prefix ...
>
> http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String,%20com.xpn.xwiki.api.Object,%20java.lang.String%29
> Are they a tip with wrappingSyntaxId value? or I must use regexp like i
> did?
>
> If there are too much email I don't know if my macro is safe... (Perhaps
> there are a way to insert a sleep instruction in velocity?)
>
> Thxs
>
>
> Anyway, here my script to send email at all xwiki users:
>
>
> Note: to test/debug, modify this lines:
> {{code}}
>   #if ($ToEmail != '' && $ToEmail == 'xxx.y...@nospam.fr')
>   ##if ($ToEmail != '')
> {{/code}}
>
> 
>
> {{velocity}}
>
> #if($xwiki.hasAccessLevel('admin'))
>   #if ("$!{xwiki.getXWikiPreference('admin_email')}" != '')
> #set ($RobotEmail="$!{xwiki.getXWikiPreference('admin_email')}")
>   #else
> {{error}}You must fill admin email in Xwiki preference page{{/error}}
>   #end
>
>   ## All Team Members on the Wiki (using velocity)
>   #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and
> obj.className='XWiki.XWikiUsers'")
>   #set ($allUsers = $xwiki.searchDocuments($sql))
>
>   #if("$!{request.action}" == 'send_mail' && "$!{request.lastname}" == '')
> ## Check submission and honey pot.
> #if("$!request.subject" != '')
>
> ## loop on each email users
> #foreach ($user in $allUsers)
>   #set ($userdoc = $xwiki.getDocument($user))
>   #set ($email = $userdoc.display("email","view",$user))
>   ##Clean email adress (remove mailto:)
>   #set ($ToEmail = $email.replaceAll('^mailto:',''))
>
>   ##SMTP adress to test/debug
>   ##send to one user
>   #if ($ToEmail != '' && $ToEmail == 'xx...@nospam.fr')
>   ##if ($ToEmail != '')
>
> ##send mail
> ##set($result = $xwiki.mailsender.sendTextMessage("
> no-re...@xwiki.com", $request.recipient, $request.subject,
> "$!request.message"))
> #set($result = $xwiki.mailsender.sendTextMessage("$RobotEmail",
> "$ToEmail", $request.subject, "$!request.message"))
> #if($result == -1)
>   {{error}}A problem occurred while sending the mail to
> $email.{{/error}}
>#else
>  ## {{info}}Everything went OK.{{/info}}
>  * mail sent to $email
>#end
>  #end
>#end
>
>   #else
> {{error}}Please specify at least a subject{{/error}}
>   #end
> #end
>
> {{html wiki=true}}
> 
>  
>  ## this is a honey-pot hidden text field hat hopefully robots will not
> leave empty
>  
>  
>  
>  
>**FROM** (admin email): $RobotEmail
>**SUBJECT:**
>
>**MESSAGE:**
>Your test message
> here.
>  
>  
> value="Send" />
>  
> 
> {{/html}}
> #else
> {{error}}Oops. Area restricted to Admins, sorry.{{/error}}
> #end
>
> 
>
> Liste des destinataires du mail ci-dessus (tous les membres de Iwiki):
> = Recipient list: All Team Members on the Wiki (using velocity) =
>
> #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and
> obj.className='XWiki.XWikiUsers'")
> #set ($allUsers = $xwiki.searchDocuments($sql))
> #foreach ($user in $allUsers)
>   #set ($userdoc = $xwiki.getDocument($user))
>   #set ($email = $userdoc.display("email","view",$user))
> #set ($TexteMail = $email.replaceAll('^mailto:',''))
> ##set ($TexteMail =
> $escapetool.xml($userdoc.display("email","view",$user)))
> ##set ($TexteMail =
> StringUtils.removeStart("$userdoc.display("email","rendered",$user)",
> "mailto"))
>   #if ($email != 'mailto:')
> $user -> $email
> ##$user -> $email $TexteMail
>   #end
> #end
>
> {{/velocity}}
>
>
> 
> 
>
>
> If you want to send email to a group, here the code to list email users by
> groups (copy/paste the interesting piece):
>
>
> {{velocity}}
> Utilisateurs connectés actuellement:
> $xwiki.rightsmanager.usersApi.allUsersNames
>
> --
> Liste tous mes groupes
> #set($rightsAPI=$xwiki.rightsmanager)
> #set($groupsAPI=$rightsAPI.getGroupsApi())
> #set($groups=$groupsAPI.getAllLocalGroupsNames())
> #foreach($group in $groups)
>   * [[$group]]
> #end
>
> ---
> Get 

Re: [xwiki-users] need advice about an extension developpment

2014-09-24 Thread Guillaume &quot;Louis-Marie" Delhumeau
2014-09-23 14:37 GMT+02:00 Guillaume "Louis-Marie" Delhumeau <
gdelhum...@xwiki.com>:

> Hi Pascal.
>
> 2014-09-18 22:15 GMT+02:00 Pascal BASTIEN :
>
>> I'm pulling my hair out...
>>
>> If I hide the DIV #rightPanels (with class hidden or display none) the
>> DIV contentcontainer is not automatically resized!
>>
>
> Indeed it is not. Actually you need to change one class on the  tag
> to resize the main container.
>
> The class "content" means: left & right panels. "hideleft" means: "only
> right panels" and "hideright" the opposite.
>
> When there is no panels at all, the class "hidelefthideright" is used.
>
>
>> I wonder why and above all I wonder how can I resize content side when
>> rightPanels disapeared (with javascript and/or jquery).
>>
>
> Just like how the panel wizard does: play with the body CSS classes.
>

Just to be clear: I mean play with the CSS classes via a JavaScript code ;)


>
>
>>
>> Any help will be apprecie :)
>>
>> Here two screenshot will be more explicite:
>> http://snag.gy/zVIRU.jpg
>> http://snag.gy/voZuE.jpg
>>
>>
>> By the way, for  http://jira.xwiki.org/browse/XWIKI-10498
>> http://tuljo.com/web-development/expanding-collapsing-sliding-div-jquery
>> will help.
>>
>>
>> Pascal B
>>
>>
>>
>>
>> 
>>  De : Pascal BASTIEN 
>> À : Ecaterina Moraru (Valica) ; XWiki Users <
>> users@xwiki.org>
>> Envoyé le : Mercredi 17 septembre 2014 21h40
>> Objet : Re: [xwiki-users] need advice about an extension developpment
>>
>>
>> Thxs you (again :-) )
>> You have just confirmed what I was afraid of, I mean js + cookie.
>> I will probably look into this collapsed menu , this week. but, I am not
>> sure if this replies to your issue...
>> If you like, I will show you the result... if I manage :-/
>>
>>
>>
>> 
>> De : Ecaterina Moraru (Valica) 
>> À : Pascal BASTIEN ; XWiki Users <
>> users@xwiki.org>
>> Envoyé le : Mercredi 17 septembre 2014 19h01
>> Objet : Re: [xwiki-users] need advice about an extension developpment
>>
>>
>>
>> Hi Pascal,
>>
>> If you look at
>> http://www.cssportal.com/css3-preview/showing-and-hiding-content-with-pure-css3.php
>> the CSS code for making this work is using the :focus pseudo-class, which
>> is triggered when the link is selected using the mouse pointer or keyboard.
>> It's normal that if you navigate the focus of that element to be lost.
>>
>> If you want something persistent you must implement it with JS and
>> cookies. CSS is not the tool to achieve these things.
>>
>>
>> On this topic there is also this issue
>> http://jira.xwiki.org/browse/XWIKI-10498 but this is not a priority and
>> not sure when/who will try to fix it (maybe even you :) )
>>
>> Thanks,
>> Caty
>>
>>
>>
>>
>> On Wed, Sep 17, 2014 at 4:48 PM, Pascal BASTIEN 
>> wrote:
>>
>> Hello,
>> >
>> >I try to writing an extension to add the right panel collapsible (with
>> CSS only). Something like this:
>> >http://www.cssportal.com/css3-preview/demo/css-menu-ex4.html (hide and
>> seek panel)
>> >explained here
>> http://www.cssportal.com/css3-preview/showing-and-hiding-content-with-pure-css3.php
>> >I inserted code in rightpanels.vm and CSS but the limitation is when I
>> navigate on another xwiki page/space the right panel is reset. My right
>> panel is  not persistent.
>> >Do you have an advice to make my right panel persistent:
>> >- if user show panel and change current page, right panel  must be still
>> open
>> >- if user hide panel and change current page right panel must be  still
>> hide
>> >
>> >javascript (and cookie) are mandatory in my case?
>> >Do you have an elegant tip: an secret xwiki API ?
>> >
>> >Thxs
>> >
>> >Pascal B
>> >___
>> >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
>>
>
>
>
> --
> Guillaume Delhumeau (gdelhum...@xwiki.com)
> Research & Development Engineer at XWiki SAS
> Committer on the XWiki.org project
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Report - 6.2-rc-1

2014-09-23 Thread Guillaume &quot;Louis-Marie" Delhumeau
2014-09-18 17:38 GMT+02:00 Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com>:

> Impressive work! Well done!
>

Indeed. I have seen a lot of created issues recently. It is a major help!

Thanks!


>
> Thanks,
> Marius
>
> On Thu, Sep 18, 2014 at 9:15 AM, Andreea Popescu
>  wrote:
> > Hello all,
> >
> > During the last few days we have conducted smoke testing on: Firefox 32,
> > Chrome 37, IE8, IE9, IE10 and IE11. Also, I would like to mention that I
> > have conducted no full test so far on this version. The next full text
> will
> > most likely take place after version 6.2 is launched. If you wish for us
> to
> > conduct a full test on a certain browser, we will gladly honour your
> > request.
> >
> > This link offers an overview of the issues and improvements reported by
> the
> > team on the 6.2-rc-1 version:
> >
> http://jira.xwiki.org/issues/?jql=affectedVersion%20in%20%28%226.2-rc-1%22%29
> >
> > We shall continue testing for other issues and improvements.
> > Have a good day!
> >
> > --
> > Andreea Zenovia Popescu
> > QA Engineer @XWiki
> > ___
> > 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
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] need advice about an extension developpment

2014-09-23 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Pascal.

2014-09-18 22:15 GMT+02:00 Pascal BASTIEN :

> I'm pulling my hair out...
>
> If I hide the DIV #rightPanels (with class hidden or display none) the DIV
> contentcontainer is not automatically resized!
>

Indeed it is not. Actually you need to change one class on the  tag
to resize the main container.

The class "content" means: left & right panels. "hideleft" means: "only
right panels" and "hideright" the opposite.

When there is no panels at all, the class "hidelefthideright" is used.


> I wonder why and above all I wonder how can I resize content side when
> rightPanels disapeared (with javascript and/or jquery).
>

Just like how the panel wizard does: play with the body CSS classes.


>
> Any help will be apprecie :)
>
> Here two screenshot will be more explicite:
> http://snag.gy/zVIRU.jpg
> http://snag.gy/voZuE.jpg
>
>
> By the way, for  http://jira.xwiki.org/browse/XWIKI-10498
> http://tuljo.com/web-development/expanding-collapsing-sliding-div-jquery
> will help.
>
>
> Pascal B
>
>
>
>
> 
>  De : Pascal BASTIEN 
> À : Ecaterina Moraru (Valica) ; XWiki Users <
> users@xwiki.org>
> Envoyé le : Mercredi 17 septembre 2014 21h40
> Objet : Re: [xwiki-users] need advice about an extension developpment
>
>
> Thxs you (again :-) )
> You have just confirmed what I was afraid of, I mean js + cookie.
> I will probably look into this collapsed menu , this week. but, I am not
> sure if this replies to your issue...
> If you like, I will show you the result... if I manage :-/
>
>
>
> 
> De : Ecaterina Moraru (Valica) 
> À : Pascal BASTIEN ; XWiki Users  >
> Envoyé le : Mercredi 17 septembre 2014 19h01
> Objet : Re: [xwiki-users] need advice about an extension developpment
>
>
>
> Hi Pascal,
>
> If you look at
> http://www.cssportal.com/css3-preview/showing-and-hiding-content-with-pure-css3.php
> the CSS code for making this work is using the :focus pseudo-class, which
> is triggered when the link is selected using the mouse pointer or keyboard.
> It's normal that if you navigate the focus of that element to be lost.
>
> If you want something persistent you must implement it with JS and
> cookies. CSS is not the tool to achieve these things.
>
>
> On this topic there is also this issue
> http://jira.xwiki.org/browse/XWIKI-10498 but this is not a priority and
> not sure when/who will try to fix it (maybe even you :) )
>
> Thanks,
> Caty
>
>
>
>
> On Wed, Sep 17, 2014 at 4:48 PM, Pascal BASTIEN 
> wrote:
>
> Hello,
> >
> >I try to writing an extension to add the right panel collapsible (with
> CSS only). Something like this:
> >http://www.cssportal.com/css3-preview/demo/css-menu-ex4.html (hide and
> seek panel)
> >explained here
> http://www.cssportal.com/css3-preview/showing-and-hiding-content-with-pure-css3.php
> >I inserted code in rightpanels.vm and CSS but the limitation is when I
> navigate on another xwiki page/space the right panel is reset. My right
> panel is  not persistent.
> >Do you have an advice to make my right panel persistent:
> >- if user show panel and change current page, right panel  must be still
> open
> >- if user hide panel and change current page right panel must be  still
> hide
> >
> >javascript (and cookie) are mandatory in my case?
> >Do you have an elegant tip: an secret xwiki API ?
> >
> >Thxs
> >
> >Pascal B
> >___
> >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
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [UX] Wiki - Space - Page concepts pitch

2014-07-31 Thread Guillaume &quot;Louis-Marie" Delhumeau
My 2 cents:

A wiki = a website (or a drive).
A space = a folder (BTW, the space icon is actually a folder icon!).
A page = a page inside that folder.

"In XWiki, everything is a page, including the users and the applications."


2014-07-31 11:13 GMT+02:00 Ecaterina Moraru (Valica) :

> Hi,
>
> We did some usability testing sessions and found out that one of the
> biggest problems users are facing is that they don't understand the Home -
> Wiki - Space - Page concepts.
> Because of this confusion:
> - they are creating a wiki instead of a space or a page,
> - they don't know where they are located when looking at a page (in the
> main wiki or in a subwiki),
> - they don't know how to navigate to the pages they've created,
> - very confused that we have a Main space in every wiki,
> - they are having a hard time making a difference between a space and an
> application,
> - hard to understand everything is a page,
> - etc.
>
> We could do many things in order to improve our navigation, but one thing I
> want us to focus in this mail thread is the explanation of Wiki - Space -
> Page concepts on the Main.WebHome.
>
> Currently the content of the Welcome Block is:
>
> = Welcome to your wiki =
> >
> > It's an easy-to-edit website that will help you work better together.
> This
> > Wiki is made of //pages// sorted by //spaces//. You're currently in the
> > **Main** space, looking at its home page (**WebHome**).
> >
> > Learn how to use XWiki with the [[Getting Started Guide]]
>
>
> > You can then use the [[Sandbox space]] to try out your wiki's features.
> >
>
> I would like to replace this message with an introductory text that explain
> the concepts (there were also some ideas that maybe we need some images to
> represent the hierarchy, etc.) and I need your opinion on this subject.
>
> So, how would you pitch the Wiki - Space - Page concepts to newcomers?
>
> Thanks,
> Caty
> ___
> devs mailing list
> d...@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Welcome to the "users" mailing list

2014-07-10 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

See: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HBindings


2014-07-04 0:09 GMT+02:00 Jason Clemons :

> Can anyone tell me how to get the current page name from Velocity code?
>
> > On Jul 2, 2014, at 11:51 PM, "Jason Clemons" 
> wrote:
> >
> > Hello,
> >
> > I'm new new new to xwiki, but I think it's pretty cool so far.  I've been
> > killing myself trying to work out where to add javascriptextension on an
> > "app within minute" page.  I want the javascript to create some handlers
> on
> > page load, hide some buttons, form validation etc.. for the life of me I
> > can't really figure out the best place to put my code.  Right now I've
> got
> > some javascript working by putting an {{html}} tag with a 

Re: [xwiki-users] exporting an old XWiki to a new clean XWiki

2014-06-18 Thread Guillaume &quot;Louis-Marie" Delhumeau
Maybe this could help:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Wiki+Export
and
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import

I hope it helps,
Guillaume


2014-06-18 1:21 GMT+02:00 Mark Elliot :

> In my last e-mail I discussed a bug where widgets are not displayed in the
> administration web pages of our old XWiki.  In an effort to fix this bug, I
> have tried exporting the old XWiki into a new clean installation.  The
> issue is the bug comes into the new XWiki on importing.
>
> I can export the pages one at a time without getting the bug. However, the
> links do not come with them.  This is a very tedious effort to resort the
> web site this way.  Does anyone have suggestions for tools for
> systematically exporting and importing the web pages?  Also, what do we do
> about the users and other configured spaces?  Any other "outside the box"
> thinking or solutions are welcome.
> ___
> 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


Re: [xwiki-users] Maven errors

2014-06-12 Thread Guillaume &quot;Louis-Marie" Delhumeau
I don't understand why you have this error, but at least you are able to
compile it with mvn clean install -DskipTests=true.


2014-06-12 10:43 GMT+02:00 wafid :

> the same error :
> //
> //*
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 9:05.382s
> [INFO] Finished at: Thu Jun 12 10:37:41 CEST 2014
> [INFO] Final Memory: 154M/562M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on
> project xwiki-platform-oldcore: There are test failures.
> [ERROR]
> [ERROR] Please refer to
>
> /home/matmani/xwikibuild/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire-reports
> for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :xwiki-platform-oldcore
> matmani@pc-eqi06128:~/xwikibuild/xwiki-platform$
>
> //**
>
>
> Test set: com.xpn.xwiki.doc.XWikiDocumentTest
>
>
> //***
>   classname="com.xpn.xwiki.doc.XWikiDocumentTest" time="0.257">
> com.xpn.xwiki.XWikiException:
> Error number 7005 in 7: Error instanciating property class
> at
> com.xpn.xwiki.objects.classes.BaseClass.fromXML(BaseClass.java:597)
> at com.xpn.xwiki.objects.BaseObject.fromXML(BaseObject.java:283)
> at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4411)
> at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4288)
> at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4267)
> at
>
> com.xpn.xwiki.doc.XWikiDocumentTest.testObjectNumbersAfterXMLRoundrip(XWikiDocumentTest.java:515)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at junit.framework.TestCase.runTest(TestCase.java:176)
> at
> org.jmock.core.VerifyingTestCase.runBare(VerifyingTestCase.java:39)
> at junit.framework.TestResult$1.protect(TestResult.java:122)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.framework.TestResult.run(TestResult.java:125)
> at junit.framework.TestCase.run(TestCase.java:129)
> at junit.framework.TestSuite.runTest(TestSuite.java:255)
> at junit.framework.TestSuite.run(TestSuite.java:250)
> at
>
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
> at
>
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
> at
>
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: com.xpn.xwiki.XWikiException: Error number 7006 in 7: Cannot
> find
> property class com.xpn.xwiki.objects.classes.StaticListClass in MetaClass
> object
> at
> com.xpn.xwiki.objects.classes.PropertyClass.fromXML(PropertyClass.java:500)
> at
> com.xpn.xwiki.objects.classes.BaseClass.fromXML(BaseClass.java:593)
> ... 24 more
> 
>   
>
> //**
>
>
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7591017.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
>
_

Re: [xwiki-users] Maven errors

2014-06-11 Thread Guillaume &quot;Louis-Marie" Delhumeau
xwiki-commons and xwiki-rendering 5.4.5 should be on maven central now.


2014-06-11 17:02 GMT+02:00 Jeremie BOUSQUET :

> 2014-06-11 16:34 GMT+02:00 Guillaume "Louis-Marie" Delhumeau <
> gdelhum...@xwiki.com>:
>
> > It seems I haven't fully released xwiki-commons and xwiki-rendering 5.4.5
> > on maven central. I just have done this. Don't we have them on our own
> > Maven repository ?
> >
>
> I see it in your nexus, with:
> Uploaded Date:Mon May 26 2014 11:05:53
>
> Uploaded by "anonymous" which seems strange.
>
> I can't understand why it would try to get that one from central, and the
> others from nexus.xwiki.org, and why it wouldn't do the same for previous
> libraries ...
> But maybe you could also define the mirrors / mirrorOf * for
> nexus.xwiki.org
> repo in maven settings (ie, never go to central). That may not be a good
> idea, but as central seems to be proxified from nexus.xwiki, it should
> work.
> I didn't find any mirror recommendations on
> http://dev.xwiki.org/xwiki/bin/view/Community/Building .
>
>
>
> > Anyway, Wafid, it should be fixed within the next 2 hours...
> >
> > Sorry for that.
> >
> > Guillaume
> >
> >
> > 2014-06-11 16:23 GMT+02:00 wafid :
> >
> > >
> > > settings.xml
> > >
> > >
> > > //*
> > > 
> > >  
> > >
> > >  xwiki
> > >
> > > 
> > >
> > >  xwiki-snapshots
> > >  XWiki Nexus Snapshot Repository Proxy
> > >  
> > http://nexus.xwiki.org/nexus/content/groups/public-snapshots
> > > 
> > >  
> > >false
> > >  
> > >  
> > >true
> > >  
> > >
> > >
> > >  xwiki-releases
> > >  XWiki Nexus Releases Repository Proxy
> > >  http://nexus.xwiki.org/nexus/content/groups/public
> > >  
> > >true
> > >  
> > >  
> > >false
> > >  
> > >
> > >
> > >
> > > 
> > >  xwiki-external
> > >  XWiki Nexus External Repository Proxy
> > >  http://nexus.xwiki.org/nexus/content/groups/public
> > >  
> > >true
> > >  
> > >  
> > >false
> > >  
> > >
> > >
> > >
> > >
> > >  
> > >  
> > >
> > >  xwiki-plugins-snapshots
> > >  XWiki Nexus Plugin Snapshot Repository Proxy
> > >  
> > http://nexus.xwiki.org/nexus/content/groups/public-snapshots
> > > 
> > >  
> > >false
> > >  
> > >  
> > >true
> > >  
> > >
> > >
> > >  xwiki-plugins-releases
> > >  XWiki Nexus Plugin Releases Repository Proxy
> > >  http://nexus.xwiki.org/nexus/content/groups/public
> > >  
> > >true
> > >  
> > >  
> > >false
> > >  
> > >
> > >  
> > >
> > >  
> > >  
> > >xwiki
> > >  
> > > 
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > > http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590992.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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Maven errors

2014-06-11 Thread Guillaume &quot;Louis-Marie" Delhumeau
It seems I haven't fully released xwiki-commons and xwiki-rendering 5.4.5
on maven central. I just have done this. Don't we have them on our own
Maven repository ?

Anyway, Wafid, it should be fixed within the next 2 hours...

Sorry for that.

Guillaume


2014-06-11 16:23 GMT+02:00 wafid :

>
> settings.xml
>
>
> //*
> 
>  
>
>  xwiki
>
> 
>
>  xwiki-snapshots
>  XWiki Nexus Snapshot Repository Proxy
>  http://nexus.xwiki.org/nexus/content/groups/public-snapshots
> 
>  
>false
>  
>  
>true
>  
>
>
>  xwiki-releases
>  XWiki Nexus Releases Repository Proxy
>  http://nexus.xwiki.org/nexus/content/groups/public
>  
>true
>  
>  
>false
>  
>
>
>
> 
>  xwiki-external
>  XWiki Nexus External Repository Proxy
>  http://nexus.xwiki.org/nexus/content/groups/public
>  
>true
>  
>  
>false
>  
>
>
>
>
>  
>  
>
>  xwiki-plugins-snapshots
>  XWiki Nexus Plugin Snapshot Repository Proxy
>  http://nexus.xwiki.org/nexus/content/groups/public-snapshots
> 
>  
>false
>  
>  
>true
>  
>
>
>  xwiki-plugins-releases
>  XWiki Nexus Plugin Releases Repository Proxy
>  http://nexus.xwiki.org/nexus/content/groups/public
>  
>true
>  
>  
>false
>  
>
>  
>
>  
>  
>xwiki
>  
> 
>
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590992.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


Re: [xwiki-users] Maven errors

2014-06-11 Thread Guillaume &quot;Louis-Marie" Delhumeau
Could you tip:
mvn --version

and paste here the results?


2014-06-04 13:31 GMT+02:00 wafid :

> i checkout xwiki-platform-5.4.5 tag and  build it without any modification.
> i build it with Java 8.
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590874.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


[xwiki-users] [ANN] XWiki 5.4.5 released

2014-05-26 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
5.4.5.
This release is a stabilization version that fix important bugs discovered
in the 5.4.4 version.

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/ReleaseNotesXWiki545

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Newbie question [5.4.4]: Skinning the top menu bar on subwikis

2014-05-06 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

It is actually different to allow users to navigate through other wikis
from one of the subwikis. If you want to have the same menu bar than in the
main wiki, you have to change the user scope of the subwiki. The "Home"
menu is displayed only if the scope of the subwiki is "only global users
have access to this wiki".

The other way is to manually change the menuview.vm template:
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/menuview.vm#L130

I hope it helps,

Guillaume


2014-05-06 6:31 GMT+02:00 :

> For some reason, the appearance of the top menu bar is different for a
> subwiki than the main wiki. What is controlling this? I'd like the
> appearance of the way it is in the main wiki to be reflected in the
> subwikis too.
>
> MT
> ___
> 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


[xwiki-users] [ANN] XWiki 5.4.4 released

2014-04-10 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
5.4.4.

This is a bugfix release, with some improvements in the wiki creation.

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/ReleaseNotesXWiki544

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2014-04-02 Thread Guillaume &quot;Louis-Marie" Delhumeau
2014-03-28 15:53 GMT+01:00 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.
>

Can you display, somewhere, $isWikiUIAvailable and $hasCreateWiki in a
{{velocity}} macro?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Howto access a static groovy class method from velocity

2014-03-18 Thread Guillaume &quot;Louis-Marie" Delhumeau
You can also use $xwiki.parseGroovyFromPage().

Here an example:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial

LM


2014-03-17 17:38 GMT+01:00 Thomas Mortagne :

> The cleanest is probably to write a script service in Groovy, see
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+a+component+using+Groovy
> for an example.
>
> On Mon, Mar 17, 2014 at 5:31 PM, Matthias Albert 
> wrote:
> > Thanks for your response.
> >
> > But how can I create o "global" binding to an instance of my class? The
> > background is: I would like to avoid programming rights required, and so
> > I believe, I need Velocity and not a bit of Groovy in the referencing
> page.
> >
> > In fact, I need one instance of the groovy class and references in
> > Velocity from several pages.
> >
> > How is this possible?
> > Matthias
> >
> > Am 16.03.2014 12:20, schrieb Thomas Mortagne:
> >> It's not really relayed to Groovy, Velocity cannot work with statics.
> >>
> >> You will have to work with non static methods and assign one script
> >> binding to an instance of your groovy class like in:
> >>
> >> {{groovy}}
> >> class MyClass {
> >>   myFunction(out) {
> >> out.println "hello world"
> >> }
> >>
> >> mytool = new MyClass()
> >> {{/groovy}}
> >>
> >> {{velocity}}
> >> $mytool.myFunctionnction(out)
> >> {{/velocity}}
> >>
> >> On Sat, Mar 15, 2014 at 9:12 PM, Matthias Albert <
> matthias.alb...@gmx.de> wrote:
> >>> Hi all,
> >>>
> >>> after I managed to write a groovy class with a static method within a
> >>> groovy block:
> >>> {{groovy}}
> >>> class MyClass {
> >>>   static myFunction(out) {
> >>> out.println "hello world"
> >>> }
> >>>
> >>> MyClass.myFunction(out)
> >>> {{/groovy}}
> >>>
> >>> I would like to invoke thos static groovy class function from within a
> >>> Velocity block:
> >>> ${MyClass.myFunction(out)}
> >>>
> >>>
> >>> But unfortunately, this does not work. Nothing will be displayed.
> >>>
> >>> Has anybody an idea for help?
> >>>
> >>> Thanks Matthias
> >>>
> >>> ___
> >>> users mailing list
> >>> users@xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >>
> >>
> >
> > --
> > Matthias Albert
> > Rastatter Straße 26
> > 76199 Karlsruhe
> > Tel. +49 (0)721 885744
> > Email: matthias.alb...@posteo.de
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> ___
> 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


[xwiki-users] [ANN] XWiki 5.4.2 released

2014-02-27 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
5.4.2.
This is a bugfix release.

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/ReleaseNotesXWiki542

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to use the SQL Tools?

2014-02-17 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

I am the author of this extension.

After installing it, you just need to go to the space "SQLTools".

If you want to do a request on an external database, then go to
"SQLTools.Query".

Then you fill in the form (user/password, URL of the database, JDBC driver
to use).

You may need to add your own JDBC driver in the WEB-INF/lib directory of
the application if the database is different than the one used by XWiki.

The, you just need to write your query.

I hope it helps,

Louis-Marie


2014-02-14 9:26 GMT+01:00 Hamster :

> To all,
>
> I want to use velocity or groovy to query an external SQL Database. I have
> found the  SQL Tools Extension
>    but I
> have NO clue how to use this extension! It seems to be out of date (I am
> using XWiki 5.4) because the page that comes with the extension is garbled
> (parts of the page shows the code, parts of the page shows an HTML form).
>
> Is the SQL Tools Extension the right tool to use to query an external SQL
> Database?
> Does anyone have an example (velocity or groovy) on how to query an
> external
> SQL Database?
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/How-to-use-the-SQL-Tools-tp7589126.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


Re: [xwiki-users] Access/Editing the xwiki.cfg file

2014-02-13 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

Please look at:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration

(the xwiki directory is inside the webapp application of your container)

Louis-Marie


2014-02-13 18:02 GMT+01:00 Belkhiria Hamza Yazid :

> Hello guys,
>
>
> This might seem silly but
> I can't find how to access and edit the xwiki.cfg file,
> Where is it ?
> Any help ?
>
>
> Best Regards,
>
> --
> *BHY*
> ___
> 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


[xwiki-users] [ANN] XWiki 5.4.1 released

2014-02-12 Thread Guillaume &quot;Louis-Marie" Delhumeau
The XWiki development team is proud to announce the availability of XWiki
5.4.1.
This is a bugfix release fixing a security issue among other things.

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/ReleaseNotesXWiki541

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] adding users issue

2014-01-29 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

Can you provide a screenshot of this?

Thanks,
Louis-Marie


2014-01-29 Fiete Botschen 

> Hi all,
>
> always when I add an user(which works fine) I have to scroll down over a
> blank screen until I finally reach the add user dialog.
> Does anyone know how to solve this issue? It's only cosmetics but
> nevertheless confusing if you click on "add User" and a blank screen
> appears...
>
> Cheers,
>
> Fiete
> ___
> 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


Re: [xwiki-users] empty Candidates list of rejected users.

2014-01-21 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Kelly.

The candidacies are located in the XWiki.XWikiAllGroup page of your
subwiki. See it with the object editor, and you can clean it.

I hope it helps,
Louis-Marie


2014/1/10 Kelly Steinke 

> I have set up a subwiki and have been doing a lot of testing regarding
> authentication which has left a large amount of test users in my Candidates
> list. Is there a way to remove these join requests from the admin section?
> I can't seem to get into the edit mode of the XWikiPreferences page for the
> user section.
>
> Thanks
>
> ___
> 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


Re: [xwiki-users] Wiki application templates error (SOLVED?)

2014-01-13 Thread Guillaume &quot;Louis-Marie" Delhumeau
Good afternoon,

I have created a JIRA about the fact that the log are not accessible
through the UI:
http://jira.xwiki.org/browse/XWIKI-9876

But concerning your issue, I don't see why it has happened.


2014/1/13 Jaume Giribert Peraire 

> Hi everyone,
>
> I finally solved the issue with a workaround. DB was ok (all tables where
> using InnoDB) so I simply tried to delete all the pages that triggered the
> SQL error.
>
> Following is the list of conflicting pages:
>
> AnnotationCode->Translations
> Main->SOLRTranslations
> Main->Welcome
> Sandbox->Webhome
> Wikimanager->Translations
> XWiki->XWikiSyntax* (all pages except "XWikiSyntax" and "XWikiSyntaxClass")
>
> After deleting all these pages now I'm able to create subwikis from
> templates and no SQL errors appears at status.xml.
>
> The only thing that I'm able to find in common in all these pages is
> parent/child relationship in some of them.
>
> Maybe it could be interesting if someone at xwiki team reproduces this
> issue and open a JIRA.
>
> Regards,
> Jaume
>
>
> 2014/1/12 Jaume Giribert Peraire 
>
> > Hi,
> >
> > Thanks again Thomas, looks like I didn't search well...
> >
> > I found the job status (for other/future people, you will find it at
> > Tomcat work directory
> >
> ../work/Catalina/localhost/xwiki/jobs/status/wiki/provisioning/wikiprovisioning.template/
> > ) and  it seems that template is not copied to new subwiki due to an SQL
> > error:
> >
> > 
> > WARN
> > SQL Error: 1062, SQLState: 23000
> >   
> >   
> > ERROR
> > Duplicate entry
> > 'AnnotationCode.Translations--2014-01-12 12:13:40' for key
> > 'XDD_FULLNAME'
> >   
> >   
> > INFO
> > Finished job of type [{}] with identifier [{}]
> > ny
> >
> > So, it looks like subwiki is created correctly but template is not copied
> > due to duplicate entry error. After that, the UI wizard is called in
> other
> > to get the Xwiki-UI.
> >
> > I think the problem may be related to MyISAM/InnoDB MySQL storage Engine.
> > I will check that tomorrow.
> >
> > Any ideas regarding this issue are welcome.
> >
> > Regards,
> > Jaume
> >
> >
> >
> > 2014/1/11 Jaume Giribert Peraire 
> >
> >> Hi Thomas,
> >>
> >> Thank you so much for your comments. Unfortunately I don't fully
> >> understand your answer as I'm not familiar with the "jobs" part.
> >>
> >> Are you talking about the Scheduler app? Should I access the job status
> >> on http://:8080/xwiki/bin/.../jobs/status? Can you point me to any
> >> documentation related?
> >>
> >> Regards,
> >> Jaume
> >>
> >> On Fri, Jan 10, 2014 at 6:58 PM, Jaume Giribert Peraire
> >>  http://lists.xwiki.org/mailman/listinfo/users>> wrote:
> >> >* Hi Thomas,
> >> *>>* Yes, it looks like the template is not copied when the new subwiki
> is created.
> >> *>>* I tried to switch to Oracle Java6 JVM and updating to the last
> Tomcat6
> >> *>* version (Centos) but the problem persist.
> >> *>>* I'm not really sure where the problem comes from. The only thing I
> >> *>* have found is this entry catalina.out:
> >> *>>* Jan 10, 2014 6:35:33 PM org.apache.tomcat.util.http.Parameters
> processParameters
> >> *>* WARNING: Parameters: Invalid chunk '' ignored.
> >> *
> >>
> >> Does not really seems to be related. If you have nothing in
> >> catalina.out it's probably normal since wiki creation is done in an
> >> isolated job, you should be able to find it's status somewhere in
> >> /jobs/status/ (not fully sure what are those jobs ids). A pity
> >> the UI does not display this log.
> >>
> >> >
> >> >* Looks like a problem when calling this URL (note the double && before
> >> *>* input) when creating the subwiki:
> >> *>*
> http://xx:8080/xwiki/bin/get/WikiManager/CreateWiki?xpage=uorgsuggest&uorg=user&&input=XWiki.Admin<
> http://xx:8080/xwiki/bin/get/WikiManager/CreateWiki?xpage=uorgsuggest&uorg=user&&input=XWiki.Admin
> >
> >> *>>* I tried to download and install the windows version (comes with
> Jetty)
> >> *>* but I'm not able to reproduce this issue. It works as expected.
> >> *>>* Anyone with a similar scenario or any clue where I can found where
> the issue is?
> >> *>>* Regards,
> >> *>* Jaume
> >> *>>>* On Fri, Jan 10, 2014 at 2:20 PM, Jaume Giribert Peraire
> >> *>* http://gmail.com>
> >> *
> >> >*  http://lists.xwiki.org/mailman/listinfo/users>>> wrote:
> >> *>>** Hi,
> >> *>* *>>* I'm working with a fresh install of xwiki 5.3 (centos6 +
> openjdk 1.6 +
> >> *>* *>* tomcat6 + mysql).
> >> *>* *>>* I have create a new subwiki (as a template) but whenever I try
> to create a
> >> *>* *>* new subwiki using this template, i only get a blank wiki, just
> the standard
> >> *>* *>* deploy.
> >> *>* *>>* I have followed these instructions with no luck:
> >> *>* *>*
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application <
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application>
> >> *>* <
> http://extensions.xwiki.o

Re: [xwiki-users] use space name in page title

2014-01-07 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Paul.

In the title of a page, you are allowed to directly write velocity code
(without using the {{velocity}} macro).

So, just tip something like:
"Space: $doc.space" and it will work.

I hope it helps,

Louis-Marie


2014/1/7 Paul Pinkerton (ACLCO) 

> I want to use the space name in the page title.  Is there a way to
> create a reference to this?
>
>
>
> Paul Pinkerton
>
> KnowledgeNow Project Lead
>
> pink...@lao.on.ca 
>
>
>
> Association of Community Legal Clinics of Ontario
>
> 416-847-1418 or 1-866-965-1416x 5177
>
> www.aclco.org 
>
> ___
> 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


Re: [xwiki-users] xwiki auto-start

2013-12-16 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

You can also use
http://extensions.xwiki.org/xwiki/bin/view/Extension/Xinit. It is
developed by our infrastructure team.

LM


2013/12/16 vinc...@massol.net 

>
> Just google on how to start a process automatically on unix… (using
> /etc/init.d for example).
>
> Thanks
> -Vincent
>
> On 16 Dec 2013 at 15:12:45, MaryJane (mgpa...@exis.it(mailto://
> mgpa...@exis.it)) wrote:
>
> > hi all!
> > how can I set XWiki so that it starts automatically? (on linux)
> > tnx
>
>
> ___
> 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


Re: [xwiki-users] ToDo Macro erase page content while using the WYSIWYG editor

2013-12-11 Thread Guillaume &quot;Louis-Marie" Delhumeau
I have reproduced your issue with ToDo Macro 1.0 [1] on the last version of
XWiki.

Unfortunately, this macro is not supported by the XWiki team.

Regards,

Louis-Marie


[1]: http://extensions.xwiki.org/xwiki/bin/view/Extension/Todo+Macro


2013/12/11 Kai Sen 

> Hello,
>
> I really like the idea behind the ToDo Macro, as it is the easiest way to
> get todos strait into wiki pages and review them with the ToDo List.
>
> Unfortunately it seems there is a bug which make it nearly useless. As soon
> as you added more ToDos to one page and you added this pages with the
> WYSIWYG editor it could be that all content after and including the todos
> itself are erased while "saving"
> If you switch before between the Wiki editor and WYSIWYG editor you see in
> the wiki editor that it is already missing. In the WYSIWYG editor all
> content is shown normally but not saved.
>
> That means. I create a page - add some todos - someone else edid this page
> and put some additional content over the WYSIWYG editor to the page and
> save it - all content behind the todo can get lost.
>
> I tried it with different pages and also with different content. I just can
> say that it is not related to the content before or after the todo.
>
> Does someone see that before?
>
> Regards Kai
> ___
> 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


Re: [xwiki-users] Page in external website

2013-11-13 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi,

I know some people who add "xpage=print" to the page URL. For example:
http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome?xpage=print

I hope it helps,
Louis-Marie


2013/11/12 Vincent Massol 

> Hi,
>
> You can use the XWIki REST API to get content.
>
> See http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
>
> You can also simply prepend "xpage=plain" to the page URL. For example:
> http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome?xpage=plain
>
> Thanks
> -Vincent
>
>
> On Mon, Nov 11, 2013 at 12:13 PM, Gerritjan Koekkoek <
> gerritjankoekk...@gmail.com> wrote:
>
> > Hi,
> >
> > We maintain a very valuable knowledge base about a rare syndrome Cornelia
> > de Lange syndrome.
> >
> > What is the best strategy to display content in a website of other
> > organizations?
> >
> > A normal iFrame will show all the XWiki skin elements while in this case
> > only Content needs to be shown.
> > No edit's, no display of tags, annotations, attachments...
> >
> > Off course the inline links should work (when linking to XWiki.Pages)
> >
> > Gerritjan
> > ___
> > 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


Re: [xwiki-users] Show HTML/ASPX in panel

2013-10-07 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

The width of the panels is setted in the CSS of the skin. For example, with
the default skin:

#rightPanels {
float: right;
margin: 0 0 0 -220px;
width: 220px;
}
#leftPanels {
float: left;
margin: 0 0 0 -100%;
width: 220px;
}

So you have to edit the skin or create a new one:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins

Regards,
Louis-Marie


2013/10/4 Hamster 

> The minute I posted my question, the idea to use an iframe hit me :-)
>
> {{velocity}}
> #panelheader('My Header')
> {{html}}
> 
>  src=".../default.aspx"
> height="800">
> 
> 
> {{/html}}
> #panelfooter()
> {{/velocity}}
>
> Now I want to change the WIDTH of my panel(s). How/where can I change the
> width of a panel?
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Show-HTML-ASPX-in-panel-tp7587400p7587401.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


Re: [xwiki-users] [ANN] XWiki 5.2 Release Candidate 1 Released

2013-10-01 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Dmitry.

I plan to have this configuration in the UI in the proposal I have made for
the evolution of the multi-wiki mode in XWiki 5.3.

Currently, the "Home" menu is displayed only if you are on the main wiki or
in a workspace. If you are in a standard subwiki, the "Home" menu is not
there.

Thanks ;)
Louis-Marie


2013/10/1 Dmitry Bakbardin 

>  Thanks, Caty!
>
> I added a pice of another vision of this problem. Probably, it would
> require another jira issues.
>
>
> Вторник,  1 октября 2013, 10:06 +03:00 от "Ecaterina Moraru (Valica)" <
> vali...@gmail.com>:
> >Hi Dmitry,
> >
> >I've created this issue  http://jira.xwiki.org/browse/XWIKI-9518 in
> order to keep track of it. Feel free to add info to it if you want.
> >
> >Thanks,
> >Caty
> >
> >
> >On Mon, Sep 30, 2013 at 6:23 PM, Marius Dumitru Florea  <
> mariusdumitru.flo...@xwiki.com > wrote:
> >>Hi Dmitry,
> >>
> >>On Mon, Sep 30, 2013 at 6:04 PM, Dmitry Bakbardin < haru_mamb...@mail.ru> 
> >>wrote:
> >>>  Thank you for the new Release, Marius!
> >>>
> >>>
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki52RC1#HNew22Home22menuwhenthereismorethanonewiki
> >>>
> >>
> >>> Is it possible to disable/enable this Home menu item by purpose
> besides changing vm files and attaching them to the skin page?
> >>
> >>There has been a discussion about the new menu
> >>http://lists.xwiki.org/pipermail/devs/2013-September/055036.html . I
> >>don't think you can enable/disable it for the moment but I'll let
> >>Guillaume (who worked on it) give you details.
> >>
> >>>
> >>> Use case is following:
> >>> Home Wiki (Main Wiki)
> >>> 1. Workspaces:
> >>>  - workspace 1
> >>> .
> >>>  - workspace N
> >>>
> >>> 2. Wiki farm:
> >>>  - wiki farm 1
> >>>
> >>
> >>> In the Workspaces I can guess, I'd need Home menu sometimes. Probably.
> But in most of cases, in the wiki-farm I'd prefer users would not even know
> about each other.
> >>> Are you going to make it configurable via UI?
> >>
> >>We should definitely take this into account.
> >>
> >>Thanks,
> >>Marius
> >>
> >>>
> >>>
> >>> Понедельник, 30 сентября 2013, 16:22 +03:00 от Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com >:
> The XWiki development team is proud to announce the availability of
> XWiki 5.2 Release Candidate 1.
> This is mostly a stabilization release leading to XWiki 5.2 final and
> it brings a new "Home" top level menu (available when there is more
> than one wiki) and a new Distribution Wizard step to upgrade all
> wikis. The WikiStream framework has been improved and now can be used
> to export large wikis in XAR format. Besides this the new release
> includes 49 bug fixes and 16 small improvements.
> 
> 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/ReleaseNotesXWiki52RC1
> 
> Thanks
> -The XWiki dev team
> ___
> users mailing list
>  users@xwiki.org
>  http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>>
> >>> Kind regards,
> >>>
> >>> Dmitry
> >>> ___
> >>> 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
> >
>
>
> Kind regards,
>
> Dmitry
> ___
> 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


Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc

2013-05-22 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi.

I'm not sure I really understood what you need to do, but let me propose a
solution anyway.

I think what you need is to get the all the documents that contains
comments with "%doc.title%" content and where there is NO comment with
'%Withdrawal:2011% in the content.

So, that's how I would solve the problem:

#set ($xwlquery1 = "FROM doc.object(XWiki.
XWikiComments) AS commWHERE  doc.translation = 0 AND  and comm.comment LIKE
:doctitle AND doc.fullName NOT IN (SELECT doc2.fullName FROM Document doc2,
doc2.object(XWiki.XWikiComments) comm2 WHERE comm2.comment LIKE
'%Withdrawal:2011%')")
#set($results = $services.query.xwql($xwqlquery1).bindValue('doctitle',
"%${doc.title}%"))

I didn't test it but it should work.

Louis-Marie.

2013/5/22 

> Hi! Thanks you both for answering!
>
> I'm afraid that your proposals didn't solve the problem. Please, see
> here...
>
> http://www.idisantiago.es/bin/XWQL/SnapshotE0012012
>
> Both users have three comments each. This way:
>
> XWD_ID:416379378
> Gender:
> Withdrawal:20121017
> Formely:XWiki.XWikiIDISE001
>
> XWD_ID:946660794
> Gender:
> Withdrawal:20111231
> Formely:XWiki.XWikiIDISE001
>
> Thus, I'm still not able to design a query to retrive ONLY user
> XWD_ID:416379378 based on comments :-( Your proposals answer with a list
> including both users n times. I'm not able neither of explain n in both
> cases... any idea will be welcome!
>
> Thank you very much for your help,
>
> Ricardo
>
>
> > 
> > From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of
> Guillaume "Louis-Marie" Delhumeau [gdelhum...@xwiki.com]
> > Sent: 22 May 2013 13:02
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWQL query on several objects of the same
> class instantiated in the same doc
> >
> > Hi Ricardo and Edo,
> >
> > 2013/5/22 Edo Beutler 
> >
> >> Hi Ricardo
> >>
> >> You are only checking in one object. So there has to be one object that
> >> contains the doc name, but not the withdrawal part which is fulfilled by
> >> the third object in your example. Whilst I don't recall ever having
> tried
> >> checking for multiple objects in XWQL, I would suspect this should work:
> >>
> >> #set ($xwlquery1 = "from doc.object(XWiki.XWikiComments) as comm1,
> >> doc.object(XWiki.XWikiComments) as comm2 where doc.translation = 0 and
> >> comm1.comment like '%$doc.title%' and comm2.comment not like
> >> '%Withdrawal:2011%'")
> >>
> >
> > You are right. But I think you should add "comm1 <> comm2" in your query
> to
> > make it work.
> >
> > Louis-Marie
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> Nota: A información contida nesta mensaxe e os seus posibles documentos
> adxuntos é privada e confidencial e está dirixida únicamente ó seu
> destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe,
> por favor elimínea. A distribución ou copia desta mensaxe non está
> autorizada.
>
> Nota: La información contenida en este mensaje y sus posibles documentos
> adjuntos es privada y confidencial y está dirigida únicamente a su
> destinatario/a. Si usted no es el/la destinatario/a original de este
> mensaje, por favor elimínelo. La distribución o copia de este mensaje no
> está autorizada.
>
> See more languages: http://www.sergas.es/aviso_confidencialidad.htm
> ___
> 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


Re: [xwiki-users] Open attached Word Document (which contains "OnOpen" Macro)

2013-05-22 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Hamster.

You may need to manually download the word document on your computer before
opening it. I suspect this behaviour is a "security" feature of MS Word,
when the document is opened "from the network".

XWiki is not supposed to change the content and the behaviour of a word
document.

Please try and tell us.

Regards,

Louis-Marie

2013/5/22 Hamster 

> We are using XWiki 4.0
>
> We have uploaded several Word Documents and Templates to our Wiki.
>
> Some of those documents/templates have embedded OnOpen or OnNew macro's
> (which simply displays a form that the users needs to fill out).
>
> If we start/open a Word Document/Template from our Wiki, those OnOpen/OnNew
> macro's are NOT being fired (and thus the userforms are never displayed)
>
> We need to display those userforms when a user opens those
> documents/templates!
>
> Help!
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Open-attached-Word-Document-which-contains-OnOpen-Macro-tp7585294.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


Re: [xwiki-users] XWQL query on several objects of the same class instantiated in the same doc

2013-05-22 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Ricardo and Edo,

2013/5/22 Edo Beutler 

> Hi Ricardo
>
> You are only checking in one object. So there has to be one object that
> contains the doc name, but not the withdrawal part which is fulfilled by
> the third object in your example. Whilst I don't recall ever having tried
> checking for multiple objects in XWQL, I would suspect this should work:
>
> #set ($xwlquery1 = "from doc.object(XWiki.XWikiComments) as comm1,
> doc.object(XWiki.XWikiComments) as comm2 where doc.translation = 0 and
> comm1.comment like '%$doc.title%' and comm2.comment not like
> '%Withdrawal:2011%'")
>

You are right. But I think you should add "comm1 <> comm2" in your query to
make it work.

Louis-Marie
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to delete document without put it in trash bin

2013-03-19 Thread Guillaume &quot;Louis-Marie" Delhumeau
Hi Arnaud.

You can do it only if you have the Programming Rights.

With velocity:
#set($document = $xwiki.getDocument("Document Name"))
## Get the internal document
#set($xwikidocument = $document.getDocument())
## Remove it
#set($discard = $xwiki.getXWiki().deleteDocument($xwikidocument, false,
$xcontext.context))

The second parameter of deleteDocument is "to trash", that I set to false.

Doc:
http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/platform/xwiki-platform-oldcore/4.5.2/xwiki-platform-oldcore-4.5.2-javadoc.jar/!/com/xpn/xwiki/XWiki.html#deleteDocument%28com.xpn.xwiki.doc.XWikiDocument,%20boolean,%20com.xpn.xwiki.XWikiContext%29

I hope it helps,

Louis-Marie

2013/3/18 Arnaud bourree 

> Hello
>
> If I used document.delete(), document is moved to trash bin.
> Documents I want to delete are temporary documents I want definitively
> deleted.
> How can I delete document without put it in trash bin?
> Should I have to open JIRA issue to request trash bin parameter?
>
> Regards,
>
> Arnaud.
> ___
> 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