Re: [xwiki-users] Reverse proxy problems

2010-04-15 Thread Niels Mayer
... Or you can use
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HModProxyAJPConfiguration
(see http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html )

example:

/etc/httpd/conf/httpd.conf :



ProxyRequests Off

## NPM: see
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HModProxyAJPConfiguration

ProxyPreserveHost On




/etc/httpd/conf.d/proxy_ajp.conf:

LoadModule proxy_ajp_module modules/mod_proxy_ajp.so


> # general redirect for Xwiki application

ProxyPass /xwiki/ ajp://127.0.0.1:8009/xwiki/


-- Niels.
http://nielsmayer.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Flash video files over 20MB errors

2010-04-15 Thread Meng Wu
Hey Sergiu,

Both of your solutions worked. Thanks!

Felix



- Original Message 
From: Sergiu Dumitriu 
To: XWiki Users 
Sent: Sun, April 11, 2010 1:32:54 PM
Subject: Re: [xwiki-users] Flash video files over 20MB errors

On 04/11/2010 06:31 PM, Meng Wu wrote:
> Sergiu,
>
> We will try that and get back to you.
>
> On another note, we were also having some slowness problems: the object 
> editing screen takes around 1 and a half minutes to upload on pages where 
> XWiki.Rights or XWiki.GlobalRights are located. Taking them out fixes the 
> problem. The access rights editing page is also slower, especially loading 
> the groups, albeit not as slow as object editing. I suspect that LDAP might 
> have something to do with it, though I am not sure. Our XWiki has exploded 
> and now hosts a huge group of people (thanks to you :) ) who are all mapped 
> by LDAP, which may slow the site down if the LDAP authentication mechanism 
> calls LDAP everytime a page is loaded, or object edited. Am I on the right 
> track here, or is this problem attributed to something else?

Probably it's because you have too many users, the rights objects by 
default list all users in a drop-down list, which takes some time to 
generate and transfer.

You should edit the XWiki.XWikiRights and XWiki.XWikiGlobalRights 
classes and unselect the Uses list option for users and groups properties.

> Thanks for your help,
>
> Felix


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


[xwiki-users] [myxwiki] XWiki Enterprise 2.3 RC1 Upgrade

2010-04-15 Thread Jean-Vincent Drean
Hello,

myxwiki.org has been upgraded to XE 2.3 RC1, if you own a wiki hosted
there you should have a look at :
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23RC1

We also strongly recommend an upgrade to the latest wiki version. To
upgrade you must download XE 2.3 RC1 XWiki XAR from :
http://www.xwiki.org/xwiki/bin/view/Main/Download
And follow the upgrade guide available at :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments

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

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


Re: [xwiki-users] Macro returning values

2010-04-15 Thread Thomas Mortagne
On Thu, Apr 15, 2010 at 17:54, stefan bachert  wrote:
> Hi,
>
> I have several macro {{macro /}}-Stil. Depending on the place inside/outside 
> a velocity macro I get could read vars changed by a macro, or not.
> This is not satifying.
>
> I try putting the value into the context with context.put
> However, this value is killed when the programming flow has left the macro
>
> How do return a value from a macro?

The exact "return a value from a macro" is impossible since macro only
produce rendering blocks, the only thing you can do is to store the
value in some context (choices are ExecutionContext, XWikiContext,
ScriptContext and VelocityContext).

Only thing you can access without programming right in velocity macro
is the VelocityContext, what you can do is put what you want to put in
your macro in the VelocityContext and you will get it has direct
binding in the following velocity macro. In java you can access the
VelocityContext from the XWikiContext using context.get("vcontext").

For example, if you do vcontext.put("myvar", myvar); you can then
access it in the following velocity macro using:

{{velocity}}
$myvar
{{/velocity}}

Now if the only job of your macro is to return something it probably
mean that what you need is a velocity macro and not a xwiki/2.0 macro.

>
> Stefan Bachert
>
>
> __
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
> gegen Massenmails.
> http://mail.yahoo.com
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


[xwiki-users] [ANN] XWiki Enterprise 2.3 Release Candidate 1 Released

2010-04-15 Thread Jean-Vincent Drean
The XWiki development team is pleased to announce the release  of
XWiki Enterprise 2.3 Release Candidate 1.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

Changes from XWiki Enterprise 2.3 Milestone 2:

* Annotations can now be activated by default from the wiki administration
* Email addresses can now be modified from the user profile
* Upgrade to Pygments 1.3.1
* Upgrade to Groovy 1.7.2

For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23RC1

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


[xwiki-users] Macro returning values

2010-04-15 Thread stefan bachert
Hi,

I have several macro {{macro /}}-Stil. Depending on the place inside/outside a 
velocity macro I get could read vars changed by a macro, or not.
This is not satifying.

I try putting the value into the context with context.put
However, this value is killed when the programming flow has left the macro 

How do return a value from a macro?

Stefan Bachert


__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] Implementing the XWiki.org Redesign

