Re: [xwiki-users] XWiki Right to Left language support

2008-10-17 Thread Vincent Massol
Hi Bey,

That's very cool thanks for your work. Have you created a jira issue  
for this? Would be cool if you could attach a patch to it once you  
have something clean and working.

Thanks again
-Vincent

On Oct 15, 2008, at 10:22 AM, Bey Youcef wrote:

 Hi Amer,

 On Mon, Oct 13, 2008 at 3:49 PM, Amer Radwan [EMAIL PROTECTED] wrote:

 Hi All,
 As I know Xwiki supports localization,but I think there is problem  
 with
 Right to left languages like (Arabic and Hebrew) , so please I need  
 your
 support for how I (if any) can render Xwiki workplace pages to   
 support RTL
 languages.
 Thanks in advance


 Not yet for the Arabic or Hebrew languages.
 I'm translating strings of XWiki into Arabic. I finished the half.

 Here are steps that I'm doing:

 1. Translating strings into Arabic
 2. Test and bugs detection
 3. Programing and template changing for RTL support (css, velocity  
 template,
 etc.).

 If you want to participate in translating and revising Arabic  
 strings, it
 will be my pleasure to co-operate together.

 Have a nice day

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


Re: [xwiki-users] 2-1/2 naming questions

2008-10-17 Thread Vincent Massol
Hi Dave,

On Oct 15, 2008, at 8:40 PM, Dave Mangot wrote:


 Bonjour,

 We've just upgraded to Xwiki 1.6 and I have some questions from a user
 that are not necessarily 1.6 specific.

 1. Is it possible to have a page name with a period (.) in the name.
 e.g. [Release 1.6]?  In Xwiki 1.0 it renders as underlined 6.  In  
 Xwiki
 2.0, it doesn't even render as a link.  In fact, I can't get any Xwiki
 2.0 links to render at all.

The syntax is [[...]] in XWiki Syntax 2.0.

 2. Is it possible to have Xwiki store attachments with spaces in the
 name?  Say I want to store a file that is called Marketing Plan Oct
 2008.pdf.  Xwiki seems to take all the spaces out and munge the
 filename, especially if it is a long one, it puts in tildes (~).  I  
 want
 my users to be able to download the plan without having to rename it
 themselves.  How do I do that?

 3. How beta is the Confluence 1.0 rendering?  I made a page like this:

 h1. header1
 h2. header2
 h3. header3
 h4. header4

 Only the h1 rendered correctly, everything else showed up as plan  
 text.
   That has got to be the most basic page imaginable.

The only syntaxes that are currently working well (i.e. that have been  
tested and worked on) are the XWiki Syntax 1.0 and XWiki syntax 2.0.  
The others are experimental. As Thomas said, for the confluence syntax  
we're using the Parser provided by Doxia and we haven't started  
testing how well or how bad it is yet. I wanted to finish the new  
XWiki 2.0 syntax support first before moving to other syntaxes. BTW  
I'm still waiting for Doxia to release its 1.0 beta 1 version to  
incorporate it (right now we're using an old Doxia alpha since that's  
the last released version).

Note that even the XWiki Syntax 2.0 is still beta and is meant to be  
finalized for XE 1.7 (mid December) but I think it's working quite  
well already. If you find any issue with it please report it in JIRA  
since that will help us a lot to stabilize it.

Thanks
-Vincent

 Do I have something installed incorrectly?

 Thanks,

 -Dave

 -- 
 Dave Mangot
 Terracotta Inc.
 650 Townsend St. Suite 325
 San Francisco, CA 94103 USA
 +1 415 738 4059
 [EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] A Real tutorial for creating Skins and Template ...

2008-10-17 Thread Vincent Massol
I'd also love such a tutorial. Who can write it?

Thanks
-Vincent

On Oct 15, 2008, at 6:30 AM, Hoani Cross wrote:

 Hi,

 I was also looking for such a tutorial without success. To acheive  
 the goal
 in order to make my custom skin, I just tried to copy the toucan  
 skin files
 to a new folder and modify classes (or add new ones for special  
 cases) using
 Firebug to detect each block assigned class or id. The CSS  
 architecture is
 very complex and very difficult to understand. Hope this will help.

 -- 
 Hoani CROSS
 Globotraders Tahiti Founder [http://globotraders-tahiti.com]

 2008/10/14 Azzedine Ait Khelifa [EMAIL PROTECTED]


 Hello all,

 I'm looking for a real tutorial (step by step or How to) for  
 creating skins
 and template for XWiki ... I'm Looking for the Xwiki  
 Documentation ... and
 it's not really understable ...

 Someone have some knoewledge about ?

 Thanx,

 Azz ..

 PS : If someone write a good Tutorial, I'll paid him/her beer in a
 wonderfull pub in Paris ...




 ___
 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] MyTodos not showing my todos

2008-10-17 Thread Vincent Massol
Hi Antonio,

On Oct 16, 2008, at 7:40 AM, Antonio Goncalves wrote:

 That works great thanks Fabian. IMHO the TODO application should be  
 changed
 and use this HQL request instead. It makes more sense to only  
 display the
 todos of the connected user and sort them by due date.

