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

2008-10-16 Thread Thomas Mortagne
On Wed, Oct 15, 2008 at 8:40 PM, Dave Mangot [EMAIL PROTECTED] 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.

AFAIK no you can't use '.' in pages names yet.

 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.

Do you use the new syntax for XWiki 2.0 links ? See
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks


 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?

The cleaning is made on javascript side of standard attachment UI, you
can modify this UI or create you own attachment UI.


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

In fact it's more alpha than beta, we directly use Doxia's confluence
module (See http://maven.apache.org/doxia/) and did not even tested it
yet, it's more a proof of concept for our wiki parser component API.


 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.

 Do I have something installed incorrectly?

No I doubt that. If it's working (even half working) I think all is ok
on your side, there is not configuration yet for parsers other than
XWiki.


 Thanks,

 -Dave

 --
 Dave Mangot
 Terracotta Inc.
 650 Townsend St. Suite 325
 San Francisco, CA 94103 USA
 +1 415 738 4059
 [EMAIL PROTECTED]

 This e-mail incorporates Terracotta's confidentiality policy, which is
 online at http://www.terracottatech.com/emailconfidentiality.shtml
 ___
 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] skins template : many questions

2008-10-16 Thread Azzedine Ait Khelifa

I found in the xwiki.wikiskins object 
(http://localhost:8080/xwiki/bin/edit/XWiki/XWikiSkins?editor=class) ... the 
list of vm templates 
header.vmwiewheader.vmview.vmfooter.vmpagemenu.vmcomments2.vmedit.vmlogo.png
I suppose all theses vm used ...

But In the folder C:\Program Files\XWiki Enterprise\webapps\xwiki\templates

I see a file startpage.vm and when I edit it found
xwikivars.vmlayoutvars.vmhtmlheader.vm  = (stylesheet.vm ... analytics.vm etc 
...)header.vmmenuview.vm
Which are used ? where can we found a description oof everyones of them ?

Best Regards,

Azzedine.




  
___
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-16 Thread Azzedine Ait Khelifa

Thank you  for your help Hoani.

--- En date de : Mer 15.10.08, Hoani Cross [EMAIL PROTECTED] a écrit :
De: Hoani Cross [EMAIL PROTECTED]
Objet: Re: [xwiki-users] A Real tutorial for creating Skins and Template ...
À: [EMAIL PROTECTED], XWiki Users users@xwiki.org
Date: Mercredi 15 Octobre 2008, 6h30

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-16 Thread Sergiu Dumitriu
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


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

2008-10-16 Thread Sheila Hobeck
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?
___
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-16 Thread Vincent Massol
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.

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.

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


Re: [xwiki-users] wiki editor or wysiwyg editor ?

2008-10-16 Thread Vincent Massol
Hi Laurent,

On Oct 13, 2008, at 2:37 PM, Laurent Michenaud wrote:

 Hi,

 I would like to know if you use the
 wiki editor or the wysiwyg editor ?

 I have tried both but i've seen that it doesnot
 generate the same things.
 ex: {code}  and {style:type=div|class=code}
 and when you use both, it breaks layout and some
 characters.

 I think i'm going to disable the wysiwig editor
 but i'm interesting with your opinion ?

We have had some stability issues with our current wysiwyg editor and  
we've decided to rewrite it completely in order to have the best and  
most stable wysiwyg editor of all wikis ;) We're now getting closed to  
being able to release it and a first working version is planned for  
the end of the year. If you're using XWiki Enterprise 1.6 you can  
already enable the new editor but it's an alpha version right now.

For what it will look like, please see 
http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface

Note that for the new wysiwyg editor to work you'll have to use the  
new wiki syntax (see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax) 
  which is planned to be final for the end of the year (XE 1.7).

So if you can use only the wiki editor for now I think that would be  
the best.

Thanks
-Vincent


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


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

2008-10-16 Thread Antonio Goncalves
Hum, just a thought. Is it String comparaison or Long ? Do I have to cast it
into Long ?

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




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


[xwiki-users] LDAP Authentiction -- Errors on LDAP Server for not doing a clean Bind and UnBind.

2008-10-16 Thread sharanabasavaraj . x . mudgal
Hi! Thomas,

