Re: [xwiki-users] I can't use my component anymore

2016-03-02 Thread Giordano Ninonà
Thank you for your answer,

My setup is: I downloaded the stand alone version for Windows and I have
installed it.  So Jetty as servlet container and  HSQL database.  I run it
on my pc and I built my project using Eclipse.

Giordano.
Il 02/mar/2016 22:31, "Jesse Bright"  ha scritto:

> Without knowing your setup it would be very difficult to tell you how to
> reset your system. Personally I use a combination of Vagrant and
> Digitalocean to run Xwiki independent of my personal computer. Vagrant uses
> Virtualbox to make a local machine and is free. Digitalocean creates a VPS
> and is very cheap ($10/month). Both of these systems allow you to create a
> snapshot of your system which you can restore to if you break things
> seriously.
>
> Regards,
>
> Jesse
>
> > On Mar 2, 2016, at 3:22 AM, Giordano Ninonà 
> wrote:
> >
> > Please guys, I have to graduate in 20 days and I can´t do it if I am not
> > able to test my software.
> >
> > At least tell me how can I completely unistall everything from my machine
> > so I can perform a clean isntallation of XWiki Enterprise.
> >
> > Giordano.
> >
> > 2016-03-01 19:30 GMT+01:00 Giordano Ninonà :
> >
> >> I don't really know what is going on, I start to get error during the
> >> loading phase after I click on "XWiki Home Page" icon on my desktop.
> >> In the attachments you can find my terminal after I started the service
> >> (Terminal1.PNG) and a portion of the errors that I get after I click on
> >> "XWiki Home Page" icon. (Terminal 2.PNG, and Terminal 3.PNG).
> >>
> >> Giordano.
> >>
> >> 2016-03-01 19:03 GMT+01:00 Giordano Ninonà :
> >>
> >>> HI users,
> >>>
> >>> I was in the final testing phase of my component, like always I have
> ran
> >>> my Xwiki (version 7.3) then I have deleted the pages that I have to
> create
> >>> automatically with my component as well as those apges containing
> XClass
> >>> and the sheets. I don't know what I have done uncorrectly, but the
> point is
> >>> that now the terminal is saying that there is an* Error number 3202:
> >>> Exception while reading document [...] *for all the ages that I have
> >>> deleted, inside the wiki there is no pages to delete.
> >>>
> >>> I have unistalled and re-installed my XWiki, and I have tried to create
> >>> a new wiki with the same identifier and the problem presists.
> >>>
> >>> Any help?
> >>> Giordano.
> > ___
> > 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] I can't use my component anymore

2016-03-02 Thread Jesse Bright
Without knowing your setup it would be very difficult to tell you how to reset 
your system. Personally I use a combination of Vagrant and Digitalocean to run 
Xwiki independent of my personal computer. Vagrant uses Virtualbox to make a 
local machine and is free. Digitalocean creates a VPS and is very cheap 
($10/month). Both of these systems allow you to create a snapshot of your 
system which you can restore to if you break things seriously. 

Regards,

Jesse

> On Mar 2, 2016, at 3:22 AM, Giordano Ninonà  wrote:
> 
> Please guys, I have to graduate in 20 days and I can´t do it if I am not
> able to test my software.
> 
> At least tell me how can I completely unistall everything from my machine
> so I can perform a clean isntallation of XWiki Enterprise.
> 
> Giordano.
> 
> 2016-03-01 19:30 GMT+01:00 Giordano Ninonà :
> 
>> I don't really know what is going on, I start to get error during the
>> loading phase after I click on "XWiki Home Page" icon on my desktop.
>> In the attachments you can find my terminal after I started the service
>> (Terminal1.PNG) and a portion of the errors that I get after I click on
>> "XWiki Home Page" icon. (Terminal 2.PNG, and Terminal 3.PNG).
>> 
>> Giordano.
>> 
>> 2016-03-01 19:03 GMT+01:00 Giordano Ninonà :
>> 
>>> HI users,
>>> 
>>> I was in the final testing phase of my component, like always I have ran
>>> my Xwiki (version 7.3) then I have deleted the pages that I have to create
>>> automatically with my component as well as those apges containing XClass
>>> and the sheets. I don't know what I have done uncorrectly, but the point is
>>> that now the terminal is saying that there is an* Error number 3202:
>>> Exception while reading document [...] *for all the ages that I have
>>> deleted, inside the wiki there is no pages to delete.
>>> 
>>> I have unistalled and re-installed my XWiki, and I have tried to create
>>> a new wiki with the same identifier and the problem presists.
>>> 
>>> Any help?
>>> Giordano.
> ___
> 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] unable to deploy on Wildfly 9.0.2 Final

2016-03-02 Thread vinc...@massol.net
Hi,


On 2 Mar 2016 at 18:22:17, Anton Hughes 
(a...@tradeworks.io(mailto:a...@tradeworks.io)) wrote:

> Hi
>  
> Which versions of Wildfly has Xwiki been tested on, if any?

No idea but your error is not related to wildfly, see below :)