2010-04-15 Thread Thomas Mortagne
On Thu, Apr 15, 2010 at 17:18, Vincent Massol  wrote:
> Hi Silvia,
>
> On Apr 15, 2010, at 4:58 PM, Silvia Rusu wrote:
>
>> Hi XWiki devs & users,
>>
>> So far we've been talking a lot about redesigning XWiki.org and all
>> feedback was greatly appreciated. Now it's time we started implementing
>> the redesign Caty was so kind to come up with based on our suggestions.
>>
>> Like the proposal stage this too will be a collaborative effort and we
>> hope you'll join in building an even better site for XWiki.org. The
>> following is a list of things that need to be implemented in order to
>> get us started. It would be great if  you'd volunteer for the
>> implementation of the tasks at hand. Please add your name next to the
>> issue you'd like to assign yourself too. Also feel free to add as many
>> other issues you think should appear on the list and to volunteer for
>> those issues as well.
>>
>> Here is the first list of tasks:
>>
>>
>>
>> * Set up the server for the new website (Alex? :) )
>
> Is this needed? Cannot we instead morph the current xwiki.org? I'd prefer 
> this over a migration since otherwise it's a bit painful and would require 
> scripts to copy pages and there'll be a merge need. I did this the first time 
> and it took me a lot of time. We could prepare pages in the draft zone and 
> move them when they're ready for example.

+1

>
> Thanks
> -Vincent
>
>>
>> * Add the horizontal navigation to the new website
>>
>> * Implement the projects carousel for the homepage
>>
>> * Implement the panels for "Latest Releases", "Latest Extensions".
>> "Latest News"(should display the latest 5 releases, extensions, news)
>>
>>
>>
>> Documentation/Projects
>>
>> * Implement the left navigation for documentation/projects
>>
>> * Implement the panel for the "Latest Documentation Updates" (should
>> display the last 5 documents and their authors)
>>
>>
>>
>> Community page widgets and panels:
>>
>> * Implement the"Development Status" panel, if it's going to have dynamic
>> content
>>
>> * Implement the "Top Committers" panel (show the committer's picture and
>> number of commits)
>>
>> * Implement the "Latest Commits" section (should display an image of the
>> committer, what (s)he commited, the name of the committer and the date
>> the commit was made)
>>
>> * Implement the "Latest Issues" section (should have the latest Jira
>> issues, the person who took an action with regard to the issue - e.g.
>> create, close - and the time the action was taken)
>>
>> * Implement the "Latest Discussion" section (display the list, the topic
>> discussed, the name of the person that added the latest reply and the
>> time he added the answer)
>>
>> * Implement the "Latest Documentation" section (show the number of lines
>> added/deleted, the name of the document, the author of the modification
>> and the time (s)he made the changes)
>>
>> * Implement "Latest Extensions" section (display the extension name, the
>> name of the person that added the extension, the time it was added and a
>> short description)
>>
>>
>> You may read what has already been discussed about the redesign  on this
>> page
>> http://markmail.org/message/tfmrludhw2yh5tcn#query:+page:1+mid:h5bukrijteeuklgq+state:results
>> See the latest redesign proposal here
>> http://incubator.myxwiki.org/xwiki/bin/view/Improvements/XWikiOrgProposal2
>>
>> Thanks,
>> Silvia
> ___
> devs mailing list
> d...@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>



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


Re: [xwiki-users] Reverse proxy problems

2010-04-15 Thread Gerhard Esterhuizen
Hi Andreas,

On 15 April 2010 13:33, Andreas Hahn  wrote:

>
> maybe you are interested in my recent posting on short urls. I'v been
> struggling with the same issues and would like to see some more
> information on the wiki pages. That's what I ended up with:
>  http://n2.nabble.com/Short-Urls-configuration-tt4869739.html#a4869739
>
> The last 'VirtualHost' configuration is working for me - no problems so
> far.
>
>
Thanks for the response. When I read your configs, I realised that I omitted
the ProxyPassReverse line (I only took the settings from my working
mod_rewrite.conf and forgot to check my mod_proxy.conf as well). I also
experimented with some of the xwiki.cfg options, particularly with those
mentioned at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HAuthenticationparameters,
without much joy.

Regards,

  Gerhard



-- 
Gerhard Esterhuizen
Director
Yila Consulting (Pty) Ltd
PO Box 50461, Waterfront 8002, South Africa
Phone: +27 82 370 9737
Fax:  086 549 5635
gerh...@yilaconsulting.com
align. architect. execute.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Implementing the XWiki.org Redesign

2010-04-15 Thread Silvia Rusu
Hi XWiki devs & users,

So far we've been talking a lot about redesigning XWiki.org and all 
feedback was greatly appreciated. Now it's time we started implementing 
the redesign Caty was so kind to come up with based on our suggestions.

Like the proposal stage this too will be a collaborative effort and we 
hope you'll join in building an even better site for XWiki.org. The 
following is a list of things that need to be implemented in order to 
get us started. It would be great if  you'd volunteer for the 
implementation of the tasks at hand. Please add your name next to the 
issue you'd like to assign yourself too. Also feel free to add as many 
other issues you think should appear on the list and to volunteer for 
those issues as well.

