Re: [xwiki-users] Feedback about XWiki (was Re: Help Request! Running the Attachment Porter)

2017-04-07 Thread Vincent Massol
Hi Craig,

> On 6 Apr 2017, at 13:43, Eduard Moraru  wrote:
> 
> Hi, Craig,
> 
> On Thu, Apr 6, 2017 at 3:58 AM, Craig Wright  wrote:
> 
>> Hi Vincent,
>> 
>> As long as I have your ear, here is my largest frustration from a user
>> perspective.
>> 
>> The current notifications email are not very useful from a non-technical
>> user perspective. Even as a technical person who looks at diffs all day
>> long, the emails are very difficult to parse. There are two changes that
>> need to happen:
>> 
>> 1. The ability to receive a “pretty” email whenever a comment is added to
>> a watched page. ***this is the most critical
>> 
> 
> We already have something in that direction.
> 
> Have a look over the Realtime Watchlist feature:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist%20Application#HRealtimenotifications

Also note (in case you missed it) that you can fully customize the email 
template used:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist%20Application#HAdministrators:CustomizingtheWatchListemailtemplate

Thanks
-Vincent

> It`s disabled by default, but you can enable it and let us know what you
> think.
> 
> Thanks,
> Eduard
> 
> 2. The ability to receive a daily “pretty” email of all changes to all
>> pages.
>> 
>> Underlying assumptions:
>> 
>> 1. The consumers of these emails are normal humans who are not trained at
>> reading diffs.
>> 2. Comments should be handled as real-time communication. If someone
>> comments on a page I want to know now. Currently, I do not receive a
>> notification on a comment, I have to dig that fact out of the diff of the
>> daily page change email.
>> 
>> If you want I can turn this into a JIRA ticket. I have also been
>> considering digging into the extension system to see if I could fix it
>> myself.
>> 
>> Thanks for listening!
>> 
>> Be well,
>> Craig
>> 
>>> On Apr 5, 2017, at 2:47 PM, Craig Wright  wrote:
>>> 
 Waiting for it! ;)
>>> 
>>> I swear the tab with that page has been open in my browser for like
>> three weeks. I’ll make it happen eventually! Probably right after I deploy
>> that docker container...
>>> 
>>> In terms of frustrations, as a self-hoster, it is mostly around what I
>> would call “assumptions.” As a php/python guy who has largely (but not
>> completely) managed to avoid Java, there is a lot about running Java web
>> platforms I just don’t know. The docs are great in that there are some
>> clear guidelines as to “best standard configuration” which helped me pick a
>> AWS machine (m3.small) and whatnot, but there is a lot of assumed knowledge
>> too. The nginx+ssl example is a good one; since Apache+Tomcat seems to have
>> some built-in conveniences, I had to figure out what headers needed to be
>> forwarded / rewritten to get it to work with nginx. And it’s not like nginx
>> is some niche reverse-proxy; it is pretty popular.
>>> 
>>> Snippets is another good example. Once you figure out “oh these run in
>> wiki pages,” it makes sense. Until you figure that out, you are tearing
>> your hair out trying to understand what the hell you are supposed to do.
>> Again, the assumption is the user has at least that basic knowledge but it
>> is not actually in the docs anywhere that comes up in a google search.
>>> 
>>> Overall though, I can’t really complain. As I get more experienced with
>> the software and understand the docs layout a bit better, these are all
>> things I could change or improve with a little time.
>>> 
>>> Thanks!
>>> Craig
>>> 
 On Mar 31, 2017, at 12:27 PM, Vincent Massol 
>> wrote:
 
 Hi Craig,
 
> On 31 Mar 2017, at 21:08, Craig Wright  wrote:
> 
> XWiki is a very large, feature-rich product. While there are a lot of
>> docs, they have clearly grown organically over time. Areas of the docs like
>> Snippets assume a familiarity with the system that is not available to
>> learn from the docs site itself. That’s the bad news; the good news is that
>> the docs are mostly editable by users and so it is a place where us newbies
>> can contribute. In fact I owe them an update on how to install
>> XWiki+nginx+SSL. :)
 
 Waiting for it! ;)
 
> I have had a good number of frustrations getting things running,
 
 We’re keen to improve XWiki constantly and I’d love to know what those
>> are to see whether we’re working on them or to add them to our todo in case
>> they’re not.
 
> but I have to say compared to other wiki systems I’ve used, you can’t
>> beat the features at the price. Things may get much easier with the
>> containerized deployment, I haven’t tried that yet.
 
 Let me know how the xwiki docker image works for you. I’m sure there
>> are plenty of features to add but would be great to know what users are
>> looking for.
 
 Thanks
 -Vincent
 
> Be well,
> Craig
> 
> 
>> On Mar 30, 2017, at 3:20 

Re: [xwiki-users] Feedback about XWiki (was Re: Help Request! Running the Attachment Porter)

2017-04-07 Thread Vincent Massol
Hi Craig,

> On 6 Apr 2017, at 19:34, Craig Wright  wrote:
> 
>> I’ve just fixed this one! (I hope). I’ve added the info in 2 places:
>> - home page of snippets.xwiki.org
>> - inside each snippet you now have an installation instructions section.
> 
> This is perfect! Simple but very helpful. 
> 
> Let me know if you have any feedback on 
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat#HUsingNginxasareverse-proxyforTomcat28http2Fhttps29
>  
> .
>  

This is awesome, thanks for your contribution! :)

I cannot validate the content though but I’m sure future nginx+xwiki users will 
like this help.

Thanks
-Vincent

> 
> Thanks,
> Craig
> 
> 
>> On Apr 6, 2017, at 2:11 AM, Vincent Massol  wrote:
>> 
>> Hi Craig,
>> 
>>> On 5 Apr 2017, at 23:47, Craig Wright  wrote:
>>> 
 Waiting for it! ;)
>>> 
>>> I swear the tab with that page has been open in my browser for like three 
>>> weeks. I’ll make it happen eventually! Probably right after I deploy that 
>>> docker container…
>> 
>> :)
>> 
>>> In terms of frustrations, as a self-hoster, it is mostly around what I 
>>> would call “assumptions.” As a php/python guy who has largely (but not 
>>> completely) managed to avoid Java, there is a lot about running Java web 
>>> platforms I just don’t know. The docs are great in that there are some 
>>> clear guidelines as to “best standard configuration” which helped me pick a 
>>> AWS machine (m3.small) and whatnot, but there is a lot of assumed knowledge 
>>> too. The nginx+ssl example is a good one; since Apache+Tomcat seems to have 
>>> some built-in conveniences, I had to figure out what headers needed to be 
>>> forwarded / rewritten to get it to work with nginx. And it’s not like nginx 
>>> is some niche reverse-proxy; it is pretty popular. 
>> 
>> Yeah we’re not very good on that topic and we need user’s help actually. The 
>> XWiki developers are not really using/setting up XWiki themselves (or just 
>> on their computers with some basic config). Thus they don’t know the 
>> advanced config options. Even xwiki.org’s system config is setup by Admins 
>> from the XWiki SAS company and not by xwiki.org developers. And XWiki SAS is 
>> using Apache, not Nginx.
>> 
>> Thus having user’s help to document all possible configs would really help.
>> 
>>> Snippets is another good example. Once you figure out “oh these run in wiki 
>>> pages,” it makes sense. Until you figure that out, you are tearing your 
>>> hair out trying to understand what the hell you are supposed to do. Again, 
>>> the assumption is the user has at least that basic knowledge but it is not 
>>> actually in the docs anywhere that comes up in a google search. 
>> 
>> I’ve just fixed this one! (I hope). I’ve added the info in 2 places:
>> - home page of snippets.xwiki.org
>> - inside each snippet you now have an installation instructions section.
>> 
>> Let me know if it’s good enough or if there’s something moretodo.
>> 
>> Thanks for the feedback!
>> -Vincent
>> 
>>> 
>>> Overall though, I can’t really complain. As I get more experienced with the 
>>> software and understand the docs layout a bit better, these are all things 
>>> I could change or improve with a little time. 
>>> 
>>> Thanks!
>>> Craig
>>> 
 On Mar 31, 2017, at 12:27 PM, Vincent Massol  wrote:
 
 Hi Craig,
 
> On 31 Mar 2017, at 21:08, Craig Wright  wrote:
> 
> XWiki is a very large, feature-rich product. While there are a lot of 
> docs, they have clearly grown organically over time. Areas of the docs 
> like Snippets assume a familiarity with the system that is not available 
> to learn from the docs site itself. That’s the bad news; the good news is 
> that the docs are mostly editable by users and so it is a place where us 
> newbies can contribute. In fact I owe them an update on how to install 
> XWiki+nginx+SSL. :)
 
 Waiting for it! ;)
 
> I have had a good number of frustrations getting things running,
 
 We’re keen to improve XWiki constantly and I’d love to know what those are 
 to see whether we’re working on them or to add them to our todo in case 
 they’re not.
 
> but I have to say compared to other wiki systems I’ve used, you can’t 
> beat the features at the price. Things may get much easier with the 
> containerized deployment, I haven’t tried that yet. 
 
 Let me know how the xwiki docker image works for you. I’m sure there are 
 plenty of features to add but would be great to know what users are 
 looking for.
 
 Thanks
 -Vincent
 
> Be well,
> Craig
> 
> 
>> On Mar 30, 2017, at 3:20 PM, Douglas Landau  
>> wrote:
>> 
>> 
>>> I’ve 

Re: [xwiki-users] XWKI and AD DS authentication trouble

2017-04-07 Thread Thomas Mortagne
On Fri, Apr 7, 2017 at 12:33 PM, Thomas Froehlich
 wrote:
> Hi @all
>
> I have some trouble to connect a new blank XWIKI installation to a MS AD DS 
> Server.
>
> This is my XWIKI installation:
>
> XWIKI Enterprise 9.2
> LDAP relecant Extensions:
> - LDAP Application 9.2.4
> - LDAP Class Libraries for Java (JLDAP) 4.3
> - LDAP API 9.2.4
> - LDAP Authenticator 9.2.4
>
> The only LDAP related settings in xwiki.cfg are:
> 
> xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
> xwiki.authentication.ldap.trylocal=1
>
> These are the most important AD DS connection settings done in the XWIKI 
> "LDAP Application" UI interface:
>Ldap login matching: CN={0},OU=Benutzer,OU=TTBV,DC=ttbv,DC=local
>Ldap password matching: {1}
>Restrict to group: CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local
>Ldap base DN: DC=ttbv,DC=local
>Ldap UID attribute name: CN
>
>
> Unfortunately, the bind to the AD DS server doesn't work. In the XWIKI log 
> file with LDAP logging set to "debug" I get the following exception:
>
> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
> DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided user is null. We 
> don't try to authenticate, it probably means the user is in non logged mode.
> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
> DEBUG o.x.contrib.ldap.XWikiLDAPConfig - remoteUserParser: null
> DEBUG o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_classes: [groupofnames, 
> posixgroup, apple-group, groupofuniquenames, dynamicgroup, 
> groupwisedistributionlist, group, dynamicgroupaux]
> DEBUG o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_memberfields: 
> [uniquemember, memberuid, member]
> DEBUG o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server 
> [xxx.xx.xxx.x:xxx]
> DEBUG o.x.c.ldap.XWikiLDAPConnection - Binding to LDAP server with 
> credentials login=[CN=Thomas Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local]
> DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
> org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind 
> failed with LDAPException.
> at 
> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:227)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:155)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:518)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:334)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:268)
> at 
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
> at 
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
> at 
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
> at 
> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.checkAuth(XWikiLDAPAuthServiceImpl.java:163)
> at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3788)
>
> The same exception occurs if I use the following subdomain setting (found on 
> the Internet):
> Ldap login matching: ttbv\\{0}
>
> I tested the connection settings from above using  another LDAP client like 
> "SOFTERRA LDAP Browser 4.5" and the settings worked fine: Using this LDAP 
> browser with login credentials "CN=Thomas 
> Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local" (plus pwd) I was able to 
> connect to the AD DS server and I was able to browse to the group 
> "CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local" (so there are no restrictions 
> for this user to browse the directory from base DN down to any group).

If the DN we see in the debug log ("Binding to LDAP server with
credentials...") is right then all I can think of are:
* a wrong password (make sure you don't have some white space before
or after for example)
* wrong server host/port which lead to an LDAP server but not the expected one

>
> I have no more ideas what else to do or what else to test.  Any kind of help 
> is welcome.
>
> With kind regards
> Thomas



-- 
Thomas Mortagne


[xwiki-users] XWKI and AD DS authentication trouble

2017-04-07 Thread Thomas Froehlich
Hi @all

I have some trouble to connect a new blank XWIKI installation to a MS AD DS 
Server.

This is my XWIKI installation:

XWIKI Enterprise 9.2
LDAP relecant Extensions:
- LDAP Application 9.2.4
- LDAP Class Libraries for Java (JLDAP) 4.3
- LDAP API 9.2.4
- LDAP Authenticator 9.2.4

The only LDAP related settings in xwiki.cfg are:

xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap.trylocal=1

These are the most important AD DS connection settings done in the XWIKI "LDAP 
Application" UI interface:
   Ldap login matching: CN={0},OU=Benutzer,OU=TTBV,DC=ttbv,DC=local
   Ldap password matching: {1}
   Restrict to group: CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local
   Ldap base DN: DC=ttbv,DC=local
   Ldap UID attribute name: CN


Unfortunately, the bind to the AD DS server doesn't work. In the XWIKI log file 
with LDAP logging set to "debug" I get the following exception:

TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided user is null. We don't 
try to authenticate, it probably means the user is in non logged mode.
TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
DEBUG o.x.contrib.ldap.XWikiLDAPConfig - remoteUserParser: null
DEBUG o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_classes: [groupofnames, 
posixgroup, apple-group, groupofuniquenames, dynamicgroup, 
groupwisedistributionlist, group, dynamicgroupaux]
DEBUG o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_memberfields: 
[uniquemember, memberuid, member]
DEBUG o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server 
[xxx.xx.xxx.x:xxx]
DEBUG o.x.c.ldap.XWikiLDAPConnection - Binding to LDAP server with credentials 
login=[CN=Thomas Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local]
DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind 
failed with LDAPException.
at 
org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:227)
at 
org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:155)
at 
org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:518)
at 
org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:334)
at 
org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:268)
at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
at 
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
at 
org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.checkAuth(XWikiLDAPAuthServiceImpl.java:163)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3788)

The same exception occurs if I use the following subdomain setting (found on 
the Internet):
Ldap login matching: ttbv\\{0}

I tested the connection settings from above using  another LDAP client like 
"SOFTERRA LDAP Browser 4.5" and the settings worked fine: Using this LDAP 
browser with login credentials "CN=Thomas 
Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local" (plus pwd) I was able to 
connect to the AD DS server and I was able to browse to the group 
"CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local" (so there are no restrictions 
for this user to browse the directory from base DN down to any group). 

I have no more ideas what else to do or what else to test.  Any kind of help is 
welcome.

With kind regards 
Thomas


Re: [xwiki-users] Hosting Xwiki on Server 2012 R2

2017-04-07 Thread BRUMM Steffen
You should ask your Company-Support fort hat. Because there are too many 
possibilities (eg. Firewall-rules).

Mit freundlichen Grüßen, 

Steffen BRUMM 
Programmierung 
IT-Österreich 

Frankstahl Rohr- und Stahlhandelsges.m.b.H. 
Frankstahlstraße2 
A-2353 Guntramsdorf 
Tel: +43 50 50 3-343 
www.frankstahl.com 

FÜR DIE UMWELT AKTIV: Frankstahl ist Partner von Global 2000

Firmensitz: Esteplatz 6, A-1030 Wien, FN 142511a Handelsgericht Wien, DVR 
0509361 
Die Information in diesem Mail ist ausschließlich für den Empfänger bestimmt. 
Anderen Personen ist es nicht gestattet diese Information zu öffnen, zu 
kopieren oder zu verteilen. Falls Sie diese Information irrtümlich erhalten 
haben, kontaktieren Sie bitte den Absender und löschen Sie das Mail von Ihrem 
Computer. 


 
-Ursprüngliche Nachricht-
Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Rajesh Sharma
Gesendet: Freitag, 7. April 2017 12:15
An: XWiki Users
Betreff: [xwiki-users] Hosting Xwiki on Server 2012 R2

Hi,

I have hosted Xwiki on my internal server MS Server 2012 R2. I can access it 
through localhost:8080. I need some guidance in adding a public IP and DNS in 
order to access the application from public domin.

Best,
Rajesh


[xwiki-users] Hosting Xwiki on Server 2012 R2

2017-04-07 Thread Rajesh Sharma
Hi,

I have hosted Xwiki on my internal server MS Server 2012 R2. I can access it
through localhost:8080. I need some guidance in adding a public IP and DNS
in order to access the application from public domin.

Best,
Rajesh


[xwiki-users] Hosting Xwiki on Server 2012 R2

2017-04-07 Thread Rajesh Sharma
Hi,

I have hosted Xwiki on my internal server MS Server 2012 R2. I can access it
through localhost:8080. I need some guidance in adding a public IP and DNS
in order to access the application from public domin.

Best,
Rajesh