Re: [xwiki-users] [ANN] Markdown Syntax 1.2 has been released (experimental)

2017-01-23 Thread Ludovic Dubost
Hi,

This is quite cool.. It seems to even work with XWiki macros and with
Wysiwyg ! How much is the wysiwyg part supposed to work ?

I found an issue though.. If you use the code macros the parser seems to
try to transform it to ``` ... ``` instead of {{code}} {{/code}}

Ludovic


--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.orgTry XWiki on the cloud
<http://www.xwiki.com/en/products/try-xwiki-cloud>  - Try Cryptpad: Secure
realtime Wysiwyg Editing <https://cryptpad.fr>


On Mon, Jan 23, 2017 at 12:36 AM, Vincent Massol  wrote:

> Hi Markdown lovers,
>
> Just wanted to announce that I’ve completely written XWiki support for the
> Markdown syntax (using flexmark-java instead of pegdown). It’s available as
> the “markdown/1.2” syntax inside of XWiki.
>
> See http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Markdown+Syntax+1.2 for details.
>
> Please try it out and let me know how it goes.
>
> If you find bugs please report them at http://jira.xwiki.org/browse/
> MARKDOWN
>
> Thanks
> -Vincent
>
>


Re: [xwiki-users] 8.4.4: Navigation Panel has no content!

2017-01-11 Thread Ludovic Dubost
Hum weird fix. So it could be a module did not upgrade. Do you know which
urls match this rule ?

Ludovic

Le 12 janv. 2017 09:46, "Craig Wright"  a écrit :

Well, I fixed this particular issue with the following terrible hack to my
/etc/nginx/sites-available/xwiki file:

rewrite ^(.*)/8.4.3/(.*)$ $1/8.4.4/$2 last;

yeeeah. On the plus side, everything seems to be working great. ;D

I will keep the list posted with my continued adventures.

Be well,
Craig

> On Jan 11, 2017, at 11:33 PM, Craig Wright  wrote:
>
> OK, thanks for your help!
>
> Thanks,
> Craig
>
>> On Jan 11, 2017, at 11:30 PM, Ludovic Dubost  wrote:
>>
>> Le 12 janv. 2017 09:23, "Craig Wright"  a écrit :
>>
>> Haha awesome.
>>
>> I should add that I get the same error when I try to edit a page. Most of
>> the page loads but the edit control (MCE — UI widgets and textarea or
input
>> or whatever) just shows a loading spinner forever with the same error as
>> below.
>>
>> I filed http://jira.xwiki.org/browse/XE-1602 <
http://jira.xwiki.org/browse/
>> XE-1602> for the mixed content issue; however that was an issue that was
>> also in 8.4.3.
>>
>> Should I file another issue for this?
>>
>>
>> Not yet I would say. Wait for the team to see if they can reproduce and
if
>> it's a general issue
>>
>> Ludovic
>>
>>
>> Thanks,
>> Craig
>>
>>> On Jan 11, 2017, at 11:19 PM, Ludovic Dubost  wrote:
>>>
>>> Indeed this looks upgraded. Now if you are getting errors in chrome on
the
>>> home page the. That could be the empty document tree as it does
>> JavaScript.
>>> The http/https issue might be more general. You might have found a
blocker
>>> bug on 8.4.x
>>>
>>> Ludovic
>>>
>>> Le 12 janv. 2017 09:12, "Craig Wright"  a écrit :
>>>
>>>> Hi Ludovic,
>>>>
>>>> It appears as if it did. When I look at the installed extensions, I
see:
>>>>
>>>> XWiki Enterprise - UI - Tour 8.4.4
>>>> XWiki Enterprise Flavor - Main Wiki 8.4.4
>>>> XWiki Enterprise - UI - Common 8.4.4
>>>>
>>>> The "XWiki Enterprise Flavor - Main Wiki”  was the extension that
choked
>>>> on the Distribution Wizard with the mixed content error; I clicked
>> “Later”
>>>> but it looks like the upgrade worked, or kinda worked?
>>>>
>>>> Thanks,
>>>> Craig
>>>>
>>>>> On Jan 11, 2017, at 11:03 PM, Ludovic Dubost 
wrote:
>>>>>
>>>>> Did your upgrade go through ? When you started XWiki after the debian
>>>>> package upgrade you should have seen the distribution wizard to
complete
>>>>> the upgrade.
>>>>>
>>>>> Maybe your http issue is the cause. If it's that try accepting the
>>>>> http/https mixed content from chrome and/or go back to http to
finalize
>>>> the
>>>>> upgrade
>>>>>
>>>>> Ludovic
>>>>>
>>>>> Le 12 janv. 2017 08:57, "Craig Wright"  a écrit :
>>>>>
>>>>>> Howdy again,
>>>>>>
>>>>>> I just upgraded to 8.4.4 via the Ubuntu packages, and the Navigation
>>>> Panel
>>>>>> has no content whatsoever! It’s blank except for the title. Is there
a
>>>>>> quick or obvious fix for this?
>>>>>>
>>>>>> Thanks,
>>>>>> Craig
>>>>
>>>>
>


Re: [xwiki-users] 8.4.4: Navigation Panel has no content!

2017-01-11 Thread Ludovic Dubost
Le 12 janv. 2017 09:23, "Craig Wright"  a écrit :

Haha awesome.

I should add that I get the same error when I try to edit a page. Most of
the page loads but the edit control (MCE — UI widgets and textarea or input
or whatever) just shows a loading spinner forever with the same error as
below.

I filed http://jira.xwiki.org/browse/XE-1602 <http://jira.xwiki.org/browse/
XE-1602> for the mixed content issue; however that was an issue that was
also in 8.4.3.

Should I file another issue for this?


Not yet I would say. Wait for the team to see if they can reproduce and if
it's a general issue

Ludovic


Thanks,
Craig

> On Jan 11, 2017, at 11:19 PM, Ludovic Dubost  wrote:
>
> Indeed this looks upgraded. Now if you are getting errors in chrome on the
> home page the. That could be the empty document tree as it does
JavaScript.
> The http/https issue might be more general. You might have found a blocker
> bug on 8.4.x
>
> Ludovic
>
> Le 12 janv. 2017 09:12, "Craig Wright"  a écrit :
>
>> Hi Ludovic,
>>
>> It appears as if it did. When I look at the installed extensions, I see:
>>
>> XWiki Enterprise - UI - Tour 8.4.4
>> XWiki Enterprise Flavor - Main Wiki 8.4.4
>> XWiki Enterprise - UI - Common 8.4.4
>>
>> The "XWiki Enterprise Flavor - Main Wiki”  was the extension that choked
>> on the Distribution Wizard with the mixed content error; I clicked
“Later”
>> but it looks like the upgrade worked, or kinda worked?
>>
>> Thanks,
>> Craig
>>
>>> On Jan 11, 2017, at 11:03 PM, Ludovic Dubost  wrote:
>>>
>>> Did your upgrade go through ? When you started XWiki after the debian
>>> package upgrade you should have seen the distribution wizard to complete
>>> the upgrade.
>>>
>>> Maybe your http issue is the cause. If it's that try accepting the
>>> http/https mixed content from chrome and/or go back to http to finalize
>> the
>>> upgrade
>>>
>>> Ludovic
>>>
>>> Le 12 janv. 2017 08:57, "Craig Wright"  a écrit :
>>>
>>>> Howdy again,
>>>>
>>>> I just upgraded to 8.4.4 via the Ubuntu packages, and the Navigation
>> Panel
>>>> has no content whatsoever! It’s blank except for the title. Is there a
>>>> quick or obvious fix for this?
>>>>
>>>> Thanks,
>>>> Craig
>>
>>


Re: [xwiki-users] 8.4.4: Navigation Panel has no content!

2017-01-11 Thread Ludovic Dubost
Either retrieving a backup or move temporarily to http until there is a fix.

I don't think there is a downgrade path

Ludovic

Le 12 janv. 2017 09:25, "Craig Wright"  a écrit :

> Additionally — should I attempt to downgrade via Ubuntu packages; or
> should I wait it out for a fix? As-is the site is unusable; this is all new
> to me so I do not know how gracefully y’all handle downgrades. ;)
>
> Thanks,
> Craig
>
>
> > On Jan 11, 2017, at 11:23 PM, Craig Wright  wrote:
> >
> > Haha awesome.
> >
> > I should add that I get the same error when I try to edit a page. Most
> of the page loads but the edit control (MCE — UI widgets and textarea or
> input or whatever) just shows a loading spinner forever with the same error
> as below.
> >
> > I filed http://jira.xwiki.org/browse/XE-1602 <
> http://jira.xwiki.org/browse/XE-1602> for the mixed content issue;
> however that was an issue that was also in 8.4.3.
> >
> > Should I file another issue for this?
> >
> > Thanks,
> > Craig
> >
> >> On Jan 11, 2017, at 11:19 PM, Ludovic Dubost  wrote:
> >>
> >> Indeed this looks upgraded. Now if you are getting errors in chrome on
> the
> >> home page the. That could be the empty document tree as it does
> JavaScript.
> >> The http/https issue might be more general. You might have found a
> blocker
> >> bug on 8.4.x
> >>
> >> Ludovic
> >>
> >> Le 12 janv. 2017 09:12, "Craig Wright"  a écrit :
> >>
> >>> Hi Ludovic,
> >>>
> >>> It appears as if it did. When I look at the installed extensions, I
> see:
> >>>
> >>> XWiki Enterprise - UI - Tour 8.4.4
> >>> XWiki Enterprise Flavor - Main Wiki 8.4.4
> >>> XWiki Enterprise - UI - Common 8.4.4
> >>>
> >>> The "XWiki Enterprise Flavor - Main Wiki”  was the extension that
> choked
> >>> on the Distribution Wizard with the mixed content error; I clicked
> “Later”
> >>> but it looks like the upgrade worked, or kinda worked?
> >>>
> >>> Thanks,
> >>> Craig
> >>>
> >>>> On Jan 11, 2017, at 11:03 PM, Ludovic Dubost 
> wrote:
> >>>>
> >>>> Did your upgrade go through ? When you started XWiki after the debian
> >>>> package upgrade you should have seen the distribution wizard to
> complete
> >>>> the upgrade.
> >>>>
> >>>> Maybe your http issue is the cause. If it's that try accepting the
> >>>> http/https mixed content from chrome and/or go back to http to
> finalize
> >>> the
> >>>> upgrade
> >>>>
> >>>> Ludovic
> >>>>
> >>>> Le 12 janv. 2017 08:57, "Craig Wright"  a écrit :
> >>>>
> >>>>> Howdy again,
> >>>>>
> >>>>> I just upgraded to 8.4.4 via the Ubuntu packages, and the Navigation
> >>> Panel
> >>>>> has no content whatsoever! It’s blank except for the title. Is there
> a
> >>>>> quick or obvious fix for this?
> >>>>>
> >>>>> Thanks,
> >>>>> Craig
> >>>
> >>>
> >
>
>


Re: [xwiki-users] 8.4.4: Navigation Panel has no content!

2017-01-11 Thread Ludovic Dubost
Indeed this looks upgraded. Now if you are getting errors in chrome on the
home page the. That could be the empty document tree as it does JavaScript.
The http/https issue might be more general. You might have found a blocker
bug on 8.4.x

Ludovic

Le 12 janv. 2017 09:12, "Craig Wright"  a écrit :

> Hi Ludovic,
>
> It appears as if it did. When I look at the installed extensions, I see:
>
> XWiki Enterprise - UI - Tour 8.4.4
> XWiki Enterprise Flavor - Main Wiki 8.4.4
> XWiki Enterprise - UI - Common 8.4.4
>
> The "XWiki Enterprise Flavor - Main Wiki”  was the extension that choked
> on the Distribution Wizard with the mixed content error; I clicked “Later”
> but it looks like the upgrade worked, or kinda worked?
>
> Thanks,
> Craig
>
> > On Jan 11, 2017, at 11:03 PM, Ludovic Dubost  wrote:
> >
> > Did your upgrade go through ? When you started XWiki after the debian
> > package upgrade you should have seen the distribution wizard to complete
> > the upgrade.
> >
> > Maybe your http issue is the cause. If it's that try accepting the
> > http/https mixed content from chrome and/or go back to http to finalize
> the
> > upgrade
> >
> > Ludovic
> >
> > Le 12 janv. 2017 08:57, "Craig Wright"  a écrit :
> >
> >> Howdy again,
> >>
> >> I just upgraded to 8.4.4 via the Ubuntu packages, and the Navigation
> Panel
> >> has no content whatsoever! It’s blank except for the title. Is there a
> >> quick or obvious fix for this?
> >>
> >> Thanks,
> >> Craig
>
>


Re: [xwiki-users] 8.4.4: Navigation Panel has no content!

2017-01-11 Thread Ludovic Dubost
Did your upgrade go through ? When you started XWiki after the debian
package upgrade you should have seen the distribution wizard to complete
the upgrade.

Maybe your http issue is the cause. If it's that try accepting the
http/https mixed content from chrome and/or go back to http to finalize the
upgrade

Ludovic

Le 12 janv. 2017 08:57, "Craig Wright"  a écrit :

> Howdy again,
>
> I just upgraded to 8.4.4 via the Ubuntu packages, and the Navigation Panel
> has no content whatsoever! It’s blank except for the title. Is there a
> quick or obvious fix for this?
>
> Thanks,
> Craig


Re: [xwiki-users] https issue with XWiki and installing extensions

2017-01-11 Thread Ludovic Dubost
Hi Craig,

This looks like a possible bug, so reporting it on jira.xwiki.org might be
a good idea

You could try a workaround using xwiki.url.protocol=https in xwiki.cfg

Ludovic


Le 12 janv. 2017 08:46, "Craig Wright"  a écrit :

> Howdy,
>
> Whenever I try to install extensions I get the following error in my
> Chrome Javascript Console:
>
> 
> Mixed Content: The page at 'https://[REDACTED]/xwiki/bin/
> distribution/XWiki/Distribution?xredirect=%2Fxwiki%2Fbin%2Fview%2FXWiki%2Fcrw#Attachments
>  2Fxwiki%2Fbin%2Fview%2FXWiki%2Fcrw#Attachments>' was loaded over HTTPS,
> but requested an insecure XMLHttpRequest endpoint 'http://
> [REDACTED]/xwiki/bin/distribution/XWiki/Distribution?extensio…n%
> 2FXWiki%2FDistribution%3Fxredirect%3D%2Fxwiki%2Fbin%2Fview%2FXWiki%2Fcrw
>  2FXWiki%2FDistribution%3Fxredirect%3D%2Fxwiki%2Fbin%2Fview%2FXWiki%2Fcrw>'.
> This request has been blocked; the content must be served over HTTPS.
> ——
>
> Does anyone know what is going on? I thought I had setup the wiki to be
> https-only, is this a bug on my config or in the code? This is now
> happening on the 8.4.4 upgrade, and I am scared this is going to have
> negative repercussions down the line.
>
> Thanks,
> Craig


Re: [xwiki-users] [xwiki-devs] [Brainstorming] XWiki stickers

2017-01-08 Thread Ludovic Dubost
Le 8 janv. 2017 02:15, "Eduard Moraru"  a écrit :

I`ve added your attachments to the list of previews. They look a bit odd
(smaller, with some extra padding) as SVGs, but the browser seems to be
able to handle them now.


I made then with inkscape on mac. I found the initial svg that I loaded not
looking exactly as the PNG so there must be some compatibility issue

Ludo




Let`s see some more, including in the "Messages" section. We should have a
preview of how those stickers would look like. Will probably add one around
Monday.

Thanks,
Eduard

On Sun, Jan 8, 2017 at 1:31 AM, Ludovic Dubost  wrote:

> Hi Edy,
>
> Great initiative ! I've put some ideas as SVGs attachment to the page
>
> http://design.xwiki.org/xwiki/bin/view/Proposal/XWikiStickers#Attachments
>
> Ludovic
>
>
> --
> *Ludovic Dubost*
> *Founder and CEO*
> ludo...@xwiki.com
> skype: ldubost
> Blog: http://blog.ludovic.org
>
> On Sat, Jan 7, 2017 at 6:24 PM, Eduard Moraru 
> wrote:
>
> > Hello, fellow XWiki community members,
> >
> > Since XWiki will be participating at this year's FOSDEM (www.fosdem.org)
> > open source meeting in Brussels and since we never did spend some time
to
> > think about XWiki sticker that would help promote our community, we
> invite
> > everybody to chip in with *ideas on how XWiki stickers should look
like*.
> >
> > We would like to focus on *thumb-sized* (vertical/badge; horizontal with
> > text) stickers in a couple of formats:
> > 1) X logo + "xwiki.org" under (standard XWiki sticker)
> > 2) Horizontal message/quote + "xwiki.org" under it (get creative on the
> > messages)
> > 3) FOSDEM or other open source event flavored sticker (we have one idea,
> > others are welcomed)
> > 4) Anything text/graphic XWiki-related (or about open source, wikis,
> etc.),
> > within the size restrictions, for the more talented/creative ones out
> there
> > :)
> >
> > Other inspiration and resources:
> > http://www.unixstickers.com/stickers
> > http://design.xwiki.org/xwiki/bin/view/Standards/ColorsLogo
> > https://www.xwiki.org/xwiki/bin/view/Main/Media
> > https://www.xwiki.org/xwiki/bin/view/Main/Logo
> >
> > Please use this wiki page to share your ideas or designs (or even reply
> to
> > this mail, but the wiki page would be nicer :) ):
> > http://design.xwiki.org/xwiki/bin/view/Proposal/XWikiStickers
> >
> > The deadline is *end of Wednesday, 11th January, 2016*. You can continue
> > contributing after this date as well, since ideas are always welcomed,
> but
> > they will probably be printed for future events.
> >
> > It`s a short notice, but FOSDEM is close and we can do more
brainstorming
> > rounds in the future as well.
> >
> > XWiki SAS is going to handle the printing of the logos around the end of
> > this week or next week.
> >
> > We will come back with the results and you can come to FOSDEM at XWiki's
> > booth to talk to us and grab some stickers to enjoy and share yourself
;)
> >
> > The plan is to eventually create a stickers page on xwiki.org where
> > everybody can download and print XWiki stickers themselves. It should
> > include both generally approved XWiki stickers but also community made
> > ones.
> >
> > Looking forward to your ideas,
> >
> > Thanks,
> > Eduard
> >
>


Re: [xwiki-users] [xwiki-devs] [Brainstorming] XWiki stickers

2017-01-07 Thread Ludovic Dubost
Hi Edy,

Great initiative ! I've put some ideas as SVGs attachment to the page

http://design.xwiki.org/xwiki/bin/view/Proposal/XWikiStickers#Attachments

Ludovic


--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.org

On Sat, Jan 7, 2017 at 6:24 PM, Eduard Moraru  wrote:

> Hello, fellow XWiki community members,
>
> Since XWiki will be participating at this year's FOSDEM (www.fosdem.org)
> open source meeting in Brussels and since we never did spend some time to
> think about XWiki sticker that would help promote our community, we invite
> everybody to chip in with *ideas on how XWiki stickers should look like*.
>
> We would like to focus on *thumb-sized* (vertical/badge; horizontal with
> text) stickers in a couple of formats:
> 1) X logo + "xwiki.org" under (standard XWiki sticker)
> 2) Horizontal message/quote + "xwiki.org" under it (get creative on the
> messages)
> 3) FOSDEM or other open source event flavored sticker (we have one idea,
> others are welcomed)
> 4) Anything text/graphic XWiki-related (or about open source, wikis, etc.),
> within the size restrictions, for the more talented/creative ones out there
> :)
>
> Other inspiration and resources:
> http://www.unixstickers.com/stickers
> http://design.xwiki.org/xwiki/bin/view/Standards/ColorsLogo
> https://www.xwiki.org/xwiki/bin/view/Main/Media
> https://www.xwiki.org/xwiki/bin/view/Main/Logo
>
> Please use this wiki page to share your ideas or designs (or even reply to
> this mail, but the wiki page would be nicer :) ):
> http://design.xwiki.org/xwiki/bin/view/Proposal/XWikiStickers
>
> The deadline is *end of Wednesday, 11th January, 2016*. You can continue
> contributing after this date as well, since ideas are always welcomed, but
> they will probably be printed for future events.
>
> It`s a short notice, but FOSDEM is close and we can do more brainstorming
> rounds in the future as well.
>
> XWiki SAS is going to handle the printing of the logos around the end of
> this week or next week.
>
> We will come back with the results and you can come to FOSDEM at XWiki's
> booth to talk to us and grab some stickers to enjoy and share yourself ;)
>
> The plan is to eventually create a stickers page on xwiki.org where
> everybody can download and print XWiki stickers themselves. It should
> include both generally approved XWiki stickers but also community made
> ones.
>
> Looking forward to your ideas,
>
> Thanks,
> Eduard
>


Re: [xwiki-users] I can't integrate google apps for login with google account.

2016-11-16 Thread Ludovic Dubost
Hi

The good news is that the connection to google works. The missing part is
activating the authenticator part:

Have you added these settings in xwiki.cfg

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.GroovyAuthServiceImpl

xwiki.authentication.groovy.pagename=xwiki:GoogleApps.AuthService


This is in the page in the section for v2.1 but it's not mentioned at the
top so we need to improve the documentation about this


Ludovic


To not use this feature



Le 16 nov. 2016 4:19 AM, "waranon"  a écrit :

> Dear All,
>
>
>  I've install XWiki version 7.4.3 and install google apps
> application version 2.1.8.
> I followed by
> http://extensions.xwiki.org/xwiki/bin/view/Extension/
> XWiki+Application+-+Google+Apps.
> - I got secret key and put on Google apps section in XWiki preferences.
>
> *My problem:*
>
> when i test to login with google account. It doesn't show account
> when login completed.
> but I can get google account profile in XWiki and get lists of google
> documentation also.
> Please see my picture in attache file.
> google_account_login.png
> 
> Login_completed.png
> 
> Document_List.png
> 
>
> No account, I can't add and modify any page.
>
> *Finally, Could you suggest me to fix it?*
>
> Thank you everyone.
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.
> com/I-can-t-integrate-google-apps-for-login-with-google-
> account-tp7601850.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] Twitter Macro

2016-05-25 Thread Ludovic Dubost
Not sure.. I think there might be changes to the api now.. best would be to
transform the HTML widgets into macros with parameters.

I don't have much time though

Ludovic
Le 26 mai 2016 08:42, "Vincent Massol"  a écrit :

>
> > On 26 May 2016, at 08:40, Vincent Massol  wrote:
> >
> > I’d suggest you either remove the extension or update its doc page to
> have a big warning explaining that it’s not working anymore.
>
> … and suggest alternatives :)
>
> AFAIR I have used twitter4j successfully in the past. I don’t know if
> that’s what the macro uses. If so then maybe it’s enough to upgrade the
> version of twitter4j used?
>
> -Vincent
>
> > Thanks
> > -Vincent
> >
> >> On 26 May 2016, at 08:38, Ludovic Dubost  wrote:
> >>
> >> Hi
> >>
> >> I believe it's because Twitter's APIs are not working anymore or have
> >> changed
> >>
> >> This is probably an easier solution using the XWiki HTML macro
> >>
> >> https://dev.twitter.com/web/embedded-timelines
> >> Le 25 mai 2016 18:42, "Paul Pinkerton (ACLCO)"  a
> écrit :
> >>
> >>> Trying to get this macro to work:
> >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Twitter+Macro
> >>>
> >>> I seem to be missing something with it.What I really want to do is
> >>> simply display a Twitter feed on a page.
> >>>
> >>> Any help is appreciated!
> >>>
> >>> Paul Pinkerton
> >>> KnowledgeNow Project/ ACLCO
>
> ___
> 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] Twitter Macro

2016-05-25 Thread Ludovic Dubost
Hi

I believe it's because Twitter's APIs are not working anymore or have
changed

This is probably an easier solution using the XWiki HTML macro

https://dev.twitter.com/web/embedded-timelines
Le 25 mai 2016 18:42, "Paul Pinkerton (ACLCO)"  a écrit :

