[xwiki-users] Dynamic text on the right of the logo

2009-12-08 Thread PERINAUD Christophe
Hello all,

One request from our users is to set a dynamic text in the title bar, on the 
right of the logo. Something like a text related to the current browsed space 
for example. May be possible by reading a dedicated string object defined in 
the webhome page else it will be set to an empty string.
Is it possible to do that ?

Thank you

Christophe PĂ©rinaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL




This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWQL in DatabaseLists

2009-12-08 Thread Vincent Massol
Hi Nigel,

On Dec 8, 2009, at 4:14 AM, Nigel Smith wrote:

> Hello,
>
> I really like the idea of database lists as it gives me the ability to
> relate pages (objects) together without much effort.
>
> However, I have found it very difficult to use these lists easily as  
> it
> requires an understanding of not only HQL (which isn't hard) and of  
> the
> Hibernate-mapped schema, which to my knowledge is not available. Is  
> this
> hibernate-mapped API / Schema (java objects) published somewhere?

The mapping is avail here:
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/resources/xwiki.hbm.xml

> It has also occurred to me that an even easier option would be to use
> XWQL in the DatabaseList query specification. Is this possible  
> somehow?

I don't think it's possible today. You could modify the DatabaseList  
implementation so that it uses XWQL though (especially since the Query  
Manager will work with both HQL and XWQL). That would be a nice patch ;)

Thanks
-Vincent

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


Re: [xwiki-users] Nice to "Meet" You!

2009-12-08 Thread Vincent Massol
Hi Reiko,

On Dec 8, 2009, at 1:22 AM, Reiko Saito wrote:

> Thanks, Vincent, Jim, Ebihara-san, for your warm welcome messages :-)
>
> I tried accessing http://l10n.xwiki.org/, but it seems
> it is under the maintenance.  Once it's alive,
> I will look for the files for localization and how-to.

It's back online, sorry for the problem.

Thanks
-Vincent

>
> Regards,
>
> -Reiko
>
> 
> Reiko Saito
> Japanese Language Lead
> Globalization Project Management
> Globalization Services
> Sun Microsystems, Inc.
> Email: reiko.sa...@sun.com
> Phone: +81 3 5962 4912
> Blog: http://blogs.sun.com/reiko
> 
>
>
> Vincent Massol wrote:
>> Hi Reiko,
>>
>> On Dec 4, 2009, at 6:04 AM, Reiko Saito wrote:
>>
>>> Hi all,
>>>
>>> Nice to meet you!
>>>
>>> I am Reiko Saito from OpenSolaris.org JA community.
>>> I manages OpenSolaris.org JA site, as one of the leaders.
>>>
>>> http://hub.opensolaris.org/bin/view/User+Group+tsug/
>>> http://hub.opensolaris.org/bin/view/Community+Group+int_localization/ja_group
>>>
>>> I've just joined this mailing list to contribute to
>>> Japanese localization of XWiki.  Jim encouraged me to join this
>>> list :-)
>>>
>>> As you see above, Japanese pages are now recognized as  
>>> "en" (English).
>>> Language switch function is very very attractive, so I really want  
>>> to
>>> use it for Japanese, too!
>>>
>>> Please someone let me know what I can do to make it happen.
>>> If it needs more resource, I will ask for contribution
>>> from OpenSolaris.org user group or globalization group.
>>>
>>> Have a nice day!
>>
>> Great! I'm eager to see a Japanese translation for XWiki
>>
>> All you need to help is located on http://l10n.xwiki.org/
>>
>> Please have  a look there and ask us here if you have any question.
>>
>> Thanks again for the help
>> -Vincent
>>
>>> -Reiko
>>>
>>> Blog: http://blogs.sun.com/reiko
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to specify mime-type for MSOffice-2007 document attachments

2009-12-08 Thread Milind Kamble
Thanks for your prompt reply Sergiu. My response is inlined below.