Could you do that?

The main page could have a My Todos section and a All Todos  
section below for example.

Thanks
-Vincent

PS: BTW this is not an application supported by the xwiki dev team. It  
was only done by me as a quick example for an article on TSS.

 2008/10/16 Fabian Pichler [EMAIL PROTECTED]

 Try:
 #set ($hql = , BaseObject as obj, StringProperty as prop1,
 LargeStringProperty as prop2, DateProperty as dueDate where
 obj.name=doc.fullName
 and obj.className='XWiki.TodoClass' and obj.name
 'XWiki.TodoClassTemplate'
 and obj.id=prop1.id.id and prop1.id.name='Status' and prop1.value 
 'Finished' and obj.id=prop2.id.id and prop2.id.name='Assignee' and
 prop2.value='$context.user' and obj.id = dueDate.id.id and
 dueDate.id.name='TargetDate'
 order by dueDate.value desc)

 Fabian.

 2008/10/15 Antonio Goncalves [EMAIL PROTECTED]

 Thanks Fabian, it works, that's great.
 I would have a second question though. The TODOs are ordered by  
 doc.date
 (which is the creation of the document). What I really want is to  
 order
 by
 the Target Date (it's the property of the TodoClass). This  
 property is a
 date, so do you know how I can order by this property ?

 Thanks in advance
 Antonio

 2008/10/15 Fabian Pichler [EMAIL PROTECTED]

 Sorry, missing a 't' in $context so once again:
 #set ($hql = , BaseObject as obj, StringProperty as prop1,
 LargeStringProperty as prop2 where obj.name=doc.fullName and
 obj.className='XWiki.TodoClass' and obj.name
 'XWiki.TodoClassTemplate'
 and
 obj.id=prop1.id.id and prop1.id.name='Status' and prop1.value 
 'Finished'
 and obj.id=prop2.id.id and prop2.id.name='Assignee' and
 prop2.value='$context.user' order by doc.date desc)

 Fabian.

 2008/10/15 Fabian Pichler [EMAIL PROTECTED]

 Hi Antonio

 I had a quick look at your problem and think your right the HQL- 
 Query
 is
 wrong. The Problem comes from the definition of the Assignee- 
 Field in
 the XWiki.TodoClass. The Assignee-Field is defined as List of  
 Users
 Property which is based on the LargeStringProperty and not the
 StringProperty.

 Therefore try the following hql query:
 #set ($hql = , BaseObject as obj, StringProperty as prop1,
 LargeStringProperty as prop2 where obj.name=doc.fullName and
 obj.className='XWiki.TodoClass' and obj.name
 'XWiki.TodoClassTemplate'
 and obj.id=prop1.id.id and prop1.id.name='Status' and  
 prop1.value 
 'Finished' and obj.id=prop2.id.id and prop2.id.name='Assignee' and
 prop2.value='$contex.user' order by doc.date desc)

 Kind Regards,
 Fabian


 2008/10/13 Antonio Goncalves [EMAIL PROTECTED]

 I've tried everything but I can't make it work. I'm now using  
 the HQL
 Query
 Tester (
 http://code.xwiki.org/xwiki/bin/view/Snippets/HQLQueryTesterSnippet
 )
 to test my HQL queries, but it looks like this snippet of code of
 the
 HQL
 Query Tester doesn't work either :o(
 Any idea to try HQL queries ? I really need to display the  
 TODOs of
 the
 current user and it looks like it's just a query to change but I
 can't
 figure it out.

 Any idea ?

 Thanks,
 Antonio

 2008/10/8 Antonio Goncalves [EMAIL PROTECTED]

 Hi everybody,
 I've installed the Todo application (




 http://code.xwiki.org/xwiki/bin/view/Applications/TodoApplicationDownloads
 ).
 I can add new todos, affect them to users and so on. But when I
 check
 the
 MyTodos Panel (
 http://localhost:8080/xwiki/bin/view/Panels/MyTodos)
 it's
 always empty. The problem is the HQL statement. It's like that :

 #set ($hql = , BaseObject as obj, StringProperty as prop1,
 StringProperty
 as prop2 where obj.name=doc.fullName and
 obj.className='XWiki.TodoClass'
 and obj.name'XWiki.TodoClassTemplate' and  
 obj.id=prop1.id.idand
 prop1.id.name='Status' and prop1.value  'Finished' and obj.id=
 prop2.id.id and prop2.id.name='Assignee' and
 prop2.value='$context.user'
 order by doc.date desc)

 And if I get rid of the last assignee close (and obj.id
 =prop2.id.idand
 prop2.id.name='Assignee' and prop2.value='$context.user' ), it
 works
 but
 shows all the todos of everybody.

 Do you know how to fix this HQL query so it shows the todos of  
 the
 current
 user ?

 Thanks,
 Antonio




 --
 --
 Antonio Goncalves ([EMAIL PROTECTED])
 Software architect

 Paris JUG leader : www.parisjug.org
 Web site : www.antoniogoncalves.org
 Blog: jroller.com/agoncal
 LinkedIn: www.linkedin.com/in/agoncal
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




 --
 –

 Fabian Pichler[EMAIL PROTECTED]

 phone  +41 61 261 67 89  fax+41 61 261 67 88
 synventis gmbhGerbergasse 30CH - 4001  Basel

 The  information  