> Trying to get this macro to work:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Twitter+Macro
>
> I seem to be missing something with it.What I really want to do is
> simply display a Twitter feed on a page.
>
> Any help is appreciated!
>
> Paul Pinkerton
> KnowledgeNow Project/ ACLCO
> ___
> 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] Changing App within minutes behaviour

2016-04-21 Thread Ludovic Dubost
BTW, there is an extension that has Job Descriptions included:

http://extensions.xwiki.org/xwiki/bin/view/Extension/Recruitment+application

It also has a candidate database, so many it's more than what you want.

Ludovic

--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.org

On Thu, Apr 21, 2016 at 11:17 PM, Ludovic Dubost  wrote:

> Hi Daniel,
>
> If you modify the link that brings to the edit page and add the following
> parameter:
>
> ?xredirect=someurlencodedurl
>
>
> ?xredirect=${escapetool.url(xwiki.getURL("Space.PageWhereYouWantToGoBack"))}
>
> Then after save it will if I'm correct go back to where you want.
>
> You will need to modify the livetable in AWM to override the edit button.
> I'm not sure where the code is but I believe it's some Javascript that
> inserts the Edit action on every line in the livetable.
>
> Ludovic
>
> --
> *Ludovic Dubost*
> *Founder and CEO*
> ludo...@xwiki.com
> skype: ldubost
> Blog: http://blog.ludovic.org
>
> On Thu, Apr 21, 2016 at 10:02 PM, Daniel Ullfig 
> wrote:
>
>> I guess I wasn't clear, it's not the "edit" behavior I want to override,
>> it's the "save" button once you edited the entry.
>>
>> Dan
>>
>> -Original Message- From: dullfig
>> Sent: Thursday, April 21, 2016 11:05 AM
>> To: users@xwiki.org
>> Subject: [xwiki-users] Changing App within minutes behaviour
>>
>>
>> I made an App within Minuts application that is basically a list of job
>> responsibilities. It's just two fields, job name and job description. Can
>> I
>> change the "edit" behaviour? If I go to the main page, there is a live
>> table
>> showing a list of all the job descriptions. If you want to "edit" one, you
>> press the edit action, and it takes you to the data input screen to edit
>> the
>> job description. But when you press the "save" button, I want it to save
>> the
>> data and automatically take you back to the main App screen (the list of
>> jobs). Casual users won't know that they are supposed to go back to the
>> main
>> screen.
>>
>> Dan
>>
>>
>>
>> --
>> View this message in context:
>> http://xwiki.475771.n2.nabble.com/Changing-App-within-minutes-behaviour-tp7599127.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


Re: [xwiki-users] Changing App within minutes behaviour

2016-04-21 Thread Ludovic Dubost
Hi Daniel,

If you modify the link that brings to the edit page and add the following
parameter:

?xredirect=someurlencodedurl

?xredirect=${escapetool.url(xwiki.getURL("Space.PageWhereYouWantToGoBack"))}

Then after save it will if I'm correct go back to where you want.

You will need to modify the livetable in AWM to override the edit button.
I'm not sure where the code is but I believe it's some Javascript that
inserts the Edit action on every line in the livetable.

Ludovic

--
*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.org

On Thu, Apr 21, 2016 at 10:02 PM, Daniel Ullfig 
wrote:

> I guess I wasn't clear, it's not the "edit" behavior I want to override,
> it's the "save" button once you edited the entry.
>
> Dan
>
> -Original Message- From: dullfig
> Sent: Thursday, April 21, 2016 11:05 AM
> To: users@xwiki.org
> Subject: [xwiki-users] Changing App within minutes behaviour
>
>
> I made an App within Minuts application that is basically a list of job
> responsibilities. It's just two fields, job name and job description. Can I
> change the "edit" behaviour? If I go to the main page, there is a live
> table
> showing a list of all the job descriptions. If you want to "edit" one, you
> press the edit action, and it takes you to the data input screen to edit
> the
> job description. But when you press the "save" button, I want it to save
> the
> data and automatically take you back to the main App screen (the list of
> jobs). Casual users won't know that they are supposed to go back to the
> main
> screen.
>
> Dan
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Changing-App-within-minutes-behaviour-tp7599127.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


Re: [xwiki-users] How to deploy Java Component and save files?

2015-12-22 Thread Ludovic Dubost
Isn't the problem that it should be

#if("$!request.evolver" == "1")

And not

#if("$!request.evolver" == 1)

Ludo
Le 22 déc. 2015 21:32, "Giordano Ninonà"  a
écrit :

> Dear Vincent,
>
> Tank you for your reply, I would try what you suggested in the afternoon,
> but regarding the "evolver=1 request param", I've set it equal to 1
> together with POST command in order to make it always true ensuring that my
> component is started every time. My thoughts were wrong?
>
> Giordano.
>
> 2015-12-22 11:31 GMT+01:00 vinc...@massol.net :
>
> > Hi Giordano,
> >
> > On 21 Dec 2015 at 15:20:55, Giordano Ninonà (giordano.nin...@gmail.com
> > (mailto:giordano.nin...@gmail.com)) wrote:
> >
> > > Hi users,
> > >
> > > My project in XWiki consists in a java component which offers some APIs
> > > through a script service called by a Velocity script in a wiki page.
> > >
> > > I put my .jar in the directory C:\XWiki Enterprise
> > > 7.3\*webapps\xwiki\WEB-INF\lib
> > > *and this is the Velocity and HTML code that I've put in my XWiki page:
> > >
> > > {{velocity}}
> > > #if("$!request.evolver" == 1)
> > > ## Request for creating a new instance
> > > $services.pars.parse()
> > > $services.evo.removeInstance("Take bike")
> > > $response.sendRedirect($xwiki.getURL('Main.WebHome'))
> > > ## Stop processing, since we already sent a redirect.
> > > #stop
> > > #end
> >
> > [snip]
> >
> > > Let first say that nothing is happening when I click on the "Evolve"
> > button
> > > and I don't know why...it looks like it should work, also because
> > creating
> > > a Main_test class in Eclipse, I can run my software calling exactly the
> > > same methods and it works!
> >
> > You could use GET instead of POST and see what you get in the URL (ie
> > whether you get the evolver=1 request param).
> >
> > > Moreover my component must create some files to store some information,
> > > thus I am wondering where to save those files in order to make them
> > > accessible by the component.
> >
> > You can use the XWiki’s permanent directory.
> >
> > See
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Environment+Module
> >
> > Thanks
> > -Vincent
> >
> > > Any suggestions?
> > >
> > > Thanks in advance,
> > > 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] HTTP status 500 - xwiki entreprise 7.1.2 on RHEL6/MySql

2015-08-29 Thread Ludovic Dubost
Hi

You forgot to install the mysql jar driver.

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL

Ludovic
Le 29 août 2015 4:24 PM, "Dan T"  a écrit :

> Hello,
>
> After a lot of tests on a debian version (where « everything »  is made for
> us), i would like to implement the 7.1.2 of wiki enterprise to a dev
> environment following my company actual "standard ». I hope, after some
> time and tests, push this into production.
>
> The base system is composed by :
>
> - RHEL 6.7
> - MySQL
> - Tomcat6
> - openjdk 7
>
> I have followed the installation guide to configure everything as i think
> it must be.
>
> But at first launch of xwiki, i have obtained an « HTTP STATUS 500 » with
> the wall of text below.
>
> This is the adapted part ot he hibernate.cfg.xml file related to MySQL if
> needed :
>
> 
> jdbc:mysql://localhost/xwiki
> xwiki
> xwiki
>  name="connection.driver_class">com.mysql.jdbc.Driver
>  name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect
> true
> UTF-8
> true
> 20
> 
> 
> 
> 
> 
>
>
> I have first tested the "7.2-Milestone 2 » version. I have seen some error
> like this one with other people and the milestone 3, with apparently
> correction to their errors, is not already available as a war file. So I
> have switched back to the the stable version. Same error…
>
> Could you please point me to the right direction with this ?
>
> Thanks
>
> Daniel.
>
> *type* Exception report
>
> *message*
>
> *description* *The server encountered an internal error () that prevented
> it from fulfilling this request.*
>
> *exception*
>
> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
> number 11007 in 0: Failed to extract Entity Resource Reference from
> URL [http://xxx.xxx.xxx.xxx:8080/xwiki/bin/view/Main/]
>
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>
> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
>
>
> *root cause*
>
> com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
> extract Entity Resource Reference from URL
> [http://xxx.xxx.xxx.xxx:8080/xwiki/bin/view/Main/]
> com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:696)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:640)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:225)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:180)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>
> org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>
> org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
>
>
> *root cause*
>
> java.lang.RuntimeException: Failed to located wiki descriptor for
> alias [xxx.xxx.xxx.xxx]
>
> org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
>
> org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReferen

Re: [xwiki-users] Displaying Database List Properties as links to XWiki pages ?

2015-06-25 Thread Ludovic Dubost
Since XWiki 4.3 you have the page field which is the same and should do
that.

If you don't want to change the field type you can write a custom displayer
that you add in your field definition.

Ludovic
Le 26 juin 2015 8:29 AM, "Sylvain MARIE"  a
écrit :

> Hello all,
>
> I have a Database List which items are XWiki pages. Is there a way to make
> these items displayed as links so that one can access the related page by
> clicking on it?
> Thanks in advance,
> Sylvain
> ___
> 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-devs] Improvements proposals for a gallery photo

2015-06-17 Thread Ludovic Dubost
Hi all,

I've transformed the attached files into images and galley macros so that
the benchmark and proposal are more easily readable.

http://design.xwiki.org/xwiki/bin/view/Proposal/PhotoAlbumBenchmark

Thanks for this work

Ludovic

--*Ludovic Dubost*
*Founder and CEO*
ludo...@xwiki.com
skype: ldubost
Blog: http://blog.ludovic.org

On Tue, Jun 16, 2015 at 11:45 PM, Cray xWiki  wrote:

> Dear all,
>
> For reminder, we are a groupe of four students working on a XWiki photo
> gallery improvements under the supervision of Ludovic Dubost.
>
> Please find on the link below (in the attachments section) a benchmark of
> Photo Albums and our requirements including wireframes and mock ups :
> http://design.xwiki.org/xwiki/bin/view/Proposal/PhotoAlbumBenchmark
>
> Feel free to give us feedback an our work and give us your opinion. We are
> open to any suggestions you may have
>
> Thank you in advance.
>
> Best regards,
>
> CRAY team
> ___
> 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] Skip name dialog in App Within Minutes

2014-07-17 Thread Ludovic Dubost
Hi Jason

You also easily script jour own Burton using the document api and than
redirection the user to the edit URL

See the scripting reference documentation for the api

http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation

Ludovic
Le 17 juil. 2014 10:23, "Jason Clemons"  a écrit :

> Thanks Vincent,
>
> I already created some client side code which creates a UID using a random
> number generator and a Unix timestamp then pre-populates the modal box
> before it appears, so that part of the code is already squared away...at
> this point it's a working solution, I was just trying to figure a way to
> prevent my users from having to click create, then add when they create a
> new page (e.g. Create the doc using only one click)...I'm gonna give it a
> go with more JavaScript tomorrow I think.
>
> > On Jul 17, 2014, at 12:12 AM, "vinc...@massol.net" 
> wrote:
> >
> > You could also check this extension as a helper, I think it was made for
> a similar (if not the same) use case:
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Unique+Identification+Number+Module
> >
> > Thanks
> > -Vincent
> >
> >
> >
> > On 17 Jul 2014 at 02:04:55, Jason Clemons (jason.clem...@live.com
> (mailto:jason.clem...@live.com)) wrote:
> >
> > > Thanks for the tips, I'll take a look at that tomorrow.
> > >
> > > > On Jul 16, 2014, at 4:25 PM, "Jeremie BOUSQUET" wrote:
> > > >
> > > > BTW, an alternative could be to use the modal box [1], to display
> your form
> > > > in a modal pop-up (with autofilled field displayed or hidden), then
> create
> > > > the page with the name you want upon submit. The server-side saving
> could
> > > > be done with either velocity or groovy script.
> > > >
> > > > I think there is an extension doing that, but I can't find it ... If
> > > > someone remembers :)
> > > >
> > > > BR,
> > > > Jeremie
> > > >
> > > > [1]
> > > >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Modal+Box+Application
> > > >
> > > >
> > > > 2014-07-17 1:08 GMT+02:00 Jeremie BOUSQUET :
> > > >
> > > >> Hello,
> > > >>
> > > >> You could check the "Self renaming forms" extension [1], that would
> allow
> > > >> renaming your page using the uid from the autofilled field.
> > > >>
> > > >> [1]
> > > >>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Self-Renaming+Forms
> > > >>
> > > >> BR,
> > > >> Jeremie
> > > >>
> > > >>
> > > >> 2014-07-16 23:59 GMT+02:00 Jason Clemons :
> > > >>
> > > >> Hello all,
> > > >>>
> > > >>> I've created an "App Within Minutes" and written some custom
> JavaScript
> > > >>> to autofill the value of the popup dialog box (called "Entry
> Name") with a
> > > >>> randomly generated UID..
> > > >>>
> > > >>> Essentially what happens is I click the "Add New Entry" button and
> when
> > > >>> the dialog pops up, it is autofilled with the UID from my
> client-side code.
> > > >>>
> > > >>> I'd like to skip the popup box entirely and just create the page
> directly
> > > >>> off of the UID so the user is just taken to the form
> automatically, but the
> > > >>> only thing I can think of is just hiding the dialog and pushing
> the button
> > > >>> via JavaScript.
> > > >>>
> > > >>> Any other suggestions are certainly welcome, thx
> ___
> 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] Using XWiki without dynamic extension manager features

2014-04-23 Thread Ludovic Dubost
Hi Sam,

Once XWiki's properly installed with the default content in your main wiki,
you can deactivate the extension manager and distribution wizard in
WEB-INF/xwiki.properties. XWiki will still function with the exception of
being able to install extensions.

Ludovic


2014-04-23 19:22 GMT+02:00 Sam McCall :

> Hi xwiki-users,
>
> When I start up XWiki, it appears to fetch java packages from the a maven
> repository (nexus.xwiki.org). This happens without installing any
> extensions etc.
>
> Is this expected? Is there a way to install and configure XWiki such that a
> static codebase is used, and packages are never fetched?
>
> I only need a pretty simple set of functionality:
>
>- Basic page editing
>- Storage using a JDBC driver
>- Rendering support for a few markups, e.g. markdown
>- Authorization using a custom backend
>
> Cheers, Sam
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] esoteric features

2013-09-26 Thread Ludovic Dubost
2013/9/23 Richard Kulisz 

> Hi there,
>
> I'm investigating whether this wiki engine is right for me. I'm
> looking for three specific design features:
>
> 1. able to attach autonomous agents to pages
>

If I understand properly an autonomous agent is an intelligent agent that
can act on behalf of a user.
This can be done with scheduler jobs, however only "Admins" can create
these jobs and decide on behalf of whom they run.


>
> 2. transclusions / includes.
>

yes that's included

>
> 3. capability security model rather than ACLs
>

this looks more complex. I'm not sure what you need exactly here.
Note that you can rewrite your own security model and plug it in XWiki
You'll need to also rewrite the security setting UI

Ludovic


>
> features #3 + #1 can easily be made to enact:
> 3a. patron blindness - users can become patrons of others and their
> own patron is blind to that, but must deal with the entire
> sub-hierarchy of users as a collective
>
> which makes this other feature rather important:
> 3b. patron multiplicity - users can acquire multiple patrons just in
> case their first patron decides to eradicate them
>
> Oh and I suppose:
> 4. automatic garbage collection and revisions even of deleted pages
>
>
> If you know of another wiki engine that supports these better, please
> let me know. I know that Wagn supports transclusions but I'm rather
> doubtful that anyone supports a capability security model. Even though
> ACLs really should have died out in the 70s.
>
>
> Thanks for reading this far,
>
> Richard
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Calc Macro

2013-04-17 Thread Ludovic Dubost
No it's not. I look at it and I think I found the issue but I could not
publish a new version yet.

In CalcGroovy you should comment out all calls to "print"
Apparently this ends up in System out and is slowing down everything

Ludovic


2013/4/17 Maxime Sinclair 

> Hi Ludovic,
>
> In fact, in 3.5.1 it works but its very very slow. Is it normal ?
>
> Maxime
>
>
>
> 2013/4/16 Ludovic Dubost 
>
> > Hi,
> >
> > Indeed I just installed it in 4.5 and it breaks. There must have been
> some
> > API changes in the XDOM since I wrote these macros.
> >
> > I'll look at it when I have time but I cannot promise.
> >
> > Ludovic
> >
> >
> > 2013/4/16 Maxime Sinclair 
> >
> > > Hi XWiki users,
> > >
> > > I'm trying to use the Calc Macro
> > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it
> > > doesn't seem to work "out of the box".
> > > Is there someone who managed to fix it ? Or if you have an other way to
> > > compute dynamically the average of 3 numbers ?
> > >
> > > Thanks for your help. My wiki version is 3.5.1.
> > > Maxime
> > > ___
> > > users mailing list
> > > users@xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> >
> >
> >
> > --
> > Ludovic Dubost
> > Founder and CEO
> > Blog: http://blog.ludovic.org/
> > XWiki: http://www.xwiki.com
> > Skype: ldubost GTalk: ldubost
> > ___
> > 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Calc Macro

2013-04-16 Thread Ludovic Dubost
Hi,

Indeed I just installed it in 4.5 and it breaks. There must have been some
API changes in the XDOM since I wrote these macros.

I'll look at it when I have time but I cannot promise.

Ludovic


2013/4/16 Maxime Sinclair 

> Hi XWiki users,
>
> I'm trying to use the Calc Macro
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Calc+Macro but it
> doesn't seem to work "out of the box".
> Is there someone who managed to fix it ? Or if you have an other way to
> compute dynamically the average of 3 numbers ?
>
> Thanks for your help. My wiki version is 3.5.1.
> Maxime
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Speech Wiki

2013-04-14 Thread Ludovic Dubost
Hi,

I've updated the speech wiki extension. It now has better feedback to the
user and also supports editing and saving with only voice commands :)

http://extensions.xwiki.org/xwiki/bin/view/Extension/SpeechWiki


2013/4/13 Ludovic Dubost 

> If you use Chrome 25+ (minimum version required) when you visit a page in
> the wiki, a message with a button should show up at the top of your page.
> If your wiki is https you'll only need to authorize once (in the session I
> think), otherwise at each page unfortunately
>  I'll update the extension soon with some more messages in the UI to see
> if the recognition worked or not
>
> Ludovic
>
>
>
> Le samedi 13 avril 2013, Hamster a écrit :
>
> I just noticed that there's an icon in the "omni-bar" of Chrome which
>> allows
>> me to authorize the use of media (camera and microphone)
>>
>> Otherwise:
>>
>> Settings --> Show Advanced Settings --> Settings for Content --> (Scroll
>> down to) Media
>>
>> (Translated from Dutch to English)
>>
>>
>>
>> --
>> View this message in context:
>> http://xwiki.475771.n2.nabble.com/Speech-Wiki-tp7584681p7584683.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
>>
>
>
> --
> Sent from Mobile
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Speech Wiki

2013-04-13 Thread Ludovic Dubost
If you use Chrome 25+ (minimum version required) when you visit a page in
the wiki, a message with a button should show up at the top of your page.
If your wiki is https you'll only need to authorize once (in the session I
think), otherwise at each page unfortunately
 I'll update the extension soon with some more messages in the UI to see if
the recognition worked or not

Ludovic



Le samedi 13 avril 2013, Hamster a écrit :

> I just noticed that there's an icon in the "omni-bar" of Chrome which
> allows
> me to authorize the use of media (camera and microphone)
>
> Otherwise:
>
> Settings --> Show Advanced Settings --> Settings for Content --> (Scroll
> down to) Media
>
> (Translated from Dutch to English)
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Speech-Wiki-tp7584681p7584683.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
>


-- 
Sent from Mobile
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] SSO/SAML: issue with example provided on Github

2013-03-29 Thread Ludovic Dubost
Right I had seen that one. If you want you can move it to:

https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/

with the other authenticators.

Ludovic


2013/3/29 Kevin P. Foote 

> On Fri, 29 Mar 2013, Kevin P. Foote wrote:
>
>  On Fri, 29 Mar 2013, Ludovic Dubost wrote:
>>
>>  Good comment.  It's true that using the default XWiki authenticator and
>>> relying on a Tomcat or Apache level authenticator is always an easier way
>>> than full protocol implementation.
>>> However we usually also want to have the XWiki user be created with data
>>> coming from the authentication.
>>>
>>
>> Yes.. I have this type of authN-Z / creation working..
>>
>> I don't know where you all moved the contributions repository too.. But I
>> based my authenticator off one of those and it does do what you are
>> talking about.
>>
>
>   
> github.com/kevinfoote/xwiki-**authenticator-guanxi<http://github.com/kevinfoote/xwiki-authenticator-guanxi>
>
> ((Haven't touched this in quite sime time)) so milage may very. This
> uses incomming REMOTE_USER and values coming in from the Shib-SP
>
>
>
> --
> thanks
>  kevin.foote
> ______**_____
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] SSO/SAML: issue with example provided on Github

2013-03-29 Thread Ludovic Dubost
Hi Kevin,

Good comment.  It's true that using the default XWiki authenticator and
relying on a Tomcat or Apache level authenticator is always an easier way
than full protocol implementation.
However we usually also want to have the XWiki user be created with data
coming from the authentication.

Have you seen this done ? Can you point out which SAML product that you
know off and that have a container level implementation and that you have
seen working with XWiki ?

Ludovic


2013/3/29 Kevin P. Foote 

>
> Just a comment.. (I'm a list watcher 99.9% of the time)
>
> XWIKI will work just fine with SAML products that engage at the
> container level.. You just use a HTTP auth type authenticator which there
> are a few out there in the contributions area.
>
> My advice would be to NOT write to the SAML protocol where this gets
> really intricate.. but to just let the known to work SAML products do
> their thing. Pulling the SAML bits into XWIKI does not buy you anything
> intricate to the product and just adds much more room for error on the
> authenticator.
>
> People wanting to implement their own SAML stack inside 'web appX'
> is a topic that always comes up on some of the lists I'm on and the SAML
> people always say there is really no reason to do this.. o
>
> IMO leave the SAML bits to saml products** and use a http authenticator
> that you like.
>
> ** Just to name a few:
>  - http://simplesamlphp.org/ ,
>  - http://shibboleth.net/ ,
>  - 
> https://github.com/guanxi/**guanxi-sp-guard<https://github.com/guanxi/guanxi-sp-guard>,
>
>
> --
> thanks
>  kevin.foote
>
>
> On Fri, 29 Mar 2013, Valdis Vītoliņš wrote:
>
>  Nicolas,
>> If you'd be able to rebuild this module that it at least compiles and
>> does something, I'd also be interested in trying it and contributing to
>> its development.
>>
>> Valdis
>>
>>> Hi Nicolas,
>>>
>>> If I remember correctly I wrote this authenticator and I think it
>>> requires
>>> some code in XWiki pages to manage the redirects but I don't think I have
>>> this code anymore.
>>> Plus it was for one custom SAML server and has not been tested with
>>> multiple ones.
>>>
>>> In any case it's a good basis for starting a SAML authenticator.
>>> If you are coding against a more widespread SAML server, do contribute
>>> your
>>> code :)
>>> You can takeover the module fully as no backwards compatibility is
>>> needed.
>>>
>>> Ludovic
>>>
>> ...
>>
>> __**_
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>


-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] SSO/SAML: issue with example provided on Github

2013-03-29 Thread Ludovic Dubost
Hi Nicolas,

If I remember correctly I wrote this authenticator and I think it requires
some code in XWiki pages to manage the redirects but I don't think I have
this code anymore.
Plus it was for one custom SAML server and has not been tested with
multiple ones.

In any case it's a good basis for starting a SAML authenticator.
If you are coding against a more widespread SAML server, do contribute your
code :)
You can takeover the module fully as no backwards compatibility is needed.

Ludovic


2013/3/27 Nicolas Sanitas 

