[xwiki-users] [ANN] XWiki 5.4 Released

2014-02-05 Thread Thomas Mortagne
The XWiki development team is proud to announce the availability of XWiki 5.4.
This is an improvement and stability release for things started during
the 5.x cycle and will be the last major version of this cycle.

The highlights of this release are Solr, WikiStream, Distribution
Wizard and Activity Stream improvements.

In numbers its 96 bug fixed, 49 improvements and 6 new features.

You can download it here:
http://www.xwiki.org/xwiki/bin/view/Main/Download (please allow a few
hours for the binaries to propagate to the download servers if the
download doesn't work yet)

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki54

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


[xwiki-users] User Session not sticky behind IIS8 Reverse Proxy

2014-02-05 Thread Deichgraf
Hi everyone,

I'm having trouble setting up Xwiki behind my Reverse Proxy.

As a reverse proxy I have to use IIS. With ARR and URL Rewrite. The rewrite
rules are on the default web site and rwrite to http://localhost:port/xwiki 
(this will later be changed to https)

Now if I log into my Xwki with a user or an admin, if I click on any link
the account isn't logged in anymore.

I don't have this problem with several other applications (for instance
YouTrack or Nexus), nor does it occur if I bypass the proxy.

Any ideas would be welcomed.

Have a nice day,
Jack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/User-Session-not-sticky-behind-IIS8-Reverse-Proxy-tp7588975.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] User Session not sticky behind IIS8 Reverse Proxy

2014-02-05 Thread Clemens Klein-Robbenhaar
Hi Jack,

 Hi everyone,
 
 I'm having trouble setting up Xwiki behind my Reverse Proxy.
 
 As a reverse proxy I have to use IIS. With ARR and URL Rewrite. The rewrite
 rules are on the default web site and rwrite to http://localhost:port/xwiki 
 (this will later be changed to https)
 
 Now if I log into my Xwki with a user or an admin, if I click on any link
 the account isn't logged in anymore.
 
 I don't have this problem with several other applications (for instance
 YouTrack or Nexus), nor does it occur if I bypass the proxy.
 
 Any ideas would be welcomed.
 

Is XWiki running as a cluster, so the session needs to be sticky?

One problem I can think of is that the session cookie keeping the login is set 
for the wrong domain.
You can check in the browsers developer tools for a Set-Cookie header 
coming in from the server.

The alternative is the XWiki-cluster experiences your user's requests coming in 
from different IPs.

Set the xwiki.authentication.validationKey and 
xwiki.authentication.encryptionKey in xwiki.cfg.
If you keep them at their (commented) defaults, XWiki uses an autogenerated key 
which uses the client-IP
and this causes the user to get logged out if the client IP changes.


hope this helps
Clemens


 Have a nice day,
 Jack
 
 
 
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/User-Session-not-sticky-behind-IIS8-Reverse-Proxy-tp7588975.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] User Session not sticky behind IIS8 Reverse Proxy

2014-02-05 Thread Deichgraf
Every Application is running on it's own Tomcat.

With Google Chromes Developer Tool I can see  that the cookie drops
Username, Password, Validation and rememberme when I click a link.

I just want the user to stay logged in as long as he wants.

I do have the sneaky suspicion that the latter option you provide hits the
nail on the head:
When using Wireshark to trace the problem, I can clearly see the handshake
happening with Nexus from one IP to another. With Xwiki I can't find an
equivalent, it doesn't even show IPs anymore, but lots of gibberish I don't
understand and Broadcasts.

Normally all Clients use fixed IPs on our network, so I don't know why this
would happen.

I will try to set the keys.

Thank you for your input,
Jack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/User-Session-not-sticky-behind-IIS8-Reverse-Proxy-tp7588975p7588977.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] User Session not sticky behind IIS8 Reverse Proxy