[xwiki-users] Can not link to a document with a white space in the name.

2008-10-17 Thread ming chen
Hi,
Can someone tell me what's the difference between this 2 lines:
[$swtoolObj.ToolName$doc.fullName]
a href=$doc.getURL(view)$swtoolObj.ToolName/a

Here $swtoolObj.ToolName is Windows XP, and $doc.fullName is Main.Windows
XP. The first code line will fail to link to the Main.Windows XP
document, while the second works fine.

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


Re: [xwiki-users] How to setup the panels for left navigation

2008-10-17 Thread Art Yeung



Sergiu Dumitriu-2 wrote:
 
 Sheila Hobeck wrote:
 I have been struggling today with setting up a left navigation.
 Everytime I save the panel/space with the updated layout - the
 navigation is lost.  What am I doing wrong?
 
 What exactly are you doing?
 
 Make sure you don't follow the link from the main page, that one is
 wrong (fixed in 1.6.1). You should go to the Administration page and
 configure the panels from there.
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

I have also seen in the past where the Panels are mixed up. I used the
object editor in the end to edit the text field rather than using the drag
and drop. It might help.

/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object
Panels displayed on the right: or Panels displayed on the left:

Art

-- 
View this message in context: 
http://n2.nabble.com/How-to-setup-the-panels-for-left-navigation-tp1341755p1344398.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] MyTodos not showing my todos

2008-10-17 Thread Antonio Goncalves
Both are java.lang.Long. But the pb doesn't come from the if statement. I
use a sortable table. And depending on the way I sort it (by clicking on the
header), I have completly random behavior (sometimes I have 3 red lines,
sometimes 6... weird)

table id=todoTable class=grid sortable filterable doOddEven
cellpadding=0 cellspacing=0 border=0
  tr class=sortHeader
thN°/th
thTitre/th
thDescription/th
thAssignee/th
thDate/th
thStatus/th
  /tr
#set ($i=0)
#set ($today = $xwiki.currentDate.time)

#foreach ($todo in $todos)
#set ($todoDoc = $xwiki.getDocument($todo))
#set ($todoObj = $todoDoc.getObject(XWiki.TodoClass))
#set ($i = $i + 1)
#if ($todoObj.getProperty(TargetDate).value.time  $today)
  tr style=color:White;background-color:Red;
#else
  tr
#end
td$i/td
td[$todo]/td
td$todoObj.Description/td
td$todoObj.Assignee/td
td$todoObj.TargetDate/td
td$todoObj.Status/td
  /tr
#end
/table

Thanks,
Antonio

2008/10/17 Sergiu Dumitriu [EMAIL PROTECTED]

 Antonio Goncalves wrote:
  Hum, just a thought. Is it String comparaison or Long ? Do I have to cast
 it
  into Long ?

 Just write

 $todoObj.getProperty(TargetDate).value.time.class
 $xwiki.currentDate.time.class

 to see the type of each term.

  2008/10/16 Antonio Goncalves [EMAIL PROTECTED]
 
  Thanks, it's working. I just have a funny behavior now when I compare
 these
  dates with the current date (converted to milliseconds) :
  #if ($todoObj.getProperty(TargetDate).value.time
   $xwiki.currentDate.time)
 
  Sometimes the if statement is correct and sometimes is not. When I print
  the values I see targetDate inferior to currentDate but the if statement
 is
  not executed. Strange.
 
  Antonio
 
  2008/10/16 Sergiu Dumitriu [EMAIL PROTECTED]
 
  Antonio Goncalves wrote:
  It's me again. I'm still confused by the property classes.
  The dueDate is of type DateProperty. How can have the milliseconds
 value
  of
  that date ? I've tried to format the date, but it doesn't work. If I
  display
   $todoObj.TargetDate, it's fine, but I can manipulate it as a date (
  using formatDate for exemple)
 
  #foreach ($todo in $todos)
  #set ($todoDoc = $xwiki.getDocument($todo))
  #set ($todoObj = $todoDoc.getObject(XWiki.TodoClass))
 
  $todoObj.TargetDate
// This works
  $xwiki.formatDate($todoObj.TargetDate, yymmdd)  // This
  does'n
  work
  #end
 
  Do you know what to do to use formatDate on a DateProperty ?
 
  $xwiki.formatDate($todoObj.getProperty(TargetDate).value, yymmdd)
 
  $todoObj.TargetDate formats the date into a string.
  $todoObj.getProperty(TargetDate).value is the actual value of the
  property, which is a Date for date properties.


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




-- 
--
Antonio Goncalves ([EMAIL PROTECTED])
Software architect

Paris JUG leader : www.parisjug.org
Web site : www.antoniogoncalves.org
Blog: jroller.com/agoncal
LinkedIn: www.linkedin.com/in/agoncal
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How can I forbid Users to create spaces

2008-10-17 Thread Art Yeung