> Thank you Tomas, I'll try the new POM ASAP (I already updated the version
> of opensaml to 2.4.1in my POM).
>
> No the JAR was not built, but it was the only message I could see :-(
>
> I keep you informed.
> Have a good day.
>
> 2013/3/27 Thomas Mortagne 
>
> > Looks like the version of opensaml used by this module is not in a
> > very good state wherever it's stored, I changed it for the last one
> > (2.5.1-1) and it seems better now.
>
>
> > On Wed, Mar 27, 2013 at 7:49 AM, Thomas Mortagne
> >  wrote:
> > > On Tue, Mar 26, 2013 at 11:54 PM, Nicolas Sanitas
> > >  wrote:
> > >> Hello everybody,
> > >>
> > >> I would like to authenticate users via a SAML server.
> > >>
> > >> I red this page
> > >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication. I
> > would
> > >> like to try the example project provided on Github:
> > >>
> >
> https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-authentication-saml(rather
> > >> 'old').
> > >>
> > >> When I want to build the project, I've got this error:
> > >> [WARNING] The POM for jfree:jfreechart:jar:1.0.0-rc1-xwiki is missing,
> > no
> > >> dependency information available
> > >
> > > This is not an error and is expected in this version AFAIK. Was the
> > > JAR file built ? If not then it does not have anything to do with this
> > > warning, must be something else.
> > >
> > >>
> > >> I precise that I tried using Maven and Nexus XWiki repos.
> > >>
> > >> Could you help me, please?
> > >> Thanks by advance,
> > >>
> > >> Nicolas
> > >> ___
> > >> users mailing list
> > >> users@xwiki.org
> > >> http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> > >
> > > --
> > > Thomas Mortagne
> >
> >
> >
> > --
> > Thomas Mortagne
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
>
> *Nicolas SANITAS*
> InTech S.A.
> 17-19 avenue de la Libération
> L-3850 Schifflange - LUXEMBOURG
>
>
>
> Tél : +352 53 11 53
> Fax : +352 53 15 93
> nicolas.sani...@intech.lu
>
>
> MeetMe: Doodle <http://doodle.com/nsanitas>
>
> Les informations contenues dans cet email peuvent être confidentielles
> ou protégées par des lois en vigueur. Elles sont à l'attention des
> destinataires uniquement. Les données nominatives éventuelles ne
> peuvent être communiquées à des tiers par le récepteur de cet email.
>
>
>
> Si vous n'êtes pas le destinataire principal, ni un des destinataires
> placés en copie, la divulgation, la copie, la diffusion ou toute autre
> utilisation de cet email est prohibée et peut être illégale. Dans ce
> cas, merci d'avertir l'émetteur immédiatement et de détruire cet
> email.
>
>
>
> Please consider the environment before printing this email.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] myxwiki: terrible performance on initial connect

2013-03-09 Thread Ludovic Dubost
Hi,

I just restarted all services. I'm not sure exactly what was wrong but I
ended up restarted the JVMs and the Apache frontal, but I did not check
before if other wikis were impacted or only yours.
Your wiki is up now and seems to be performing ok.

Ludovic


2013/3/9 Stefan Taferner 

> Hello all!
>
> I do not know if this is normal, but we have terrible performance upon the
> initial connect to our wiki (selfbus.myxwiki.org).
>
> Often the connection times out or hangs. Retrying shows the start page.
> Once the wiki is initially loaded one can work as normal.
>
> Another person trying to open the wiki page at the same time has the
> same timeout problems. Even using another browser shows the same
> delay in loading.
>
> So I do not think the wiki is swapped out or something like that.
> It rather looks like problems in the name resolution, if I may guess.
>
> Is there anything that can be done to improve the situation?
>
> Kind regards,
> Stefan
>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Deny LDAP user auto creation

2013-02-25 Thread Ludovic Dubost
Hi Thomas,

It does make sense if you have a separate synchronisation system that
creates the users and groups.
I have that case and what I did is override the LDAP authenticator and
block the auto-creation, which is just commenting a few lines.

This requires a bit of Java coding.

Ludovic


2013/2/25 Thomas Mortagne 

> Unfortunately this does not really make sense from XWiki point of view
> right now.
>
> XWiki right management (as well as most applications woring with
> users) can only work with existing XWiki users (except for a few
> special cases like XWikiGuest and superadmin) and the first thing we
> expect from a XWiki authenticator is actually to make sure to
> associate the user with an existing XWiki user.
>
>
> On Fri, Feb 22, 2013 at 11:13 PM, Jaume Giribert Peraire
>  wrote:
> > Hi everyone!
> >
> > I have just tried this fantastic wiki using the Windows EXE (v4.5) and I
> > have to say I'm impressed.
> >
> > LDAP config just works out of the box and as stated in the config page:
> >
> > *Ldap **Enable or not LDAP authentication for this wiki. If enabled and
> > configured properly, a local user will be created whenever a LDAP user
> > visit this wiki for the first time.*
> >
> > What I really need is to manually disable local user creation from LDAP.
> I
> > don't want anybody in the company to create a new user ;)
> >
> > I know I can restrict by LDAP groups but almost all users are in the same
> > cn (I'm not the one who made it!).
> >
> > Do anyone has found a workaround for this? I haven't found any "disable
> > ldap user creation" option.
> >
> > Thanks in advance!
> > ___
> > 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to create a table from Office Importer

2013-02-14 Thread Ludovic Dubost
I think what you need is to make a template provider in the Admin section.
You can specify your document with your imported spreadsheet as the
template and from now on users will be able to create new documents using
this templates using the "Create" button at the top left

Ludovic


2013/2/14 shaneburton 

> Hey everyone I am new to XWiki and the forum...hopefully someone can help
>  me
> out here.
>
> *Issue:*  How can I create a table on a wiki page that is based on an
> imported Excel sheet?  The import was done with the Office Importer to a
> new
> page in a pre-created space.
>
> *Goal:*  My goal here is to import my Excel spreadsheet that has product
> information on multiple sheets.  Then I would like to create a
> product/model
> page that will link back to the imported spreadsheet and dynamically create
> a table for only the model I choose.
>
> *Example:*
>
> I have a spreadsheet called ProductX.xls.  In that spreadsheet is a tab (or
> sheet) for each model of Product X.  Let's assume I have Model 1, 2, and 3.
> Each model sheet has specific information for that model (manufacturer,
> power, cooling, etc.)
>
> Now I want to create a main page or space in my wiki called Product X.  On
> that page I will create links for Models 1, 2, and 3.  When the user clicks
> on one of the models it takes them to a page with a table of just the sheet
> (from the imported excel file) for that particular model.
>
> What I have done so far is to use the Excel Plugin and add a macro to the
> page.  This does almost what I want, but I don't want to have to edit a
> spreadsheet every time I need to make changes.  I want select users to be
> able to edit the imported spreadsheet directly in the wiki without the need
> to download the excel sheet, make changes, and re-upload.  This is where
> the
> imported Excel sheet comes in.  When I do the importer, it actually puts it
> in a page and each sheet is editable.  Perfect!, but I cannot figure out
> how
> to build another table based on these imported sheets on a new page.
>
> Sorry for the long winded post, but I am really lost at this point on how I
> can accomplish this or if it is even possible.  Thanks in advance for any
> help you may be able to offer.
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/How-to-create-a-table-from-Office-Importer-tp7583876.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki translations

2013-01-20 Thread Ludovic Dubost
Hi,

I've been responsible for the server having some issues today. I've been
doing some exports to work locally to improve performance.

Sorry about that.
Ludovic


2013/1/20 Haru 

>  Looks like translation server is in a deep internal error again. It's a
> third day of my unlucky attempts to translate smth. :-)
>
>
> Пятница, 18 января 2013, 12:04 +01:00 от Thomas Mortagne <
> thomas.morta...@xwiki.com>:
> >Yes it seems to have some issue right now while it was working well
> >before. We are looking at it.
> >
> >On Fri, Jan 18, 2013 at 12:00 PM, Haru < haru_mamb...@mail.ru > wrote:
> >>  Thanks!
> >>
> >> Looks like server is quite busy now: 1-3 minutes for page load. :-(
> >>
> >>
> >> Пятница, 18 января 2013, 11:42 +01:00 от Thomas Mortagne <
> thomas.morta...@xwiki.com >:
> >>>by the way l10n.xwiki.org seems to be up to date now
> >>>
> >>>On Fri, Jan 18, 2013 at 9:28 AM, Thomas Mortagne
> >>><  thomas.morta...@xwiki.com > wrote:
> >>>> No, it means that l10n.xwiki.org is not up to date yet. I forced it
> to
> >>>> import new translation but it's going to take a while.
> >>>>
> >>>> On Fri, Jan 18, 2013 at 2:51 AM, Haru <  haru_mamb...@mail.ru >
> wrote:
> >>>>>  Hi, Thomas!
> >>>>>
> >>>>> Jira says, that issues are fixed, but there is no search results
> still.
> >>>>>
> http://l10n.xwiki.org/xwiki/bin/view/L10N/Search?application=&name=&lang=&key=&origtext=Success+Message&transtext=
> >>>>>
> >>>>> Should I do anything else to translate them?
> >>>>>
> >>>>> Четверг, 17 января 2013, 12:04 +04:00 от Haru <
> haru_mamb...@mail.ru >:
> >>>>>>Thank you, Thomas.
> >>>>>>
> >>>>>>Done.
> >>>>>>
> >>>>>>Attachment Selector -  https://jira.xwiki.org/browse/XWIKI-8698
> >>>>>>Cache -  https://jira.xwiki.org/browse/XWIKI-8699
> >>>>>>Comment -  https://jira.xwiki.org/browse/XWIKI-8700
> >>>>>>Display  -  https://jira.xwiki.org/browse/XWIKI-8701
> >>>>>>Success Message -  https://jira.xwiki.org/browse/XWIKI-8702
> >>>>>>
> >>>>>>
> >>>>>>Четверг, 17 января 2013, 8:45 +01:00 от Thomas Mortagne <
> thomas.morta...@xwiki.com >:
> >>>>>>>Looks like the one who introduced theses macros forgot to create
> >>>>>>>translation keys for them.
> >>>>>>>
> >>>>>>>Would be great if you could create issues for each one on
> >>>>>>>  http://jira.xwiki.org/browse/XWIKI and it will be quickly fixed.
> >>>>>>>
> >>>>>>>On Thu, Jan 17, 2013 at 8:39 AM, Haru <  haru_mamb...@mail.ru >
> wrote:
> >>>>>>>>  Hi!
> >>>>>>>>
> >>>>>>>> At the  http://l10n.xwiki.org/xwiki/bin/view/L10N/Search I was
> trying to search some phrases not translated in some macroses, which one
> can find in WYSIWYG editor.
> >>>>>>>>
> >>>>>>>> The problem is, there are no translations for some macroses,
> e.g.: Success Message, Display, Comment, Cashes and some others.
> >>>>>>>>
> >>>>>>>> I used to search via original text field, e.g. "Display other
> pages into the current page.". No results found. Is it possible to
> translate all these macroses somehow?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Kind regards,
> >>>>>>>>
> >>>>>>>> Dmitry
> >>>>>>>> ___
> >>>>>>>> users mailing list
> >>>>>>>>  users@xwiki.org
> >>>>>>>>  http://lists.xwiki.org/mailman/listinfo/users
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>--
> >>>>>>>Thomas Mortagne
> >>>>>>
> >>>>>>
> >>>>>>Kind regards,
> >>>>>>
> >>>>>>Dmitry
> >>>>>
> >>>>>
> >>>>> Kind regards,
> >>>>>
> >>>>> Dmitry
> >>>>> ___
> >>>>> users mailing list
> >>>>>  users@xwiki.org
> >>>>>  http://lists.xwiki.org/mailman/listinfo/users
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Thomas Mortagne
> >>>
> >>>
> >>>
> >>>--
> >>>Thomas Mortagne
> >>
> >>
> >> Kind regards,
> >>
> >> Dmitry
> >> ___
> >> users mailing list
> >>  users@xwiki.org
> >>  http://lists.xwiki.org/mailman/listinfo/users
> >
> >
> >
> >--
> >Thomas Mortagne
>
>
> Kind regards,
>
> Dmitry
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Do you "Like" XWiki?

2013-01-20 Thread Ludovic Dubost
Apparently amplicate is closing

http://newswire.amplicate.com/amplicate-is-closing/

Le dimanche 20 janvier 2013, Vincent Massol a écrit :

> BTW on this same idea id you like XWiki you can also say so easily here:
> http://amplicate.com/love/xwiki
>
> That helps the project!
>
> Thanks
> -Vincent
>
> On Jan 20, 2013, at 12:12 AM, coldserenity 
> >
> wrote:
>
> > Then it's a good idea to let people know about it
> >   http://alternativeto.net/software/confluence/
> >
> > :)
> >
> ___
> users mailing list
> users@xwiki.org 
> http://lists.xwiki.org/mailman/listinfo/users
>


-- 
Sent from Mobile
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [ANN] XWiki.TableEdit extension now available for your ExtensionManager installing pleasure.

2013-01-10 Thread Ludovic Dubost
You can go to the sandbox to see a table and should see an edit button next
to the table.
The code is in macro xwiki objects

Le jeudi 10 janvier 2013, Dan Jones a écrit :

> I imported the xar, and it created the page with two attachments...
>
> But I don't see any tables that can be edited. The page it created
> contained no actual velocity scripts or anything.
>
> What did I do wrong?
>
>   ------
> *From:* Ludovic Dubost  'ludo...@xwiki.com');>>
> *To:* XWiki Developers  'd...@xwiki.org');>>
> *Cc:* XWiki Users  'users@xwiki.org');>>
> *Sent:* Wednesday, January 9, 2013 4:15 AM
> *Subject:* Re: [xwiki-users] [xwiki-devs] [ANN] XWiki.TableEdit extension
> now available for your ExtensionManager installing pleasure.
>
> Hi Caleb,
>
> Great stuff. I just tried it out. Installation was immediate.
>
> I found one issue with multilingual. Although my wiki was in mono-lingual
> and french, it retrieved the english version of the sandbox document. This
> might be a REST issue.
>
> Another issue but is probably a feature for now is that I was not able to
> do calculations in the spreadsheet. I tested on Chrome.
>
> Ludovic
>
>
> 2013/1/9 Caleb James DeLisle  'cvml', 'calebdeli...@lavabit.com');>>
>
> > Hi all,
> >
> > I'm proud to announce that after a few weeks of hectic downtime I finally
> > got XWiki.TableEdit extension finished. XWiki.TableEdit allows you to
> edit
> > wiki tables as if they were spreadsheets using the jquery.sheet
> in-browser
> > spreadsheet editor.
> >
> > Internally XWiki.TableEdit is an exiting foray into a new frontier of
> > modular
> > javascript, relying entirely on Asynchronous Modular Definition to load
> > it's
> > component parts. ( https://github.com/amdjs/amdjs-api/wiki/AMD )
> >
> > XWiki.TableEdit is still in it's infancy, future plans include editing of
> > spreadsheets in attachments, conversion of the loading and saving APIs to
> > the
> > simple REST-like JIO standard ( http://www.j-io.org/ ) so that others
> can
> > more
> > easily develop similar editors, and porting the entire widget from
> painful
> > hand written javascript to simple HTML5 based on renderjs
> > ( http://www.renderjs.org/ ) which can be installed in other frameworks.
> >
> > More information about the extension:
> >
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+TableEdit
> >
> > I'd love to hear your feedback, especially browsers where it doesn't
> work.
> > xwiki-contrib JIRA project coming soon..
> >
> > Thanks,
> > Caleb
> >
> > ___
> > devs mailing list
> > d...@xwiki.org 
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
> ___
> users mailing list
> users@xwiki.org 
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>

-- 
Sent from Mobile
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [ANN] XWiki.TableEdit extension now available for your ExtensionManager installing pleasure.

2013-01-09 Thread Ludovic Dubost
Hi Caleb,

Great stuff. I just tried it out. Installation was immediate.

I found one issue with multilingual. Although my wiki was in mono-lingual
and french, it retrieved the english version of the sandbox document. This
might be a REST issue.

Another issue but is probably a feature for now is that I was not able to
do calculations in the spreadsheet. I tested on Chrome.

Ludovic


2013/1/9 Caleb James DeLisle 

> Hi all,
>
> I'm proud to announce that after a few weeks of hectic downtime I finally
> got XWiki.TableEdit extension finished. XWiki.TableEdit allows you to edit
> wiki tables as if they were spreadsheets using the jquery.sheet in-browser
> spreadsheet editor.
>
> Internally XWiki.TableEdit is an exiting foray into a new frontier of
> modular
> javascript, relying entirely on Asynchronous Modular Definition to load
> it's
> component parts. ( https://github.com/amdjs/amdjs-api/wiki/AMD )
>
> XWiki.TableEdit is still in it's infancy, future plans include editing of
> spreadsheets in attachments, conversion of the loading and saving APIs to
> the
> simple REST-like JIO standard ( http://www.j-io.org/ ) so that others can
> more
> easily develop similar editors, and porting the entire widget from painful
> hand written javascript to simple HTML5 based on renderjs
> ( http://www.renderjs.org/ ) which can be installed in other frameworks.
>
> More information about the extension:
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+TableEdit
>
> I'd love to hear your feedback, especially browsers where it doesn't work.
> xwiki-contrib JIRA project coming soon..
>
> Thanks,
> Caleb
>
> _______
> devs mailing list
> d...@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] How to Include a page without velocity code into another page

2012-12-16 Thread Ludovic Dubost
You could check the AJAX Show Hide macro

http://extensions.xwiki.org/xwiki/bin/view/Extension/Ajax+and+Show+Hide+Macro

The last example looks like what you would like to do

Ludovic


2012/12/15 Geo Du 

> Hi Marius,
>
> This works, but my problem is that I have a xwiki page, I have a link on
> this page, when I click on this link, a javascript function is called, with
> the call, I want to include a new xwiki page at the bottom of the current
> page without reloading the current old content (like appending a new page
> to the current page without change of the old content), the new appended
> content could be in edit or view mode.
> My question is the approach you have here is to use display macro, how to
> trigger this macro inside javascript code? also how to avoid reloading the
> old content when appending new content? since in the old page I have some
> search results listed, I do not want to lose it and make users have to
> search again.
>
> Thanks for your help.
> David
>
> On Mon, Nov 5, 2012 at 3:33 AM, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
>
> > The display macro works for me as you would expect. For instance, if I
> > create a page with this content:
> >
> > --8<--
> > {{velocity}}
> > Current action: $xcontext.action
> > {{/velocity}}
> >
> > {{display reference="Blog.BlogIntroduction"/}}
> > -->8--
> >
> > in view mode I can see the blog post preceded by "Current action:
> > view" and in "Inline Form" edit mode I can edit the blog post, which
> > is preceded by "Current action: edit".
> >
> > Hope this helps,
> > Marius
> >
> > On Fri, Nov 2, 2012 at 10:18 PM, Geo Du  wrote:
> > > Hi Marius,
> > >
> > > Thanks for your response, it works when I use display macro to include
> > the
> > > testpage into the other page, but I need also to include (display) the
> > page
> > > with inline mode inside the other page, since user can click the edit
> > pencil
> > > button on the right corner of the testpage to edit it, right now the
> edit
> > > button will lead to the testpage in inline mode but the testpage is not
> > > inside the other page which originally include(display) the testpage.
> > >
> > > So how to include or display a page with inline mode into another page?
> > >
> > > Thanks for your help.
> > >
> > > David
> > >
> > > On Fri, Nov 2, 2012 at 3:06 AM, Marius Dumitru Florea
> > >  wrote:
> > >>
> > >> On Thu, Nov 1, 2012 at 10:51 PM, Geo Du  wrote:
> > >> >
> > >> > Hi All,
> > >> >
> > >> > I want to include one page into another page in terms of content
> > instead
> > >> > of
> > >> > velocity code, for example, the Blog.WebHome is a page without
> > velocity
> > >> > code if you choose Edit->Wiki, but it has Blog.BlogClass if you
> select
> > >> > Edit->Objects, from Blog.WebHome page, I can create a new post with
> > tile
> > >> > testpage, now the Blog.testpage is the new page created that I need
> to
> > >> > include into another page, this testpage has no velocity code from
> > >> > Edit_>Wiki. so how to include that page into a different page?
> > >> >
> > >>
> > >> > I tried: include Macro, includeInContext Macro, includeTopic Macro,
> > none
> > >> > of
> > >> > them displays the testpage for me, any idea?
> > >>
> > >> "display" is the key. You want to display not to include. See
> > >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Display+Macro .
> > >>
> > >> Hope this helps,
> > >> Marius
> > >>
> > >> >
> > >> > Thanks very much for your help.
> > >> >
> > >> > David
> > >> > ___
> > >> > devs mailing list
> > >> > d...@xwiki.org
> > >> > http://lists.xwiki.org/mailman/listinfo/devs
> > >> ___
> > >> 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki login timeout

2012-12-06 Thread Ludovic Dubost
Hi

You should look if your IP (as received by the server) is changing and if your 
server has the ip restriction setting set in xwiki.cfg

Ludovic

Envoyé de mon iPhone

Le 7 déc. 2012 à 05:28, Hoang Tuan Viet  a écrit :

> Hi all,
> 
> I am usually out of session when editing XWiki page, after about 2 minutes.
> 
> I have checked tomcat6's web.xml file:
> ...
> 
> 
> 
> 30
> 
> ...
> 
> as 
> http://www.xwiki.org/xwiki/bin/view/FAQ/How+can+I+change+the+Session+timeout.
> 
> I also see file web.xml in xwiki/WEB-INF folder. I tried to add above config 
> to this file but no luck.
> 
> Would you please tell me how to fix this?
> 
> Regards,
> 
> -- 
> Viet Hoang
> 
> ___
> 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-devs] New Realtime collaborative editing extension.

2012-10-23 Thread Ludovic Dubost
2012/10/23 Caleb James DeLisle 

>
>
> On 10/17/2012 06:11 AM, Ludovic Dubost wrote:
> > Hi Caleb,
> >
> > This is great progress ! Way to go.
> >
> > Some improvements, sorted by priority from my POV:
> >
> > - Support real-time editing on an object Textarea field
> Not sure I understand this, you mean for inline edit?
> if so, there will of course be issues with input fields, checkboxes, and
> radio bubbles.
>
>
While of course it would be interesting to handle every form field of an
inline edit, this is not critical.
What's interesting is to be able to launch a realtime session on a textarea
field only.

Now there is an issue since we don't have the same options to switch
between modes on a textarea field, which is configured to go to Wysiwyg or
Wiki based on configuration. Even the Wysiwyg field does not have the
"Source" switch (which is a bit of an issue as sometimes you would need to
switch to source).

But this is a separate issue. We can do one of the following:

1/ Add a button to launch a realtime session which would be able to unload
the wysiwyg (if present) and launch realtime
2/ Support parameters that would switch to realtime. Not we already have
the "xeditmode=text" parameter which force loading wiki instead of wysiwyg.
So you could just make sure that http://.../inline/...?xeditmode=text#Realtime
would launch realtime on the first textarea field (or even on all fields).

Ludovic



>
> > - The current textarea does not allow to do a select All of the text
> Added an issue for select all with ctrl+a as well as save (alt+s) and
> save+continue (shift+alt+s)
> https://github.com/cjdelisle/xwiki-platform-realtime/issues/3
>
> > - XEM compatibility either as an extension for the global wiki, or as a
> > template based install (right now you have to install the XAR in each
> wiki)
> https://github.com/cjdelisle/xwiki-platform-realtime/issues/2
>
> > - Install through extension manager
> https://github.com/cjdelisle/xwiki-platform-realtime/issues/4
> easy to do as long as XEM support still requires manual intervention
>
>
> I think the rest of these issues fall in the "refactor realtime editor"
> category.
> I started a draft here:
> http://dev.xwiki.org/xwiki/bin/view/Drafts/RealTimeEditor
> So we can talk about what is best for the next generation of the editor.
>
>
> Thanks,
> Caleb
>
>
> > - See who's editing
> > - Auto-saving
> > - Handling merging if there has been a concurrent editing
> > - Support a live switch from wiki editing to real-time editing
> >
> > Ludovic
> >
> > 2012/10/17 Vincent Massol 
> >
> >> Hi Caleb,
> >>
> >> Ok I've played with it, very cool!  :)
> >>
> >> Some next steps:
> >> * Make it a real extension installable with the Extension Manager:
> >> ** Move the project to xwiki-contrib and release a first 1.0 version of
> >> the JAR and XAR in the xwiki maven repo for contrib
> >>
> >> Slightly later:
> >> * Add an Extension Point for the Edit menu and transform the JS Skin
> >> extension into a UI Extension
> >>
> >> Of course in term of the editor itself there are a few things to
> improve.
> >> Some ideas:
> >> * Release the lock only when all the editors have either cancelled or
> >> saved the document so that someone who edits in wiki mode gets a lock
> >> dialog box if someone is still editing it
> >> * See who's editing + colors to differentiate users
> >> * Use a textarea similar to the wiki editor one (no line number, same
> >> font, etc)
> >>
> >> Thanks
> >> -Vincent
> >>
> >>
> >> On Oct 17, 2012, at 8:57 AM, Vincent Massol  wrote:
> >>
> >>> Hi Caleb,
> >>>
> >>> What a nice morning treat! :)
> >>>
> >>> I'll check it out later today.
> >>>
> >>> Thanks
> >>> -Vincent
> >>>
> >>> On Oct 17, 2012, at 7:12 AM, Caleb James DeLisle <
> >> calebdeli...@lavabit.com> wrote:
> >>>
> >>>> Hi guys,
> >>>>
> >>>> I just finished repackaging the realtime collaborative editor which
> was
> >> developed as part of wiki/3.0.
> >>>> It is now installable as an extension. It's still a bit rough around
> >> the edges but it's pretty safe to
> >>>> play with so everyone is invited to give it a try.
> >>>>
> >>>> * 

[xwiki-users] Github tracker. was: Re: New Realtime collaborative editing extension.

2012-10-23 Thread Ludovic Dubost
Just a quick. You seem to introduce a practice to use the github tracker 
instead of xwiki.org jira's

Not sure it's a good thing. I'm sure Vincent will agree

Ludovic


Envoyé de mon iPhone

Le 23 oct. 2012 à 04:17, Caleb James DeLisle  a écrit 
:

> One other thing, please report the features which you want and what you 
> imagine as
> best on the github tracker, it's easier to close an issue as "won't fix" than 
> it is
> to remember an important issue which nobody wrote down ;)
> 
> Thanks
> Caleb
> 
> On 10/22/2012 10:14 PM, Caleb James DeLisle wrote:
>> Hi,
>> 
>> Thanks for the complement.
>> 
>> I just updated it and fixed issue #1. Thanks for reporting it.
>> Somehow showing who else is editing, showing where they are editing in the 
>> document
>> and allowing the user to spawn a chat window with other editors on the page 
>> are all
>> interesting possibilities. Right now I think the thing to do is decide where 
>> there
>> is the most bang for your buck in terms of feature value and get an idea of 
>> what's
>> most natural for the user.
>> 
>> Thanks,
>> Caleb
>> 
>> 
>> On 10/19/2012 07:59 AM, Ryszard Łach wrote:
>>> Great work!
>>> 
>>> It looks like good starting point to give xwiki the main (at least for
>>> me) feature, that makes googledoc sometimes more suitable for
>>> collaborative editing. It would be really great, if your editor would
>>> show somehow, where the other editor (person) is now, where is his
>>> cursor. Maybe a highlight (the whole line) showing the other's cursor
>>> placement?
>>> Do you plan to work on such improvements?
>>> 
>>> R.
>>> 
>>> ___
>>> 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] [xwiki-devs] New Realtime collaborative editing extension.

2012-10-17 Thread Ludovic Dubost
Hi again,

There is a serious bug which makes the wysiwyg editor fail because the Rt
code loads on wysiwyg.

With the code in the JS Extension

var isRealtimeMode = function() {
return (window.location.hash == '#RealTime');
};

#if ("$!request.lazy" != "true")
if (isRealtimeMode()) {
 Rt.load();
}

It allows to avoid loading conflicting code when in wysiwyg.

Ludovic

2012/10/17 Ludovic Dubost 

>
> Hi Caleb,
>
> This is great progress ! Way to go.
>
> Some improvements, sorted by priority from my POV:
>
> - Support real-time editing on an object Textarea field
> - The current textarea does not allow to do a select All of the text
> - XEM compatibility either as an extension for the global wiki, or as a
> template based install (right now you have to install the XAR in each wiki)
> - Install through extension manager
> - See who's editing
> - Auto-saving
> - Handling merging if there has been a concurrent editing
> - Support a live switch from wiki editing to real-time editing
>
> Ludovic
>
> 2012/10/17 Vincent Massol 
>
>> Hi Caleb,
>>
>> Ok I've played with it, very cool!  :)
>>
>> Some next steps:
>> * Make it a real extension installable with the Extension Manager:
>> ** Move the project to xwiki-contrib and release a first 1.0 version of
>> the JAR and XAR in the xwiki maven repo for contrib
>>
>> Slightly later:
>> * Add an Extension Point for the Edit menu and transform the JS Skin
>> extension into a UI Extension
>>
>> Of course in term of the editor itself there are a few things to improve.
>> Some ideas:
>> * Release the lock only when all the editors have either cancelled or
>> saved the document so that someone who edits in wiki mode gets a lock
>> dialog box if someone is still editing it
>> * See who's editing + colors to differentiate users
>> * Use a textarea similar to the wiki editor one (no line number, same
>> font, etc)
>>
>> Thanks
>> -Vincent
>>
>>
>> On Oct 17, 2012, at 8:57 AM, Vincent Massol  wrote:
>>
>> > Hi Caleb,
>> >
>> > What a nice morning treat! :)
>> >
>> > I'll check it out later today.
>> >
>> > Thanks
>> > -Vincent
>> >
>> > On Oct 17, 2012, at 7:12 AM, Caleb James DeLisle <
>> calebdeli...@lavabit.com> wrote:
>> >
>> >> Hi guys,
>> >>
>> >> I just finished repackaging the realtime collaborative editor which
>> was developed as part of wiki/3.0.
>> >> It is now installable as an extension. It's still a bit rough around
>> the edges but it's pretty safe to
>> >> play with so everyone is invited to give it a try.
>> >>
>> >> * Multiple users can edit the same document at the same time and their
>> changes are merged in real time.
>> >>
>> >> * The "RealTime Wiki" editor is an option along side WYSIWYG and Wiki
>> so it won't break existing editors.
>> >>
>> >> * Easy installation by copying a .jar file and importing a .xar file,
>> removal is simply deleting 2 XDocuments.
>> >>
>> >>
>> >>
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
>> >>
>> >>
>> >> Please feel free to share your experiences in the mailing list, on the
>> extension wiki page and on the
>> >> github bug tracker.
>> >>
>> >>
>> >> Thanks,
>> >> Caleb
>>
>> ___
>> devs mailing list
>> d...@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>
>
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>