- Original Message 
> From: Sergiu Dumitriu 
> To: XWiki Users 
> Sent: Thu, December 3, 2009 12:31:16 AM
> Subject: Re: [xwiki-users] How to specify mime-type for MSOffice-2007 
> document attachments
> 
> On 12/03/2009 12:09 AM, Milind Kamble wrote:
> > Hi.
> > I am test driving XWiki Enterprise for my group at work. Kudos and
> > thanks to the developers for putting together this fabulous app.
> >
> > I
> > am having trouble with MSOffice-2007 documents attached to pages in the
> > wiki. The content-type header delivered by the server when accessing
> > such documents (with extensions .pptx, .docx or .xlsx for example) is
> > "application/octet-stream". While modern browsers such as Firefox offer
> > to open the document in the appropriate app (looking at the filename in
> > the content-disposition header I guess), IE6 unfortunately treats it as
> > binary data and offers to open it with WinZip.
> >
> > I have read through a couple of threads in the xwiki-dev and xwiki-users 
> mailing list archive, but following those directions did not resolve my issue.
> >
> > So how can I fix
> > this issue? I have tried adding mime-mapping in
> > /domain/domain1/config/default-web.xml as well as
> > in
> > 
> /domain/domain1/applications/j2ee-modules/xwiki-enterprise-web-2.1-milestone-1/WEB-INF/web.xml
> > like following -- but that has had no effect.
> >
> > 
> >  docx
> >  application/vnd.openxmlformats
> > 
> > 
> >  pptx
> >  application/vnd.openxmlformats
> > 
> > 
> >  xlsx
> >  application/vnd.openxmlformats
> > 
> 
> Yes, this looks correct. In theory it should work. Make sure that you 
> put this in the right place in the web.xml file, since the order of the 
> elements matters. Search for the other mime-mapping elements already 
> present in the file, and add your mappings next to those.
> 
> If it still doesn't work, then it could be the app container. Which 
> server are you using?
> 
I had placed the edits in the correct place as you have suggested. I was using 
Sun Java System Application Server  9.1_01.
Our system admin then reinstalled Glassfish 2.2.1 and I saw the same behavior.
Finally, when I deleted the domains/domain1/generated directory (after stopping 
the server) and restarted the server, we saw that the new mime types added to 
web.xml were being correctly used and delivered for the content-type header 
based on the file extension.

Can anyone shed light on what the "generated" directory is meant for (atleast 
for Sun Java servers) ? And why do edits made in xwiki's WEB-INF/web.xml file 
not get "regenerated" into the generated directory?

My workaround therefore is to delete the generated directory before restarting 
the server.
> > The content-type header still comes as  application/octet-stream as shown 
> below:
> >
> > bash>  lynx http:///xwiki/bin/download/Sandbox/TestPage2/simple.xlsx 
> -head -dump
> > HTTP/1.1 200 OK
> > Server: Sun Java System Application Server 9.1_01
> > Set-Cookie: JSESSIONID=1556df25ad03500b4592d778a5e1; Path=/xwiki
> > Content-disposition: inline; filename="simple.xlsx"
> > Last-Modified: Wed, 02 Dec 2009 17:37:17 GMT
> > Set-Cookie: visitid=NMUOTURHA9P7GS5BM35MKJLN5WQSPYDL; Path=/
> > Content-Type: application/octet-stream;charset=ISO-8859-1
> > Content-Language: en
> >
> > I
> > have verified by introducing syntax errors and by other techniques that
> > the web.xml file is being read by the server when I perform a restart,
> > but the mime-mapping additions seem to have no effect.
> >
> > Any help will be deeply appreciated.
> 
> 
> -- 
> 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] [Proposal] Roadmap for XE 2.2

2009-12-08 Thread Jean-Vincent Drean
Hi,

For Flavius and others willing to help with WCAG issues I've started
to create some after the results of our functional tests:
http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&&resolution=-1&customfield_1=wcag
Feel free to pick issues in the list, don't forget to assign yourself
to the issue so that we don't get work collisions.

Thanks for volunteering,
JV.