Sergiu Dumitriu-2 wrote:
 
 Vincent Massol wrote:
 Hi Florian,
 
 On Oct 13, 2008, at 10:31 PM, Florian Rhomberg wrote:
 
 Hi!

 I have two questions:

 -  As already mentioned in the subject, I want to forbid  
 users to
 create spaces, only some user groups should be allowed to create  
 spaces.
 
 A workaround for the moment is to use rights like this:
 
 - Global rights:
 -- Admins (a group of your choice) can edit
 -- The rest of the users cannot edit
 - Rights for each editable space:
 -- All the users can edit
 
 The disadvantage is that you must always assign the proper rights for
 each new space. The advantage is that it works, and it needs a few
 minutes to setup.
 
 This works by the fact that rights are looked upwards: rights for the
 page, rights for the space, rights for the wiki. In an existing space,
 the right to edit will be granted in that space. For a new space, since
 it doesn't have any rights, the rights for the wiki will be taken into
 account: admins can create a new page, the rest of the users can't.
 
 This is hard since we don't have an explicit notion of space. A space  
 is created when a document is created with that space name. However  
 you could perform some validation when the user saves the document if  
 you want. See the notification tutorial on
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/Tutorials
 
 -  How can I make some spaces like xwiki, Main, and especially
 Panels, Stats invisible for any user except the admin user. I do not  
 want
 them into index or even when in the search.
 
 They're already supposed to be invisible (for xwiki, panels, stats).
 
 If you want to add other spaces, check the index page content and the  
 search page content. You'll see the code that excludes some pages/ 
 spaces.
 
 
 In the future this will be easier. For the moment, manual exclusion is
 the only way.
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

This answers my question too, so thank you.

What I do is I created a new panel to replace the default New Page panel.
The new panels has a drop down list and a text field and a submit button.
The drop down contains a list of spaces where users can select where they
want to create a page in, and text field is obviously for the new title. In
this way, the Space creation function has been hide from users. Of course,
users still can if they know xwiki well. Unless we have more better way,
this is ok. Also this give users a friendly way to create pages where they
don't need to go to the target space before creation. 

Art
-- 
View this message in context: 
http://n2.nabble.com/How-can-I-forbid-Users-to-create-spaces-tp1330318p1344430.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.6.1 released

2008-10-17 Thread Jean-Vincent Drean
Hi,

See 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradinganXWikiInstallation

JV.

On Fri, Oct 17, 2008 at 10:48 AM, Azzedine Ait Khelifa
[EMAIL PROTECTED] wrote:

 Great !

 But how to migrate from 1.6.0 to 1.6.1 ?

 Many Thanx,

 AAK

 --- En date de : Jeu 16.10.08, Thomas Mortagne [EMAIL PROTECTED] a écrit :
 De: Thomas Mortagne [EMAIL PROTECTED]
 Objet: [xwiki-users] [ANN] XWiki Enterprise 1.6.1 released
 À: XWiki Developers [EMAIL PROTECTED], XWiki Users users@xwiki.org
 Date: Jeudi 16 Octobre 2008, 18h12

 The XWiki development team is pleased to announce the release of XWiki
 Enterprise 1.6.1.

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

 This is a bug fix release. It fix an important regression of LDAP
 authenticator.

 Changes from 1.6:

 Bugs fixed

* XWIKI-2747 - LDAP search is sometime done without the base dn
* XWIKI-2753 - Display bug in konqueror for class editor
* XWIKI-2757 - Empty .jar produced after build

 Improvements

* XAPANELS-59 - Inconsistent redirects in the Panel Wizard

 Task

* XWIKI-2752 - Remove the code formatting style from the old
 WYSIWYG editor

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

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


 __
 Do You Yahoo!?
 En finir avec le spam? Yahoo! Mail vous offre la meilleure protection 
 possible contre les messages non sollicités
 http://mail.yahoo.fr Yahoo! Mail
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




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


Re: [xwiki-users] MyTodos not showing my todos

2008-10-17 Thread Antonio Goncalves
Ok Vincent. I'm still doing some bits and pieces with the TODO application
and I will update it to a 1.1 version.
Antonio