-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] New Realtime collaborative editing extension.

2012-10-17 Thread Ludovic Dubost
Also a screenshot on the extension page, so that we can advertise it on
twitter :)

2012/10/17 Ludovic Dubost 

>
> Hi Caleb,
>
> This is great progress ! Way to go.
>
> Some improvements, sorted by priority from my POV:
>
> - Support real-time editing on an object Textarea field
> - The current textarea does not allow to do a select All of the text
> - XEM compatibility either as an extension for the global wiki, or as a
> template based install (right now you have to install the XAR in each wiki)
> - Install through extension manager
> - See who's editing
> - Auto-saving
> - Handling merging if there has been a concurrent editing
> - Support a live switch from wiki editing to real-time editing
>
> Ludovic
>
> 2012/10/17 Vincent Massol 
>
>> Hi Caleb,
>>
>> Ok I've played with it, very cool!  :)
>>
>> Some next steps:
>> * Make it a real extension installable with the Extension Manager:
>> ** Move the project to xwiki-contrib and release a first 1.0 version of
>> the JAR and XAR in the xwiki maven repo for contrib
>>
>> Slightly later:
>> * Add an Extension Point for the Edit menu and transform the JS Skin
>> extension into a UI Extension
>>
>> Of course in term of the editor itself there are a few things to improve.
>> Some ideas:
>> * Release the lock only when all the editors have either cancelled or
>> saved the document so that someone who edits in wiki mode gets a lock
>> dialog box if someone is still editing it
>> * See who's editing + colors to differentiate users
>> * Use a textarea similar to the wiki editor one (no line number, same
>> font, etc)
>>
>> Thanks
>> -Vincent
>>
>>
>> On Oct 17, 2012, at 8:57 AM, Vincent Massol  wrote:
>>
>> > Hi Caleb,
>> >
>> > What a nice morning treat! :)
>> >
>> > I'll check it out later today.
>> >
>> > Thanks
>> > -Vincent
>> >
>> > On Oct 17, 2012, at 7:12 AM, Caleb James DeLisle <
>> calebdeli...@lavabit.com> wrote:
>> >
>> >> Hi guys,
>> >>
>> >> I just finished repackaging the realtime collaborative editor which
>> was developed as part of wiki/3.0.
>> >> It is now installable as an extension. It's still a bit rough around
>> the edges but it's pretty safe to
>> >> play with so everyone is invited to give it a try.
>> >>
>> >> * Multiple users can edit the same document at the same time and their
>> changes are merged in real time.
>> >>
>> >> * The "RealTime Wiki" editor is an option along side WYSIWYG and Wiki
>> so it won't break existing editors.
>> >>
>> >> * Easy installation by copying a .jar file and importing a .xar file,
>> removal is simply deleting 2 XDocuments.
>> >>
>> >>
>> >>
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
>> >>
>> >>
>> >> Please feel free to share your experiences in the mailing list, on the
>> extension wiki page and on the
>> >> github bug tracker.
>> >>
>> >>
>> >> Thanks,
>> >> Caleb
>>
>> ___
>> devs mailing list
>> d...@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>
>
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>


-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] New Realtime collaborative editing extension.

2012-10-17 Thread Ludovic Dubost
Hi Caleb,

This is great progress ! Way to go.

Some improvements, sorted by priority from my POV:

- Support real-time editing on an object Textarea field
- The current textarea does not allow to do a select All of the text
- XEM compatibility either as an extension for the global wiki, or as a
template based install (right now you have to install the XAR in each wiki)
- Install through extension manager
- See who's editing
- Auto-saving
- Handling merging if there has been a concurrent editing
- Support a live switch from wiki editing to real-time editing

Ludovic

2012/10/17 Vincent Massol 

> Hi Caleb,
>
> Ok I've played with it, very cool!  :)
>
> Some next steps:
> * Make it a real extension installable with the Extension Manager:
> ** Move the project to xwiki-contrib and release a first 1.0 version of
> the JAR and XAR in the xwiki maven repo for contrib
>
> Slightly later:
> * Add an Extension Point for the Edit menu and transform the JS Skin
> extension into a UI Extension
>
> Of course in term of the editor itself there are a few things to improve.
> Some ideas:
> * Release the lock only when all the editors have either cancelled or
> saved the document so that someone who edits in wiki mode gets a lock
> dialog box if someone is still editing it
> * See who's editing + colors to differentiate users
> * Use a textarea similar to the wiki editor one (no line number, same
> font, etc)
>
> Thanks
> -Vincent
>
>
> On Oct 17, 2012, at 8:57 AM, Vincent Massol  wrote:
>
> > Hi Caleb,
> >
> > What a nice morning treat! :)
> >
> > I'll check it out later today.
> >
> > Thanks
> > -Vincent
> >
> > On Oct 17, 2012, at 7:12 AM, Caleb James DeLisle <
> calebdeli...@lavabit.com> wrote:
> >
> >> Hi guys,
> >>
> >> I just finished repackaging the realtime collaborative editor which was
> developed as part of wiki/3.0.
> >> It is now installable as an extension. It's still a bit rough around
> the edges but it's pretty safe to
> >> play with so everyone is invited to give it a try.
> >>
> >> * Multiple users can edit the same document at the same time and their
> changes are merged in real time.
> >>
> >> * The "RealTime Wiki" editor is an option along side WYSIWYG and Wiki
> so it won't break existing editors.
> >>
> >> * Easy installation by copying a .jar file and importing a .xar file,
> removal is simply deleting 2 XDocuments.
> >>
> >>
> >>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
> >>
> >>
> >> Please feel free to share your experiences in the mailing list, on the
> extension wiki page and on the
> >> github bug tracker.
> >>
> >>
> >> Thanks,
> >> Caleb
>
> ___
> devs mailing list
> d...@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] SRD (Scripting Reference Documentation) Annoucement

2012-10-10 Thread Ludovic Dubost
Hi,

I'm happy to announce the first release of the Scripting Reference
Documentation (SRD).
The objective of this documentation is to have a quick access to the
relevant javadoc or documentation page to perfom XWiki scripting.

The SRD is available at:
http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed

It contains:

- javadoc links to Velocity and Groovy bindings, including the main
API ($xwiki, $doc, $request, $response, $context) as well as XWiki
services and plugins, as well as Velocity Tools.
- links to the Velocity and Groovy language documentation

This documentation is currently available for XWiki 4.1.x an 4.2.x.

This is a very good tools for beginners with XWiki scripting. We do
still recommend the development tutorials on the XWiki Dev Guide
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome).

Please let us know on the dev list for any feedback on this new documentation.

Ludovic

-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] SSO via NTLM

2012-10-09 Thread Ludovic Dubost
Hi Thilo,

As Guillaume Fenollar says, NTLM will require Microsoft protocols,
hence the need for Samba.
But if your objective is just to implement single sign on on Linux you
can go with other standards:

- CAS (more simple)
- Kerberos (complicated)

You just need to setup a CAS Server (there are open source
implementations see http://www.jasig.org/cas)
You need an Apache HTTPD CAS module
You then can use XWiki's AppServer Trusted Authentication

You can probably find a CAS Server that can authenticate on an LDAP Server

Ludovic


2012/9/12 Schmidt, Thilo (VZ) :
>
> Thanks for the reply and link.
> It just seems to me that running tomcat, apache, samba, kerberos and winbind 
> on a machine "just" to run a wiki is a little much, especially considering 
> that I'm new to this unix/server world ;)
> Of course I'll do that if there isn't another way, i just have a hard time 
> believing that there's no "simpler" solution to a very basic problem.
> To clarify: I only need users to log in automatically to the wiki, Checking 
> against the AD would be a bonus, but I could just create the wiki-accounts by 
> hand, as well.
>
> Intimidated by this strange world,
> Thilo
>
>> Hi Thilo,
>>
>> I worked a lot on this subject these two last days. But I only experimented
>> Kerberos, and Samba/Winbind/NTLM.
>> Why don't you want to install Samba? It's easier to make it work than a
>> Kerberos system (from what I saw). You have to install Samba, configure it,
>> install winbind, bind on a AD domain with an administrator, and finally
>> configure Apache to use this auth. You also need to be sure that your java
>> container won't try to authenticate itself. See:
>> http://adldap.sourceforge.net/wiki/doku.php?id=seamless_authentication
>> if you haven't found this before.
>>
>> I don't know any other solution without using samba or krb.
>>
>> Good luck!
>>
>> Guillaume Fenollar
>> XWiki SAS
>>
>> 2012/9/11 Schmidt, Thilo (VZ) 
>>
>> > Hello,
>> > I'm trying to get some kind of NTLM authentication going on my Debian
>> > server, but got lost very early.
>> > I find mentions of working NTLM solutions in the archives as well as
>> > some fixes for an ominous "NTLM authenticator" (XCONTRIB-84) in Jira.
>> > I even found some installation-guide in the sandbox, but there seems
>> > to be no jar file.
>> >
>> > Is there some kind of working NTLM solution without installing
>> > kerberos or samba?
>> >
>> > Thanks in advance,
>> > Thilo
>> > ___
>> > 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



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to Make inheritance with XWiki Classes

2012-08-26 Thread Ludovic Dubost
You can use a contact object inside a page with a customer object. This not 
exactly inheritance but it looks like it

Envoyé de mon iPhone

Le 25 août 2012 à 19:39, Boudjelda Mohamed Said  a écrit :

> Hi Every body
>   I have to create an application upon XWiki, I have a this model , Person
> -> Contact (Person is a Contact ) and Also Customer - > Contact , How can I
> make such implementation using XWiki Classes
> 
> Thank You
> ___
> 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] Writing JS with Velocity

2012-07-25 Thread Ludovic Dubost
2012/7/25 David Baltusavich :
> Ok, that works great.
>
> So I'm hoping to wire up this Glossary App plus the JSON to a highlighting
> script written in JS, the idea is that the words that appear in the
> glossary will be highlighted on any wiki page in which they appear.  Not
> knowing much about velocity at all, I figured this could be implemented by
> parsing the body of the wiki content in search of any matching
> words/phrases, and mark them up with  tags, tooltips, etc.  In order
> for this to work I need to be able to add some custom JS to each page on
> the wiki, which I am guessing I can do by modifying the skin, and using
> your helpful link trick to load the latest JSON into my highlighting script.
>

In fact we have already this on a project, but we could not get to
fully publish it as an extension.
The way it was done was to generate the annotations on the server side
with a script at night.
This is quite easy to do as you just need to update the annotations
(which are comments in recent versions) in XWIki Objects
At some point this code should be published but I cannot tell when.

This was found to be much more efficient than to do it in real time in JS

If you want to go the JS way, use JSX

> Ludovic, since you are obviously intimately familiar with XWiki, is there a
> better (server-side) way to achieve a glossary or acronym database
> functionality?  Again I'm looking to dynamically add links to existing wiki
> content based on a set of words and definitions that appear in an XWiki app.
>
> If not, the JS method should work fine but of course the parse operation
> has to happen on every page load, which is inefficient.
>
> Yours,
>
> David Baltusavich
> --
>
> <http://www.synatree.com>
> 1001 State Street, Suite 1123
> Erie, PA 16501
> (814) 422-5887
> (321) 800-8733
>
>
>
> On Tue, Jul 24, 2012 at 7:15 PM, Ludovic Dubost  wrote:
>
>> Add ?xpage=plain&outputSyntax=plain to your URL
>>
>> Envoyé de mon iPhone
>>
>> Le 25 juil. 2012 à 00:06, David Baltusavich  a écrit :
>>
>> > Another newbie question, I'm afraid.
>> >
>> > I have a simple Glossary application that I've written, and I've managed
>> to
>> > figure out how to write a velocity script to retrieve all of the glossary
>> > terms and put them into a JSON array.  The problem is, the velocity
>> script
>> > output is being html encoded and sent to the browser as text, including
>> the
>> > enclosing 

Re: [xwiki-users] Annotations on content in AppsWithinMinutes

2012-07-24 Thread Ludovic Dubost
Yes as long as you don't use the new sheet system, the HTML macro and use 
$doc.getValue to display your glossary fields that you want to be annotable. 
It's a few limitations we know but there are some goods reasons for that

Envoyé de mon iPhone

Le 24 juil. 2012 à 23:41, David Baltusavich  a écrit :

> If I don't use the AppWithinMinutes feature to create the glossary, and
> instead write it from scratch, will Annotations work then?
> 
> Thanks,
> 
> David Baltusavich
> --
> 
> <http://www.synatree.com>
> 1001 State Street, Suite 1123
> Erie, PA 16501
> (814) 422-5887
> (321) 800-8733
> 
> 
> 
> On Tue, Jul 24, 2012 at 3:18 PM, Ludovic Dubost  wrote:
> 
>> This is a known bug , which is not yet fixed. The new sheet system used in
>> app within minutes requires that some adaptations are made in the
>> annotation system
>> 
>> Ludovic
>> 
>> Envoyé de mon iPhone
>> 
>> Le 24 juil. 2012 à 20:46, David Baltusavich  a écrit :
>> 
>>> I have developed a simple glossary app for my XWiki instance.
>>> 
>>> Everything works great until I try to add an Annotation to the page,
>>> generally on content that is a TextArea type.  As soon as I save the
>>> annotation, all of the fields of the app immediately disappear.
>>> 
>>> They won't re-appear until I delete the Annotation.
>>> 
>>> What am I missing?  Does my TextArea have to somehow link to
>>> the AnnotationClass?
>>> 
>>> Sorry if this is a newbie question; I'm just getting started with XWiki.
>>> 
>>> David
>>> ___
>>> 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] Annotations on content in AppsWithinMinutes

2012-07-24 Thread Ludovic Dubost
This is a known bug , which is not yet fixed. The new sheet system used in app 
within minutes requires that some adaptations are made in the annotation system

Ludovic 

Envoyé de mon iPhone

Le 24 juil. 2012 à 20:46, David Baltusavich  a écrit :

> I have developed a simple glossary app for my XWiki instance.
> 
> Everything works great until I try to add an Annotation to the page,
> generally on content that is a TextArea type.  As soon as I save the
> annotation, all of the fields of the app immediately disappear.
> 
> They won't re-appear until I delete the Annotation.
> 
> What am I missing?  Does my TextArea have to somehow link to
> the AnnotationClass?
> 
> Sorry if this is a newbie question; I'm just getting started with XWiki.
> 
> David
> ___
> 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] severe trouble with web crawlers

2012-07-13 Thread Ludovic Dubost
Hi 

This could have showed up because of. Changes a while ago that flush documents 
from the cache after save. So combined with a crawler trigerring saves it could 
trigger the behavior seen here where flushCache the restores everything. 

Maybe there is a reading failure which is not detected properly and the code 
falls back to a default class ?

Envoyé de mon iPhone

Le 14 juil. 2012 à 03:15, Sergiu Dumitriu  a écrit :

> On 07/13/2012 05:31 PM, Jan-Philip Loos wrote:
>> Hello,
>> 
>> I have an really important update for this issue.
>> 
>> Last month I installed the the "Admin Tools Application" as recommended by
>> Ludovic Dubost. I ran the "Programming Rights Check" script and inspected
>> the "User Rights Check" page. No right anomalies, as far as I can see.
>> 
>> A few minutes ago, our XWiki suffered under a new, but correlating, problem.
>> I visited our Wiki and noticed that the Wiki was rendered with the default
>> theme and with the default header image. Furthermore, as a guest, I had the
>> opportunity to delete spaces/documents and visit restricted areas.
>> 
>> I inspected this issue with the Admin Tools:
>> I checked the memory usage of our XEM: 1,5GB Free
>> Active DB Connections: 13 of 50
>> Idle DB Connections: 5 of 5
>> 
>> After I tried the "Flush Cache" script of the "Admin Tools Application", the
>> Wiki theme and header image was instant restored, and all rights seemed
>> working.
>> 
>> I have a strong guess that this issue is connected to our initial problem. I
>> guess this problem fixed itself a couple of times after a period of time.
>> During this period, the Wiki is exposed and the crawler can trigger
>> undesired actions.
>> 
>> I hope someone have an idea why our Wiki behaves like this.
>> 
>> Greetings
>> 
>> Jan
> 
> OK, this is a promising direction, at least I know what's going on.
> 
> So, the problem is that the XWikiPreferences document gets in a very bad 
> state in the document cache. The cache coherence in multiwiki mode has been 
> improved a while ago, so it shouldn't happen with normal documents, but 
> there's still http://jira.xwiki.org/browse/XWIKI-8046 which is open and which 
> has top priority (it might get fixed in a few days for 4.1.4).
> 
> Unfortunately, I don't have a quick solution for you at the moment. Watch 
> that issue for more details.
> -- 
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> 
> 
> ___
> 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] Announcing Curriki-1.11

2012-07-05 Thread Ludovic Dubost
It's http://xclams.xwiki.org

2012/7/5 Arioch :
>>   http://xclams.currikirg
>
> broken link, hope only in this announcement
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Announcing-Curriki-1-11-tp7580161p7580170.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



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Devoxx Belgium talk submission ideas

2012-07-04 Thread Ludovic Dubost
I think caleb's Cassandre based XWiki could be a great talk with you and or him 
as a speaker