Here is the first list of tasks:



* Set up the server for the new website (Alex? :) )

* Add the horizontal navigation to the new website

* Implement the projects carousel for the homepage

* Implement the panels for "Latest Releases", "Latest Extensions". 
"Latest News"(should display the latest 5 releases, extensions, news)



Documentation/Projects

* Implement the left navigation for documentation/projects

* Implement the panel for the "Latest Documentation Updates" (should 
display the last 5 documents and their authors)



Community page widgets and panels:

* Implement the"Development Status" panel, if it's going to have dynamic 
content

* Implement the "Top Committers" panel (show the committer's picture and 
number of commits)

* Implement the "Latest Commits" section (should display an image of the 
committer, what (s)he commited, the name of the committer and the date 
the commit was made)

* Implement the "Latest Issues" section (should have the latest Jira 
issues, the person who took an action with regard to the issue - e.g. 
create, close - and the time the action was taken)

* Implement the "Latest Discussion" section (display the list, the topic 
discussed, the name of the person that added the latest reply and the 
time he added the answer)

* Implement the "Latest Documentation" section (show the number of lines 
added/deleted, the name of the document, the author of the modification 
and the time (s)he made the changes)

* Implement "Latest Extensions" section (display the extension name, the 
name of the person that added the extension, the time it was added and a 
short description)


You may read what has already been discussed about the redesign  on this 
page 
http://markmail.org/message/tfmrludhw2yh5tcn#query:+page:1+mid:h5bukrijteeuklgq+state:results
See the latest redesign proposal here 
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/XWikiOrgProposal2

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


Re: [xwiki-users] XWord images are not stored in backend

2010-04-15 Thread Martin Bantz
Confirmed,

'CamelCasing' the page name stores the images. Learned new word today as 
well, lovely :-)

Runs like a fresh breeze now,

thanks again,
Martin


On 15-04-2010 14:10, Florin Ciubotaru wrote:
> On 4/15/2010 2:57 PM, Martin Bantz wrote:
>
>> When creating documents from XWord, the images are not stored in the
>> backend for some reason. I have an image:
>>
>>
>> Code from Firefox:
>>
>> > width="211" height="113" alt="mbz-default.jpg"/>
>>
>>  
> This is a know issue that is caused by the space in the page name. You
> should try to camel case the page name.
> It will be fixed in the next release.
>
> Florin Ciubotaru
>
>> and the attachment mbz-default.jpg is not to be found in Mysql in
>> XWA_filename:
>>
>> 
>>
>> MySQL returned an empty result set (i.e. zero rows). (Query took 0.0011 sec)
>> SQL query: SELECT *
>> FROM `xwikiattachment`
>> WHERE xwa_filename LIKE 'mbz%'
>> LIMIT 0 , 30
>>
>> 
>>
>> It seems like it is not being stored. I have tried to create the XWord
>> document as Admin and as ordinary user,
>>
>> thanks,
>> Martin
>> ___
>> 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] Formula Macro - rendering methods

2010-04-15 Thread Sergiu Dumitriu
On 04/15/2010 11:51 AM, Marine JULIAN wrote:
> Hi,
>
> I have some questions about the formula macro. I would like to test the
> native method and the MathTran based method but I'm not sure to understand
> how to choose and to use those rendered methods...

Changing WEB-INF/xwiki.properties is all that's needed on the XWiki 
part. For the native renderer, you need to install a LaTeX package and 
ImageMagick. I recommend the TeXLive distribution, see
http://www.tug.org/texlive/windows.html

> Before beginning, I have the XWiki Enterprise standalone version (for
> Windows) and I don't install external programs for latex rendered. Does it
> mean I use the SnuggleTex method ?

Yes, SnuggleTeX is used if no support for LaTeX is found on the system.

> Thus, to try the native method, I add in in the file
> WEB-INF/xwiki.properties the line  macro.formula.renderer = native. I
> understand that this method uses external programs but which one do I have ?
> Is there a particular installation to do in order to connect them with my
> XWiki installation ? Or do I have to configure the link/connection between
> XWiki and those external tools ?

