Re: [xwiki-users] CSS in Box Macro

2014-03-04 Thread vinc...@massol.net
Hi Patrick, On 4 Mar 2014 at 00:24:46, Patrick Masson (mas...@opensource.org(mailto:mas...@opensource.org)) wrote: Is there a tutorial for how to insert/modify the css in the Box Macro (http://extensions.xwiki.org/xwiki/bin/view/Extension/Box+Macro)? See 

[xwiki-users] Wrong regexp in sendmail function?

2014-03-04 Thread Pascal BASTIEN
Hello I think there are a wrong regexp in sendmail function in templates/shareinline.vm (xwiki 5.4.1) #if ($serverName.matches('\[.*\]|(\d{1,3}+\.){3}+\d{1,3}+'))     #if ($!{xwiki.getXWikiPreference('admin_email')} != '')   #set ($sender = $!{escapetool.q($sender)}

Re: [xwiki-users] XWiki and LDAP TLS binding

2014-03-04 Thread Pascal BASTIEN
Hello, I didn't modify  my catalina.sh because I indicate my keystore file in my ./webapps/xwiki_5.4.1/WEB-INF/xwiki.cfg file #-# The keystore file to use in SSL connection xwiki.authentication.ldap.ssl.keystore=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/jssecacerts Pascal B

[xwiki-users] SSO

2014-03-04 Thread Daniel Ebanja
Hallo xwiki-users, i have a webapplication from which i direct users to XWIKI through a link. The idea i have now is using basic Authentication: http:// username:passw...@mywiki.xwiki.com/xwiki/bin/view/Main/WebHome?basicauth=1 The problem here is i am using username:OID in the url above. I will

[xwiki-users] Extra Line after heading

2014-03-04 Thread DeHaynes
I am noticing, what I think is a bug in XWiki. After a heading XWiki creates an blank line. See below http://xwiki.475771.n2.nabble.com/file/n7589409/XWiki_Headings.png When I look at the code generated, it is a line with a class of edit_section. See below

Re: [xwiki-users] Extra Line after heading

2014-03-04 Thread Jean SIMARD
Hi, Can you send the code of the page. You may use Velocity code which introduce blank lines if not escaped. For example, {{velocity}} #set($mylist = []) $mylist.add('first_element') {{/velocity}} but {{velocity}} #set($mylist = []) #set($discard = $mylist.add('first_element')) {{/velocity}}

Re: [xwiki-users] Extra Line after heading

2014-03-04 Thread Timothy Ray Hays
Below is the wiki markup of the page. = Info = {{info}} This template is meant to be a guide. The goal is to try and help you remember all the areas you need to document. Your particular documentation may not need all of these sections and it may need more. You should add or delete as you

Re: [xwiki-users] Wrong regexp in sendmail function?

2014-03-04 Thread Guillaume Fenollar
Hello Pascal. From what I understand, this regex validates either: - A server name with brackets, so yours would be [iwiki.cp2i.i2] - An IP address (4 groups of 1 to 3 digits, dot separated) So maybe it will work if you add brackets to your server name? And yes, I find it a bit strange, me

Re: [xwiki-users] Wrong regexp in sendmail function?

2014-03-04 Thread Sergiu Dumitriu
[...] is how IPv6 IPs are written. So the regexp detects if the hostname is an IPv4 or an IPv6 raw IP. The current logic is: is the server name an IP? ├ yes: is there a valid admin_email configured? │ ├ yes: use the admin_email │ └ no: use a generic nodomain.net └ no: use the actual domain name

Re: [xwiki-users] Wrong regexp in sendmail function?

2014-03-04 Thread Pascal BASTIEN
Of course I modify shareinline.vm to use xwiki.getXWikiPreference('admin_email') value. But I think your test must be: is there a valid admin_email configured? (regexp to verify the mail format) ├ yes: use the admin_email └ no :is the server name an IP?   └ yes: use a generic nodomain.net   └