Envoyé de mon iPhone

Le 4 juil. 2012 à 17:49, Roman Muntyanu  a écrit :

> Hello Vincent,
> 
>  The most interesting presentations I saw were based on real experience and 
> included live demos. So I like all of the demos you've listed below 
> (especially "quality dashboard" and "web site live").
> 
>  My 2 cents on potentially interesting content (from devoxx attendee the 
> point of view):
> 
>> Methodology
> Remember that survey about XWiki community and development process by Martin 
> Schonberger?
> http://xwiki.475771.n2.nabble.com/Questions-concerning-the-development-of-XWiki-Final-Round-td7566339.html
>  
> It's a good material for presentation about open source project evolution 
> (how new challenges triggered new perception and new solutions).
> 
>> Architecture, Cloud and Security
>  * A hands-on lab on deploying wiki farm to the cloud (can be combined 
> with presentation describing xwiki architecture with regard to cloud 
> deployment). Maybe even make the presentation more generic (to attract more 
> audience) - to touch the topic of modern cloud deployment and management 
> (http://jelastic.com/ ; http://www.cloudbees.com/ ; 
> http://www.cloudfoundry.com/ ) and deploy XWiki farm to the cloud as an 
> example.
>  * Also on architecture part - there can be a good presentation on 
> "Refactoring to Modularity" (or "Refactoring to Maven"?) - how the need for 
> modularity emerged and how XWiki has been refactored (all with samples of 
> "before" and "after").
>  * (Speaking of Maven) XWiki project is unique in terms of number of 
> Maven modules - so presentation like "Maven: One tool to rule them all" would 
> be interesting from pure practical standpoint.
> 
>> A quick history of wikis (Quickie: 15 mn) Shows evolution of wikis since 
>> their creation and where wikis are heading in the future
>   For this one I can suggest source where I have collected many ideas 
> http://prezi.com/nymm70tfdird/next-gen-collaboration-wikis/ . Maybe you'll 
> find something useful.
> 
>  Good luck with the show! Looking forward to see your speeches on 
> http://www.parleys.com/#st=3&id=189
> 
> Btw, when preparing those demos - most likely the presenter will practice it 
> several times. We can kill 2 birds with one stone if presenter records his 
> training speeches in order to provide video guides/tours on YouTube (one 
> thing XWiki currently lacks).
> 
> Regards,
>  Roman
> 
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
> Vincent Massol
> Sent: Monday, July 02, 2012 11:15 AM
> To: XWiki Users
> Subject: [xwiki-users] Devoxx Belgium talk submission ideas
> 
> Hi everyone,
> 
> I'm about to submit some talk proposals related to XWiki for Devoxx Belgium 
> (http://www.devoxx.com/display/DV12/Home).
> 
> I was thinking it might be good to ask you what you think should be best that 
> I present related to XWiki. What would you like to hear yourself at a general 
> conference like Devoxx?
> 
> The tracks they have this year:
> 
> * Java Standard Edition (JDK 8++)
> * Java Enterprise Edition (focus on Java EE 7 and beyond)
> * Web (includes HTML5, JavaScript, CSS3 and RIA technologies)
> * Mobile (includes Android, Hybrid and mobile web)
> * Methodology
> * Other languages on the JVM
> * Architecture, Cloud and Security
> * Future is a brand new Devoxx track. Here we'll embracing the world 
> where software meets hardware and schedule talks on walking objects (think 
> NAO's, lots of NAO's), interactive objects like Arduino, but also intelligent 
> flying and real-time rolling devices! Basically anything that feels happy in 
> the Future :o)
> 
> The formats they have available:
> 
> * Conference (60 mn)
> * University (University talks are in depth presentations of 2 x 60 minutes 
> with a 15 minute break in between. )
> * Tools in Action (Tools in Action are 30 minute presentations demonstrating 
> a programming tool.)
> * BOF (BOF sessions are 60 minutes long, scheduled in the evening and are 
> informal.)
> * Quickie (Short 15 minute presentations during Lunch breaks)
> * Hands-on Labs (3 hour hands-on sessions. )
> 
> Some ideas I have (from talks I've done in the past or new ideas):
> 
> * XWiki: A web development runtime platform
> (example: 
> http://www.slideshare.net/xwiki/xwiki-a-web-development-runtime-platform-9277065)
> Track: java, javaEE, web
> 
> * XWiki: The Long tail of applications
> Explain how XWiki addresses the long tail of application (see 
> http://platform.xwiki.org/xwiki/bin/view/Main/SecondGenerationWiki)
> Show lots of nice implementations of XWiki done for various use cases + 
> present architecture and main concepts
> Track: java, javaEE, web
> 
> * Hands on: Create a Conference web site live (1 hour or up to 3 hours if we 
> do it as a Hands on lab) See 
> http://massol.myxwiki.org/xwiki/bin/view/Blog/Breizhcam

Re: [xwiki-users] Problem with SVG Macro

2012-06-26 Thread Ludovic Dubost
Hi,

The Macro points to a specific version of the svgeditor.. I looked a
while ago at some issues of the current version, but some code changes
in the macro is needed to use a more recent svg editor.
I'm not sure if that version will be compatible with IE9 though. You
need to look on the page of the svgeditor.

Ludovic

2012/6/26 Hamster :
> I should have checked this first...
>
> The SVG Editor doesn't show correctly in IE9.0 (which we use in our company)
>
> When I open the page in Google Chrome, the SVG Editor works fine.
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Problem-with-SVG-Macro-tp6135293p7579891.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



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Workspace Users not found

2012-06-04 Thread Ludovic Dubost
Yes,

your users are in the main wiki. In DBListClass you cannot query the
global wiki.
You will need to write a customer displayer script and declare it in your class

An example of customer displayer is here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multiselect+custom+display

Your custom displayer will need to query the main wiki using a
specific search API (in the XWiki object) which allows to set the wiki
to query.

Ludovic

2012/6/4  :
> Hello everybody,
>
> Here is my problem :
> I'm in a workspace.
> I've created a class with a database list field.
> I've written the HQL query :
> -> select obj.name from BaseObject obj where
> obj.className='XWiki.XWikiUsers'
> And when i'm in edit mode, the suggest says me : "no results !" when i'm
> writing a username.
>
> I wonder if this problem is related to the difference between local users (=
> workspace users ?) and global users (= wiki users ?).
>
> Thanks for your attention
>
> M.Canzerini
>
> _______
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Scripting - Saving calculated results for a macro

2012-05-26 Thread Ludovic Dubost
Paul

Check the cache macro which you can use inside your own macro

http://extensions.xwiki.org/xwiki/bin/view/Extension/Cache+Macro

Envoyé de mon iPhone

Le 26 mai 2012 à 14:52, Paul Moore  a écrit :

> I am writing a macro that performs a relatively expensive calculation
> to generate content for display (a PNG image) based on user input. The
> basic macro works fine, but I'd like to cache the generated content to
> save recalculating it when I don't need to.
> 
> My idea is that I generate a SHA1 digest of the macro content, and
> persistently cache the output generated for that input. I'm thinking
> of using an LRU cache to avoid keeping massive amounts of data that'll
> never get used again. The question I have is where I can put the cache
> so that it is saved with the page, and I can access and update it from
> the macro code. I suspect that the answer is to attach an object to
> the page somehow, but I've been looking round the documentation and
> can't find any examples of how I might do this (TBH, I'm struggling to
> find my way round the documentation, so it may be that I've missed
> something obvious - if so, then by all means point me to the right
> place :-))
> 
> As the object is a PNG image, I'm currently base64-encoding it, and
> using a data URL to display it. But if it's possible to cache the data
> in such a way that the raw data is (or can be made) directly
> addressible via a URL, that would be even better.
> 
> Can anyone help?
> 
> Thanks,
> Paul.
> ___
> 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.org - Extensions - Broken livetable?

2012-02-21 Thread Ludovic Dubost
I just fixed it (temporarly) by fixing the Ratings Application page.
It had a carriage return in a text field

Evelina Vrabie\\|Jerome Velociter

 which led to the following in the livetable json which made it invalid:

"authors_value": "[Evelina Vrabie
| Jerome Velociter]",

This means the livetable json code could have need some protecting here.

In this specific case it's fixed but there might be other extensions with
carriage returns like that in the text fields.

Ludovic


2012/2/21 Guillaume Lerouge 

> Hi,
>
> I have noticed that the livetable on the homepage of
> http://extensions.xwiki.org/ does not seem to be functional anymore. I
> tried to use it to search for "ratings":
>
>
> http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome#|t=extensions&p=1&l=30&s=doc.creationDate&d=desc&name=rating
>
> But it does not filter results according to my query. Clicking on the
> "ratings" tag on top of the livetable didn't yield any results either.
>
> Maybe a side effect of the latest migration?
>
> Guillaume
>
> --
> Guillaume Lerouge
> Sales - XWiki SAS
> Skype: wikibc
> Office: +33 1 45 42 40 90
> Mobile: +33 6 10 79 76 70
> _______
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] width=120

2012-02-14 Thread Ludovic Dubost
The most important improvemens are:

1/ We guarantee that the image will always show up, even if the conversion
failed, which is something that does happen with certain specific file
formats. We've introduced exception catching if these cases which makes
sure that at least you'll have the original image.
2/ default quality ratio is better then it used to be

I'm not completely sure also but I think we might have changed the output
format or made sure we keep the original format.

Indeed documentation would be great.

As for why it was not used in Curriki, I think it did not exist when most
of Curriki was developped. Also the issue with possible failures made it
dangerous to use when you don't control the images passed through the
system.

Ludovic


2012/2/14 Sergiu Dumitriu 