XWiki relies on the operating system to find the right executables, it 
just calls "latex", "dvips" and "convert". So, you should install TeX 
Live and ImageMagick (http://www.imagemagick.org/) and make sure that 
these executables are on the system's search path.

> For the MathTran based method, my questions are pretty much the same... To
> resume, what do I have to do to test this method ? Do I have to install some
> particular programs ?

Just enable it in xwiki.properties. It relies on an external service 
which is used via HTTP, so make sure the server can make external HTTP 
connections.

> Finaly, I would like to know if the marco can renderer other latex markup
> than "formula" (for instance \section or \subsection) ? Indeed, I try with
> my actual configuration to display a matrix (with the code below) but it
> doesn't work... It only renders my matrix in line. Is it the behaviour
> expected ?

No, it only allows mathematical formulas to be rendered, and only the 
standard LaTeX expressions + some ams packages when using the native or 
mathtran renderers. Things added by other packages can't be used. 
bmatrix and vmatrix are from the amsmath package, so the default 
SnuggleTeX renderer can't handle it.

>> \begin{bmatrix}
>>0&  \cdots&  0  \\
>>\vdots&  \ddots&  \vdots \\
>>0&  \cdots&  0
>> \end{bmatrix}
>>
> and
>
>> \begin{vmatrix}
>>x&  y \\
>>z&  v
>> \end{vmatrix}
>>

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xword only handle very small amounts of text

2010-04-15 Thread Florin Ciubotaru
On 4/15/2010 2:51 PM, Sergiu Dumitriu wrote:
> On 04/15/2010 01:32 PM, Martin Bantz wrote:
>
>> I think I have found the root of this issue - and a workaround it seems:
>>
>> This error appear when MS Office automatic language detector kicks in.
>>
>> If text is set to English it fails - but set to Danish it works out.
>> Assumed it would be other way around.
>>  
It depends on the language you write the content too.
> Looks like switching languages inside the content generates some special
> markup that causes the exception.
>
>
The markup is generated when a word is not found in the assigned 
dictionary. The NPE is actually in the the filter that cleans that markup.
- http://jira.xwiki.org/jira/browse/XOFFICE-72
- 
http://svn.xwiki.org/svnroot/xwiki/xoffice/trunk/xword/ContentFiltering/Office/Word/Filters/GrammarAndSpellingErrorsFilter.cs

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


Re: [xwiki-users] XWord images are not stored in backend

2010-04-15 Thread Florin Ciubotaru
On 4/15/2010 2:57 PM, Martin Bantz wrote:
> When creating documents from XWord, the images are not stored in the
> backend for some reason. I have an image:
>
>
> Code from Firefox:
>
>  width="211" height="113" alt="mbz-default.jpg"/>
>
This is a know issue that is caused by the space in the page name. You 
should try to camel case the page name.
It will be fixed in the next release.

Florin Ciubotaru
>
> and the attachment mbz-default.jpg is not to be found in Mysql in
> XWA_filename:
>
> 
>
> MySQL returned an empty result set (i.e. zero rows). (Query took 0.0011 sec)
> SQL query: SELECT *
> FROM `xwikiattachment`
> WHERE xwa_filename LIKE 'mbz%'
> LIMIT 0 , 30
>
> 
>
> It seems like it is not being stored. I have tried to create the XWord
> document as Admin and as ordinary user,
>
> thanks,
> Martin
> ___
> 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] XWord images are not stored in backend

2010-04-15 Thread Martin Bantz
When creating documents from XWord, the images are not stored in the 
backend for some reason. I have an image:


Code from Firefox:




and the attachment mbz-default.jpg is not to be found in Mysql in 
XWA_filename:



MySQL returned an empty result set (i.e. zero rows). (Query took 0.0011 sec)
SQL query: SELECT *
FROM `xwikiattachment`
WHERE xwa_filename LIKE 'mbz%'
LIMIT 0 , 30



It seems like it is not being stored. I have tried to create the XWord 
document as Admin and as ordinary user,

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


Re: [xwiki-users] Xword only handle very small amounts of text

2010-04-15 Thread Sergiu Dumitriu
On 04/15/2010 01:32 PM, Martin Bantz wrote:
> I think I have found the root of this issue - and a workaround it seems:
>
> This error appear when MS Office automatic language detector kicks in.
>
> If text is set to English it fails - but set to Danish it works out.
> Assumed it would be other way around.

Looks like switching languages inside the content generates some special 
markup that causes the exception.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Reverse proxy problems

2010-04-15 Thread Andreas Hahn
Gerhard Esterhuizen schrieb:
> Hi,
>
> I recently deployed XWiki Enterprise behind an Apache HTTP server acting as
> a reverse proxy. This was done in order to map the XWiki web interface into
> our intranet namespace and to perform SSL termination. To get this working,
> I had to resort to a few hacks and workarounds due to the fact that not all
> parts of XWIki Enterprise seem to be friendly towards reverse proxies. A
> workable solution was eventually achieved through config file changes and
> the addition of some Apache URL rewrite rules (e.g. redirect all requests
> for "http://foo.com/xwiki/bar"; to "https://foo.com/xwiki/bar";).
>
> Today, I had to deploy another XWiki instance behind an Apache HTTP server,
> again for reasons of namespace consolidation and SSL termination. However,
> this time I do not have as much freedom as I had on the previous server and
> are finding myself stuck at this point. Examples of specific issues are that
> URLs of skin resources are served using the HTTP (i.e. insecure) protocol
> and some redirects are generated for the local address instead of the
> proxied address (e.g. login page from unauthorised and default post login
> redirect page).
>
> I'm not looking for particular solutions to these issues as much as trying
> to establish how likely I am to get this right and whether I'm trying to fit
> a square peg into a round hole. Specific questions as follows:
>
> 1. Did anyone manage to successfully deploy XWiki behind an HTTP reverse
> proxy without resorting to hacks and workarounds ? If so, please share some
> information about the magic configuration. Does the problem, perhaps, lie
> with Apache's reverse proxy module or its interaction with XWiki ?
>
> 2. Is my expectation to have XWiki working behind an HTTP reverse proxy
> misplaced ? If not, and XWiki does intend to support this, are the issues I
> describe above well known or should I report them somewhere ? Also, what can
> I do to help and contribute to such an effort ?
>
> 3. Are these issues due to the platform or the layers above it (e.g. skins
> and apps) ? Does the platform provide a "right way" that the layers above it
> can use to generate URLs that would always work correctly through a reverse
> proxy ?
>
> BTW, thanks for a great product!
>
> Regards,
>
>   Gerhard
>
>
>   
Hi,