There are  errors we see on the ldap server on authenicating users with 
LDAP  for  XWiki.It is critical to fix this issue for us to be able to 
use xwiki.  This is what seems to be happening.  Normally when you do a 
'DoBind' with a LDAP directory it establishes the connection after 
successful authentication. Once you establish the connection you may ask 
for information within the LDAP directory or simple logout with a 
'DoUnbind'. Since you did not ask for any more information or issue a 
DoUnbind the LDAP directory tried to extend your session, which was 
eventually dropped. Also below is an example of a Bind with simple 
authentication and then an UnBind.   we would like to see a 'DoUnbind' 
following a 'Dobind' when authenticating to the LDAP directory. Could you 
please advise.

10:48:27 B0EB7BB0 LDAP: New cleartext connection 0x8352b08 from x.x.x.x, 
monitor = 0x7ac4dbb0, index = 6
10:48:27 B32C0BB0 LDAP: (x.x.x.x)(0x0044:0x60) DoBind on connection 
0x8352b08
10:48:27 B32C0BB0 LDAP: (x.x.x.x)(0x0044:0x60) Bind name:cn=abc,ou=xyz, 
version:3, authentication:simple
10:48:27 B32C0BB0 LDAP: (x.x.x.x)(0x0044:0x60) Sending operation result 
0:: to connection 0x8352b08
10:48:27 B32C0BB0 LDAP: (x.x.x.x)(0x0044:0x60) Operation 0x44:0x60 on 
connection 0x8352b08 completed in 0 seconds
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) DoExtended on connection 
0x8352b08
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) DoExtended: Extension 
Request OID: 0.0.0.0
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) Unable to find extension 
handler 0.0.0.0 in extension list
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) Sending operation result 
2::Unrecognized extended operation to connection 0x8352b08
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) Operation 0x45:0x77 on 
connection 0x8352b08 completed in 0 seconds



Trace Example 'Successful Bind and UnBind'
14:06:54 B0AB6BB0 LDAP: New TLS connection 0x838b948 from x.x.x.x, monitor 
= 0x969a4bb0, index = 6
14:06:54 969A4BB0 LDAP: Monitor 0x969a4bb0 initiating TLS handshake on 
connection 0x838b948
14:06:54 89F1EBB0 LDAP: (x.x.x.x)(0x:0x00) DoTLSHandshake on 
connection 0x838b948
14:06:54 89F1EBB0 LDAP: (x.x.x.x)(0x:0x00) Completed TLS handshake on 
connection 0x838b948
14:06:54 4C1FFBB0 LDAP: (x.x.x.x)(0xca72:0x60) DoBind on connection 
0x838b948
14:06:54 4C1FFBB0 LDAP: (x.x.x.x)(0xca72:0x60) Bind name:cn=abc,ou=xyz,, 
version:3, authentication:simple
14:06:54 4C1FFBB0 LDAP: (x.x.x.x)(0xca72:0x60) Sending operation result 
0:: to connection 0x838b948
14:06:54 4C1FFBB0 LDAP: (x.x.x.x)(0xca72:0x60) Operation 0xca72:0x60 on 
connection 0x838b948 completed in 0 seconds
14:06:54 8CB10BB0 LDAP: (x.x.x.x)(0xca73:0x42) DoUnbind on connection 
0x838b948
14:06:54 8CB10BB0 LDAP: Connection 0x838b948 closed
Thanks.
Sharan.
Engineer
DAS eCommerceEngineering,
GTI, JPMorgan Chase 
Houston.
Ph:713-216-0725

-
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase  Co., its subsidiaries
and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase 
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
___
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-16 Thread Sergiu Dumitriu
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


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

2008-10-16 Thread Sergiu Dumitriu
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


Re: [xwiki-users] skins template : many questions

2008-10-16 Thread Sergiu Dumitriu
Azzedine Ait Khelifa wrote:
 I found in the xwiki.wikiskins object 
 (http://localhost:8080/xwiki/bin/edit/XWiki/XWikiSkins?editor=class) ... the 
 list of vm templates 
 header.vmwiewheader.vmview.vmfooter.vmpagemenu.vmcomments2.vmedit.vmlogo.png
 I suppose all theses vm used ...
 
 But In the folder C:\Program Files\XWiki Enterprise\webapps\xwiki\templates
 
 I see a file startpage.vm and when I edit it found
 xwikivars.vmlayoutvars.vmhtmlheader.vm  = (stylesheet.vm ... analytics.vm 
 etc ...)header.vmmenuview.vm
 Which are used ? where can we found a description oof everyones of them ?
 

In most of those files there should be a small comment at the start,
explaining what the file does. Usually, the name is pretty suggestive,
and looking inside the file is enough to understand what goes on inside it.

I'm sorry, but the skins are not so well documented at the moment.

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