> On 02/12/2012 05:54 PM, Paul Libbrecht wrote:
>
>>
>> Hello fellow xwiki users,
>>
>> we discovered recently the usage of the width parameter when delivering a
>> picture from an xwiki document attachment.
>>
>> Surprisingly this is available in our production server, based on the
>> grumpy xwiki 1.5, but has not been used in the UI of Curriki which has,
>> however, been made by a team of XWiki SàRL originally.
>>
>
> Yes, this has been implemented for a very long time. If I remember
> correctly, it might have been introduced even before 1.0, or at least very
> soon after that.
>
>
>  - can someone describe me how this feature is working?
>>
>
> Basically, whenever an image download request is processed, the
> ImagePlugin intercepts it via the downloadAttachment plugin SPI method,
> and, if there are width or height request parameter, instead of serving the
> original attachment, it will create a new fake attachment holding the
> resized image.
>
>
>  - is the resulting downscaled image cached in file or in ram?
>>
>
> There's a filesystem cache for resized images, indeed, so that the same
> file isn't scaled for each request. Still, when downloading a specific
> image, it will be held in memory as any XWikiAttachment object.
>
>
>  - has there been a different implementation between the current xwiki
>> (e.g. 3.4) and 1.5?
>>
>
> Yes, kind of. It used to be all in https://github.com/xwiki/**
> xwiki-platform/blob/**c9b8a703cff266363782eee623ff4e**
> b61aad4b45/xwiki-core/src/**main/java/com/xpn/xwiki/**
> plugin/image/ImagePlugin.java#**L165<https://github.com/xwiki/xwiki-platform/blob/c9b8a703cff266363782eee623ff4eb61aad4b45/xwiki-core/src/main/java/com/xpn/xwiki/plugin/image/ImagePlugin.java#L165>but
>  the image scaling code has been moved out of the plugin, and is now in
> https://github.com/xwiki/**xwiki-platform/blob/master/**
> xwiki-platform-core/xwiki-**platform-oldcore/src/main/**
> java/com/xpn/xwiki/internal/**plugin/image/**DefaultImageProcessor.java<https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/plugin/image/DefaultImageProcessor.java>(the
>  call to this component is still in the plugin, though).
>
> There have been a few changes and improvements between the two versions.
> Besides the width and height parameters, now there's support for a
> "quality" parameter, a number between 0 and 1 controlling the compression
> quality for JPEG files, and a "keepAspectRatio" parameter which means that
> in case both a width and a height are specified, the image will be scaled
> with the same aspect ratio to fit within the specified width and height.





>
>  - except for the CPU hogging of computing the downscaled version, is
>> there any reason not to use this feature? (e.g. RAM overloading?).
>>
>
> It should be used as much as possible. The only problems are the extra
> storage needed for storing thumbnails, and the extra CPU time needed to
> scale, or at least to access the cached file from the disk.
>
> In recent versions this feature has been used more and more, so most
> places where images are used at a different size should already be making
> use of this feature.
>
>  thanks in advance
>>
>> Paul
>>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Performance tuning for growing wiki

2012-02-13 Thread Ludovic Dubost
One of the reasons is that XWiki SAS has almost all it's XWiki deployments
using tomcat more by habit than anything else.
I'm also not sure when we started that jetty was primetime.

It's true that XWiki works with the most lightweight servlet engines so
jetty is probably as good as tomcat.

Ludovic


2012/2/13 변형진 

> I see that the performance using MySQL is better than using HSQL.
> But why does XWiki recommend to use Tomcat as WAS?
>
> I have heard that Jetty is so efficient, lightweight and flexible that
> it can replace Tomcat in many common cases.
> So I'm playing with Nginx + configured XEM standalone package (Jetty +
> MySQL) for prduction.
>
> Does XWiki have the other reasons recommending Tomcat?
>
> @WhyKesarr. MetaDeveloper.
> "Keep the modifications due to a single change together in a predictable
> range."
>
> 2012. 2. 14. 오전 2:31 "goldring, richard"
>  작성:
>
> > Hi Andrey,
> >
> > You're running using Jetty and HSQL? I had similar problems and
> eventually
> > moved to Apache Tomcat and MySQL which are more memory efficient -
> suggest
> > you to the same although I don't lnow if there is another way but I
> exported
> > my pages to .xar files which I had to break into small .xar file in
> order to
> > reimport into my new xwiki on Tomcat and MySql (I kept the two
> installations
> > running until we were happy we had copied everything across ... This
> process
> > wasn't easy!
> >
> > Hope that helps.
> >
> > Regards,
> >
> > Richard
> >
> > -Original Message-
> > From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
> Behalf Of
> > Crowd Covered
> > Sent: 13 February 2012 17:21
> > To: users@xwiki.org
> > Subject: [xwiki-users] Performance tuning for growing wiki
> >
> > Hi guys,
> >
> > Thanks again for great collaborative tool!
> >
> > We currently have about 1200 pages inside, many with objects, where
> several
> > people search/read/edit info every day. And we are experiencing
> performance
> > problems - at least once a day, sometimes more often wiki becomes
> > unresponsive for 3-10 minutes while having high CPU load (my guess is
> either
> > page file swapping or garbage collection by JVM), Out Of Memory errors
> > becoming more often (sometimes wiki is stable for 1-2 weeks, sometimes
> fails
> > several times a day). Additionally we've got repeating problems even with
> > quite small attachments 500Kb-2Mb (I am aware of x27 DB storage trouble)
> >
> > According to recommendation in guides and some talks on the Internet I
> tend
> > to try database tuning or change. Could you please recommend a good
> > candidate among freely available databases or even give a hints on HSQLDB
> > tuning (maybe changing default memory mode to cached)? I've taken a look
> at
> > H2 vs. HSQLDB comparison but there are quite controversial opinions...
> >
> > Current servlet container configuration is -Xms700m -Xmx700m, no tuning
> for
> > database, computer is a virtual machine on a farm with 2 GHz CPU and 1 Gb
> > RAM. BTW, is this in general expected behavior for such configuration?
> >
> > Many thanks,
> > Andrey
> > ___
> > 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] using DateTime Picker from AppWithinMinutes Application

2012-02-12 Thread Ludovic Dubost
Hi,

It would be great to move the DatePicker as a simple setting in the class,
though the DatePicker code itself should be modifiable to allow custom
behaviors. It should be moved out of AppWithinMinutes into the XWiki core.

Ludovic

2012/2/12 Eugen Colesnicov 

> Sorry, I found answer.
> Need to write {{include document="AppWithinMinutes.Date"/}} in a "custom
> display" field of a class property.
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/using-DateTime-Picker-from-AppWithinMinutes-Application-tp7276957p7277019.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Status of filesystem attachment storage.

2012-01-24 Thread Ludovic Dubost
It's stable from my POV. It's being used in production on
http://planete.sankore.org

Ludovic

2012/1/24 Vincent Massol 

>
> On Jan 24, 2012, at 10:37 PM, Ryszard Łach wrote:
>
> > Hi.
> >
> > Could anyone, please, give any info about status of filesystem
> > attachment storage?
> >
> > Is it stable?
>
> Caleb can probably answer better here since he's the one who implemented
> this.
>
> My POV:
> * It's supposed to be usable
> * We need more real life reports that it's working fine in production
> * We've received some bug reports already. Several have been fixed, there
> might still be some open issues. You could search open issues about
> "filesystem" on http://jira.xwiki.org to know specific details
> * One current limitation I know is that clustering is not easily done
> since you need to cluster the filesystem. This can be achieved with a NFS
> mount for example.
>
> > Does it deal with non-ascii filenames prolerply?
>
> No idea. Caleb?
>
> > If so - why in 3.4 versions default storage for attachments will be
> > hibernate?
>
> Filesystem storage is not a perfect solution:
> * clustering issue mentioned above
> * it makes it harder to backup your XWiki system since you need to backup
> not only the DB but also the directory where the attachments are saved.
> It's nice to know that everything is in the DB.
> * the filesystem is one additional point of failure
>
> Ideally we would not need filesystem storage at all since DBs should be
> able to stream arbitrary data in a performant manner. In practice only some
> DBs support this (MySQL doesn't AFAIK).
>
> All that said I completely agree with your question. I'd also like that we
> answer it better and that we post this status on xwiki.org.
>
> So guys, can you complement/correct what I've said above so that we can
> get a correct statement about this feature? :)
>
> Thanks
> -Vincent
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Convert existing Intranet to XWiki

2012-01-17 Thread Ludovic Dubost
Note that you can also use the ZipExplorer to support part of the HTML as
is without supporting modifying them.
You just need to attach an HTML tree (that does not have absolute internal
links) and you can serve it from XWiki.

It is best to import your HTML tree in Wiki pages though.

Ludovic

2012/1/17 Vincent Massol 

>
> On Jan 17, 2012, at 9:12 AM, Vincent Massol wrote:
>
> > Hi Hamster,
> >
> > On Jan 17, 2012, at 8:25 AM, Hamster wrote:
> >
> >> To all,
> >>
> >> We want to replace our existing Intranet with XWiki.
> >> Our current Intranet is a bunch (100's) of HTML pages with text and
> >> hyperlinks.
> >>
> >> Can we import/convert our existing Intranet pages to XWiki?
> >
> > XWiki supports HTML as content of pages. See
> >
> http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HChoosingaSyntax
> >
> > The hyperlinks will not get transformed into relative links though,
> they'll stay absolute. You'll need to manually edit them to make them local
> links.
> >
> > Once you have the content of a page in HTML you can edit it and choose
> XWiki Syntax 2.0 or 2.1 and the content will get transformed into wiki
> syntax.
> >
> > An alternative to all this is to create a new page, edit it in the
> wysiwyg and use the insert HMTL menu button to insert the whole HTML.
> >
> > Last you should be able to script all this using the XWiki XMLRPC or
> better the REST interface.
>
> And now added here for reference:
>
> http://www.xwiki.org/xwiki/bin/view/FAQ/How+to+convert+HTML+pages+into+wiki+pages
>
> Thanks
> -Vincent
>
> >
> >> If so, which steps should we take?
> >> Of is this impossible and should we just create XWiki pages by hand?
> >
> > That's also possible :)
> >
> > Thanks
> > -Vincent
> >
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Creating unique serialised pagenames

2012-01-11 Thread Ludovic Dubost
Joris,

There is the $xwiki.getUniquePageName("SpaceName" , "BasePageName") which
allows to give you a page name not existing in XWiki.
It works in most cases, except if you generate the page name before the
save (for the form display) as you risk having twice the same name.

If you make this call just before the save, the duplicate risks are close
to zero.

As Edo has mentionned, a component would be needed to guarantee zero
possible duplication and/or to generate the page name for the edit form
(before saving). An even there there are some issues to support clustering.
We have been thinking about this and is part of our plan for 3.4/3.5 or
early 4.0.

Ludovic

2012/1/11 Joris Dirks 

> One of the use cases I have for my wiki is storing 'issues', where
> each issue should have a serial number consisting of year + subsequent
> number.
>
> I was thinking about a script like this, but one of the problems is:
> there is no 'while' function in Velocity.
>
> How would you create a form for this? Thanks for your ideas!
>
> Joris
>
> #set($space="Issues"}
> #set($template="AppSpace.IssueTemplate")
> #set($parent=$space.WebHome)
> #set($year= ${xwiki.formatDate($datetool.date, '')})
> #set($partID="0"
> #set($genericID=$space"."$year)
>
> #while($xwiki.exists($space.$issueID'')
> {
> #set($partID=$partID+1)
> #set($issueID=$year"-"$partID)
> }
>
>  #if(!$xwiki.exists($issueID) && $xwiki.hasAccessLevel('edit',
> $context.user, $issueID))
>$response.sendRedirect($xwiki.getURL($ID, 'inline',
> "template=$template}&parent=$parent"))
>## Stop processing, since we already sent a redirect.
>#stop
>  #end
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Extending XWiki collaboration toolset

2012-01-01 Thread Ludovic Dubost
Hi

Pencil sounds good but is not web based.

there is svg-edit for which I did the SVG Macro

http://extensions.xwiki.org/xwiki/bin/view/Extension/SVG+Macro

It needs to be updated to the latest svg-edit code (current version based
on svg-edit 2.4 supports FF only I think)

Ludovic

2011/12/30 coldserenity 

> Found this diagramming tool
>  http://pencil.evolus.vn/en-US/Home.aspx
>
> Keywords: OpenSource, Diagramming :)
>
> Might be worth checking for integration into XWiki, probably as an
> extension
> app because the source code is under GPLv2 (which makes me once more
> observe
> that modular structure of XWiki allows great flexibility - even with
> licenses).
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Extending-XWiki-collaboration-toolset-tp6900649p7139087.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Locked out :(

2011-12-21 Thread Ludovic Dubost
You just need to comment it out and restart your wiki.. you can then login
with "superadmin" and the password set

Ludovic

2011/12/21 Paul Libbrecht 

> there used to be a superadmin setting in xwiki.cfg which is commented out
> by default.
> In MySQL, you'd have to find the right record for the value of the admin's
> password.
> paul
>
> Le 21 déc. 2011 à 15:21, Kjartan Hauksson a écrit :
>
> > So, I managed to lock myself out of my xwiki site. Is there a way I can
> > reset the rights in mysql ?
> >
> > Regards
> > -Kjartan
> > ___
> > 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Announcement] XWiki Enterprise 3.3 and XWiki Enterprise Manager 3.3 Released

2011-12-17 Thread Ludovic Dubost
2011/12/17 Eugen Colesnicov 

> Thanks for great job!
> Especially for the Oracle support! Also AppWithinMinutes looks very
> interesting - I will start "to feel" it!
>
> Also, regarding to your discussion about 3.4 roadmap and 3.x cycle, I want
> one more time to focus you at an older problem - supporting of russian
> symbols (or other non-latin characters, spaces and special symbols) in
> attachment names.
>
> Interesting moment. If you using office importer and your office-file named
> in russian, and your file contains some pictures, when wiki-page creates -
> ALL PICTURE ATTACHMENT FILENAMES WRITTEN ON RUSSIAN WITHOUT ANY PROBLEM! I
> can download them, get link, etc.
>
> According to this I can make a conclusion, that supporting of non-latin
> attachment filenames is ALREADY DONE ON A PLATFORM LEVEL. And, right now,
> for my opinion, NEED ONLY SMALL STEP - DELETE FUNCTION OF CUTTING NON-LATIN
> SYMBOLS FROM ATTACHMENT FILENAMES DURING NORMAL ATTACH PROCESS.
>
>
Good point, maybe a patch could be provided that deactivates this stripping
using a configuration setting.
I would vote +1 to include it asap in the platform.

Ludovic




> Please, include this issue in your roadmap of 3.x cycle! This is really
> important thing - because without this XWiki cannot named as "multilanguage
> web platform". ALL OTHER MODERN WEB-PLATFORMS ALREADY HAVE THIS FUTURE...
> Only XWiki lagging ...
>
>
> --
> Best regards
> Eugen Colesnicov
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Announcement-XWiki-Enterprise-3-3-and-XWiki-Enterprise-Manager-3-3-Released-tp7103443p7103549.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [Announcement] XWiki Enterprise 3.3 and XWiki Enterprise Manager 3.3 Released

2011-12-17 Thread Ludovic Dubost
Great work team. This is a major release for XWiki with major innovations
with App Within Minutes and Extension Manager as well as Workspaces in
XWiki Enterprise Manager.

We'd love to see a lot of testing of the new features to make them go
primetime in 3.4 and 3.5.

These features will rock the XWiki World in 2012 !

Ludovic

2011/12/17 Sergiu Dumitriu 

> The XWiki development team is proud to announce the availability of XWiki
> Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and XWiki
> Enterprise Manager 3.3.
>
> Following the goals established for the 3.x cycle, XWiki Enterprise 3.3
> delivers the first usable but experimental versions of App Within Minutes
> and Extension Manager features. The highlights of this release are:
>
> * Experimental "App Within Minutes" feature
> * Improved Extension Manager
> * Automatic external link checker
> * Better support for exporting CJK documents as PDF
> * LDAP user membership improvements
> * Attachment handling improvements
> * Debian packages for installing XWiki
>
> See the full release notes at http://www.xwiki.org/xwiki/**
> bin/ReleaseNotes/**ReleaseNotesXWikiEnterprise33<http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise33>for
>  more details.
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> __**_
> devs mailing list
> d...@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/devs<http://lists.xwiki.org/mailman/listinfo/devs>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Pie chart from a property of a form

2011-12-14 Thread Ludovic Dubost
You need to make a wiki table using a velocity script by counting by
statuses
Then you ask for a pie chart for this table.

Ludovic

Le 14 décembre 2011 15:46, Stéphanie  a écrit
:

> Hello everyone,
>
> That seems a bit difficult for me but I really need to do this. I'm working
> on my survey, so everytime a member press the button to answer the survey,
> a
> page is created using my class "SurveyClass". In this class, there is a
> field "status".
>
> I need to do draw a chart on a page (a sort of dashboard) where I want to
> know how much pages I have with each status.
>
> So is there a way to have the value of the field "status" for every page in
> the space "Survey" ?
>
> If yes, how ?
>
> Thank you very much for all who will help me.
>
> Best regards,
> Stéphanie
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Pie-chart-from-a-property-of-a-form-tp7093755p7093755.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Each sub-wiki has own storage location... is it possible?

2011-12-09 Thread Ludovic Dubost
You would probably have to patch this module

https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-filesystem-attachments/src/main/java/org/xwiki/store/filesystem/internal/DefaultFilesystemStoreTools.java

Which returns the file with which to work. You should then read some
preferences from xwiki.properties and use that depending on the wiki you
are in.
Some refactoring is probably needed as the variable storageDir is used
widely and should probably be replaced by a getStorageDir()
The wiki name can be found in the ExecutionContext.

Ludovic

2011/12/9 Haru Mamburu 

> "Thanks, now all you need is to attach the patch or issue a git pull
> request :)"
>
> Welcome, but still kindly ask you to clarify what exactly to do :)
> I got lost a bit :(
>
> Thanks a lot,
>
> Dmitry
>
>
> 09 декабря 2011, 13:09 от Vincent Massol :
> > Hi Haru,
> >
> > On Dec 9, 2011, at 6:34 AM, Haru Mamburu wrote:
> >
> > > Thanks a lot, Vincent,
> >
> > Nice, I get credit even when I don't speak :)
> >
> > > I issued a feature request,
> > > http://jira.xwiki.org/browse/XE-1061
> >
> > Thanks, now all you need is to attach the patch or issue a git pull
> request :)
> >
> > Cheers,
> > -Vincent
> >
> > > Kind Regards
> > >
> > > Dmitry
> > >
> > >
> > > 09 декабря 2011, 09:16 от Ludovic Dubost :
> > >> I don't think it has been done but it shouldnt be a difficult patch
> > >>
> > >> Ludovic
> > >>
> > >> Envoyé de mon iPhone
> > >>
> > >> Le 8 déc. 2011 à 23:01, Haru Mamburu  a écrit :
> > >>
> > >>>
> > >>> Does anyone has a clue?
> > >>>
> > >>>
> > >>> 04 декабря 2011, 06:50 от Haru Mamburu :
> > >>>
> > >>>
> > >>>
> > >>> Hi, all!
> > >>>
> > >>> For now we have a possibility to move wiki's filestorage easily by
> changing path in config file. Cool!
> > >>>
> > >>> In multi-sub-wiki environment it looks very useful (sometimes) to
> split common storage and move sub-wiki's storage to other place.
> > >>>
> > >>> Is there any simple way to set location of each sub-wiki's storage?
> If not, is it easy to implement?
> > >>>
> > >>> Kind Regards
> > >>>
> > >>> Dmitry Bakbardin
> > >>>
> > >>> ___
> > >>> 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Push on translations

2011-12-08 Thread Ludovic Dubost
Thanks. Will check the broken links

Ludovic

Envoyé de mon iPhone

Le 8 déc. 2011 à 23:00, Haru Mamburu  a écrit :

> Hi!
> 
> I fixed Russian translation both for XE and Wiki Manager. 
> Some links look broken in the right panel "Supported Languages for XE", what 
> may lead to misunderstanding especially for new users.
> Also "Best XE Contributors" left panel is still in TODO list. :-)
> 
> Kind Regards,
> 
> Dmitry Bakbardin
> 
> 
> 
> 08 декабря 2011, 12:49 от Ludovic Dubost :
>> Hi XWiki devs and users,
>> 
>> I think we need to make a push on translations. We have about 150
>> translations that are not yet available in
>> 
>> French
>> German
>> Latvian
>> Russian
>> Swedish
>> 
>> Otherwise we have the following language that would need a small push to
>> get complete:
>> 
>> Spanish (es) 459 translations
>> Czech (cs) 258 translations
>> Traditional Chinese (zh_TW) 641
>> Catalan 863
>> 
>> It would be great to get some contributors for
>> 
>> Italian
>> Portugese
>> Dutch
>> 
>> Any help is welcome to get this down. If you want to help you can go to
>> http://l10n.xwiki.org
>> If we get the translations numbers under 250 we'll make sure we get the
>> translations in the distribution.
>> 
>> Ludovic
>> 
>> --
>> Ludovic Dubost
>> Founder and CEO
>> Blog: http://blog.ludovic.org/
>> XWiki: http://www.xwiki.com
>> Skype: ldubost GTalk: ldubost
>> ___
>> 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] Each sub-wiki has own storage location... is it possible?

2011-12-08 Thread Ludovic Dubost
I don't think it has been done but it shouldnt be a difficult patch

Ludovic

Envoyé de mon iPhone

Le 8 déc. 2011 à 23:01, Haru Mamburu  a écrit :

> 
> Does anyone has a clue?
> 
> 
> 04 декабря 2011, 06:50 от Haru Mamburu :
> 
> 
> 
> Hi, all!
> 
> For now we have a possibility to move wiki's filestorage easily by changing 
> path in config file. Cool!
> 
> In multi-sub-wiki environment it looks very useful (sometimes) to split 
> common storage and move sub-wiki's storage to other place.
> 
> Is there any simple way to set location of each sub-wiki's storage? If not, 
> is it easy to implement?
> 
> Kind Regards
> 
> Dmitry Bakbardin
> 
> ___
> 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] Push on translations

2011-12-08 Thread Ludovic Dubost
Hi XWiki devs and users,

I think we need to make a push on translations. We have about 150
translations that are not yet available in

French
German
Latvian
Russian
Swedish

Otherwise we have the following language that would need a small push to
get complete:

Spanish (es) 459 translations
Czech (cs) 258 translations
Traditional Chinese (zh_TW) 641
Catalan 863

It would be great to get some contributors for

Italian
Portugese
Dutch

Any help is welcome to get this down. If you want to help you can go to
http://l10n.xwiki.org
If we get the translations numbers under 250 we'll make sure we get the
translations in the distribution.

Ludovic

-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Extending XWiki collaboration toolset

2011-11-30 Thread Ludovic Dubost
I'll check it out. Thanks a lot for this effort

Ludovic

2011/11/29 Roman Muntyanu 

> Hello Ludovic,
>
>   It took me a month to gather all of the material in one place, so sorry
> for delay with the reply :)
>   I've prepared a presentation describing my vision of how collaboration
> wikis will change in next few decades
>http://prezi.com/nymm70tfdird/next-gen-collaboration-wikis/
>   Hope that effort was not in vain, and you will find something useful
> that will help to make XWiki better.
>
> Regards,
>  Roman
>
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
> Of Ludovic Dubost
> Sent: Tuesday, October 18, 2011 18:27 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Extending XWiki collaboration toolset
>
> I'm not so positive about this. The technology behind the LibreOffice
> Online version is a bit tricky and it's not clear how it will work
> effectively.
> We should wait and see.
>
> Some thing for Wave, it's not clear how it will be developped in the
> future and it seems that the Google experience had shown that the way they
> mixed Inbox + Editing Documents + Chat was not the correct solution (beyond
> the real time technology in it).
>
> In any case integrating editors for advanced formats is definitively
> interesting and is something we should look at.  We have the Resilience
> Research Project (starting in 2012) on which it is planned to work on Rich
> Web Editors. More on it will come before the end of the year. It will
> include work on Spreadsheet editors. If anybody knows of good Web based
> editors for popular formats that we should look at, tell us.
>
> As for real-time this is very interesting also. We have the Wiki 3.0
> project (https://wiki30.xwikisas.com/xwiki/bin/view/Main/WebHome in
> French) where XWiki SAS is doing some work with the INRIA LORIA on
> integrating real time in the Wysiwyg editor (with technologies similar to
> Wave). This is work in progress.
>
> I'd love to hear from our devs and users what they think we should have in
> this area ?
>
> Ludovic
>
> 2011/10/18 Guillaume Lerouge 
>
> > Hi,
> >
> > I think that this is an interesting and valid point. In the same way
> > that users can get a preview of OOo-supported attached files right
> > now, we could integrate use OOo's upcoming HTML5 version in XWiki
> > (when it's ready). From this article:
> >
> > http://www.theregister.co.uk/2011/10/17/libreoffice_porting_ios_androi
> > d_cloud/
> > :
> >
> > *The LibreOffice Online cloud software is built around HTML5 Canvas
> > and the
> > GTK+ framework with JavaScript shims, and was developed by SUSE's
> > GTK+ Michael
> > Meeks and RedHat's Alex Laarson. It allows complex text layout, large
> > spreadsheets, WYSIWYG editing, VBA macros, and pivot tables, with the
> > server side taking almost the entire processor load.*
> >
> >
> > So that would seem to answer your initial issue :-) You could upload a
> > .odt file, edit it online from the wiki, save it and it would be
> > viewable from the wiki or re-downloadable at will.
> >
> > Guillaume
> >
> > On Mon, Oct 17, 2011 at 9:17 PM, Eugen Colesnicov
> >  > >wrote:
> >
> > >
> > > coldserenity wrote:
> > > >
> > > >... the UX of the Wave (in this particular case and because
> > > > Wave is
> > a
> > > > specialized tool) is superior.
> > > >
> > >
> > > I am not agree with you. Good idea - but realisation - terrible!
> > > 1. Google used some special interface functions - they thinking,
> > > that
> > these
> > > possibilities will be web-standarts - but they got a mistake. For
> > > this reason, Wave working quickly and without problems only on
> > > Google Chrome (only this browser supports all these non-standart
> functions).
> > > 2. Try Wave with Firefox at simple computer (netbook for example) -
> > cannot
> > > work on big waves (hundred messages)!!! I press one button and
> > > waiting
> > 3-5
> > > secunds per each symbol. It is not problem of notebook - Windows 7,
> > > MS Office working great and quickly!
> > > 3. Too many errors on scripts - every 5 minutes I got error - script
> > > bla-bla-bla stopped!
> > >
> > > I have experience with Google Wave with big waves of hundreds waves
> > > - for this reason I known what I said.
> > >
> > >   However it's not the Wave I was trying to prom

[xwiki-users] Meetup in London ?

2011-11-28 Thread Ludovic Dubost
Hi,

I will be in London tomorrow until thursday. We will be (with Guillaume
Lerouge) at the Online Information Show at the National Hall, Olympia (
http://www.online-information.co.uk/)
If there are some XWiki users that would like to meetup in London either
Tuesday or Wednesday night, please give ring us.

Ludovic

-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Importing from another wiki

2011-11-21 Thread Ludovic Dubost
2011/11/21 Ludovic Dubost 

>
> I see, it seems markdown has a interesting way of expressing the syntax
> for numbered lists:
>
> From the sample they have (http://daringfireball.net/projects/markdown/)
> This for example
>
> 1.  Copy the "Markdown.pl" file into your Movable Type "plugins"
>   directory. The "plugins" directory should be in the same directory
>   as "mt.cgi"; if the "plugins" directory doesn't already exist, use
>   your FTP program to create it. Your installation should look like
>   this:
>
> (mt home)/plugins/Markdown.pl
>
> 2.  Once installed, Markdown will appear as an option in Movable Type's
>   Text Formatting pop-up menu. This is selectable on a per-post basis:
>   
>   ![Screenshot of Movable Type 'Text Formatting' Menu][tfmenu]
>   
>   Markdown translates your posts to HTML when you publish; the posts
>   themselves are stored in your MT database in Markdown format.
>
>
>
I forgot to say that the syntax here is converted into an ordered list will
all the content being inside the list item.


> In XWiki's case we would have to embed the content of the list into (((
> ))) to make sure the ordered lists continues
> Our XHTML converter would have to support this
>
> Ludovic
>
> 2011/11/21 Jesse Hathaway 
>
>> Ludovic Dubost  writes:
>>
>> >
>> > I believe this is because this specific html is not properly converted.
>> > The text between each numbered item is getting out of the list item,
>> > breaking the ordered list and therefore the numbering.
>> >
>> > This is coming from another wiki ?  Which wiki is that and which syntax
>> was
>> > it using ?
>>
>> I am moving from ikiwiki, these pages where in Markdown syntax which I
>> converted
>> to xhtml using pandoc, http://johnmacfarlane.net/pandoc/
>>
>> -Jesse
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>


-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Importing from another wiki

2011-11-21 Thread Ludovic Dubost
I see, it seems markdown has a interesting way of expressing the syntax for
numbered lists:

>From the sample they have (http://daringfireball.net/projects/markdown/)
This for example

1.  Copy the "Markdown.pl" file into your Movable Type "plugins"
directory. The "plugins" directory should be in the same directory
as "mt.cgi"; if the "plugins" directory doesn't already exist, use
your FTP program to create it. Your installation should look like
this:

(mt home)/plugins/Markdown.pl

2.  Once installed, Markdown will appear as an option in Movable Type's
Text Formatting pop-up menu. This is selectable on a per-post basis:

![Screenshot of Movable Type 'Text Formatting' Menu][tfmenu]

Markdown translates your posts to HTML when you publish; the posts
themselves are stored in your MT database in Markdown format.


In XWiki's case we would have to embed the content of the list into ((( )))
to make sure the ordered lists continues
Our XHTML converter would have to support this

Ludovic

2011/11/21 Jesse Hathaway 

> Ludovic Dubost  writes:
>
> >
> > I believe this is because this specific html is not properly converted.
> > The text between each numbered item is getting out of the list item,
> > breaking the ordered list and therefore the numbering.
> >
> > This is coming from another wiki ?  Which wiki is that and which syntax
> was
> > it using ?
>
> I am moving from ikiwiki, these pages where in Markdown syntax which I
> converted
> to xhtml using pandoc, http://johnmacfarlane.net/pandoc/
>
> -Jesse
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Importing from another wiki

2011-11-18 Thread Ludovic Dubost
I believe this is because this specific html is not properly converted.
The text between each numbered item is getting out of the list item,
breaking the ordered list and therefore the numbering.

This is coming from another wiki ?  Which wiki is that and which syntax was
it using ?

Ludovic

2011/11/19 Jesse Hathaway 

> Ludovic Dubost  writes:
>
> >
> > If you are pasting HTML you should use the paste button in the Wysiwyg
>
> That does seem to work somewhat better, but it still formats incorrectly,
> for
> instance for the document below the numbering is incorrect.
>
> Thanks, Jesse
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";>
> 
>  
>  
>  
> 
> 
> Debian Kernel Compile
> 
> Get build tools
> sudo apt-get install kernel-package libncurses-dev fakeroot
> wget bzip2
> 
> Build sarge kernel
> apt-get -t sarge-backports install kernel-package ncurses-dev \
>  fakeroot wget bzip2
> 
> Get source
> cd /usr/src
> 
> If neeeded grab prepatch and/or snapshot
> pre_patch_ver=2.6.27-rc7
> wget
> http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-${pre_patch_ver}.bz2
>
> snapshot_ver=2.6.27-rc7-git5
> wget
> http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-${snapshot_ver}.bz2
> 
> If using prepatch get base kernel for the previouse version of the
> kernel
> e.g. 2.6.20 not 2.6.20.4
> cd /usr/src
> kernel_ver=2.6.38
> wget
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-${kernel_ver}.tar.bz2
> tar -xf /usr/src/linux-${kernel_ver}.tar.bz2
> 
> Apply prepatch and/or snapshot
> dry run
> cd linux-${kernel_ver}
> bzcat ../patch-${pre_patch_ver}.bz2|patch -p1 --dry-run
> bzcat ../patch-${snapshot_ver}.bz2|patch -p1 --dry-run
> 
> apply
> cd linux-${kernel_ver}
> bzcat ../patch-${pre_patch_ver}.bz2|patch -p1
> bzcat ../patch-${snapshot_ver}.bz2|patch -p1
> 
> Configure kernel source based on previous kernel
> cd /usr/src
> rm linux
> ln -s linux-${kernel_ver} linux
> cd linux
> cp /boot/config-$(uname -r) .config
> make oldconfig
> 
> Compile
> cd /usr/src/linux
> make-kpkg clean
> make-kpkg --revision 1 --append_to_version "-$(date +%G%m%d)" \
>  --initrd kernel_image kernel_headers
> 
> Install
> dpkg -i ../linux-image-${kernel_ver}-$(date +%G%m%d)_1_i386.deb
> 
> modules compilation e.g.: madwifi
> make-kpkg modules_clean
> make-kpkg --revision 1 --append_to_version "-$(date +%G%m%d)"
> --initrd
> --added-modules madwifi modules_image
> 
> alsa compilation
> make-kpkg --revision 1 --append_to_version '-20040117 --initrd
> modules_image
>
> export ALSA_CARDS=emu10k1x
> make-kpkg --revision 1 --append_to_version '-20040117 --initrd
> modules_image
>
> MKIMAGE='genromfs -f /dev/fd/1 -d %s | gzip -9 > %s'
> MKIMAGE="genromfs -d %s -f %s"
> MKIMAGE='genromfs -d %s -f /boot/initrd.tmp.$$ > /dev/null; gzip -c -9
> /boot/initrd.tmp.$$ > %s'
> MKIMAGE='genromfs -d %s -f /tmp/initrd.tmp.$$ > /dev/null; gzip -c -9
> /tmp/initrd.tmp.$$ > %s; rm /tmp/initrd.tmp.$$'
>
> CONFIG_BLK_DEV_RAM=y (section "Block Devices")
> CONFIG_BLK_DEV_INITRD=y
> CONFIG_BLK_DEV_RAM_SIZE=32768 (huge ram disk)
>
> CONFIG_ROMFS_FS=y(section "Filesystems")
>
> RAMDISK: incomplete write (-28 != 32768) 8388608
>
> CONFIG_DEVFS NO
> 
> 
> 
> 
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Importing from another wiki

2011-11-18 Thread Ludovic Dubost
There is however an XWiki syntax which gives slightly the same result as
your html by using the ((( ))) around the sub-text of each list item

1. Get build tools (((
{{{sudo apt-get install kernel-package libncurses-dev fakeroot wget bzip2
}}} )))
1. Build sarge kernel ((({{{apt-get -t sarge-backports install
kernel-package ncurses-dev \
 fakeroot wget bzip2
}}} )))
1. Get source ((({{{cd /usr/src
}}} )))

But it's clear the converter does not convert this specific html to that
wiki syntax
This could be reported as a bug in jira.xwiki.org

Ludovic

2011/11/19 Ludovic Dubost 

>
> I believe this is because this specific html is not properly converted.
> The text between each numbered item is getting out of the list item,
> breaking the ordered list and therefore the numbering.
>
> This is coming from another wiki ?  Which wiki is that and which syntax
> was it using ?
>
> Ludovic
>
> 2011/11/19 Jesse Hathaway 
>
>> Ludovic Dubost  writes:
>>
>> >
>> > If you are pasting HTML you should use the paste button in the Wysiwyg
>>
>> That does seem to work somewhat better, but it still formats incorrectly,
>> for
>> instance for the document below the numbering is incorrect.
>>
>> Thanks, Jesse
>>
>> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> http://www.w3.org/1999/xhtml";>
>> 
>>  
>>  
>>  
>> 
>> 
>> Debian Kernel Compile
>> 
>> Get build tools
>> sudo apt-get install kernel-package libncurses-dev fakeroot
>> wget bzip2
>> 
>> Build sarge kernel
>> apt-get -t sarge-backports install kernel-package ncurses-dev \
>>  fakeroot wget bzip2
>> 
>> Get source
>> cd /usr/src
>> 
>> If neeeded grab prepatch and/or snapshot
>> pre_patch_ver=2.6.27-rc7
>> wget
>> http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-${pre_patch_ver}.bz2
>>
>> snapshot_ver=2.6.27-rc7-git5
>> wget
>> http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-${snapshot_ver}.bz2
>> 
>> If using prepatch get base kernel for the previouse version of the
>> kernel
>> e.g. 2.6.20 not 2.6.20.4
>> cd /usr/src
>> kernel_ver=2.6.38
>> wget
>> http://www.kernel.org/pub/linux/kernel/v2.6/linux-${kernel_ver}.tar.bz2
>> tar -xf /usr/src/linux-${kernel_ver}.tar.bz2
>> 
>> Apply prepatch and/or snapshot
>> dry run
>> cd linux-${kernel_ver}
>> bzcat ../patch-${pre_patch_ver}.bz2|patch -p1 --dry-run
>> bzcat ../patch-${snapshot_ver}.bz2|patch -p1 --dry-run
>> 
>> apply
>> cd linux-${kernel_ver}
>> bzcat ../patch-${pre_patch_ver}.bz2|patch -p1
>> bzcat ../patch-${snapshot_ver}.bz2|patch -p1
>> 
>> Configure kernel source based on previous kernel
>> cd /usr/src
>> rm linux
>> ln -s linux-${kernel_ver} linux
>> cd linux
>> cp /boot/config-$(uname -r) .config
>> make oldconfig
>> 
>> Compile
>> cd /usr/src/linux
>> make-kpkg clean
>> make-kpkg --revision 1 --append_to_version "-$(date +%G%m%d)" \
>>  --initrd kernel_image kernel_headers
>> 
>> Install
>> dpkg -i ../linux-image-${kernel_ver}-$(date +%G%m%d)_1_i386.deb
>> 
>> modules compilation e.g.: madwifi
>> make-kpkg modules_clean
>> make-kpkg --revision 1 --append_to_version "-$(date +%G%m%d)"
>> --initrd
>> --added-modules madwifi modules_image
>> 
>> alsa compilation
>> make-kpkg --revision 1 --append_to_version '-20040117 --initrd
>> modules_image
>>
>> export ALSA_CARDS=emu10k1x
>> make-kpkg --revision 1 --append_to_version '-20040117 --initrd
>> modules_image
>>
>> MKIMAGE='genromfs -f /dev/fd/1 -d %s | gzip -9 > %s'
>> MKIMAGE="genromfs -d %s -f %s"
>> MKIMAGE='genromfs -d %s -f /boot/initrd.tmp.$$ > /dev/null; gzip -c -9
>> /boot/initrd.tmp.$$ > %s'
>> MKIMAGE='genromfs -d %s -f /tmp/initrd.tmp.$$ > /dev/null; gzip -c -9
>> /tmp/initrd.tmp.$$ > %s; rm /tmp/initrd.tmp.$$'
>>
>> CONFIG_BLK_DEV_RAM=y (section "Block Devices")
>> CONFIG_BLK_DEV_INITRD=y
>> CONFIG_BLK_DEV_RAM_SIZE=32768 (huge ram disk)
>>
>> CONFIG_ROMFS_FS=y(section "Filesystems")
>>
>> RAMDISK: incomplete write (-28 != 32768) 8388608
>>
>> CONFIG_DEVFS NO
>> 
>> 
>> 
>> 
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>


-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Importing from another wiki

2011-11-18 Thread Ludovic Dubost
If you are pasting HTML you should use the paste button in the Wysiwyg

Ludovic

2011/11/18 Jesse Hathaway 

> Thomas Mortagne  writes:
> > >  1. Does anyone have any ideas why this is failing?
> >
> > What do you mean by failing and what result to you get exactly ?
>
> These are the steps I made:
>
>  1. Paste the html into the edit window
>  2. Choose XWiki 2.0 from the Document Syntax Window
>  3. Choose OK to convert document.
>  4. Then I receive the following error:
>
> Failed to convert to the selected syntax. If you want to use this syntax
> anyway,
> you can select it again and choose not to perform the conversion.
>
> This is the document I pasted
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";>
> 
>  
>  
>  
> 
> 
> Fonts in Java
> Opentype fonts are not supported on Oracle JDK 1.6.0. You have to
> convert the
> font to a truetype font using fontforge. Java appears to use fontconfig to
> locate fonts. However it uses its own private copy, which often has bugs or
> features missing from your distro supplied version.
> Mac OS X and Linux process the fonts differently. Mac seems more
> forgiving of
> bad font metadata. As an example, for one particular font I had to tweak
> the
> meta data until the individual fonts, italic bold etc, appeared as one
> font in
> Linux, i.e. as a single family. They need to appear as a single family for
> Java
> to properly use differnt faces of a font, e.g. italic.
> Adding fonts
> You can store the fonts in any of the font config search paths,
> including a
> per user directory:
> cat > ~/.fonts.conf <<EOF
><?xml version="1.0"?>
><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
><fontconfig>
><!-- Private font directory -->
><dir>~/fonts</dir>
></fontconfig>
>EOF
> 
> NOTE: For the per user directory to work the $HOME
> environment variable must be set.
> Listing available fonts
> Use the below java code to verify that a font has been made available in
> java:
> cat > ListFonts.java <<EOF
>import java.awt.GraphicsEnvironment;
>
>public class ListFonts {
>  public static void main(String args[]){
>GraphicsEnvironment e =
> GraphicsEnvironment.getLocalGraphicsEnvironment();
>for(String font:e.getAvailableFontFamilyNames()){
>  System.out.println(font);
>}
>  }
>}
>EOF
>javac ListFonts.java
>java ListFonts
> 
> 
> 
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] list of tags for a document?

2011-11-17 Thread Ludovic Dubost
Hi,

Actually there is an easy solution. It is possible to use fields from a
different class than the main class:
Do it like this

"tags" : { "type" : "none", "link" : "view",  "filterable" : false,
"sortable": false, "class" : "XWiki.TagClass" },

However please note that there are some limitations (I'm not sure filtering
or sorting works for a field from a different class).
Also you might want to change the display separate value in the class
XWiki.TagClass (to a ,)

Ludovic


2011/11/17 Chris Quenelle 

>
> I basically have an "FAQ Application" created similar to the application
> demo on the web site.  I have tagged my FAQ entries with tags, and I can
> use the tag cloud to filter items in the livetable display.
>
> Now I'd like to add a column which holds the list of tags for each
> FAQ document.
>
> In the livetable examples, I can see example columns like
> "doc.date", but I don't think there is a "doc.tags".
>
> So I think I want to know:
> How do I put an arbitrary expression in a livetable?
> How do I write an arbitrary expression in velocity that access
> the Java API that I found for tags?
>
> Are those the questions I should be asking?  :-)
>
> --chris
>
>
>
>
> On Wednesday November 16, at2:28PM, Ludovic Dubost wrote:
>
> > What do you mean by translating this into a livetable context ?
> > What do you want to achieve ?
> >
> > Ludovic
> >
> > 2011/11/16 Chris Quenelle 
> >
> >>
> >> The "tag page" doesn't have an example of getting the list of tags
> >> from a document.
> >>
> >> I found this in the API document:
> >>
> >>   public List getTagsFromDocument(String documentName) throws
> >> XWikiException
> >>
> >> Can anyone suggest how to translate this into a livetable/velocity
> context?
> >> Here's my code:
> >>
> >> {{velocity}}
> >> #set($columns = ["Task", "Recipe"])
> >> #set($columnsProperties = {
> >>   "Task" : { "type" : "text", "link" : "view", "html" : "true",
> >> "sortable":true },
> >>   "Recipe" : { "type" : "text", "link" : "view", "html" : "true",
> >> "sortable":true }
> >> })
> >> #set($options = {
> >>  "className":"AdminFAQ.FAQClass",
> >>  "translationPrefix" : "faq.",
> >>  "tagCloud" : true,
> >>  "rowCount": 10,
> >>  "tags": "true"
> >> })
> >> #livetable("faq" $columns $columnsProperties $options)
> >> {{/velocity}}
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Wednesday November 16, at12:14PM, Vincent Massol wrote:
> >>
> >>> Hi Chris,
> >>>
> >>> On Nov 16, 2011, at 8:23 PM, Chris Quenelle wrote:
> >>>
> >>>> In velocity, what is the way to get the list of tags for a given
> >> document?
> >>>> I could look at the code which implements my current skin, because it
> >> shows tags,
> >>>> but I don't know where that is.
> >>>
> >>> Add a tag in your wiki on a page
> >>> Click on the tag in the tagcloud on the home page
> >>> Edit the page to see what it does :)
> >>>
> >>> For ex:
> >>> http://localhost:8080/xwiki/bin/view/Main/Tags?do=viewTag&tag=test
> >>>
> >>> You'll see there's a Tag Plugin:
> >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Plugin
> >>>
> >>> Hope it helps,
> >>> -Vincent
> >>>
> >>>> I found these pages, but they didn't help:
> >>>> http://www.xwiki.org/xwiki/bin/view/Main/Tags
> >>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
> >>>>
> >>>> I have a livetable showing documents, and I want to show the tags for
> >> the document
> >>>> as a table column.
> >>>>
> >>>> --chris
> >>> ___
> >>> 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
> >>
> >
> >
> >
> > --
> > Ludovic Dubost
> > Founder and CEO
> > Blog: http://blog.ludovic.org/
> > XWiki: http://www.xwiki.com
> > Skype: ldubost GTalk: ldubost
> > ___
> > 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] list of tags for a document?

2011-11-16 Thread Ludovic Dubost
What do you mean by translating this into a livetable context ?
What do you want to achieve ?

Ludovic

2011/11/16 Chris Quenelle 

>
> The "tag page" doesn't have an example of getting the list of tags
> from a document.
>
> I found this in the API document:
>
>public List getTagsFromDocument(String documentName) throws
> XWikiException
>
> Can anyone suggest how to translate this into a livetable/velocity context?
> Here's my code:
>
> {{velocity}}
> #set($columns = ["Task", "Recipe"])
> #set($columnsProperties = {
>"Task" : { "type" : "text", "link" : "view", "html" : "true",
> "sortable":true },
>"Recipe" : { "type" : "text", "link" : "view", "html" : "true",
> "sortable":true }
> })
> #set($options = {
>   "className":"AdminFAQ.FAQClass",
>   "translationPrefix" : "faq.",
>   "tagCloud" : true,
>   "rowCount": 10,
>   "tags": "true"
> })
> #livetable("faq" $columns $columnsProperties $options)
> {{/velocity}}
>
>
>
>
>
>
> On Wednesday November 16, at12:14PM, Vincent Massol wrote:
>
> > Hi Chris,
> >
> > On Nov 16, 2011, at 8:23 PM, Chris Quenelle wrote:
> >
> >> In velocity, what is the way to get the list of tags for a given
> document?
> >> I could look at the code which implements my current skin, because it
> shows tags,
> >> but I don't know where that is.
> >
> > Add a tag in your wiki on a page
> > Click on the tag in the tagcloud on the home page
> > Edit the page to see what it does :)
> >
> > For ex:
> > http://localhost:8080/xwiki/bin/view/Main/Tags?do=viewTag&tag=test
> >
> > You'll see there's a Tag Plugin:
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Plugin
> >
> > Hope it helps,
> > -Vincent
> >
> >> I found these pages, but they didn't help:
> >> http://www.xwiki.org/xwiki/bin/view/Main/Tags
> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
> >>
> >> I have a livetable showing documents, and I want to show the tags for
> the document
> >> as a table column.
> >>
> >> --chris
> > ___
> > 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] autologin without password

2011-11-12 Thread Ludovic Dubost
You cannot use an empty password as this is blocked in the authentication
system.
But as Caleb says you can use any password as long as it is set for that
user.

Then you can pass the username and password in the URL like the login form
would

Ludovic

2011/11/11 Legeinfo 

> Hi!
> It is possible to login in xwiki as a user without password? I want to link
> from a software in my Hospital to xwiki. The only variable a have is the
> real-name and user-name. I think about a login via velocity script with a
> special admin user/password as a bridge component.
>
> Hospital system --> xwiki
> username "foo"   foo
>
> admin  open xwiki--->
> pasword
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/autologin-without-password-tp6986733p6986733.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread Ludovic Dubost
Well if you cannot find anything wrong from your end, you can just ignore
these errors.

Ludovic

2011/11/7 Yang Li 

> 于 2011/11/7 22:41, Ludovic Dubost 写道:
> > 2011/11/7 Yang Li 
> >
> >> 于 2011/11/7 22:10, Ludovic Dubost 写道:
> >>
> >>  Well you would need to delete the unnecessary data. It's a bit
> complicated
> >>> to explain because it really depends which one is showing up as wrong
> >>>
> >>> Ludovic
> >>>
> >>>  I failed the following two queries:
> >> select "Checking original documents that are marked translated" AS
> >> "DOCUMENT - Translations";
> >> select xwd_fullname, xwd_default_language, xwd_language from xwikidoc
> >> where (xwd_language = "" OR xwd_language IS NULL) and xwd_translation
> != 0;
> >>
> > This means that you have a document which is a translation that has no
> > language set. This is not too normal. You might want to check that
> document
> > and verify it's translations.
> >
> >
> Our site use zh, not multilanguage. Where to define the language set and
> how to check the document's translations?
>
> >> select "Checking orphaned translated document (without an original
> >> document)" AS "DOCUMENT - Translations";
> >> select tdoc.xwd_fullname, tdoc.xwd_default_language, tdoc.xwd_language
> >> from xwikidoc as tdoc left join xwikidoc as doc on doc.xwd_fullname =
> >> tdoc.xwd_fullname and tdoc.xwd_id != doc.xwd_id and doc.xwd_translation
> !=
> >> 1 where tdoc.xwd_translation = 1 and doc.xwd_translation IS NULL;
> >>
> > This means you would have a translated document in the database for which
> > the main document (main language one) is not existing. These pages are
> not
> > reachable I believe.
> >
>
> These pages are fully reachable...We created these pages by creating a
> link first and then clicking the question mark.
>
>
>
> > Ludovic
> >
> >>
> >> Several pages with Chinese as the page titles showed up. But I cannot
> >> delete them because they are important pages. How can I fix them?
> >>
> >>
> >>  2011/11/7 Yang Li
> >>>  于 2011/11/7 22:03, Ludovic Dubost 写道:
> >>>>  You probably should script deleting the feed documents. Otherwise
> you'll
> >>>>
> >>>>> only remove part of it.
> >>>>> You might have added data to additional tables and missing indexes
> show
> >>>>> the
> >>>>> problem.
> >>>>>
> >>>>> Using the Admin.Tools indexes in addition to the default ones my
> help.
> >>>>>
> >>>>> Ludovic
> >>>>>
> >>>>>  Hi, I am Yang Li, and one small question: I tried the database
> >>>> sanitycheck
> >>>> script and found there are some rows selected, which is not desirable.
> >>>> What
> >>>> I'm supposed to do?
> >>>>
> >>>> ___
> >>>> users mailing list
> >>>> users@xwiki.org
> >>>> http://lists.xwiki.org/mailman/listinfo/users<
> http://lists.xwiki.org/**mailman/listinfo/users>
> >>>> <http://**lists.xwiki.org/mailman/**listinfo/users<
> http://lists.xwiki.org/mailman/listinfo/users>
> >>>>
> >>>
> >> __**_
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/**mailman/listinfo/users<
> http://lists.xwiki.org/mailman/listinfo/users>
> >>
> >
> >
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread Ludovic Dubost
As you are mentionning Chinese, if you have some time you should help
completing the chinese translations of XWiki

http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?language=zh
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?language=zh_TW

Ludovic

2011/11/7 Yang Li 

> 于 2011/11/7 22:10, Ludovic Dubost 写道:
>
>  Well you would need to delete the unnecessary data. It's a bit complicated
>> to explain because it really depends which one is showing up as wrong
>>
>> Ludovic
>>
>>  I failed the following two queries:
>
> select "Checking original documents that are marked translated" AS
> "DOCUMENT - Translations";
> select xwd_fullname, xwd_default_language, xwd_language from xwikidoc
> where (xwd_language = "" OR xwd_language IS NULL) and xwd_translation != 0;
>
> select "Checking orphaned translated document (without an original
> document)" AS "DOCUMENT - Translations";
> select tdoc.xwd_fullname, tdoc.xwd_default_language, tdoc.xwd_language
> from xwikidoc as tdoc left join xwikidoc as doc on doc.xwd_fullname =
> tdoc.xwd_fullname and tdoc.xwd_id != doc.xwd_id and doc.xwd_translation !=
> 1 where tdoc.xwd_translation = 1 and doc.xwd_translation IS NULL;
>
>
> Several pages with Chinese as the page titles showed up. But I cannot
> delete them because they are important pages. How can I fix them?
>
>
>  2011/11/7 Yang Li
>>
>>  于 2011/11/7 22:03, Ludovic Dubost 写道:
>>>
>>>  You probably should script deleting the feed documents. Otherwise you'll
>>>
>>>> only remove part of it.
>>>> You might have added data to additional tables and missing indexes show
>>>> the
>>>> problem.
>>>>
>>>> Using the Admin.Tools indexes in addition to the default ones my help.
>>>>
>>>> Ludovic
>>>>
>>>>  Hi, I am Yang Li, and one small question: I tried the database
>>> sanitycheck
>>> script and found there are some rows selected, which is not desirable.
>>> What
>>> I'm supposed to do?
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/****mailman/listinfo/users<http://lists.xwiki.org/**mailman/listinfo/users>
>>> <http://**lists.xwiki.org/mailman/**listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>> >
>>>
>>>
>>
>>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread Ludovic Dubost
2011/11/7 Yang Li 

> 于 2011/11/7 22:10, Ludovic Dubost 写道:
>
>  Well you would need to delete the unnecessary data. It's a bit complicated
>> to explain because it really depends which one is showing up as wrong
>>
>> Ludovic
>>
>>  I failed the following two queries:
>
> select "Checking original documents that are marked translated" AS
> "DOCUMENT - Translations";
> select xwd_fullname, xwd_default_language, xwd_language from xwikidoc
> where (xwd_language = "" OR xwd_language IS NULL) and xwd_translation != 0;
>

This means that you have a document which is a translation that has no
language set. This is not too normal. You might want to check that document
and verify it's translations.


>
> select "Checking orphaned translated document (without an original
> document)" AS "DOCUMENT - Translations";
> select tdoc.xwd_fullname, tdoc.xwd_default_language, tdoc.xwd_language
> from xwikidoc as tdoc left join xwikidoc as doc on doc.xwd_fullname =
> tdoc.xwd_fullname and tdoc.xwd_id != doc.xwd_id and doc.xwd_translation !=
> 1 where tdoc.xwd_translation = 1 and doc.xwd_translation IS NULL;
>

This means you would have a translated document in the database for which
the main document (main language one) is not existing. These pages are not
reachable I believe.

Ludovic

>
>
> Several pages with Chinese as the page titles showed up. But I cannot
> delete them because they are important pages. How can I fix them?
>
>
>  2011/11/7 Yang Li
>>
>>  于 2011/11/7 22:03, Ludovic Dubost 写道:
>>>
>>>  You probably should script deleting the feed documents. Otherwise you'll
>>>
>>>> only remove part of it.
>>>> You might have added data to additional tables and missing indexes show
>>>> the
>>>> problem.
>>>>
>>>> Using the Admin.Tools indexes in addition to the default ones my help.
>>>>
>>>> Ludovic
>>>>
>>>>  Hi, I am Yang Li, and one small question: I tried the database
>>> sanitycheck
>>> script and found there are some rows selected, which is not desirable.
>>> What
>>> I'm supposed to do?
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users<http://lists.xwiki.org/**mailman/listinfo/users>
>>> <http://**lists.xwiki.org/mailman/**listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>> >
>>>
>>>
>>
>>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread Ludovic Dubost
Well you would need to delete the unnecessary data. It's a bit complicated
to explain because it really depends which one is showing up as wrong

Ludovic

2011/11/7 Yang Li 

> 于 2011/11/7 22:03, Ludovic Dubost 写道:
>
>  You probably should script deleting the feed documents. Otherwise you'll
>> only remove part of it.
>> You might have added data to additional tables and missing indexes show
>> the
>> problem.
>>
>> Using the Admin.Tools indexes in addition to the default ones my help.
>>
>> Ludovic
>>
> Hi, I am Yang Li, and one small question: I tried the database sanitycheck
> script and found there are some rows selected, which is not desirable. What
> I'm supposed to do?
>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread Ludovic Dubost
You probably should script deleting the feed documents. Otherwise you'll
only remove part of it.
You might have added data to additional tables and missing indexes show the
problem.

Using the Admin.Tools indexes in addition to the default ones my help.

Ludovic

2011/11/7 Jeremie BOUSQUET 

> I created the missing indexes for Reader as indicated, but no real change.
> I also noticed that though there are only 148 feed entries total, there are
> 4500 rows about "Reader" space in the activitystream_events table !
> Seems that the "home page" of a feed "source" is updated and a major
> version is set each time feeds are consumed - in my case, after 1 week or
> so of usage, these pages are up to version 1433.1 ... As I have 3 feeds
> sources, it explains the 4500 or such rows in activitystream_events. I
> wonder if this is expected behaviour or an issue ?
> For these reasons I prefer to stop my experiments about the new Reader
> extension for a little while ... And I will drop rows related to feeds from
> db to see if it changes something about performances.
>
> 2011/11/7 Ludovic Dubost 
>
> > You might be missing indexes for the reader table, which could cause your
> > issues.
> > You'll find information about XWiki  Feed Plugin indexes here:
> >
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/XWikiWatchSpeedup
> >
> > Ludovic
> >
> > 2011/11/7 jerem 
> >
> > > I had the same issue (very slow activity stream), and last week-end it
> > > suddenly became horribly slow (few minutes for the home page).
> > > I added missing index, checked it was ok (request indicated from 2s to
> > 0s),
> > > increased the document store cache to 2000, but it's still horribly
> slow.
> > > There are about 1 rows in table activitystream_events
> > > (activitystream_events_params is empty), including 4500 just for the
> > Reader
> > > application ! (with 3 rss feeds registered, each of them having the
> same
> > > count of rows wich seems a bit strange).
> > >
> > > What is strange about it is that for home page for example, the page
> > takes
> > > minutes to show up, and the activity stream displayed at the end is
> > almost
> > > empty : only new items are shown, as if it had "forgotten" all the past
> > > history, though activitystream table is far from empty... I really
> think
> > > something went bad about the activity streams ...
> > > Also, individual requests to activitystream_events table seem to be
> quite
> > > fast, but requests occur maybe only one per second, making the whole
> > thing
> > > very slow.
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://xwiki.475771.n2.nabble.com/Activity-performance-is-slow-tp6961805p6969811.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
> > >
> >
> >
> >
> > --
> > Ludovic Dubost
> > Founder and CEO
> > Blog: http://blog.ludovic.org/
> > XWiki: http://www.xwiki.com
> > Skype: ldubost GTalk: ldubost
> > ___
> > 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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread Ludovic Dubost
You might be missing indexes for the reader table, which could cause your
issues.
You'll find information about XWiki  Feed Plugin indexes here:

http://extensions.xwiki.org/xwiki/bin/view/Extension/XWikiWatchSpeedup

Ludovic

2011/11/7 jerem 

> I had the same issue (very slow activity stream), and last week-end it
> suddenly became horribly slow (few minutes for the home page).
> I added missing index, checked it was ok (request indicated from 2s to 0s),
> increased the document store cache to 2000, but it's still horribly slow.
> There are about 1 rows in table activitystream_events
> (activitystream_events_params is empty), including 4500 just for the Reader
> application ! (with 3 rss feeds registered, each of them having the same
> count of rows wich seems a bit strange).
>
> What is strange about it is that for home page for example, the page takes
> minutes to show up, and the activity stream displayed at the end is almost
> empty : only new items are shown, as if it had "forgotten" all the past
> history, though activitystream table is far from empty... I really think
> something went bad about the activity streams ...
> Also, individual requests to activitystream_events table seem to be quite
> fast, but requests occur maybe only one per second, making the whole thing
> very slow.
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Activity-performance-is-slow-tp6961805p6969811.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-05 Thread Ludovic Dubost
You might be fooled by the caches. Depending on what other visitors visit
and the mysql query cache, the time to redraw the page might take more or
less.
I suggest you look at the mysql queries and you run them manually with the
"NO CACHE" setting to see if the volume of data creates the slowness issue.

I think I found the issue. With the new indexes there are no indexes on the
ASE_REQUESTID column
Try running this query

select /*! SQL_NO_CACHE */ activityev0_.ase_eventid as ase1_32_,
activityev0_.ase_requestid as ase2_32_, activityev0_.ase_stream as
ase3_32_, activityev0_.ase_date as ase4_32_, activityev0_.ase_priority as
ase5_32_, activityev0_.ase_type as ase6_32_, activityev0_.ase_application
as ase7_32_, activityev0_.ase_user as ase8_32_, activityev0_.ase_wiki as
ase9_32_, activityev0_.ase_space as ase10_32_, activityev0_.ase_page as
ase11_32_, activityev0_.ase_url as ase12_32_, activityev0_.ase_title as
ase13_32_, activityev0_.ase_body as ase14_32_, activityev0_.ase_version as
ase15_32_, activityev0_.ase_param1 as ase16_32_, activityev0_.ase_param2 as
ase17_32_, activityev0_.ase_param3 as ase18_32_, activityev0_.ase_param4 as
ase19_32_, activityev0_.ase_param5 as ase20_32_ from activitystream_events
activityev0_ where
activityev0_.ase_requestid='**55616298-1320309892000-**18xovYho'
order by activityev0_.ase_date desc