On Tue, Dec 1, 2009 at 9:53 PM, Flavius Olaru  wrote:
> I would also like to get involved in WCAG, User Profiles or at least
> Priority 2 like ColorThemes (and maybe having an AdvancedColorThemes if
> default ColorThemes are too restrictive, like as it is now having different
> complementary background colors on the page and panels is unusable due to
> links color) or Watchlist UI and Watchlist application for velocity syntax
> 2.0 and make it more javascript independent (currently having some progress
> on this).
>
>
> On Tue, Dec 1, 2009 at 1:41 PM, Thomas Mortagne
> wrote:
>
>> On Tue, Dec 1, 2009 at 12:23, Vincent Massol  wrote:
>> > Hi everyone,
>> >
>> > Here's a proposal Guillaume and I have prepared for the XE 2.2 roadmap.
>> >
>> > - XWiki committers: I have assigned some devs based on past work.
>> > Please confirm if it's ok for you or not. You can also suggest other
>> > stuff you'd like to do if you think you'll have the time
>> > - XWiki contributors: Please let us know if you're willing to
>> > participate and on the topic you're interested in participating to
>> > - XWiki users: Please let us know if we have forgotten something
>> > important
>> >
>> > Must have (Priority 1):
>> >
>> > - Wiki Macro isolation for XEM (Vincent)
>> > - WCAG (Jean-Vincent + Vincent + Sergiu + Caty)
>> > - User Profile UI (Caty + Jean-Vincent)
>> > - Google Gadgets integration (scope to be defined by Anamaria)
>> > - Bug fix + stabilization (All)
>> > - Patch application (Volunteer needed)
>> > -- Lucene patches
>> > -- Performance patches
>> > - i18 rendering (Thomas)
>>
>> - generic transformation markers (Thomas)
>>
>> > - Annotations (Anca)
>> >
>> > Nice to have (Priority 2):
>> > - ColorTheme UI improvement
>> > - Watchlist UI
>> > - xwiki.org improvements:
>> > -- use new skin + new colors
>> > -- horizontal navigation
>> > -- Home page redesign
>> > -- Download page redesign
>> > -- Project page design
>> > -- Support page redesign
>> >
>> > Dates:
>> > - 2.2M1: 28 Dec 2009
>> > - 2.2M2: 18 Jan 2010
>> > - 2.2RC1: 1er Feb 2010
>> > - 2.2 RC2/Finale: 8 Feb 2010
>> >
>> > Thanks
>> > -Vincent
>> >
>> > ___
>> > 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
>>
>
>
>
> --
> Cu stima,
> Flavius Olaru
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.1 Released

2009-12-08 Thread Jean-Vincent Drean
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.1

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

Main changes from 2.0.x:

* Re-design of the actions menus
* The Blog application is now using the xwiki/2.0 syntax and the new
WYSIWYG editor
* Allow XWiki.XWikiAllGroup to be an implicit group, containing all
the users without explicitly listing them as objects
* When renaming a page, also update the "parent" field of subpages
(Patch from Caleb James De Lisle)
* Updated translations : de (including WYSIWYG), es, fr (including
WYSIWYG), gl, lv, nl, pl, ro, sv, zh
* New renderer for mathematical formulae based on the Google Chart APIs.
* Lots of improvements and bugfixes in order to conform to the Web
Content Accessibility Guidelines (WCAG).
* Macro parameter pretty names are now displayed in the WYSIWYG
* WYSIWYG editor performance improvement (Minimize and aggregate
WYSIWYG editor stylesheets at build time to reduce the number of HTTP
requests)
* Ability to register a component for the current user or for the
current wiki instead of globally. Note that this will be used in the
near future to allow registering Wiki Macros in multiwiki mode without
the macros being visible in other wikis.
* Upgraded to JbossCache 3.2.1GA version
* Upgraded to Groovy 1.7 Beta 2

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

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


Re: [xwiki-users] [Proposal] Roadmap for XE 2.2

2009-12-08 Thread Vincent Massol
Roadmap added to http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap

Thanks
-Vincent

On Dec 1, 2009, at 12:23 PM, Vincent Massol wrote:

> Hi everyone,
>
> Here's a proposal Guillaume and I have prepared for the XE 2.2  
> roadmap.
>
> - XWiki committers: I have assigned some devs based on past work.  
> Please confirm if it's ok for you or not. You can also suggest other  
> stuff you'd like to do if you think you'll have the time
> - XWiki contributors: Please let us know if you're willing to  
> participate and on the topic you're interested in participating to
> - XWiki users: Please let us know if we have forgotten something  
> important
>
> Must have (Priority 1):
>
> - Wiki Macro isolation for XEM (Vincent)
> - WCAG (Jean-Vincent + Vincent + Sergiu + Caty)
> - User Profile UI (Caty + Jean-Vincent)
> - Google Gadgets integration (scope to be defined by Anamaria)
> - Bug fix + stabilization (All)
> - Patch application (Volunteer needed)
> -- Lucene patches
> -- Performance patches
> - i18 rendering (Thomas)
> - Annotations (Anca)
>
> Nice to have (Priority 2):
> - ColorTheme UI improvement
> - Watchlist UI
> - xwiki.org improvements:
> -- use new skin + new colors-- horizontal navigation
> -- Home page redesign
> -- Download page redesign
> -- Project page design
> -- Support page redesign
>
> Dates:
> - 2.2M1: 28 Dec 2009
> - 2.2M2: 18 Jan 2010
> - 2.2RC1: 1er Feb 2010
> - 2.2 RC2/Finale: 8 Feb 2010
>
> Thanks
> -Vincent
>

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


Re: [xwiki-users] office importer vs graphics

2009-12-08 Thread Peter Lees
Asiri Rathnayake wrote:

> The images embedded inside Office document, how large are they? (very
> high-resolution images?)


in my sample case - not large at all (whole document is 125KB)


> - If they are quite large, you might want to increase the time-out for
> officeimporter operations (from xwiki.properties file).

timeout is set to 5 minutes (30ms)


> - Now, if they are not that large (if the most trivial images also fail),
> then it'll be great if you can provide us a sample failing document


i will send you the sample document directly so as not to spam the alias.


> Also, there is a small test you can perform if you have access to a GUI in
> your computer:
> 
> - Open the failing document in OpenOffice.
> 
> - Save the document as HTML into some place.
> 
> Does above operation work without issues? And what about images, are they
> properly saved? and what type of images are they ? (The last question is
> because OpenOffice has a problem with EMF/WMF image formats on windows and
> linux boxes).

worked without issues.  the images in this case are PNG and GIF



thanks again for your help

regards

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


[xwiki-users] Access to Bindings in Python

2009-12-08 Thread Josh Eastburn
The documentation seems to indicate that bindings normally available in
Velocity like $context should be available in other scripting languages, but
accessing 'context' in Python (e.g. if context.action == 'inline':) always
gives me problems. Any help?

Thanks,

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


Re: [xwiki-users] office importer vs graphics

2009-12-08 Thread Asiri Rathnayake
Hi Peter,


i will send you the sample document directly so as not to spam the alias.
>

Thanks. I received your file and tested it both on XE 2.0.3 and XE snapshot
and it worked without issue.

However, I must ask you to do one more experiment to nail down this issue.
Sorry about having to ask for this much but this is because I cannot locally
reproduce your issue.

This is what you have to do:

1. Download
http://jodconverter.googlecode.com/files/jodconverter-3.0-beta-2-dist.zip

2. Extract this zip file into (say) $JOD_CONVERTER_HOME

3. Go inside $JOD_CONVERTER_HOME/lib and issue the following command:

java -jar jodconverter-3.0-beta-2.jar /path/to/sample.doc
/a/path/to/sample.html

The second path is a non-existent one and it is important that the target
extension is "html".

4. Report your observations into the mailing list. (Whether sample.doc was
successfully imported into html and whether output images look fine).

Thanks for your time & patience :)

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


[xwiki-users] Private RSS feeds with basic auth not working

2009-12-08 Thread Kevin Thiart
I'm trying to subscribe to the RSS feed of a private wiki.

I tried several URL's:


I get Error: This template does not exist.


I get an XML error: The XML document is empty.

The last URL comes from this page in the XWiki FAQ:


How can I subscribe to RSS feeds using basic authentication?

And is this also possible for watchlist RSS feeds?

Thanks!

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