2008/10/17 Vincent Massol [EMAIL PROTECTED]

 Hi Antonio,

 On Oct 16, 2008, at 7:40 AM, Antonio Goncalves wrote:

  That works great thanks Fabian. IMHO the TODO application should be
  changed
  and use this HQL request instead. It makes more sense to only
  display the
  todos of the connected user and sort them by due date.

 Could you do that?

 The main page could have a My Todos section and a All Todos
 section below for example.

 Thanks
 -Vincent

 PS: BTW this is not an application supported by the xwiki dev team. It
 was only done by me as a quick example for an article on TSS.

  2008/10/16 Fabian Pichler [EMAIL PROTECTED]
 
  Try:
  #set ($hql = , BaseObject as obj, StringProperty as prop1,
  LargeStringProperty as prop2, DateProperty as dueDate where
  obj.name=doc.fullName
  and obj.className='XWiki.TodoClass' and obj.name
  'XWiki.TodoClassTemplate'
  and obj.id=prop1.id.id and prop1.id.name='Status' and prop1.value 
  'Finished' and obj.id=prop2.id.id and prop2.id.name='Assignee' and
  prop2.value='$context.user' and obj.id = dueDate.id.id and
  dueDate.id.name='TargetDate'
  order by dueDate.value desc)
 
  Fabian.
 
  2008/10/15 Antonio Goncalves [EMAIL PROTECTED]
 
  Thanks Fabian, it works, that's great.
  I would have a second question though. The TODOs are ordered by
  doc.date
  (which is the creation of the document). What I really want is to
  order
  by
  the Target Date (it's the property of the TodoClass). This
  property is a
  date, so do you know how I can order by this property ?
 
  Thanks in advance
  Antonio
 
  2008/10/15 Fabian Pichler [EMAIL PROTECTED]
 
  Sorry, missing a 't' in $context so once again:
  #set ($hql = , BaseObject as obj, StringProperty as prop1,
  LargeStringProperty as prop2 where obj.name=doc.fullName and
  obj.className='XWiki.TodoClass' and obj.name
  'XWiki.TodoClassTemplate'
  and
  obj.id=prop1.id.id and prop1.id.name='Status' and prop1.value 
  'Finished'
  and obj.id=prop2.id.id and prop2.id.name='Assignee' and
  prop2.value='$context.user' order by doc.date desc)
 
  Fabian.
 
  2008/10/15 Fabian Pichler [EMAIL PROTECTED]
 
  Hi Antonio
 
  I had a quick look at your problem and think your right the HQL-
  Query
  is
  wrong. The Problem comes from the definition of the Assignee-
  Field in
  the XWiki.TodoClass. The Assignee-Field is defined as List of
  Users
  Property which is based on the LargeStringProperty and not the
  StringProperty.
 
  Therefore try the following hql query:
  #set ($hql = , BaseObject as obj, StringProperty as prop1,
  LargeStringProperty as prop2 where obj.name=doc.fullName and
  obj.className='XWiki.TodoClass' and obj.name
  'XWiki.TodoClassTemplate'
  and obj.id=prop1.id.id and prop1.id.name='Status' and
  prop1.value 
  'Finished' and obj.id=prop2.id.id and prop2.id.name='Assignee' and
  prop2.value='$contex.user' order by doc.date desc)
 
  Kind Regards,
  Fabian
 
 
  2008/10/13 Antonio Goncalves [EMAIL PROTECTED]
 
  I've tried everything but I can't make it work. I'm now using
  the HQL
  Query
  Tester (
  http://code.xwiki.org/xwiki/bin/view/Snippets/HQLQueryTesterSnippet
  )
  to test my HQL queries, but it looks like this snippet of code of
  the
  HQL
  Query Tester doesn't work either :o(
  Any idea to try HQL queries ? I really need to display the
  TODOs of
  the
  current user and it looks like it's just a query to change but I
  can't
  figure it out.
 
  Any idea ?
 
  Thanks,
  Antonio
 
  2008/10/8 Antonio Goncalves [EMAIL PROTECTED]
 
  Hi everybody,
  I've installed the Todo application (
 
 
 
 
 
 http://code.xwiki.org/xwiki/bin/view/Applications/TodoApplicationDownloads
  ).
  I can add new todos, affect them to users and so on. But when I
  check
  the
  MyTodos Panel (
  http://localhost:8080/xwiki/bin/view/Panels/MyTodos)
  it's
  always empty. The problem is the HQL statement. It's like that :
 
  #set ($hql = , BaseObject as obj, StringProperty as prop1,
  StringProperty
  as prop2 where obj.name=doc.fullName and
  obj.className='XWiki.TodoClass'
  and obj.name'XWiki.TodoClassTemplate' and
  obj.id=prop1.id.idand
  prop1.id.name='Status' and prop1.value  'Finished' and obj.id=
  prop2.id.id and prop2.id.name='Assignee' and
  prop2.value='$context.user'
  order by doc.date desc)
 
  And if I get rid of the last assignee close (and obj.id
  =prop2.id.idand
  prop2.id.name='Assignee' and prop2.value='$context.user' ), it
  works
  but
  shows all the todos of everybody.
 
  Do you know how to fix this HQL query so it shows the todos of
  the
  current
  user ?
 
  Thanks,
  Antonio
 
 
 
 
  --
  --
  Antonio Goncalves ([EMAIL PROTECTED])
  Software architect
 
  Paris JUG leader : www.parisjug.org
  Web site : www.antoniogoncalves.org
  Blog: jroller.com/agoncal
  LinkedIn: www.linkedin.com/in/agoncal
  ___
  users 

[xwiki-users] Re : [ANN] XWiki Enterprise 1.6.1 released

2008-10-17 Thread Azzedine Ait Khelifa

Great !

But how to migrate from 1.6.0 to 1.6.1 ?

Many Thanx,

AAK

--- En date de : Jeu 16.10.08, Thomas Mortagne [EMAIL PROTECTED] a écrit :
De: Thomas Mortagne [EMAIL PROTECTED]
Objet: [xwiki-users] [ANN] XWiki Enterprise 1.6.1 released
À: XWiki Developers [EMAIL PROTECTED], XWiki Users users@xwiki.org
Date: Jeudi 16 Octobre 2008, 18h12