If it takes even more than 0.5 second given the repetitivity of this type
of query this can lead to 10 seconds in the end.

You can see your indexes like that:

show indexes from activitystream_events;

Then create this index:

create index ase_requestid on  activitystream_events (ase_requestid(200));

and rerun the query and the activity stream.

I believe you might be better of having CheckIndexes create additional
indexes for you even if that leads to duplicated indexes, since there might
be some more missing indexes. I've sent a mail to devs to discuss why the
indexes in Admin Tools are different than the ones now automatically
created by XWiki.

Ludovic

2011/11/5 Yang Li 

> Oh, it is so weird, after logout and login, the ?xpage=contentview load
> time increased from 4 to 10
> and almost another 2 seconds with the skin...
>
>
> 于 2011/11/5 15:24, Ludovic Dubost 写道:
>
>> So that means there would be additional time consumed by something else
>>
>> than the activity stream.
>> Do you have anything special in the skin ? What does the speed look like
>> with ?skin=colibri in the URL
>>
>> Ludovic
>>
>> 2011/11/5 Yang Li
>>
>>  于 2011/11/5 15:08, Ludovic Dubost 写道:
>>>
>>>  This won't do much. How fast is the activity page with
>>> ?xpage=contentview
>>>
>>>> in the URL. This is the core activity stream time
>>>>
>>>>  Yes, I found that, no sensable improvement of the performance in an
>>>>
>>> intranet.
>>> My profile page with ?xpage=contentview is loaded about 4 seconds. Much
>>> better than 10 or 20
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users<http://lists.xwiki.org/**mailman/listinfo/users>
>>> <http://**lists.xwiki.org/mailman/**listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>> >
>>>
>>>
>>
>>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-05 Thread Ludovic Dubost
So that means there would be additional time consumed by something else
than the activity stream.
Do you have anything special in the skin ? What does the speed look like
with ?skin=colibri in the URL