maybe you are interested in my recent posting on short urls. I'v been 
struggling with the same issues and would like to see some more 
information on the wiki pages. That's what I ended up with:
 http://n2.nabble.com/Short-Urls-configuration-tt4869739.html#a4869739

The last 'VirtualHost' configuration is working for me - no problems so far.

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


Re: [xwiki-users] Xword only handle very small amounts of text

2010-04-15 Thread Martin Bantz
I think I have found the root of this issue - and a workaround it seems:

This error appear when MS Office automatic language detector kicks in.

If text is set to English it fails - but set to Danish it works out. 
Assumed it would be other way around.

This is why the small edits I've tried, worked out - the language did 
not change.

Also installed latest version of Sun Java on the 2003 server client (..)

Well, I have this setup here - and If you need more info I'll send it,

thanks for a great product, looking forward to demonstrate it next week 
and translate it to Danish,

cheers,
Martin



On 15-04-2010 13:14, Martin Bantz wrote:
> Dear Florin,
>
> thank you for your reply. I have changed the regional settings to
> English - US (native language is Danish here) but the same is happening.
>
> Interestingly, I just tried to load (edit) and publish a large (normal)
> document, if I change anything in it - the error appear, but if I leave
> it intact I can save it again (i.e. just load and publish).
>
> The only information I get on the issue is the info from event viewer
> from my first post.
>
> Two more facts:
> I'm running both systems (Win2003 server as client and PCLinuxOS as
> server) in VM's (VMWare).
>
> I have not been working on java-setup in Win2003 at all.
>
> thanks
> Martin
>
> On 15-04-2010 12:19, Florin Ciubotaru wrote:
>
>> Hi,
>>
>> On 4/15/2010 12:04 PM, Martin Bantz wrote:
>>
>>  
>>> Hi all,
>>>
>>> A new install works as expected in Linux, and Xword from a Windows 2003
>>> server can attach fine to the server and retrieve even large documents and 
>>> images.
>>>
>>> In XWord, when publishing documents with images or just some 10-20 lines of 
>>> text I
>>> get the error described below in MS eventlog - and a message 'There was
>>> an error when trying to save the page to the server'. Need to exit Word
>>> and restart.
>>> Small (very small) edits to text are saved fine from XWord.
>>>
>>>
>>>
>> There's no limit to the content size in XOffice. It can handle large
>> files relatively easy(>20 pages,>100.000 words,>10 images). The first
>> limit that is usually hit is the java heap space required by the server
>> during conversion&   upload.
>>
>> Could you try changing your language settings to English - US?
>> Unfortunately XOffice is not tested on localized versions of Office. I
>> know there are issues with the French and German versions, I'm sure what
>> are the differences between the US and UK version.
>> I'll try to reproduce this locally. The stack trace message is a bit
>> short, could you check the Event Viewer for XWord of XOffice events and
>> check if there are any detailed stack traces?
>>
>> Thanks,
>> Florin Ciubotaru
>>
>>
>>  
>>> Installation is Xwiki 2.2.4 - Xword 1.1.0.121 - Tomcat 6.0.26 - MySQL
>>> 5.1.42 - OpenOffice 3.2
>>>
>>>
>>> Would also like to try out the OpenOffice integration - but can't seem
>>> to find it.
>>>
>>> I have been trying to add images from Xword, but this has never worked,
>>> assume these issues are related,
>>>
>>> any help greatly appreciated,
>>>
>>> cheers,
>>> MBantz
>>>
>>> --Error message details:
>>>
>>>
>>>
>>> Windows 2003 server UK.
>>>
>>> Office 2007 SP2 UK.
>>>
>>>
>>> Source:   ContentFiltering
>>> Type: System.NullReferenceException
>>> Message:  Object reference not set to an instance of an object.
>>> Help link
>>> Exception data:
>>>
>>>
>>> Stack trace:
>>>at
>>> ContentFiltering.Office.Word.Filters.GrammarAndSpellingErrorsFilter.Filter(XmlDocument&
>>> xmlDoc)
>>>at XWiki.Office.Word.LocalToWebHTML.AdaptSource(String content)
>>>at XWiki.Office.Word.ConversionManager.ConvertFromWordToWeb(String
>>> content)
>>>at XWord.AddinActions.SaveToXwiki()
>>>at XWord.AddinActions.SaveToServer()
>>>at XWord.XWikiRibbon.btnSavePage_Click(Object sender,
>>> RibbonControlEventArgs e)
>>>
>>> For more information, see Help and Support Center at
>>> http://go.microsoft.com/fwlink/events.asp.
>>>
>>> ___
>>> 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] Xword only handle very small amounts of text