2014-02-05 Thread Deichgraf
Ok, I just checked the xwiki.cfg


 #---
 # Authentication and authorization
 #
 
 #-# Enable to allow superadmin. It is disabled by default as this could be
 a
 #-# security breach if it were set and you forgot about it. Should only be
 enabled
 #-# for recovering the Wiki when the rights are completely messed.
 xwiki.superadminpassword=system
 
 #-# Authentication type. You can use 'basic' to always use basic
 authentication.
 # xwiki.authentication=form
 
 #-# Indicate if the authentication has do be done for each request
 #-# 0: the default value, authentication is done only once by session.
 #-# 1: the authentication is done for each request. 
 # xwiki.authentication.always=0
 
 #-# Cookie encryption keys. You SHOULD replace these values with any
 random string,
 #-# as long as the length is the same.
 xwiki.authentication.validationKey=totototototototototototototototo
 xwiki.authentication.encryptionKey=titititititititititititititititi
 
 #-# Comma separated list of domains for which authentication cookies are
 set. This
 #-# concerns mostly wiki farms. The exact meaning is that when a user logs
 in, if
 #-# the current domain name corresponding to the wiki ends with one of the
 entries
 #-# in this parameter, then the cookie is set for the larger domain.
 Otherwise, it
 #-# is set for the exact domain name of the wiki.
 #-#
 #-# For example, suppose the cookiedomains is set to mydomain.net. If I
 log in
 #-# on wiki1.xwiki.com, then the cookie will be set for the entire
 mydomain.net
 #-# domain, and if I visit wiki2.xwiki.com I will still be authenticated.
 If I log
 #-# in on wiki1.otherdomain.net, then I will only be authenticated on
 #-# wiki1.otherdomain.net, and not on wiki2.otherdomain.net.
 #-#
 #-# So you need this parameter set only for global authentication in a
 #-# farm, there's no need to specify your domain name otherwise.
 #-#
 #-# Example: xwiki.authentication.cookiedomains=xwiki.org,myxwiki.org
 xwiki.authentication.cookiedomains=

If I read this correctly the keys aren't at their default, because they
aren't commented out?
I haven't touched the .cfg up to now.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/User-Session-not-sticky-behind-IIS8-Reverse-Proxy-tp7588975p7588978.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] User Session not sticky behind IIS8 Reverse Proxy

2014-02-05 Thread Clemens Klein-Robbenhaar
On 02/05/2014 02:52 PM, Deichgraf wrote:
 Ok, I just checked the xwiki.cfg
 
 
[...]
 
 If I read this correctly the keys aren't at their default, because they
 aren't commented out?
 I haven't touched the .cfg up to now.
 

The default is unset (I think).

Anyway, you are expected to uncomment them and replace the dummy text by some 
random non-dummy text.

Something I forgot: To test the request coming in from different IP's 
hypothesis You also need to set:

xwiki.authentication.useip=false

(which is not present in the xwiki.cfg)

See:  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security#HCookies


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


Re: [xwiki-users] Accessing Database List property

2014-02-05 Thread Marius Dumitru Florea
I didn't understood why you need the HQL query, normally
$doc.display('Setups') should be enough if $doc has an object of type
OurCars.Cars .

Hope this helps,
Marius

On Wed, Feb 5, 2014 at 11:43 AM, spoolox creaf...@gmail.com wrote:
 I don't understand how to access a Database List property - I have the
 following case:
 A class OurCars.Cars which contains a Database List property Setups.
 In the Setups property I use XWiki Class Name OurCars.Setup and Id Field
 Name doc.fullName and Value Field Name SetupID which is known by the
 users and is unique.
 The class OurCars.Setup contains the unique SetupID String property and
 several properties like BrakingBalance, TirePressure, RearWingAngle
 and others - but that's not important for my case.

 What is the HQL Query to access the Database List field by passing the
 SetupID to it from the OurCars.Setup class sheet?
 I want to display the values from OurCars.Cars.

 I take care that only one Setup per Car can be chosen.

 Thank you very much in advance!



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Accessing-Database-List-property-tp7588972.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


[xwiki-users] color schemes

2014-02-05 Thread Paul Pinkerton (ACLCO)
I have several spaces that use custom color schemes.  How do I get the
global panels to display in the color scheme of the space, not the wiki
defaults?

 

Paul Pinkerton

KnowledgeNow Project Lead

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


Re: [xwiki-users] Is it possible to create child pages of a page?

2014-02-05 Thread Bill Vlahos
Thanks. That works great. However, I still see all of the documents in the 
space using the default Documents in space xxx.

Is there another Gadget (or modify a parameter of this gadget, or something 
else) that will only display the child pages of this space? Then when I go to 
that page can I see the list of child pages of it?

Thanks,
Bill Vlahos

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru 
(Valica)
Sent: Thursday, January 30, 2014 2:20 AM
To: XWiki Users
Subject: Re: [xwiki-users] Is it possible to create child pages of a page?

Hi,

http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HSettingthepageparent

Thanks,
Caty


On Thu, Jan 30, 2014 at 2:00 AM, Bill Vlahos
bill_vla...@americantours.comwrote:

 I understand creating Spaces and Pages within Spaces. Is it possible 
 to create and additional level down to subpages of a page?

 I've seen this with other wikis but I don't see how I can do it with Xwiki.

 Bill Vlahos 

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


[xwiki-users] [ANN] XWiki 5.2.4 released

2014-02-05 Thread vinc...@massol.net
The XWiki development team is proud to announce the availability of XWiki 5.2.4.
Bugfix release.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download 
(please allow a few hours for the binaries to propagate to the download servers 
if the download doesn't work yet)

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki524

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