Ludovic

2011/11/5 Yang Li 

> 于 2011/11/5 15:08, Ludovic Dubost 写道:
>
>  This won't do much. How fast is the activity page with ?xpage=contentview
>> in the URL. This is the core activity stream time
>>
>>  Yes, I found that, no sensable improvement of the performance in an
> intranet.
> My profile page with ?xpage=contentview is loaded about 4 seconds. Much
> better than 10 or 20
>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-05 Thread Ludovic Dubost
2011/11/5 Yang Li 

> 于 2011/11/5 13:56, Ludovic Dubost 写道:
>
>  I'm a bit confused. Is it the same install as Yang Li or a different one ?
>>
>> Are you seeing the queries in the mysql log when you reload a simple page
>> or a page with ?xpage=contentview in the URL ?
>>
>> Ludovic
>>
>> 2011/11/4 Roman 
>> Muntyanu
>> >
>>
>>  That is another guy's :)
> I am Yang Li, I tried ?xpage=contentview in the URL, no more queries! So
> the store.cache works properly!
> So, there must be some other reasons for the profile page to be slow to
> load (still 6-10 seconds) for those users with more activities.
>
> I tried to post all my configuration files (xwiki.cfg, xwiki.properties,
> hibernate.xml), but the mail size gets to large.
>
> According to http://platform.xwiki.org/**xwiki/bin/view/AdminGuide/**
> Performances<http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances>,
> I am currently trying to set up a apache server for the gzip compression
> and cache for static htmls. Hope there would be some performance
> improvement.


This won't do much. How fast is the activity page with ?xpage=contentview
in the URL. This is the core activity stream time

>
>
>  Thanks.  Example here
>>> http://www.ow2.org/view/Admin/**CheckIndexes?viewer=code<http://www.ow2.org/view/Admin/CheckIndexes?viewer=code>shows
>>>  places
>>> requiring change (for those who might need it someday)
>>>
>>> After updating the check index page it now says
>>>* Indexes created for wiki xwiki_utf8_innodb
>>>
>>> Request to Main.WebHome still takes 24 seconds for admin account.
>>>
>>> -Original Message-
>>> From: users-boun...@xwiki.org 
>>> [mailto:users-bounces@xwiki.**org]
>>> On Behalf
>>> Of Ludovic Dubost
>>> Sent: Friday, November 04, 2011 23:14 PM
>>> To: XWiki Users
>>> Cc: users@xwiki.org
>>> Subject: Re: [xwiki-users] Activity performance is slow
>>>
>>> Cache is enabled by default. It's not ehcache but JBoss cache
>>>
>>> This is probably because you don't have indexes. The Script has 3
>>> occurrences ok 'xwiki' which you should change to your db name
>>>
>>> Envoyé de mon iPhone
>>>
>>> Le 4 nov. 2011 à 21:18, 
>>> coldserenity>
>>>  a écrit :
>>>
>>>  Ludovic, thanks for the handy tips, but ... I need some more :)
>>>>
>>>> I have installed the Admin Tool and it mentioned that indexes were not
>>>> created.
>>>> So before creating indexes I have decided to upgrade table engine from
>>>> MyIsam to InnoDB as Sergiu has suggested in this post
>>>> http://xwiki.475771.n2.nabble.**com/Upgrade-to-3-2-minor-**
>>>> issues-td688396<http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-td688396>
>>>> 5.html After the change the overall time to load main XWiki page as
>>>> administrator has gone from 5 to 25 seconds. My wiki currently is 1100
>>>> documents in count and 400M in size.
>>>>
>>>> Quick questions:
>>>> * is caching enabled by default?
>>>> * is caching limiting done simply by document count or by allocated
>>>> memory (as most recent EHCache allows)?
>>>>
>>>> After the upgrade, I receive following error on "XWiki Database
>>>> Indexes Check" page
>>>>   * Failed to check indexes for wiki xwiki: Table
>>>> 'xwiki.xwikiattrecyclebin' doesn't exist I think this is related to
>>>> fact that my database name is "xwiki_utf8_innodb"
>>>> and not "xwiki", because I receive similar results on "MySQL Encoding
>>>>
>>> Check"
>>>
>>>> page
>>>>   * Failed to check xwikidoc encoding for wiki xwiki: Unknown database
>>>> 'xwiki'
>>>>   * Failed to check xwikidoc encoding or collation for wiki xwiki:
>>>> Table 'xwiki.xwikidoc' doesn't exist but I don't know where to change
>>>> that parameter to proper value - velocity scripts are overcrowded with
>>>> 'xwiki' strings.
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://xwiki.475771.n2.nabble.**com/Activity-performance-is-**
>>>> slow-tp69618<http://xwiki.475771.n2.nabble.com/Activity-performance-is-slow-tp69

Re: [xwiki-users] Activity performance is slow

2011-11-05 Thread Ludovic Dubost
It is normal that there should be some queries for the activity macro. The
results are real time.
The caching is for reading detailed document information.  It's surprising
that you are getting queries for a normal view of a page particularly with
all panels removed.

What queries do you get in the mysql log on the activity stream with
?xpage=contentview

Ludovic

2011/11/5 Yang Li 

> Wait!
> I tried a simple page with ?xpage=contentview in the URL just now with no
> more queries. However, when I tried my profile page with ?xpage=contentview
> in the URL, there are still many mysql queries and took a long time! It
> seems that the store.cache works for other pages without activity macro but
> not pages with activity macro...
>
>
> 于 2011/11/5 13:56, Ludovic Dubost 写道:
>
>> I'm a bit confused. Is it the same install as Yang Li or a different one ?
>>
>>
>> Are you seeing the queries in the mysql log when you reload a simple page
>> or a page with ?xpage=contentview in the URL ?
>>
>> Ludovic
>>
>> 2011/11/4 Roman 
>> Muntyanu
>> >
>>
>>  Thanks.  Example here
>>> http://www.ow2.org/view/Admin/**CheckIndexes?viewer=code<http://www.ow2.org/view/Admin/CheckIndexes?viewer=code>shows
>>>  places
>>> requiring change (for those who might need it someday)
>>>
>>> After updating the check index page it now says
>>>* Indexes created for wiki xwiki_utf8_innodb
>>>
>>> Request to Main.WebHome still takes 24 seconds for admin account.
>>>
>>> -Original Message-
>>> From: users-boun...@xwiki.org 
>>> [mailto:users-bounces@xwiki.**org]
>>> On Behalf
>>> Of Ludovic Dubost
>>> Sent: Friday, November 04, 2011 23:14 PM
>>> To: XWiki Users
>>> Cc: users@xwiki.org
>>> Subject: Re: [xwiki-users] Activity performance is slow
>>>
>>> Cache is enabled by default. It's not ehcache but JBoss cache
>>>
>>> This is probably because you don't have indexes. The Script has 3
>>> occurrences ok 'xwiki' which you should change to your db name
>>>
>>> Envoyé de mon iPhone
>>>
>>> Le 4 nov. 2011 à 21:18, 
>>> coldserenity>
>>>  a écrit :
>>>
>>>  Ludovic, thanks for the handy tips, but ... I need some more :)
>>>>
>>>> I have installed the Admin Tool and it mentioned that indexes were not
>>>> created.
>>>> So before creating indexes I have decided to upgrade table engine from
>>>> MyIsam to InnoDB as Sergiu has suggested in this post
>>>> http://xwiki.475771.n2.nabble.**com/Upgrade-to-3-2-minor-**
>>>> issues-td688396<http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-td688396>
>>>> 5.html After the change the overall time to load main XWiki page as
>>>> administrator has gone from 5 to 25 seconds. My wiki currently is 1100
>>>> documents in count and 400M in size.
>>>>
>>>> Quick questions:
>>>> * is caching enabled by default?
>>>> * is caching limiting done simply by document count or by allocated
>>>> memory (as most recent EHCache allows)?
>>>>
>>>> After the upgrade, I receive following error on "XWiki Database
>>>> Indexes Check" page
>>>>   * Failed to check indexes for wiki xwiki: Table
>>>> 'xwiki.xwikiattrecyclebin' doesn't exist I think this is related to
>>>> fact that my database name is "xwiki_utf8_innodb"
>>>> and not "xwiki", because I receive similar results on "MySQL Encoding
>>>>
>>> Check"
>>>
>>>> page
>>>>   * Failed to check xwikidoc encoding for wiki xwiki: Unknown database
>>>> 'xwiki'
>>>>   * Failed to check xwikidoc encoding or collation for wiki xwiki:
>>>> Table 'xwiki.xwikidoc' doesn't exist but I don't know where to change
>>>> that parameter to proper value - velocity scripts are overcrowded with
>>>> 'xwiki' strings.
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://xwiki.475771.n2.nabble.**com/Activity-performance-is-**
>>>> slow-tp69618<http://xwiki.475771.n2.nabble.com/Activity-performance-is-slow-tp69618>
>>>> 05p6964056.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<http://lists.xwiki.org/mailman/listinfo/users>
>>>>
>>> __**_
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>> __**_
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>>>
>>>
>>
>>
> __**_
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-04 Thread Ludovic Dubost
I'm a bit confused. Is it the same install as Yang Li or a different one ?

Are you seeing the queries in the mysql log when you reload a simple page
or a page with ?xpage=contentview in the URL ?

Ludovic

2011/11/4 Roman Muntyanu 

> Thanks.  Example here
> http://www.ow2.org/view/Admin/CheckIndexes?viewer=code shows places
> requiring change (for those who might need it someday)
>
> After updating the check index page it now says
>* Indexes created for wiki xwiki_utf8_innodb
>
> Request to Main.WebHome still takes 24 seconds for admin account.
>
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
> Of Ludovic Dubost
> Sent: Friday, November 04, 2011 23:14 PM
> To: XWiki Users
> Cc: users@xwiki.org
> Subject: Re: [xwiki-users] Activity performance is slow
>
> Cache is enabled by default. It's not ehcache but JBoss cache
>
> This is probably because you don't have indexes. The Script has 3
> occurrences ok 'xwiki' which you should change to your db name
>
> Envoyé de mon iPhone
>
> Le 4 nov. 2011 à 21:18, coldserenity  a écrit :
>
> > Ludovic, thanks for the handy tips, but ... I need some more :)
> >
> > I have installed the Admin Tool and it mentioned that indexes were not
> > created.
> > So before creating indexes I have decided to upgrade table engine from
> > MyIsam to InnoDB as Sergiu has suggested in this post
> > http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-td688396
> > 5.html After the change the overall time to load main XWiki page as
> > administrator has gone from 5 to 25 seconds. My wiki currently is 1100
> > documents in count and 400M in size.
> >
> > Quick questions:
> > * is caching enabled by default?
> > * is caching limiting done simply by document count or by allocated
> > memory (as most recent EHCache allows)?
> >
> > After the upgrade, I receive following error on "XWiki Database
> > Indexes Check" page
> >   * Failed to check indexes for wiki xwiki: Table
> > 'xwiki.xwikiattrecyclebin' doesn't exist I think this is related to
> > fact that my database name is "xwiki_utf8_innodb"
> > and not "xwiki", because I receive similar results on "MySQL Encoding
> Check"
> > page
> >   * Failed to check xwikidoc encoding for wiki xwiki: Unknown database
> > 'xwiki'
> >   * Failed to check xwikidoc encoding or collation for wiki xwiki:
> > Table 'xwiki.xwikidoc' doesn't exist but I don't know where to change
> > that parameter to proper value - velocity scripts are overcrowded with
> > 'xwiki' strings.
> >
> >
> >
> > --
> > View this message in context:
> > http://xwiki.475771.n2.nabble.com/Activity-performance-is-slow-tp69618
> > 05p6964056.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-04 Thread Ludovic Dubost
Cache is enabled by default. It's not ehcache but JBoss cache

This is probably because you don't have indexes. The
Script has 3 occurrences ok 'xwiki' which you should change to your db name

Envoyé de mon iPhone

Le 4 nov. 2011 à 21:18, coldserenity  a écrit :

> Ludovic, thanks for the handy tips, but ... I need some more :)
> 
> I have installed the Admin Tool and it mentioned that indexes were not
> created.
> So before creating indexes I have decided to upgrade table engine from
> MyIsam to InnoDB as Sergiu has suggested in this post
> http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-td6883965.html
> After the change the overall time to load main XWiki page as administrator
> has gone from 5 to 25 seconds. My wiki currently is 1100 documents in count
> and 400M in size. 
> 
> Quick questions:
> * is caching enabled by default?
> * is caching limiting done simply by document count or by allocated memory
> (as most recent EHCache allows)?
> 
> After the upgrade, I receive following error on "XWiki Database Indexes
> Check" page
>   * Failed to check indexes for wiki xwiki: Table
> 'xwiki.xwikiattrecyclebin' doesn't exist
> I think this is related to fact that my database name is "xwiki_utf8_innodb"
> and not "xwiki", because I receive similar results on "MySQL Encoding Check"
> page
>   * Failed to check xwikidoc encoding for wiki xwiki: Unknown database
> 'xwiki'
>   * Failed to check xwikidoc encoding or collation for wiki xwiki: Table
> 'xwiki.xwikidoc' doesn't exist
> but I don't know where to change that parameter to proper value - velocity
> scripts are overcrowded with 'xwiki' strings.
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Activity-performance-is-slow-tp6961805p6964056.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] Activity performance is slow

2011-11-04 Thread Ludovic Dubost
You have a configuration issue. You must have done something special at the
install.
Your cache system is deactivated.

Ludovic

2011/11/4 yang Li 

> I removed all the pannels, and tried to load a simple page serveral
> times, but every time there are many queries
>
>
>
> 2011/11/5, Ludovic Dubost :
> > Hi,
> >
> > This is really weird. Do you get this log of queries also when you reload
> > the page after a first load.
> > Because just the first query should not show up again a second time:
> >
> >   11 Query select xwikidocum0_.XWD_ID as XWD1_0_0_,
> > xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
> > XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
> > xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
> > xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
> > xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
> > XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
> > xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR
> >
> > So it looks like you have no cache at all. You should try also viewing a
> > simple page and see if you get queries in your log on the second reload.
> > Normally there should be done (unless you have queries in one of your
> > panels).
> >
> > [snip]
> >
> >
> > --
> > Ludovic Dubost
> > Founder and CEO
> > Blog: http://blog.ludovic.org/
> > XWiki: http://www.xwiki.com
> > Skype: ldubost GTalk: ldubost
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
> --
> Thanks for reading!
>
> Yang Li
> Electronic Engineering, Fudan University
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-04 Thread Ludovic Dubost
Hi,

This is really weird. Do you get this log of queries also when you reload
the page after a first load.
Because just the first query should not show up again a second time:

  11 Query select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR

So it looks like you have no cache at all. You should try also viewing a
simple page and see if you get queries in your log on the second reload.
Normally there should be done (unless you have queries in one of your
panels).

[snip]


-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Activity performance is slow

2011-11-04 Thread Ludovic Dubost
Have you checked the creation of database indexes ( the admin tools extension 
might help )

Ludovic

Envoyé de mon iPhone

Le 4 nov. 2011 à 08:31, Roman Muntyanu  a écrit :

> +1 (Experience the same)
> 
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
> Yang Li
> Sent: Friday, November 04, 2011 08:56 AM
> To: XWiki Users
> Subject: [xwiki-users] Activity performance is slow
> 
> Hi all,
> 
> I have XE3.2 installed on an Win2003 Server within an intranet (Tomcat+MySQL, 
> both latest versions), the hardware is good and enough memory for the jvm. 
> However, I found pages with activity (like the dashboard and user profile 
> pages) are very slow to load, usually 6-10 seconds, whereas the other pages 
> can be lowed with 2 seconds (satisfied).
> 
> Little has been found when I searched the Internet inlcluding the mailing 
> list archive.
> 
> Is it normal or abnormal? Are there any profiling tools to identify the 
> time-consuming part?
> 
> Any suggestions 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-19 Thread Ludovic Dubost
Try also to access by IP. Normally using the IP should consider you on the
default wiki for sure.

2011/10/19 Ludovic Dubost 

>
> Either you work with usepath=1 and you have rewritten URLs or you use
> usepath=0 and you will need DNS configuration.
> Now the default URL will still work, but you might need a entry for the
> default wiki. This entry might come with the wiki manager xar.
>
> Ludovic
>
> 2011/10/19 jerem 
>
>> I'll retry that asap and let you know.
>> For rewritten urls, is it normal behaviour when activating workspaces ?
>> I'd
>> need to change my proxy conf in this case (to rewrite /xwiki/bin to
>> /xwiki/wiki/xwiki).
>>
>> --
>> View this message in context:
>> http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Application-tp6908844p6909001.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
>>
>
>
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>


-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-19 Thread Ludovic Dubost
Either you work with usepath=1 and you have rewritten URLs or you use
usepath=0 and you will need DNS configuration.
Now the default URL will still work, but you might need a entry for the
default wiki. This entry might come with the wiki manager xar.

Ludovic

2011/10/19 jerem 

> I'll retry that asap and let you know.
> For rewritten urls, is it normal behaviour when activating workspaces ? I'd
> need to change my proxy conf in this case (to rewrite /xwiki/bin to
> /xwiki/wiki/xwiki).
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Application-tp6908844p6909001.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-19 Thread Ludovic Dubost
This is clearly a rights issue. You must have not given the proper rights.
Check the password or also try:

grant all on *.* to 'xwiki'@'127.0.0.1' identified by 'xwiki';
or
grant all on *.* to 'xwiki'@'localhost' identified by 'xwiki';

You might have to restart XWiki (though I don't think so in this specific
case)

Ludovic

2011/10/19 jerem 

> Hi,
>
> I migrated successfully to XWiki 3.2, and tried to install the
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application
> Workspace Application.
>
> I first installed the
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Manager+Plugin
> Wiki Manager Plugin , then the
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Component
> Workspace Component , then the
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application
> Workspace Application , browse to Install page and attached
> workspace-template.xar as indicated (and also set xwiki.virtual=1 in my
> xwiki.cfg).
>
> After restarting (and some checks that plugins were correctly installed), I
> found that :
> - unexpectedly to reach my home page now I have to use an url like this :
>  http://host:port/xwiki/*wiki/xwiki*/view/Main/
>  ..., or else it complains that this wiki does not exist. I would have
> thought that the workspace app would not have changed the urls for everyone
> ...
> - the urls generated inside the pages do not match this new url scheme, so
> they all point now to a not existing wiki
> - Browsing to WorkspaceManager.Install throws an exception in the page :
>
> Error installing workspace template. Error number 50035 in 5: Exception in
> plugin [com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin]: Wiki
> [workspacetemplate] database update failed
> Wrapped Exception: Error number 3202 in 3: Exception while reading document
> [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
> type = [SPACE], parent = [name = [workspacetemplate], type = [WIKI], parent
> = [null
> Wrapped Exception: Error number 3301 in 3: Exception while switching to
> database [workspacetemplate]
> Wrapped Exception: Access denied for user 'xwiki'@'127.0.0.1' to database
> 'workspacetemplate'
>
> I tried to grant all privileges (MySql) on *.* to my user xwiki on
> 127.0.0.1, but it did not change anything.
>
> To summarize : very good impression on xwiki 3.2, but not so good for now
> on
> workspaces :D
>
> Thanks for help,
> Jerem
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Application-tp6908844p6908844.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Extending XWiki collaboration toolset

2011-10-19 Thread Ludovic Dubost
DITA seems very rich in terms of tags. What I also find a bit complex is
that it looks like HTML, it uses some HTML tags, but it does not seem fully
html compliant.

I think macros could work but probably only for a subset of tags.

Using macros you can do

{{macroname
param1="param1value" param2="param2value" param3="param3value"}}content that
can have more macros{{/macroname}}

There is quite a lot that can be done with the params. It is possible to
have close to anything in the param values.

As for annotations, maybe Anca can help about what can receive annotation
and what not.

Ludovic

2011/10/19 jerem 

> > Do you have an example of a DITA document.
>
> I have some we use here, but if I strip any confidential info from them
> only
> the tags will remain :D
>
> I found something more exhaustive from the specs (1.0) about what can be
> put
> in the body of a topic:
> http://docs.oasis-open.org/dita/v1.0/langspec/body.html
>
> The "contains" part gives a good idea of the tags that can be managed. Of
> course the complete dita spec contains much more tags.
>
> Macros are a good idea but maybe problem is that (as far as I remember) you
> cannot annotate the content of a macro (can you ?).
> Well, I believe I'd need to think about it.
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Extending-XWiki-collaboration-toolset-tp6900649p6908603.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Extending XWiki collaboration toolset

2011-10-19 Thread Ludovic Dubost
I've tried looking at a DITA document:

http://dita2indesign.svn.sourceforge.net/viewvc/dita2indesign/trunk/dita_gutenberg_samples/dita_src/eb_vol_04_part_03_of_04/entries/entry-d1e3965.xml?revision=97&view=markup

I'm not sure it's a good example of a DITA document. The only specific tag I
can see is the "" tag.

It seems you should be able to convert a DITA document to XWiki syntax with
macros. This would probably be best done by a DITA -> XDOM converter with a
list of DITA tags that need to be converted to macros.

Maybe some of the macro content could be stored in XWiki objects to help
navigating the meta data.
Also a DITA class could be added to give the info that is in the ditamap
which lists all documents part of it.

The complexity here all depends on how many DITA specific tag you would like
to support.

Ludovic

Do you have an example of a DITA document.

2011/10/19 jerem 

> > I've heard of DITA in the past. What I'm not sure to understand is what
> is
> > the benefit of supporting DITA.
> > How do you actually model documents with DITA and suppose you are round
> > tripping back to DITA from XWiki, what do you actually do with the output
> > ?
> You model by creating documents parts as XML files (fragments, concepts in
> dita world), and you can aggregate them to form a document by creating a
> dita map file, basically a summary referencing all needed fragments. You
> generate final document (pdf, rtf, xml, whatever) through a build process
> (ant or maven) from the sources (xml/ditamap/images/...).
> Fragments content "looks like" XHTML but with dita specific tags (,
>  ...).
> For us it's quite useful as we can easily define parts that are reused
> among
> documents (terminology, contacts ...) without heavy copy/paste, and
> integrate the documentation in overall build process. It's a bit like a
> maven site, but greatly more sophisticated and adapted to projects
> technical
> documents output.
>
> Our use-case for integrating XWiki in the loop is because the people
> targeted by these documents have no easy possibility to :
> - view final documents "online"
> - add their own comments to documents before they are delivered (in an
> easier way than bug tracking on documents ...)
>
> Publication to XWiki would solve this issue... Reverting back modifications
> from XWiki to DITA format would add more collaboration by letting "end
> users" propose modifications even if they don't know much about dita.
>
> Well I realize it's a bit out-of-scope of this thread, because dita is not
> what we could call "popular". But if I investigate more on this subject
> I'll
> open a new thread (if you're interested of course).
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Extending-XWiki-collaboration-toolset-tp6900649p6907687.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
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


  1   2   3   >