2010-04-15 Thread Martin Bantz
Dear Florin,

thank you for your reply. I have changed the regional settings to 
English - US (native language is Danish here) but the same is happening.

Interestingly, I just tried to load (edit) and publish a large (normal) 
document, if I change anything in it - the error appear, but if I leave 
it intact I can save it again (i.e. just load and publish).

The only information I get on the issue is the info from event viewer 
from my first post.

Two more facts:
I'm running both systems (Win2003 server as client and PCLinuxOS as 
server) in VM's (VMWare).

I have not been working on java-setup in Win2003 at all.

thanks
Martin

On 15-04-2010 12:19, Florin Ciubotaru wrote:
> Hi,
>
> On 4/15/2010 12:04 PM, Martin Bantz wrote:
>
>> Hi all,
>>
>> A new install works as expected in Linux, and Xword from a Windows 2003
>> server can attach fine to the server and retrieve even large documents and 
>> images.
>>
>> In XWord, when publishing documents with images or just some 10-20 lines of 
>> text I
>> get the error described below in MS eventlog - and a message 'There was
>> an error when trying to save the page to the server'. Need to exit Word
>> and restart.
>> Small (very small) edits to text are saved fine from XWord.
>>
>>  
> There's no limit to the content size in XOffice. It can handle large
> files relatively easy(>20 pages,>100.000 words,>10 images). The first
> limit that is usually hit is the java heap space required by the server
> during conversion&  upload.
>
> Could you try changing your language settings to English - US?
> Unfortunately XOffice is not tested on localized versions of Office. I
> know there are issues with the French and German versions, I'm sure what
> are the differences between the US and UK version.
> I'll try to reproduce this locally. The stack trace message is a bit
> short, could you check the Event Viewer for XWord of XOffice events and
> check if there are any detailed stack traces?
>
> Thanks,
> Florin Ciubotaru
>
>
>> Installation is Xwiki 2.2.4 - Xword 1.1.0.121 - Tomcat 6.0.26 - MySQL
>> 5.1.42 - OpenOffice 3.2
>>
>>
>> Would also like to try out the OpenOffice integration - but can't seem
>> to find it.
>>
>> I have been trying to add images from Xword, but this has never worked,
>> assume these issues are related,
>>
>> any help greatly appreciated,
>>
>> cheers,
>> MBantz
>>
>> --Error message details:
>>
>>
>>
>> Windows 2003 server UK.
>>
>> Office 2007 SP2 UK.
>>
>>
>> Source:   ContentFiltering
>> Type: System.NullReferenceException
>> Message:  Object reference not set to an instance of an object.
>> Help link
>> Exception data:
>>
>>
>> Stack trace:
>>   at
>> ContentFiltering.Office.Word.Filters.GrammarAndSpellingErrorsFilter.Filter(XmlDocument&
>> xmlDoc)
>>   at XWiki.Office.Word.LocalToWebHTML.AdaptSource(String content)
>>   at XWiki.Office.Word.ConversionManager.ConvertFromWordToWeb(String
>> content)
>>   at XWord.AddinActions.SaveToXwiki()
>>   at XWord.AddinActions.SaveToServer()
>>   at XWord.XWikiRibbon.btnSavePage_Click(Object sender,
>> RibbonControlEventArgs e)
>>
>> For more information, see Help and Support Center at
>> http://go.microsoft.com/fwlink/events.asp.
>>
>> ___
>> 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] Xword only handle very small amounts of text

2010-04-15 Thread Florin Ciubotaru
Hi,

On 4/15/2010 12:04 PM, Martin Bantz wrote:
> Hi all,
>
> A new install works as expected in Linux, and Xword from a Windows 2003
> server can attach fine to the server and retrieve even large documents and 
> images.
>
> In XWord, when publishing documents with images or just some 10-20 lines of 
> text I
> get the error described below in MS eventlog - and a message 'There was
> an error when trying to save the page to the server'. Need to exit Word
> and restart.
> Small (very small) edits to text are saved fine from XWord.
>
There's no limit to the content size in XOffice. It can handle large 
files relatively easy(>20 pages, >100.000 words, >10 images). The first 
limit that is usually hit is the java heap space required by the server 
during conversion & upload.

Could you try changing your language settings to English - US? 
Unfortunately XOffice is not tested on localized versions of Office. I 
know there are issues with the French and German versions, I'm sure what 
are the differences between the US and UK version.
I'll try to reproduce this locally. The stack trace message is a bit 
short, could you check the Event Viewer for XWord of XOffice events and 
check if there are any detailed stack traces?

Thanks,
Florin Ciubotaru