The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.6.1.

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

This is a bug fix release. It fix an important regression of LDAP
authenticator.

Changes from 1.6:

Bugs fixed

* XWIKI-2747 - LDAP search is sometime done without the base dn
* XWIKI-2753 - Display bug in konqueror for class editor
* XWIKI-2757 - Empty .jar produced after build

Improvements

* XAPANELS-59 - Inconsistent redirects in the Panel Wizard

Task

* XWIKI-2752 - Remove the code formatting style from the old
WYSIWYG editor

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

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


__
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki Enterprise 1.6.1 released

2008-10-17 Thread Mihails Agafonovs
Hi!
Just have installed XWiki 1.6.1. LDAP authentication against AD using 
sAMAccountName still doesn't work. In the log file it's written, that invalid 
credentials 
were provided (data 525, vece). Of course, I do use valid credentials.

Here's my xwiki.cfg:
--
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServic
eImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=my.domain.com
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=sAMAccountName={0} // also tried bind_dn={0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.validate_password=0
xwiki.authentication.ldap.base_DN=dc=domain,dc=com
xwiki.authentication.ldap.UID_attr=sAMAccountName // if I put cn here, all 
works fine
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullna
me=fullName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=0
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=some_group,o
u=Groups,ou=Riga,ou=LAT,dc=domain,dc=com
xwiki.authentication.ldap.groupcache_expiration=21800
xwiki.authentication.ldap.mode_group_sync=always
--

Quoting Thomas Mortagne [EMAIL PROTECTED]:
 The XWiki development team is pleased to announce the release of XWiki
 Enterprise 1.6.1.
 
 Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
 
 This is a bug fix release. It fix an important regression of LDAP
 authenticator.
 
 Changes from 1.6:
 
 Bugs fixed
 
 * XWIKI-2747 - LDAP search is sometime done without the base dn
 * XWIKI-2753 - Display bug in konqueror for class editor
 * XWIKI-2757 - Empty .jar produced after build
 
 Improvements
 
 * XAPANELS-59 - Inconsistent redirects in the Panel Wizard
 
 Task
 
 * XWIKI-2752 - Remove the code formatting style from the
 old
 WYSIWYG editor
 
 For more information see the Release notes at:
 http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise161
 
 Thanks
 -The XWiki dev team
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


Ar cieņu, Mihails

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


Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.6.1 released

2008-10-17 Thread Jean-Vincent Drean
On Fri, Oct 17, 2008 at 11:14 AM, Jean-Vincent Drean [EMAIL PROTECTED] wrote:
 On Fri, Oct 17, 2008 at 11:04 AM, Azzedine Ait Khelifa
 [EMAIL PROTECTED] wrote:

 Thanx,

 An error in Release Notes for XWiki Enterprise 1.6.1 

 The database structure hasn't been changed since XWiki Enterprise 1.5 so
 you shouldn't have to touch your Database to upgrade. Thus you can simply
 install this version and configure it to point to your existing database.

 It's not really true, I have already change some skins and some templates
 ...and I lose all my change ...Fortunately, I have backup of my work and I
 can rollback ...

If you have modified some files in the webapp itself (which means the
xwiki/ folder) you'll have to copy them in the newly installed one.

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


Re: [xwiki-users] A Real tutorial for creating Skins and Template ...

2008-10-17 Thread Sergiu Dumitriu
Vincent Massol wrote:
 I'd also love such a tutorial. Who can write it?
 

I think we should first have a _much_ cleaner and modular skin. To be
done once we have all the extension mechanisms in place. After that, a
tutorial will be easy.

 
 On Oct 15, 2008, at 6:30 AM, Hoani Cross wrote:
 
 Hi,

 I was also looking for such a tutorial without success. To acheive  
 the goal
 in order to make my custom skin, I just tried to copy the toucan  
 skin files
 to a new folder and modify classes (or add new ones for special  
 cases) using
 Firebug to detect each block assigned class or id. The CSS  
 architecture is
 very complex and very difficult to understand. Hope this will help.

 -- 
 Hoani CROSS
 Globotraders Tahiti Founder [http://globotraders-tahiti.com]

 2008/10/14 Azzedine Ait Khelifa [EMAIL PROTECTED]

 Hello all,

 I'm looking for a real tutorial (step by step or How to) for  
 creating skins
 and template for XWiki ... I'm Looking for the Xwiki  
 Documentation ... and
 it's not really understable ...

 Someone have some knoewledge about ?

 Thanx,

 Azz ..

 PS : If someone write a good Tutorial, I'll paid him/her beer in a
 wonderfull pub in Paris ...


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


Re: [xwiki-users] A Real tutorial for creating Skins and Template ...

2008-10-17 Thread Vincent Massol

On Oct 17, 2008, at 11:31 AM, Sergiu Dumitriu wrote:

 Vincent Massol wrote:
 I'd also love such a tutorial. Who can write it?


 I think we should first have a _much_ cleaner and modular skin. To be
 done once we have all the extension mechanisms in place. After that, a
 tutorial will be easy.

Sure I agree but both are not exclusive. Otherwise we'll not progress.  
We decided to clean the skins at least 6 months ago and we're far from  
there yet. So it'd be better to have a quick tutorial now rather than  
wait for several more months ;)

