UTF-8 with version 2.10.1

2015-06-08 Thread Xiaoming Yang
Hi All, I am a new user of JSPWiki. Having played with it for a while, I do like it. Here is my setup: * Java(TM) SE Runtime Environment (build 1.7.0_80-b15) * Red Hat Enterprise Linux Server release 6.3 (Santiago) (64bit) * GlassFish Server Open Source Edition 3.1.2.2

RE: UTF-8 with version 2.10.1

2015-06-09 Thread Xiaoming Yang
Hi All, Thanks for your quick responses, which is a real good point to choose JSPWiki. Hi Juan and Florian, Following your instruction, I have checked out the source 2.10.2-SNAPSHOT from http://svn.apache.org/repos/asf/jspwiki/trunk and built it with 'mvn clean install -Dmaven.test.skip' (I sk

RE: UTF-8 with version 2.10.1

2015-06-09 Thread Xiaoming Yang
Rodríguez [mailto:juanpablo.san...@gmail.com] Sent: 09 June 2015 11:42 To: user@jspwiki.apache.org; Xiaoming Yang Subject: Re: UTF-8 with version 2.10.1 Hi Xiaomin, list subscribing requires you to send two e-mails, the second one confirming your subscription. I've checked the subcribers of user@jspwiki.

RE: UTF-8 with version 2.10.1

2015-06-09 Thread Xiaoming Yang
: Xiaoming Yang Sent: 09 June 2015 11:51 To: 'Juan Pablo Santos Rodríguez'; user@jspwiki.apache.org Subject: RE: UTF-8 with version 2.10.1 Hi Juan, I have resent another email to 'user-subscr...@jspwiki.apache.org' as you said. For the issue, here is what shows by the …/Wiki

RE: UTF-8 with version 2.10.1

2015-06-09 Thread Xiaoming Yang
don’t know why the GF3 (glassfish-3.1.2.2-ml.zip) sets GBK as the default file.encoding. Anyway, a small step forward☺ Regards, Xiaoming From: Juan Pablo Santos Rodríguez [mailto:juanpablo.san...@gmail.com] Sent: 09 June 2015 12:05 To: Xiaoming Yang Cc: user@jspwiki.apache.org Subject: Re: UTF-

RE: UTF-8 with version 2.10.1

2015-06-09 Thread Xiaoming Yang
Thanks, Juan. I can confirm the setting works on GF4 as well. Don’t forget the version I used is JSPWiki v2.10.2-svn-16 Regards, Xiaoming From: Juan Pablo Santos Rodríguez [mailto:juanpablo.san...@gmail.com] Sent: 09 June 2015 13:07 To: Xiaoming Yang Cc: user@jspwiki.apache.org Subject: Re: UTF

CAPTCHA

2015-06-09 Thread Xiaoming Yang
Hi, All, One of the features that attracts me to JSPWiki is its security. I am currently looking at captcha. I have spent hours on searching web and couldn't find a useful tip. It seems related to org.apache.wiki.filters.SpamFilter, but how I should configure it. Do I need to get a 3rd party 'a

RE: UTF-8 with version 2.10.1

2015-06-09 Thread Xiaoming Yang
f). I haven't tried it yet with JSPWiki, but it's on my to-do list: http://www.payara.co/home Cheers, Dave -- Dave Koelmeyer http://blog.davekoelmeyer.co.nz On 10/06/15 00:26, Xiaoming Yang wrote: > Thanks, Juan. I can confirm the setting works on GF4 as well. Don’t forget >

RE: CAPTCHA

2015-06-10 Thread Xiaoming Yang
ite has just been attacked by spam bots posting > huge amounts into the comments, actually causing Java Out of Memory errors... > > On 9 June 2015 at 21:56, Xiaoming Yang > wrote: > > > Hi, All, > > > > One of the features that attracts me to JSPWiki is its secu

Error handling for Maximum Attachment Size

2015-06-10 Thread Xiaoming Yang
Hi, I have had a go with setting jspwiki.attachment.maxsize=10 with a larger attachment. JSPWiki stops me, which is correct, but the response is a little bit harsh (see what I got below). BTW, my version is: JSPWiki v2.10.2-svn-16 Regards, Xiaoming Here is what I got in the browser: Secu

jspwiki.attachment.forbid not working

2015-06-10 Thread Xiaoming Yang
Hi, I have following settings in my jspwiki-custom.properties, but I can still attach a *.htm or *.html file. What's wrong? jspwiki.attachment.forbid=.html .htm .php .asp .exe Regards, Xiaoming

RE: CAPTCHA

2015-06-10 Thread Xiaoming Yang
re a human using the Asirra service [#2]. regards, juan pablo [#1]: https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration#section-Configuration-WorkflowConfiguration [#2]: http://research.microsoft.com/en-us/um/redmond/projects/asirra/ On Wed, Jun 10, 2015 at 1:25 PM, Xiaoming Yang wr

RE: CAPTCHA

2015-06-10 Thread Xiaoming Yang
p up would be saving a page more than 5 times in less than a minute or saving a text with more than 5 URLs in it. HTH, juan pablo On Wed, Jun 10, 2015 at 6:09 PM, Xiaoming Yang wrote: > Hi Juan, > > I have put followi

Profile tab on User preference page after LDAP authentication

2015-06-22 Thread Xiaoming Yang
Hello, I have configured the JSPWiki working with the LDAP server in my organization for authentication. One problem I noticed is the Profile tab on User preference page after LDAP authentication. In 'login name' text filed, following warning in yellow colour is displayed: "You cannot set your

RE: Closed

2015-06-23 Thread Xiaoming Yang
Hi Rolf, It is quite easy to create your own policy. For example, here is my policy, which only allow Authenticated users to use the wiki. /-- grant principal org.apache.wiki.auth.authorize.Role "All" { permission org.apache.wiki.auth.permissions.WikiPermission "*", "login"; };

RE: Closed

2015-06-29 Thread Xiaoming Yang
i/Login.jsp Jspwiki:http://wiki.url.com/jspwiki/Login.jsp - No jspwiki.custom.config defined for this context, looking for custom properties file with default name of: /jspwiki-custom.properties Do you got another hint for me? --- Viele Grüße, Best Regards Rolf Schumacher Am 24.06.2015 06:22, s

RE: Closed

2015-06-29 Thread Xiaoming Yang
t;login"; }; Regards, Xiaoming -Original Message- From: Rolf Schumacher [mailto:r...@august.de] Sent: 29 June 2015 13:03 To: user@jspwiki.apache.org Cc: Xiaoming Yang Subject: RE: Closed I pasted it here: http://paste.siduction.org/20150629120129 It supposed to be exactly what you

RE: Closed

2015-06-29 Thread Xiaoming Yang
Schumacher Am 29.06.2015 15:00, schrieb Xiaoming Yang: > Hi, Rolf, > > The easiest way to solve your problem is to simply give 'view' right > to 'All' as below. > > grant principal org.apache.wiki.auth.authorize.Role "All" { >permission

RE: Authenticated by no Access

2015-06-30 Thread Xiaoming Yang
Hi Rolf, one difference I can see now is you use tomcat, and I use glassfish. I don't know if this causes your problem. Regards, Xiaoming From: Rolf Schumacher [r...@august.de] Sent: 30 June 2015 07:45 To: user@jspwiki.apache.org Subject: Authenticat