> I'm trying to deploy on 9.0.2 and am getting the following error - and it
> fails to deploy:
>  
> 17:19:23,505 ERROR [io.undertow.request] (
> http://localhost:8080/xwiki/bin/view/Main/) UT005023: Exception handling
> request to /xwiki/bin/view/Main/: javax.servlet.ServletException:
> com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract
> Entity Resource Reference from URL [
> http://localhost:8080/xwiki/bin/view/Main/]

[snip]

> Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver

[snip]

So you’re trying to use hsqldb (declared in your hibernate.cfg.xml) but you’re 
not providing the JDBC driver for it!

Thanks
-Vincent

> Thanks
>  
> --
> Anton Hughes

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


Re: [xwiki-users] unable to deploy on Wildfly 9.0.2 Final

2016-03-02 Thread Marius Dumitru Florea
On Wed, Mar 2, 2016 at 7:21 PM, Anton Hughes  wrote:

> Hi
>
> Which versions of Wildfly has Xwiki been tested on, if any?
>
> I'm trying to deploy on 9.0.2 and am getting the following error - and it
> fails to deploy:
>
> 17:19:23,505 ERROR [io.undertow.request] (
> http://localhost:8080/xwiki/bin/view/Main/) UT005023: Exception handling
> request to /xwiki/bin/view/Main/: javax.servlet.ServletException:
> com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract
> Entity Resource Reference from URL [
> http://localhost:8080/xwiki/bin/view/Main/]
> at
>
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
> at
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
> at
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at
>
> io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
> at
>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
>
> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
>
> io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
> at
>
> io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at
>
> io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at
>
> org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at
>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at
>
> io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> at
>
> io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at
>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at
>
> io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at
>
> io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at
>
> io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> at
>
> io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
> at
>
> io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at
>
> io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> at
>
> io.undertow.server.handlers.PredicateHandle

Re: [xwiki-users] New versions of attachments not recognized

2016-03-02 Thread Mark Sack
A colleague pointed me to the Ctrl-F5 shortcut in the browser which I guess
is what you meant by "force clear cache". That resolved the problem. I had
thought that clearing the browser history under the Privacy settings would
take care of clearing out all that data but it turns out they are different.

Thanks for your help.
Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/New-versions-of-attachments-not-recognized-tp7598189p7598269.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


[xwiki-users] How to completely remove XWiki Enterprise

2016-03-02 Thread Giordano Ninonà
Hi users,

Yesterday I was testing my java component and after I have deleted some
pages from my wiki (I am running XWiki Enterprise 7.3) I started to get
some errors and malfunctioning such as: I don't see anymore any pages under
the "Deleted pages" index and when I try to delete some nested pages the
wiki is telling me that the deletion would affect several childern even if
those children are not diplayed anywhere. If I agree I got errors becase "I
don't have the permission to delete them" even if I am logged as
administrator.

When I see that I am not even able to call the methods from my java
component through the script service,( those method are in charge of
creating new pages as well XClasses and XObjects) I have decided to
unistall XWiki Enterprise and re-install it.  Unfortunately I see that I
have the same errors.

Moreover after I have started the XWiki, before I click on the "XWiki Home"
icon on my desktop, I have noticed in the terminal the following warnings:



*[main] WARN ltInstalledExtensionRepository - Invalid extension
[org.xwiki.platform:xwiki-platform-wiki-ui-common-7.3] on namespace
[wiki:WIKINAME] (InvalidExtensionException: No compatible extension is
installed for dependency
[org.xwiki.platform:xwiki-platform-wiki-ui-common-7.3]*
And I get this warning for each wiki that I have created BEFORE I
UNISTALLED IT.

After I try to call my methods (that should creates wiki pages Xclasses and
Xobjects) it start working until I get a bunch of Exceptions and some ERROR
3002 and some ERROR 2002. The strange thing is that a couple of days ago it
worked fine.

So finally my question is how can I COMPLETELY delete everything that is
related to XWiki Enterprise in my computer and then perform a clean XWiki
Enterprise installation?

I hope to get a quick answer because this is my master thesis project and I
only need to perform some final testing as I am graduating in 40 days.

Please help me in find a solution
Giordano.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] unable to deploy on Wildfly 9.0.2 Final

2016-03-02 Thread Anton Hughes
Hi

Which versions of Wildfly has Xwiki been tested on, if any?

I'm trying to deploy on 9.0.2 and am getting the following error - and it
fails to deploy:

17:19:23,505 ERROR [io.undertow.request] (
http://localhost:8080/xwiki/bin/view/Main/) UT005023: Exception handling
request to /xwiki/bin/view/Main/: javax.servlet.ServletException:
com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract
Entity Resource Reference from URL [
http://localhost:8080/xwiki/bin/view/Main/]
at
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.server.handlers.PredicateHandler.hand

Re: [xwiki-users] Help spread the word about XWiki - add your review!

2016-03-02 Thread Guillaume Lerouge
Hi again,

I haven't seen many reactions on this... I've been told that the G2Crowd
feedback form was too long to fill, so I also created a page for XWiki on
Capterra, where the review form is much shorter/easier to fill:

*http://www.capterra.com/collaboration-software/reviews/149030/XWiki/XWiki/new
*

Every review counts if we are to make XWiki the best-known wiki software in
the world :-)

Thanks in advance, for your help,

Guillaume

On Mon, Feb 22, 2016 at 11:36 AM, Guillaume Lerouge 
wrote:

> Hi users,
>
> I'm trying new ways to spread the word about XWiki. One approach that
> seems to be popular right now are review websites such as Getapp and
> G2Crowd. For instance Drupal has a page on G2Crowd
> , so I thought it could
> be interesting to try it out too.
>
> In order to see whether this could work well for XWiki, I have created a
> page on G2Crowd: *https://www.g2crowd.com/products/xwiki/reviews
> *
>
> It would be very cool if you could spend a bit of time to add a review of
> your experience with XWiki there!
>
> Thanks and happy XWikiing,
>
> Guillaume
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] RESTful API to create a new object of custom class?

2016-03-02 Thread pgregoire
I'm sorry, I think I still need a little help here...

So, I managed to get my object created. 
To give you an idea, I have a page (at Development.Resources.Version
Information.WebHome) where I have a LiveTable that shows all my
VersionInformation objects.
When I create these objects, they wind up in the hierarchy under the Version
Information node.

The only way I was able to run the cURL command properly was with this
command line:
"C:\Program Files\cURL\bin\curl.exe" -u AdminUser:AdminPwd -X POST -H
"Content-type: application/x-www-form-urlencoded" -H "Accept:
application/xml" -d "className=XWiki.Development.Resources.Version
Information.VersionInformationClass" -d "property#Name=TestABCD"
http://localhost/xwiki/rest/wikis/xwiki/spaces/Development/spaces/VersionInformation/pages/WebHome/objects

But doing this overwrites the Development.Resources.Version
Information.WebHome with the newly created object.
Now, it seems that the URI must end with a page, but it is my understanding
the a page can't have children - so how do I create VersionInformation class
instances under a certain node?

Thanks again for the help.





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/RESTful-API-to-create-a-new-object-of-custom-class-tp6965384p7598260.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] Feature Request: Allow copy & paste of images into WYSIWYG editor

2016-03-02 Thread Marius Dumitru Florea
On Wed, Mar 2, 2016 at 3:47 PM, Eduard Moraru  wrote:

> On Wed, Mar 2, 2016 at 11:41 AM, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
>
> > On Wed, Feb 24, 2016 at 1:58 AM, Eduard Moraru 
> > wrote:
> >
> > > Why not launch a javascript event when an attachment is added to a
> page?
> > If
> > > you are in edit mode and you have an editor listening to such an event,
> > it
> > > can also include the attachment in the editor (if it's an image), etc.
> > >
> >
> > Which editor instance? You can have more than one (e.g. two or more Text
> > Area properties). And where in the edited content? Best is to choose the
> > insertion point while you drag the file over the editing area, as it
> > happens in CKEditor.
> >
> >
> This sounds like an implementation detail. The javascript event can also
> provide the drop target. If its one of your editors (you can also probably
> check if an editor is focused before the drop event), insert it in the
> particular editor. The actual location in the edited content could also be
> determined from the drop target.


It seems you're not taking into account the fact that the editing area is
an iframe, so a different window.


> IMO it does not really make sense as a
> long-term strategy to reimplement the same basic functionality over and
> over again.
>
> Thanks,
> Eduard
>
> >
> > >
> > > Right now we already have the feature of adding an attachment from view
> > > mode. You don`t really need to be in an editor to attach a file to a
> page
> > > so that`s why I saw this as a more generic feature of the page itself.
> > >
> > > Anyway, just an idea.
> > >
> > > Thanks,
> > > Eduard
> > >
> > > On Wed, Feb 24, 2016 at 12:28 AM, vinc...@massol.net <
> vinc...@massol.net
> > >
> > > wrote:
> > >
> > > > Hi Edy,
> > > >
> > > > On 23 Feb 2016 at 22:35:18, Eduard Moraru (enygma2...@gmail.com
> > (mailto:
> > > > enygma2...@gmail.com)) wrote:
> > > >
> > > > > On Tue, Feb 23, 2016 at 7:47 PM, vinc...@massol.net
> > > > > wrote:
> > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 23 Feb 2016 at 15:14:06, Guillaume Lerouge (
> guilla...@xwiki.com
> > > > (mailto:
> > > > > > guilla...@xwiki.com)) wrote:
> > > > > >
> > > > > > > Hi Edy,
> > > > > > >
> > > > > > > On Tue, Feb 23, 2016 at 2:38 PM, Eduard Moraru wrote:
> > > > > > >
> > > > > > > > On Tue, Feb 23, 2016 at 1:22 PM, vinc...@massol.net
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 23 Feb 2016 at 12:06:43, Guillaume Lerouge (
> > > > guilla...@xwiki.com
> > > > > > > > (mailto:
> > > > > > > > > guilla...@xwiki.com)) wrote:
> > > > > > > > >
> > > > > > > > > > Hi Stuart,
> > > > > > > > > >
> > > > > > > > > > thanks for your feedback. This is indeed a frequent
> > request.
> > > > In the
> > > > > > > > > current
> > > > > > > > > > WYSIWYG editor, it partially works (your image has to be
> > > > available
> > > > > > > > from a
> > > > > > > > > > public server).
> > > > > > > > > >
> > > > > > > > > > However, we added full support for this feature in the
> last
> > > > > > version of
> > > > > > > > > the
> > > > > > > > > > CKEditor extension:
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > >
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration
> > > > > > > > > > => if you drag & drop an image in CKEditor, it is
> > > automatically
> > > > > > > > attached
> > > > > > > > > to
> > > > > > > > > > the wiki page.
> > > > > > > > > >
> > > > > > > > > > Please also note that drag & drop of images currently
> work
> > if
> > > > you
> > > > > > go to
> > > > > > > > > the
> > > > > > > > > > "attachments" tab of any page (while in view mode) and
> drop
> > > > your
> > > > > > image
> > > > > > > > > > there.
> > > > > > > > >
> > > > > > > > > hmm are you sure? I’m not aware of this feature. I just
> > tested
> > > it
> > > > > > and it
> > > > > > > > > didn’t work for me on 8.0M2.
> > > > > > > > >
> > > > > > > >
> > > > > > > > Tried it and it seems to work only if you drop the file
> exactly
> > > > over
> > > > > > the
> > > > > > > > file upload field ("Browse" button or "No files selected"
> > label,
> > > > i.e.
> > > > > > field
> > > > > > > > with id "xwikiuploadfile"). This definitely needs to be
> > improved.
> > > > > > > >
> > > > > > > > Personally, I would prefer we go full page Drag & Drop
> support,
> > > > i.e.
> > > > > > if a
> > > > > > > > file is dropped in the XWiki browser tab, a popup asks the
> user
> > > if
> > > > he
> > > > > > wants
> > > > > > > > to attach the dropped files to the current XWiki document.
> > > > Something
> > > > > > like
> > > > > > > > GitHub is doing when you can drop a file anywhere in the tab
> of
> > > an
> > > > > > XWiki
> > > > > > > > repository (and a commit form will show up for you to fill
> > > > details).
> > > > > > > >
> > > > > > >
> > > > > > > I agree that this would be nice too. However, it

[xwiki-users] Fw : Re: How to disable versionning for a document

2016-03-02 Thread Pascal BASTIEN


--- En date de : Mer 2.3.16, vinc...@massol.net  a écrit :

> De: vinc...@massol.net 
> Objet: Re: [xwiki-users] How to disable versionning for a document
> À: "XWiki Users" 
> Date: Mercredi 2 mars 2016, 12h19
>  
> 
> On 2 Mar 2016 at 11:50:30, Pascal BASTIEN 
> (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr))
> wrote:
> 
> > Hi,
> >  
> > I have a page
> cronly updated with RESTful API and I want disable document
> versionning for this page only.
> 
> I’m interested in knowing more about the use
> case to see if there’s a generic need.

Sure :-) I must read json data from another web site to display it on 
myxwiki.org web site.
This one: 
https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDetails&clanTag=%23L9CGQYC
but myxwiki.org log show a certificate problem when i use $xwiki.getURLContent 
API
(In fact https://api.clashofclans.com/v1/clans/%23L9CGQYC?Authorization=Bearer 
xx  with Bearer authentication) 

Then my solution, is to add a local cron to:
- wget my json data from https://set7z18fgf.execute-api.us-east-1.amazonaws.com/
- use curl to upload json data in a page of myxwiki.org with RESTful api
This page will be update periodicaly (1 or 2 time per week or less), then I 
need to wipe history of this updated page.

...

> 
> I’ve added this snippet not long ago that you
> could find useful for this:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Revisions+From+Author

It is usefull :-)

Thxs

Pascal B
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Feature Request: Allow copy & paste of images into WYSIWYG editor

2016-03-02 Thread Eduard Moraru
On Wed, Mar 2, 2016 at 11:41 AM, Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com> wrote:

> On Wed, Feb 24, 2016 at 1:58 AM, Eduard Moraru 
> wrote:
>
> > Why not launch a javascript event when an attachment is added to a page?
> If
> > you are in edit mode and you have an editor listening to such an event,
> it
> > can also include the attachment in the editor (if it's an image), etc.
> >
>
> Which editor instance? You can have more than one (e.g. two or more Text
> Area properties). And where in the edited content? Best is to choose the
> insertion point while you drag the file over the editing area, as it
> happens in CKEditor.
>
>
This sounds like an implementation detail. The javascript event can also
provide the drop target. If its one of your editors (you can also probably
check if an editor is focused before the drop event), insert it in the
particular editor. The actual location in the edited content could also be
determined from the drop target. IMO it does not really make sense as a
long-term strategy to reimplement the same basic functionality over and
over again.

Thanks,
Eduard

>
> >
> > Right now we already have the feature of adding an attachment from view
> > mode. You don`t really need to be in an editor to attach a file to a page
> > so that`s why I saw this as a more generic feature of the page itself.
> >
> > Anyway, just an idea.
> >
> > Thanks,
> > Eduard
> >
> > On Wed, Feb 24, 2016 at 12:28 AM, vinc...@massol.net  >
> > wrote:
> >
> > > Hi Edy,
> > >
> > > On 23 Feb 2016 at 22:35:18, Eduard Moraru (enygma2...@gmail.com
> (mailto:
> > > enygma2...@gmail.com)) wrote:
> > >
> > > > On Tue, Feb 23, 2016 at 7:47 PM, vinc...@massol.net
> > > > wrote:
> > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 23 Feb 2016 at 15:14:06, Guillaume Lerouge (guilla...@xwiki.com
> > > (mailto:
> > > > > guilla...@xwiki.com)) wrote:
> > > > >
> > > > > > Hi Edy,
> > > > > >
> > > > > > On Tue, Feb 23, 2016 at 2:38 PM, Eduard Moraru wrote:
> > > > > >
> > > > > > > On Tue, Feb 23, 2016 at 1:22 PM, vinc...@massol.net
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On 23 Feb 2016 at 12:06:43, Guillaume Lerouge (
> > > guilla...@xwiki.com
> > > > > > > (mailto:
> > > > > > > > guilla...@xwiki.com)) wrote:
> > > > > > > >
> > > > > > > > > Hi Stuart,
> > > > > > > > >
> > > > > > > > > thanks for your feedback. This is indeed a frequent
> request.
> > > In the
> > > > > > > > current
> > > > > > > > > WYSIWYG editor, it partially works (your image has to be
> > > available
> > > > > > > from a
> > > > > > > > > public server).
> > > > > > > > >
> > > > > > > > > However, we added full support for this feature in the last
> > > > > version of
> > > > > > > > the
> > > > > > > > > CKEditor extension:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration
> > > > > > > > > => if you drag & drop an image in CKEditor, it is
> > automatically
> > > > > > > attached
> > > > > > > > to
> > > > > > > > > the wiki page.
> > > > > > > > >
> > > > > > > > > Please also note that drag & drop of images currently work
> if
> > > you
> > > > > go to
> > > > > > > > the
> > > > > > > > > "attachments" tab of any page (while in view mode) and drop
> > > your
> > > > > image
> > > > > > > > > there.
> > > > > > > >
> > > > > > > > hmm are you sure? I’m not aware of this feature. I just
> tested
> > it
> > > > > and it
> > > > > > > > didn’t work for me on 8.0M2.
> > > > > > > >
> > > > > > >
> > > > > > > Tried it and it seems to work only if you drop the file exactly
> > > over
> > > > > the
> > > > > > > file upload field ("Browse" button or "No files selected"
> label,
> > > i.e.
> > > > > field
> > > > > > > with id "xwikiuploadfile"). This definitely needs to be
> improved.
> > > > > > >
> > > > > > > Personally, I would prefer we go full page Drag & Drop support,
> > > i.e.
> > > > > if a
> > > > > > > file is dropped in the XWiki browser tab, a popup asks the user
> > if
> > > he
> > > > > wants
> > > > > > > to attach the dropped files to the current XWiki document.
> > > Something
> > > > > like
> > > > > > > GitHub is doing when you can drop a file anywhere in the tab of
> > an
> > > > > XWiki
> > > > > > > repository (and a commit form will show up for you to fill
> > > details).
> > > > > > >
> > > > > >
> > > > > > I agree that this would be nice too. However, it doesn't mean you
> > > don't
> > > > > > need it in edition mode. Having to switch back and forth between
> > > view and
> > > > > > edit because you forgot to upload a file would be tedious. It's
> > > needed in
> > > > > > both places.
> > > > >
> > > > > +1 to that.
> > > > >
> > > >
> > > > Maybe you`ve missed my next reply:
> > > > "My point here was that maybe we could make it a page-level feature
> and
> > > not
> > > > an editor-level feature that each editor would have to implement.”
> > >
> > > I 

Re: [xwiki-users] Duplicated entries in group from LDAP

2016-03-02 Thread Thomas Mortagne
On Wed, Mar 2, 2016 at 2:16 PM, aleksey-s  wrote:
> Hi,
>
> We use version 7.1.2. We created some groups in xwiki. And set up them in
> LDAP menu. For example, perform next actions:
>
> 1. Create xwiki group `test`.
> 2. In LDAP menu in group mapping section input group name `xwiki.test` and
> group in LDAP  for mapping `CN=test `
>
> It works, users login and appear in group, but after few weeks we see many
> duplicated entries in group. If really in group must be ~200 users then
> today I see ~4000. This problem exist almost in all LDAP groups.
>
> Why xwiki duplicate user entries in groups?

It's not supposed to. See https://jira.xwiki.org/browse/XWIKI-13109.

The best would be to give as much information as you can in the jira
issue so that we can reproduce the issue. What you can do on your side
to gather more information is to enable debug log and authenticate a
user having the duplication issue so that we understand better what
exactly happens. See my comment on
https://jira.xwiki.org/browse/XWIKI-13109 for more details.

> How to delete duplicated entries
> in groups ?

http://extensions.xwiki.org/xwiki/bin/view/Extension/Remove+Member+Duplications+from+Groups
looks like something that could help you with that. But first it would
be better to understand and fix the issue or you will spend you time
cleaning those groups.

>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Duplicated-entries-in-group-from-LDAP-tp7598250.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



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Duplicated entries in group from LDAP

2016-03-02 Thread aleksey-s
Hi,

We use version 7.1.2. We created some groups in xwiki. And set up them in
LDAP menu. For example, perform next actions:

1. Create xwiki group `test`. 
2. In LDAP menu in group mapping section input group name `xwiki.test` and
group in LDAP  for mapping `CN=test `

It works, users login and appear in group, but after few weeks we see many
duplicated entries in group. If really in group must be ~200 users then
today I see ~4000. This problem exist almost in all LDAP groups.

Why xwiki duplicate user entries in groups? How to delete duplicated entries
in groups ? 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Duplicated-entries-in-group-from-LDAP-tp7598250.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] Creating a seperate login page in a space that is not blocked (ie XWiki)

2016-03-02 Thread Marius Dumitru Florea
On Wed, Feb 10, 2016 at 1:44 PM, Jan-Paul Kleijn  wrote:

> Hi,
> Thanks for helping. My precise problem is that it is not possible to load
> the page XWiki.XWikiLogin with the use of XMLHttpRequest in javascript. I
> have tested this when logged in and when not logged in.
>
> This is the example code (from W3Schools.com, a little bit compressed):
>
> {{velocity}}
> {{html}}
>
> Using the XMLHttpRequest object
> Change Content
> 
>
> 
> function loadXMLDoc() {
>   var xmlhttp;
>   if (window.XMLHttpRequest) xmlhttp = new XMLHttpRequest();
>   else xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
>   xmlhttp.onreadystatechange = function() {
> if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
> document.getElementById("demo").innerHTML = xmlhttp.responseText;
>   };
>   xmlhttp.open("GET",
> "$xwiki.getURL('XWiki.XWikiLogin','login')?xpage=plain", true);
>   xmlhttp.send();
> }
> 
>
> {{/html}}
> {{/velocity}}
>
> This results in a console logged javascript error report stating a "401:
> Unauthorized" error.
>
> I have tried it with another page in the XWiki space and that page /can/
> be requested via GET.
>


> So I suspect it is not the space but the page (XWiki.XWikiLogin) that
> cannot be fetched via a GET request in javascript.
>

Have you tried accessing the XWiki.XWikiLogin page in view mode? i.e.
/xwiki/bin/view/XWiki/XWikiLogin . If you do you'll see that it doesn't
event exist. The login UI is defined in a Velocity template, login.vm,
which is associated with the 'login' action (that you specify in the URL).


>
> Regards,
> Jan-Paul
>
>
> Op 10-2-2016 om 10:31 schreef Eduard Moraru:
>
> Hi,
>>
>> On Mon, Feb 1, 2016 at 12:36 PM, Jan-Paul Kleijn  wrote:
>>
>> Hi there,
>>> The login page of XWiki is situated in the XWiki space. From this space
>>> it
>>> is not possible to load pages with a XMLHttpRequest in javascript.
>>>
>>
>> Please be more precise on your original problem. What have you tried and
>> what has failed?
>>
>> The only particularity about the XWiki space is that it has a space-level
>> edit right restriction, allowing only XWikiAdminGroup to edit, but that`s
>> about it so I`m not sure you need to go through the trouble of creating a
>> new login page.
>>
>> Thanks,
>> Eduard
>>
>>
>> I want to work around this by creating a seperate login page with exactly
>>> the same content as the current XWiki login page.
>>> I would like to know if this will pose a security risk or not. I do not
>>> understand why it should but I am asking you to make sure I am not
>>> forgetting anything.
>>>
>>> If you like I can share the procedure with you because I think it can be
>>> an improvement over the current situation.
>>>
>>> Kind regards,
>>> Jan-Paul Kleijn
>>> ___
>>> 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] HQL-Query on custom object with user-list

2016-03-02 Thread Marius Dumitru Florea
On Sat, Feb 13, 2016 at 4:50 PM, Matthias Wegner 
wrote:

> Hi Users,
>
> i try to create a hql-query which gives me all documents which contain a
> custom object and and a defined property. As properties i have in the
> object
> a multiselect user-list. Now i want to get all documents in which a
> specific
> user is selected in the object. How can i write the hql?
>
> I tried something from
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples but
> nothing seems to work because i always get no results.
>
> Could you help me?
>

Have you tried something from
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module ? There's
a warning on the top of the page you linked which points to the Query
Module documentation.

Hope this helps,
Marius


>
> Regards,
> Matthias
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/HQL-Query-on-custom-object-with-user-list-tp7597978.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] CKEditor v1.2

2016-03-02 Thread Bruno


Hello,

I deepened my tests about CKEditor v1.2 (comments are after the '>') :

' * when I push the "Source" button, nothing appears. On the button, the 
loading sign turns without ever stopping'
> when I copy-paste an article from an old wiki system, XWiki insert 
some lines like '{{id name="PasserparApacheaulieudeTomcatendirect"/}}\\' 
in the source code. CKEditor doesn't like those lines and can't display 
the source code.


' * the style "Marker" is invisible'
> True on Linux, not tested on Windows (I work mainly with Linux).

' * the horizontal line is invisible'
> only on Linux. With Windows, the 'horizontal line' is visible, and 
the table borders too.


' * is it possible to add a button for "Typewriter Text" (useful for the 
code or configuration files)'

> already done with the style 'Computer code' or 'Typewriter'

New note :
 * when I apply a style as 'Computer code' and then I switch in the 
source display, I do not see the code of the style 'Computer code' in 
the source.



I hope this will help you !

Signature mails
_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


Le 22/02/2016 09:34, Bruno a écrit :


Hello,

I quickly tested the latest version of CKEditor. Here are my remarks :

 * when I push the "Source" button, nothing appears. On the button, the
   loading sign turns without ever stopping
 * the style "Marker" is invisible
 * is it possible to add a button for "Typewriter Text" (useful for the
   code or configuration files)
 * the horizontal line is invisible


Regards,

Signature mails
_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


___
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] Not able to create new skin

2016-03-02 Thread Mark Sack
Yes, appending WebHome works. The browser tab isn't wide enough to display
the full name of the page (had to hover on it to see the WebHome). I'll try
to remember and watch for that in future.

Thank you for your help.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Not-able-to-create-new-skin-tp7598159p7598242.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] Question on Query

2016-03-02 Thread Marius Dumitru Florea
On Thu, Feb 25, 2016 at 1:33 PM, Peter Huisman  wrote:

> Hi,
>
> I have the following question.
>
> I have an main wiki (xwiki) and a subwiki (test)
> I want to access objects from class ’space.someclassClass’ located on a
> page ‘space.somepage' in the main wiki
> When in the subwiki, I have a query such as:
>
> String query = "select name.value from XWikiDocument doc, BaseObject obj,
> StringProperty name where doc.fullName=obj.name and
> obj.className=‘space.someclassClass’ and” +
>  "obj.className<>’space.someclassTemplate’ and name.id.id=obj.id
> order by doc.title"
>
> List results = (List) (List)
> this.queryManager.createQuery(query, Query.XWQL).setWiki(“xwiki").execute();
>
> This gives me the name.value of the property of the object in the main
> wiki.
>
> What I need however is something like:
>
> String query = "select obj from XWikiDocument doc, BaseObject obj where
> doc.fullName=obj.name and obj.className=‘space.someclassClass’ and” +
>  "obj.className<>’space.someclassTemplate’ order by doc.title”
>
>

> I expect this to return a BaseObject. When displaying this
> (toXMLString()), it is however an empty object:
> 
> 
> space.somepage
> 0
> space.someclassClass
> 3c145abe-b334-4801-a100-24c8ef2eea9f
> 
>

If you check
http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema you'll see
that the object data is spread in multiple database tables. What you get is
only the information from the xwikiobjects table (that corresponds to
BaseObject from your query). That's why you need to join StringProperty (in
your first query) if you want the value of a string property from your
object. Since an object can have many properties, it's not convenient to
join all the tables for all the properties. You can instead select the page
full name and the object number, and then use the scripting API to access
the object from the corresponding document.

Hope this helps,
Marius


>
> There is no way (that I have tried) that would give me the object of class
> “xwiki:space.someclassClass” that contains the properties that I need (and
> get using the first query).
>
> I expect that it might have to do with the context but I’m not that
> familiar with it that I know how to do this.
>
> Can someone please shed some light on this?
>
> With kind regards,
>
> Peter Huisman
> ___
> 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] I can't use my component anymore

2016-03-02 Thread Giordano Ninonà
Please guys, I have to graduate in 20 days and I can´t do it if I am not
able to test my software.

At least tell me how can I completely unistall everything from my machine
so I can perform a clean isntallation of XWiki Enterprise.

Giordano.

2016-03-01 19:30 GMT+01:00 Giordano Ninonà :

> I don't really know what is going on, I start to get error during the
> loading phase after I click on "XWiki Home Page" icon on my desktop.
> In the attachments you can find my terminal after I started the service
> (Terminal1.PNG) and a portion of the errors that I get after I click on
> "XWiki Home Page" icon. (Terminal 2.PNG, and Terminal 3.PNG).
>
> Giordano.
>
> 2016-03-01 19:03 GMT+01:00 Giordano Ninonà :
>
>> HI users,
>>
>> I was in the final testing phase of my component, like always I have ran
>> my Xwiki (version 7.3) then I have deleted the pages that I have to create
>> automatically with my component as well as those apges containing XClass
>> and the sheets. I don't know what I have done uncorrectly, but the point is
>> that now the terminal is saying that there is an* Error number 3202:
>> Exception while reading document [...] *for all the ages that I have
>> deleted, inside the wiki there is no pages to delete.
>>
>> I have unistalled and re-installed my XWiki, and I have tried to create
>> a new wiki with the same identifier and the problem presists.
>>
>> Any help?
>> Giordano.
>>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to disable versionning for a document

2016-03-02 Thread vinc...@massol.net
 

On 2 Mar 2016 at 11:50:30, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

> Hi,
>  
> I have a page cronly updated with RESTful API and I want disable document 
> versionning for this page only.

I’m interested in knowing more about the use case to see if there’s a generic 
need.

> I want to save a little bit storage :-)
>  
> Is it possible and how?

Right now disabling versioning is only global:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDocumentversioning

> If not I suppose I must schedule a full history wipe?

I’ve added this snippet not long ago that you could find useful for this:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Revisions+From+Author

Thanks
-Vincent

> Thxs.
>  
> Pascal B

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


Re: [xwiki-users] problems with debugging client part

2016-03-02 Thread Marius Dumitru Florea
I haven't tried the GWT development mode since a long time. It's strange
that you have XWiki 7.4 and you try to use xwiki-commons-component-api
8.0-SNAPSHOT. Have you tried to use the $XE_VERSION variable instead? Are
you sure xwiki-commons-component-api is available in the local maven repo?

Note that we plan to replace the GWT-based WYSIWG editor with CKEditor soon
(see
http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration
). So if you're doing custom development on top on the current editor, you
should think how this will integrate with the new CKEditor.

Hope this helps,
Marius

On Fri, Feb 26, 2016 at 11:43 AM, Maksim Birukov 
wrote:

> Hi All,
>
> Could you please help me with information about debugging client part!
>
>  I don’t understand why I have in the GWT development mode this error:
>  [ERROR] Errors in
> 'org/xwiki/gwt/wysiwyg/client/converter/HTMLConverter.java’
>   [ERROR] Line 22: The import org.xwiki.component cannot be
> resolved
> [ERROR] Line 32: Role cannot be resolved to a type
>
> As I see this package org.xwiki.component.annotation exists in the
> xwiki-commons-component-api and client part includes this package as maven
> dependency...
>
> I use file start_wysiwyg_noserver_debug.sh where I added maven
> dependencies now it looks like :
>
> XE_VERSION=7.4;
> GWT_VERSION=2.6.0;
> GWT_INCUBATOR_VERSION=2.0.1;
> SMART_GWT_VERSION=2.4;
>
> M2_REPO=~/.m2/repository;
> APP_DIR=`dirname $0`/webapps/xwiki;
>
> java \
> -Xmx1024m \
> -Xdebug \
> -Xnoagent \
> -Djava.compiler=NONE \
> -Xrunjdwp:transport=dt_socket,server=y,address=5006,suspend=y \
> -cp \
>
> $M2_REPO/org/xwiki/platform/xwiki-platform-gwt-dom/$XE_VERSION/xwiki-platform-gwt-dom-$XE_VERSION.jar:\
>
> $M2_REPO/org/xwiki/platform/xwiki-platform-gwt-user/$XE_VERSION/xwiki-platform-gwt-user-$XE_VERSION.jar:\
>
> $M2_REPO/org/xwiki/platform/xwiki-platform-oldcore/$XE_VERSION/xwiki-platform-oldcore-$XE_VERSION.jar:\
>
> $M2_REPO/org/xwiki/commons/xwiki-commons-component-api/8.0-SNAPSHOT/xwiki-commons-component-api-8.0-SNAPSHOT.jar:\
>
> $M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-client/$XE_VERSION/xwiki-platform-wysiwyg-client-$XE_VERSION.jar:\
>
> $M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-server/$XE_VERSION/xwiki-platform-wysiwyg-server-$XE_VERSION.jar:\
>
> $M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-client/$XE_VERSION/xwiki-platform-wysiwyg-client-shared-$XE_VERSION.jar:\
>
> $M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-plugin-api/$XE_VERSION/xwiki-platform-wysiwyg-plugin-api-$XE_VERSION.jar:\
> $M2_REPO/com/google/gwt/gwt-user/$GWT_VERSION/gwt-user-$GWT_VERSION.jar:\
> $M2_REPO/com/google/gwt/gwt-dev/$GWT_VERSION/gwt-dev-$GWT_VERSION.jar: \
> com.google.gwt.dev.DevMode \
> -noserver \
> -port 8080 \
> -war $APP_DIR/resources/js/xwiki/wysiwyg \
> -startupUrl xwiki/bin/edit/Sandbox/Test?editor=wysiwyg \
> org.xwiki.gwt.wysiwyg.Wysiwyg
>
>
> Best regards,
> Maxim Birukov
>
> ___
> 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] How to disable versionning for a document

2016-03-02 Thread Pascal BASTIEN
Hi,

I have a page cronly updated with RESTful API and I want disable document 
versionning for this page only.
I want to save a little bit storage :-)

Is it possible and how?
If not I suppose I must schedule a full history wipe?

Thxs.

Pascal B

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


Re: [xwiki-users] Not able to create new skin

2016-03-02 Thread Marius Dumitru Florea
On Mon, Feb 29, 2016 at 2:53 PM, Mark Sack 
wrote:

> In 7.4.1 (standalone installation) I'm trying to create a new skin using A.
> and C. in http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins. I've a
> couple of different variations but can't figure out what I'm doing wrong.
>
> The steps I followed are:
>
> 1. Login as Admin - URL is http://localhost:8080/xwiki/bin/view/Main/
> 2. Edit URL and go to
> http://localhost:8080/xwiki/bin/view/Main/MySkinPage/
> 3. I see that the page does not exist and follow the 'edit this page' to
> create it.
> 4. Press the Create button and then Save & View.
> 5. Open the Objects editor and select the XWiki.XWikiSkins class - press
> Add
> 6. In the object properties, set the Name to 'My New Skin'
> 7. Set the base skin to 'flamingo' - Press Save & View.
> 8. Select the Test this skin link and everything looks fine.
> 9. Go to Administer Wiki -> Presentation.
>


> 10. Set both the Stylesheet and Stylesheets fields to Main.MySkinPage
>

I don't know much about these 2 fields but I think you should leave them
set to "style.css" (which comes from the base skin, i.e. flamingo).


> 11. Set the Skin field to 'My New Skin' and press Save.
>

The value of the Skin field needs to be the reference of the skin page. In
your case the skin page is a nested page (most probably, since you are on
7.4.1) so the reference is probably Main.MySkinPage.WebHome .


> 12. This results in a Java error
> ...
> Caused by: java.net.URISyntaxException: Illegal character in path at index
> 9: /skins/My New Skin/admin.vm
>

Spaces are allowed in page names and so they are allowed in skin names,
when the skin is defined in a wiki page. The problem here is, I think, that
XWiki could not found the page "Main.My Skin Page" (should have been
Main.My Skin Page.WebHome instead) and thus it tried to look for a *file
system* skin "My New Skin", which apparently can't have a space in its name
(but it's more likely a bug that the file system skin name is not URL
encoded when the URL is computed). In any case, try with the ".WebHome"
suffix.

Hope this helps,
Marius


> ...
>
> I thought maybe the error was that spaces were not allowed. So I created a
> new instance and followed the same steps but in steps 6 and 11 used
> 'MyNewSkin'. Then the browser showed the following:
> Error
> You are not allowed to view this page or perform this action.
> The URL was
>
> http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Presentation&space=XWiki
>
> I also thought that maybe in step 11 I need to use Main.MySkinPage instead.
> This resulted in the same error, i.e.
> Error
> You are not allowed to view this page or perform this action.
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Not-able-to-create-new-skin-tp7598159.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] Feature Request: Allow copy & paste of images into WYSIWYG editor

2016-03-02 Thread Marius Dumitru Florea
On Wed, Feb 24, 2016 at 1:58 AM, Eduard Moraru  wrote:

> Why not launch a javascript event when an attachment is added to a page? If
> you are in edit mode and you have an editor listening to such an event, it
> can also include the attachment in the editor (if it's an image), etc.
>

Which editor instance? You can have more than one (e.g. two or more Text
Area properties). And where in the edited content? Best is to choose the
insertion point while you drag the file over the editing area, as it
happens in CKEditor.


>
> Right now we already have the feature of adding an attachment from view
> mode. You don`t really need to be in an editor to attach a file to a page
> so that`s why I saw this as a more generic feature of the page itself.
>
> Anyway, just an idea.
>
> Thanks,
> Eduard
>
> On Wed, Feb 24, 2016 at 12:28 AM, vinc...@massol.net 
> wrote:
>
> > Hi Edy,
> >
> > On 23 Feb 2016 at 22:35:18, Eduard Moraru (enygma2...@gmail.com(mailto:
> > enygma2...@gmail.com)) wrote:
> >
> > > On Tue, Feb 23, 2016 at 7:47 PM, vinc...@massol.net
> > > wrote:
> > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 23 Feb 2016 at 15:14:06, Guillaume Lerouge (guilla...@xwiki.com
> > (mailto:
> > > > guilla...@xwiki.com)) wrote:
> > > >
> > > > > Hi Edy,
> > > > >
> > > > > On Tue, Feb 23, 2016 at 2:38 PM, Eduard Moraru wrote:
> > > > >
> > > > > > On Tue, Feb 23, 2016 at 1:22 PM, vinc...@massol.net
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 23 Feb 2016 at 12:06:43, Guillaume Lerouge (
> > guilla...@xwiki.com
> > > > > > (mailto:
> > > > > > > guilla...@xwiki.com)) wrote:
> > > > > > >
> > > > > > > > Hi Stuart,
> > > > > > > >
> > > > > > > > thanks for your feedback. This is indeed a frequent request.
> > In the
> > > > > > > current
> > > > > > > > WYSIWYG editor, it partially works (your image has to be
> > available
> > > > > > from a
> > > > > > > > public server).
> > > > > > > >
> > > > > > > > However, we added full support for this feature in the last
> > > > version of
> > > > > > > the
> > > > > > > > CKEditor extension:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration
> > > > > > > > => if you drag & drop an image in CKEditor, it is
> automatically
> > > > > > attached
> > > > > > > to
> > > > > > > > the wiki page.
> > > > > > > >
> > > > > > > > Please also note that drag & drop of images currently work if
> > you
> > > > go to
> > > > > > > the
> > > > > > > > "attachments" tab of any page (while in view mode) and drop
> > your
> > > > image
> > > > > > > > there.
> > > > > > >
> > > > > > > hmm are you sure? I’m not aware of this feature. I just tested
> it
> > > > and it
> > > > > > > didn’t work for me on 8.0M2.
> > > > > > >
> > > > > >
> > > > > > Tried it and it seems to work only if you drop the file exactly
> > over
> > > > the
> > > > > > file upload field ("Browse" button or "No files selected" label,
> > i.e.
> > > > field
> > > > > > with id "xwikiuploadfile"). This definitely needs to be improved.
> > > > > >
> > > > > > Personally, I would prefer we go full page Drag & Drop support,
> > i.e.
> > > > if a
> > > > > > file is dropped in the XWiki browser tab, a popup asks the user
> if
> > he
> > > > wants
> > > > > > to attach the dropped files to the current XWiki document.
> > Something
> > > > like
> > > > > > GitHub is doing when you can drop a file anywhere in the tab of
> an
> > > > XWiki
> > > > > > repository (and a commit form will show up for you to fill
> > details).
> > > > > >
> > > > >
> > > > > I agree that this would be nice too. However, it doesn't mean you
> > don't
> > > > > need it in edition mode. Having to switch back and forth between
> > view and
> > > > > edit because you forgot to upload a file would be tedious. It's
> > needed in
> > > > > both places.
> > > >
> > > > +1 to that.
> > > >
> > >
> > > Maybe you`ve missed my next reply:
> > > "My point here was that maybe we could make it a page-level feature and
> > not
> > > an editor-level feature that each editor would have to implement.”
> >
> > I had read that but I misunderstood it as meaning that you were
> suggesting
> > that it shouldn’t be a feature in edit mode while you were just saying
> that
> > it shouldn’t an *editor* feature.
> >
> > Personally I think we need editor-level drag and drop because there are 2
> > different use cases:
> > * being able to insert an image in the content of a page
> > * being able to add an image as an attachment
> >
> > And whenever the content of a page is affected, then it has to be in an
> > editor since that requires making modification to the content and then
> > letting the user make adjustements and save the content.
> >
> > Thanks
> > -Vincent
> >
> > > It was about dropping a file in an XWiki tab, regardless of the mode
> you
> > > are in (edit/view). That`s why I said you don`t need to necessarily
> > > implement it in editor X or Y and it could be

Re: [xwiki-users] New versions of attachments not recognized

2016-03-02 Thread Marius Dumitru Florea
Do you get any exception / error logged when uploading a new version of the
image attachment? Can you try reloading the page with a "force clear cache"
after uploading the new version of the image? The browser is probably
caching the old version.

Hope this helps,
Marius

On Tue, Mar 1, 2016 at 4:21 PM, Mark Sack  wrote:

> I started out with my system configured to use the hibernate attachment
> storage and then later converted it to file storage using the Database to
> Filesystem porter in the Admin Tools extension. Initially everything
> appeared to work fine. Attached images reappeared on the pages after I ran
> the porter. But now I'm finding that, if I load a new version of an
> attachment image, the page continues to display the old version of the
> image
> instead of the new one. If I edit the page, delete the image and then
> reinsert it, the updated version is displayed in the WYSIWYG view. But
> after
> I Save & View the page, the old version of the image is displayed. Even if
> I
> delete the attachment completely from the list of attachments and the page
> and then reload the new version (so that the old version is no longer
> listed) and add it back to the page, the old version is still displayed.
>
> My environment is as follows:
> Debian 8, Java openjdk-7-jre-headless, postgresql 9.4.6, tomcat8
>
> The problem occurs in both my production system on 7.4.1 and a new VM
> created from scratch with 7.4.2.
>
> Note that, in order to get the porter to work, I had to replace the groovy
> script with the new version provided by Caleb as per
>
> http://xwiki.475771.n2.nabble.com/Admin-Tools-database-to-filesystem-porter-error-td7597567.html
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/New-versions-of-attachments-not-recognized-tp7598189.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] Minor editing by default

2016-03-02 Thread Bruno


It works !

Thanks a lot !
Signature mails
_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


Le 01/03/2016 17:21, Jesse Bright a écrit :

Yes, that is correct.

Regards,

Jesse


On Mar 1, 2016, at 6:46 AM, Bruno  wrote:


Signature mails OK. So with your modification, the check box 'minor release' is 
checked by default ? And so, there is just to uncheck it to mean a major change 
?
If that's it, Ienjoy that !


_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


Le 01/03/2016 15:24, Jesse Bright a écrit :

I am sure it is technically possible but I think it would be much more 
difficult. All this modification does is change the default state of the 'Is 
Minor' check box. Perhaps you can change the label and reverse the logic, 
change = to != or something similar. However you may find other areas of Xwiki 
that do not behave as expected afterward. For example, if you use History to 
rollback a page it creates a new major change. Would this be affected by the 
proposed change, who knows? I just recently started using Xwiki, I am sure 
someone with more experience could give a more detailed explanation.

Regards,

Jesse


On Mar 1, 2016, at 6:01 AM, Bruno  wrote:


Thank you very much Jesse !

But before I test this solution, can you tell me if it will be possible to 
indicate through the checkbox that editing is major ?

_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


Le 29/02/2016 15:58, Jesse Bright a écrit :

I managed to do this with a recent install of version 7.4.2, so I know it is 
possible. Here are my notes to self on how to do it:

Use the skins application to edit the default skin as indicated here:

http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Application

Administer Wiki>Loook & Feel>Presentation

Select Customize.
Overrided Templates Add 'editactions.vm'.
Navigate to /wiki/skins/flamingo/editactions.vm and copy the contents.
update the code as follows:
  #if($request.minorEdit)checked="checked"#endTO
  checked="checked"

Sorry my directions aren't better, I am the on the bus to work.

Regards,

Jesse


On Feb 29, 2016, at 3:39 AM, Bruno  wrote:


Hello,

Is it possible to make the default editions are minor and not major ?

Regards,
Signature mails
_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


___
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

___
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