So if a contributor (someone who has created a skin) can write a quick  
one it'll help a lot others.

Thanks
-Vincent

 On Oct 15, 2008, at 6:30 AM, Hoani Cross wrote:

 Hi,

 I was also looking for such a tutorial without success. To acheive
 the goal
 in order to make my custom skin, I just tried to copy the toucan
 skin files
 to a new folder and modify classes (or add new ones for special
 cases) using
 Firebug to detect each block assigned class or id. The CSS
 architecture is
 very complex and very difficult to understand. Hope this will help.

 -- 
 Hoani CROSS
 Globotraders Tahiti Founder [http://globotraders-tahiti.com]

 2008/10/14 Azzedine Ait Khelifa [EMAIL PROTECTED]

 Hello all,

 I'm looking for a real tutorial (step by step or How to) for
 creating skins
 and template for XWiki ... I'm Looking for the Xwiki
 Documentation ... and
 it's not really understable ...

 Someone have some knoewledge about ?

 Thanx,

 Azz ..

 PS : If someone write a good Tutorial, I'll paid him/her beer in a
 wonderfull pub in Paris ...
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] A Real tutorial for creating Skins and Template ...

2008-10-17 Thread Azzedine Ait Khelifa



--- En date de : Ven 17.10.08, Sergiu Dumitriu [EMAIL PROTECTED] a écrit :
De: Sergiu Dumitriu [EMAIL PROTECTED]
Objet: Re: [xwiki-users] A Real tutorial for creating Skins and Template ...
À: XWiki Users users@xwiki.org
Date: Vendredi 17 Octobre 2008, 11h31

I think we should first have a _much_ cleaner and modular skin. To be
done once we have all the extension mechanisms in place. After that, a
tutorial will be easy.

Great Idea but when can we have a _much cleaner and modular skin ?



__
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki Enterprise 1.6.1 released

2008-10-17 Thread Thomas Mortagne
On Fri, Oct 17, 2008 at 11:01 AM, Mihails Agafonovs [EMAIL PROTECTED] wrote:
 Hi!
 Just have installed XWiki 1.6.1. LDAP authentication against AD using
 sAMAccountName still doesn't work. In the log file it's written, that invalid 
 credentials
 were provided (data 525, vece). Of course, I do use valid credentials.

 Here's my xwiki.cfg:
 --
 xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServic
 eImpl
 xwiki.authentication.ldap=1
 xwiki.authentication.ldap.server=my.domain.com
 xwiki.authentication.ldap.port=389
 xwiki.authentication.ldap.bind_DN=sAMAccountName={0} // also tried bind_dn={0}

Are you sure this credential form works with AD ? I never seen that at
least but I don't know AD very well.
You should look at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPConfigurationforActiveDirectory.

 xwiki.authentication.ldap.bind_pass={1}
 xwiki.authentication.ldap.validate_password=0
 xwiki.authentication.ldap.base_DN=dc=domain,dc=com
 xwiki.authentication.ldap.UID_attr=sAMAccountName // if I put cn here, all 
 works fine
 xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullna
 me=fullName,email=mail,ldap_dn=dn
 xwiki.authentication.ldap.update_user=0
 xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=some_group,o
 u=Groups,ou=Riga,ou=LAT,dc=domain,dc=com
 xwiki.authentication.ldap.groupcache_expiration=21800
 xwiki.authentication.ldap.mode_group_sync=always
 --

 Quoting Thomas Mortagne [EMAIL PROTECTED]:
 The XWiki development team is pleased to announce the release of XWiki
 Enterprise 1.6.1.

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

 This is a bug fix release. It fix an important regression of LDAP
 authenticator.

 Changes from 1.6:

 Bugs fixed

 * XWIKI-2747 - LDAP search is sometime done without the base dn
 * XWIKI-2753 - Display bug in konqueror for class editor
 * XWIKI-2757 - Empty .jar produced after build

 Improvements

 * XAPANELS-59 - Inconsistent redirects in the Panel Wizard

 Task

 * XWIKI-2752 - Remove the code formatting style from the
 old
 WYSIWYG editor

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

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


 Ar cieņu, Mihails

 ___
 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


Re: [xwiki-users] [ANN] XWiki Enterprise 1.6.1 released

2008-10-17 Thread Mihails Agafonovs
I've tried the syntax from manual (domain\{0}) and now it works!
Thanks.
P.S. Maybe for the future, it would be good also to support other
formats like {0}, [EMAIL PROTECTED], because they're actually valid and
work.
 Quoting Thomas Mortagne : On Fri, Oct 17, 2008 at 11:01 AM, Mihails
Agafonovs  wrote:
  Hi!
  Just have installed XWiki 1.6.1. LDAP authentication against AD
using
  sAMAccountName still doesn't work. In the log file it's written,
that invalid credentials
  were provided (data 525, vece). Of course, I do use valid