> Installation is Xwiki 2.2.4 - Xword 1.1.0.121 - Tomcat 6.0.26 - MySQL
> 5.1.42 - OpenOffice 3.2
>
>
> Would also like to try out the OpenOffice integration - but can't seem
> to find it.
>
> I have been trying to add images from Xword, but this has never worked,
> assume these issues are related,
>
> any help greatly appreciated,
>
> cheers,
> MBantz
>
> --Error message details:
>
>
>
> Windows 2003 server UK.
>
> Office 2007 SP2 UK.
>
>
> Source:   ContentFiltering
> Type: System.NullReferenceException
> Message:  Object reference not set to an instance of an object.
> Help link
> Exception data:
>
>
> Stack trace:
>  at
> ContentFiltering.Office.Word.Filters.GrammarAndSpellingErrorsFilter.Filter(XmlDocument&
> xmlDoc)
>  at XWiki.Office.Word.LocalToWebHTML.AdaptSource(String content)
>  at XWiki.Office.Word.ConversionManager.ConvertFromWordToWeb(String
> content)
>  at XWord.AddinActions.SaveToXwiki()
>  at XWord.AddinActions.SaveToServer()
>  at XWord.XWikiRibbon.btnSavePage_Click(Object sender,
> RibbonControlEventArgs e)
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
> ___
> 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] Formula Macro - rendering methods

2010-04-15 Thread Marine JULIAN
Hi,

I have some questions about the formula macro. I would like to test the
native method and the MathTran based method but I'm not sure to understand
how to choose and to use those rendered methods...
Before beginning, I have the XWiki Enterprise standalone version (for
Windows) and I don't install external programs for latex rendered. Does it
mean I use the SnuggleTex method ?
Thus, to try the native method, I add in in the file
WEB-INF/xwiki.properties the line  macro.formula.renderer = native. I
understand that this method uses external programs but which one do I have ?
Is there a particular installation to do in order to connect them with my
XWiki installation ? Or do I have to configure the link/connection between
XWiki and those external tools ?
For the MathTran based method, my questions are pretty much the same... To
resume, what do I have to do to test this method ? Do I have to install some
particular programs ?

Finaly, I would like to know if the marco can renderer other latex markup
than "formula" (for instance \section or \subsection) ? Indeed, I try with
my actual configuration to display a matrix (with the code below) but it
doesn't work... It only renders my matrix in line. Is it the behaviour
expected ?

> \begin{bmatrix}
>   0  & \cdots & 0  \\
>   \vdots & \ddots & \vdots \\
>   0  & \cdots & 0
> \end{bmatrix}
>
and

> \begin{vmatrix}
>   x & y \\
>   z & v
> \end{vmatrix}
>

Thank you,
Best regards,

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


Re: [xwiki-users] FoxWiki & "Edit attachments" feature

2010-04-15 Thread Asiri Rathnayake
Hi Eugen,

On Thu, Apr 15, 2010 at 2:17 PM, Colesnicov Eugen wrote:

>
> Hi developers!
>
> According discussion about this FoxWiki & "Edit attachments" feature at
> XWiki-Dev subforum. I want to write my opinion for developers.
>
> Current situation:
> - In IE this feature working good without any additional jobs (I tested
> 2.2.4).
> - In FF - need to use FoxWiki extension (download manualy xpi-file, and
> edit
> max-version property).
> - In Chrome - "Edit attachments" - doesn't work.
>
> I have proposal about using this feature in FF. FoxWiki working, but I
> don't
> like that users MANUALY everytime should add file extention and application
> path  in FoxWiki. From other side, exists some other extentions for FF (for
> example http://openwebfolder.mozdev.org/). As I understand, this extention
> adds to FF functionality of windows WebFolder WebDAV client - same as IE.
> But now, I cannot use (or try) this extention with XWiki, because XWiki
> programming code obviously use ONLY FoxWiki at FF. As I understand, If we
> will try to use openwebfolder extention - no any special code needs for
> XWiki - programming code can be same as a IE part.
>
> Other collaborative suits software also use openwebfolder extention for FF
> (see for example
>
> http://help.collab.net/index.jsp?topic=/teamforge530/action/connecttowebdavwithfirefox.html
> ).
>

Openwebfolder has the following description:

"*openwebfolder* itself does *not* contain any platform-independant WebDAV
related code. It just adds hooks so that Microsoft's "Webfolder" WebDAV
client can be invoked in a similar way like in IE."

So this is a windows only solution. May be we should have some logic like:

if (IE) {
  // Use native webdav support in IE.
} else if (FF && Win32) {
  // Use openwebfolder.
} else if (FF) {
  // Use FoXWiki.
}

But first someone has to evaluate if openwebfolder + FF on Win32 is better
than FoXWiki + FF on the same. Anyway, I'm not sure if above logic can be
implemented or if it is the best approach, someone has to digg a little
deep.

Just my opinion :)

- Asiri