credentials.
 
  Here's my xwiki.cfg:
  --
 
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServic
  eImpl
  xwiki.authentication.ldap=1
  xwiki.authentication.ldap.server=my.domain.com
  xwiki.authentication.ldap.port=389
  xwiki.authentication.ldap.bind_DN=sAMAccountName={0} // also tried
bind_dn={0}
 Are you sure this credential form works with AD ? I never seen that
at
 least but I don't know AD very well.
 You should look at

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPConfigurationforActiveDirectory.
  xwiki.authentication.ldap.bind_pass={1}
  xwiki.authentication.ldap.validate_password=0
  xwiki.authentication.ldap.base_DN=dc=domain,dc=com
  xwiki.authentication.ldap.UID_attr=sAMAccountName // if I put cn
here, all works fine
 
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullna
  me=fullName,email=mail,ldap_dn=dn
  xwiki.authentication.ldap.update_user=0
 
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=some_group,o
  u=Groups,ou=Riga,ou=LAT,dc=domain,dc=com
  xwiki.authentication.ldap.groupcache_expiration=21800
  xwiki.authentication.ldap.mode_group_sync=always
  --
 
  Quoting Thomas Mortagne :
  The XWiki development team is pleased to announce the release of
XWiki
  Enterprise 1.6.1.
 
  Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
 
  This is a bug fix release. It fix an important regression of
LDAP
  authenticator.
 
  Changes from 1.6:
 
  Bugs fixed
 
  * XWIKI-2747 - LDAP search is sometime done without the base
dn
  * XWIKI-2753 - Display bug in konqueror for class editor
  * XWIKI-2757 - Empty .jar produced after build
 
  Improvements
 
  * XAPANELS-59 - Inconsistent redirects in the Panel Wizard
 
  Task
 
  * XWIKI-2752 - Remove the code formatting style from the
  old
  WYSIWYG editor
 
  For more information see the Release notes at:
 
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise161
 
  Thanks
  -The XWiki dev team
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
  Ar cieņu, Mihails
 
  ___
  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
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xwiki

2008-10-17 Thread Thomas Andersen
Hi

We are in the process of evaluating wiki software for our product
documentation and have the following requirements:

1
Is it possible to create a new ³space² (a set of wiki pages) based on an
existing space?
We need to have a independent space for each version of our product.

2
Is there any asset (images, pdf etc.) management, and how does it work?

3
Do you support LDAP/AD for users?

4
How is it possible to make a security backup of the content.

5
Is it possible to generate a PDF/Word of a whole space?

6
Do you support versioning of the documents and assets?

7
What kind of search is implemented?


Thanks in advance,

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


[xwiki-users] XAR Export/Import Issues - JIRA XWIKI-1926

2008-10-17 Thread Deven Phillips
Vincent,

I was already on the mailing list, I just haven't been keeping up 
lately.

May I start off with a few questions?

1. Does XWiki use the Google XAR API unchanged?
2. Where should I post patches? Here? JIRA?

Thanks,

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


[xwiki-users] Using 2 different SSL certs for 2 different xwiki's on 1 server

2008-10-17 Thread Samuel Lee
Up until the point, we've had only 1 wildcard SSL cert for our site  
because we've only had one domain we were using, say example.com.  But  
we've just added a wiki to our farm which is going to be using a  
different domain, say newdomain.org.  We've obtained the certs for  
them, but I don't know where or how to configure apache/ssl to  
recognize the certs for the new wiki.  I assume it's in the ssh.conf  
file.  Has anyone done this successfully?

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


Re: [xwiki-users] XWiki Right to Left language support

2008-10-17 Thread Bey Youcef
Hi Vincent,

On 10/16/08, Vincent Massol [EMAIL PROTECTED] wrote:

 Hi Bey,

 That's very cool thanks for your work. Have you created a jira issue
 for this? Would be cool if you could attach a patch to it once you
 have something clean and working.


Yes of course, I'll do it :-)

I even do some experimentation on how to manage HTML component during
editing from right to left. It work, but it remain finding positions in
templates and codes to make all possible changes, adding to that css
modification.

I'll need probably some helps (in the near future) from your side for
producing the new localized Arabic version. It will remain the translation
of documentation according to screenshots.

Sincerely yours.

Youcef

Thanks again

 -Vincent


 On Oct 15, 2008, at 10:22 AM, Bey Youcef wrote:

  Hi Amer,
 
  On Mon, Oct 13, 2008 at 3:49 PM, Amer Radwan [EMAIL PROTECTED] wrote:
 
  Hi All,
  As I know Xwiki supports localization,but I think there is problem
  with
  Right to left languages like (Arabic and Hebrew) , so please I need
  your
  support for how I (if any) can render Xwiki workplace pages to
  support RTL
  languages.
  Thanks in advance
 
 
  Not yet for the Arabic or Hebrew languages.
  I'm translating strings of XWiki into Arabic. I finished the half.
 
  Here are steps that I'm doing:
 
  1. Translating strings into Arabic
  2. Test and bugs detection
  3. Programing and template changing for RTL support (css, velocity
  template,
  etc.).
 
  If you want to participate in translating and revising Arabic
  strings, it
  will be my pleasure to co-operate together.
 
  Have a nice day
 
  Youcef

 ___
 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