>
> For this reason, alternative proposal: no use any special extention for
> WebDav - use standart openwebfolder extention (this extention is better
> because not need to manualy add file extentions and application paths).
> According this - need to change XWiki programming code for WebDav using in
> Firefox.
>
> I am not a specialist with XWiki programming, for this reason - sorry, if I
> write something stupid ... What do you think about my variant?
>
> --
> Best Regards
> Eugen Colesnicov
>
>
> --
> View this message in context:
> http://n2.nabble.com/FoxWiki-Edit-attachments-feature-tp4906288p4906288.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] Xword only handle very small amounts of text

2010-04-15 Thread Sergiu Dumitriu
On 04/15/2010 11:04 AM, Martin Bantz wrote:
> Hi all,
>
> A new install works as expected in Linux, and Xword from a Windows 2003
> server can attach fine to the server and retrieve even large documents and 
> images.
>
> In XWord, when publishing documents with images or just some 10-20 lines of 
> text I
> get the error described below in MS eventlog - and a message 'There was
> an error when trying to save the page to the server'. Need to exit Word
> and restart.
> Small (very small) edits to text are saved fine from XWord.
>
>
> Installation is Xwiki 2.2.4 - Xword 1.1.0.121 - Tomcat 6.0.26 - MySQL
> 5.1.42 - OpenOffice 3.2
>
>
> Would also like to try out the OpenOffice integration - but can't seem
> to find it.

The OpenOffice integration was a Google Summer of Code project. It's not 
quite finished yet, and it hasn't been released. However, it works, and 
I encourage you to give it a try. You can find it here:

https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xoo/

>
> I have been trying to add images from Xword, but this has never worked,
> assume these issues are related,
>
> any help greatly appreciated,
>
> cheers,
> MBantz

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xword only handle very small amounts of text

2010-04-15 Thread Martin Bantz
Hi all,

A new install works as expected in Linux, and Xword from a Windows 2003
server can attach fine to the server and retrieve even large documents and 
images.

In XWord, when publishing documents with images or just some 10-20 lines of 
text I
get the error described below in MS eventlog - and a message 'There was
an error when trying to save the page to the server'. Need to exit Word
and restart.
Small (very small) edits to text are saved fine from XWord.


Installation is Xwiki 2.2.4 - Xword 1.1.0.121 - Tomcat 6.0.26 - MySQL
5.1.42 - OpenOffice 3.2


Would also like to try out the OpenOffice integration - but can't seem
to find it.

I have been trying to add images from Xword, but this has never worked,
assume these issues are related,

any help greatly appreciated,

cheers,
MBantz

--Error message details:



Windows 2003 server UK.

Office 2007 SP2 UK.


Source:   ContentFiltering
Type: System.NullReferenceException
Message:  Object reference not set to an instance of an object.
Help link
Exception data:


Stack trace:
at
ContentFiltering.Office.Word.Filters.GrammarAndSpellingErrorsFilter.Filter(XmlDocument&
xmlDoc)
at XWiki.Office.Word.LocalToWebHTML.AdaptSource(String content)
at XWiki.Office.Word.ConversionManager.ConvertFromWordToWeb(String
content)
at XWord.AddinActions.SaveToXwiki()
at XWord.AddinActions.SaveToServer()
at XWord.XWikiRibbon.btnSavePage_Click(Object sender,
RibbonControlEventArgs e)

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

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


[xwiki-users] FoxWiki & "Edit attachments" feature

2010-04-15 Thread Colesnicov Eugen

Hi developers!

According discussion about this FoxWiki & "Edit attachments" feature at
XWiki-Dev subforum. I want to write my opinion for developers.

Current situation:
- In IE this feature working good without any additional jobs (I tested
2.2.4).
- In FF - need to use FoxWiki extension (download manualy xpi-file, and edit
max-version property).
- In Chrome - "Edit attachments" - doesn't work.

I have proposal about using this feature in FF. FoxWiki working, but I don't
like that users MANUALY everytime should add file extention and application
path  in FoxWiki. From other side, exists some other extentions for FF (for
example http://openwebfolder.mozdev.org/). As I understand, this extention
adds to FF functionality of windows WebFolder WebDAV client - same as IE.
But now, I cannot use (or try) this extention with XWiki, because XWiki
programming code obviously use ONLY FoxWiki at FF. As I understand, If we
will try to use openwebfolder extention - no any special code needs for
XWiki - programming code can be same as a IE part.

Other collaborative suits software also use openwebfolder extention for FF
(see for example
http://help.collab.net/index.jsp?topic=/teamforge530/action/connecttowebdavwithfirefox.html).

For this reason, alternative proposal: no use any special extention for
WebDav - use standart openwebfolder extention (this extention is better
because not need to manualy add file extentions and application paths).
According this - need to change XWiki programming code for WebDav using in
Firefox.

I am not a specialist with XWiki programming, for this reason - sorry, if I
write something stupid ... What do you think about my variant?

--
Best Regards
Eugen Colesnicov


-- 
View this message in context: 
http://n2.nabble.com/FoxWiki-Edit-attachments-feature-tp4906288p4906288.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