Re: [pmwiki-users] hack problem

2008-04-25 Thread Hans
Friday, April 25, 2008, 9:58:44 PM, Marguerite Floyd wrote:

> Someone keeps using the comment block to spam a page.  How do I fix this?

install Cookbook/Captcha.
see http://www.pmwiki.org/wiki/Cookbook/Captcha

Do not allow posting of url links by setting for instance

$UnapprovedLinkCountMax = 5;
include_once("$FarmD/scripts/urlapprove.php");

see http://www.pmwiki.org/wiki/PmWiki/UrlApprovals

install also Blocklist

$EnableBlocklist = 1;

see http://www.pmwiki.org/wiki/PmWiki/Blocklist


  ~Hans


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Unit testing pmwiki markup code

2008-04-25 Thread Ingersoll, Nelson
Camila, 
 
   I do not speak Portuguese.  Forgive me.  I hope you can use this email in 
English.
 
   To unsubscribe from the PmWiki mailing list go to:
 
  http://pmichaud.com/mailman/listinfo/pmwiki-users
 
   Go to the bottom of the page and find the "Unsubscribe or edit options" 
button.
 
   Put your email address in the text box and click the "Unsubscribe..." button.
 
Hope this helps.
 
- Nelson
 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Camila
Sent: Friday, April 25, 2008 2:33 PM
To: marc; Randy Brown
Cc: pmwiki-users@pmichaud.com
Subject: Re: [pmwiki-users] Unit testing pmwiki markup code


 Como eu faço para não receber mais estes emails??? Por favor! []'s 
Camila


- Mensagem Original - 
De: Randy Brown   
Para: marc  
Cc: pmwiki-users@pmichaud.com
Data: Sexta, 25 De Abril De 2008 15:59
Assunto: Re: [pmwiki-users] Unit testing pmwiki markup code

Marc,

I agree, test-driven development rules!

I didn't realize that php was truly object oriented. It sounds 
like  
you are using phpunit to assert the correctness of php 
functions.  
That's great for recipe developers.

But I don't know php - I write pmwiki markup. I want to assert 
that my  
pages look and behave the way that I expect whenever I make 
changes to  
my config.php, install new recipes, change my pmwiki markup, 
etc.

Are you using phpunit to test the correctness of served pages, 
or just  
the correctness of output from php functions?

Randy

On Apr 25, 2008, at 3:51 AM, marc wrote:

> phpunit isn't that good, but if you write object oriented 
code, then
> it's not hard to write a small reflection object that will do 
the  
> basic
> asserts for you.

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Custom markup - where to begin?

2008-04-25 Thread Jan Erik Moström
I'm playing with the idea of creating a custom markup, short
background:

I'm using Aperture to manage my picture and have an applescript that
exports two different sized versions of the same image and sends them
to a server. The script also generates a custom tag looking like this

##aloneimg{2008/04/2008-04-23-4-index.jpg:500:334|2008/04/2008-04-23-4.jpg:1024:683|}

I use this tag when I want to generate the CSS/HTML to display 
the picture the way I want (varies depending on web site).

I thought it would be a nice exercise in PHP and extending 
pmwiki trying to write something that allowed me to insert 
something like the text above in a page and have pmwiki generate 
the HTML when the page is displayed.

But I don't really know how to do this, I looked at 
PmWiki.CustomMarkup but it seem to be limited to one regexp and 
I need to do a few more thing to generate the markup. So I 
assume that I need to write a "plugin" to do this and so ... I 
finally come to my question:

+   Is a plugin the correct way to do this?

+   Where can I find the documentation for how to write one? I 
tried finding
 something but apparently didn't manage to find it.


 jem
-- 
Jan Erik Moström, www.mostrom.pp.se


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] hack problem

2008-04-25 Thread Marguerite Floyd
Someone keeps using the comment block to spam a page.  How do I fix this?


You can see the problem at


http://www.wikiparrot.com/index.php?n=Behavior.Behavior#sBehavior.Behavior_8


Thanks in advance!

-- 
__
www.wikiparrot.com
everything about the bird
__
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Sitemap

2008-04-25 Thread Camila







Como eu faço para não receber mais estes emails por favor!!! Att,Camila- Mensagem Original - 
  De: [EMAIL PROTECTED] 
  Para: PmWiki-Users List
  Data: Quinta, 24 De Abril De 2008 13:58
  Assunto: [pmwiki-users] Sitemap
  
  After  following the thread on sorting the tables, I went to your website,
and saw:

http://testwebsite.bechmann.ca/wiki/wiki.php/Site.SiteMap?sitemapoption=folders&name=FrontPage

for the sitemap. How do you do the sitemap options?

-- 
Thanks
http://www.911networks.com
When the network has to work

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users






___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Unit testing pmwiki markup code

2008-04-25 Thread Camila







 Como eu faço para não receber mais estes emails??? Por favor!  []'s Camila

  - Mensagem Original - 
  De: Randy Brown 
  Para: marc
  Cc: pmwiki-users@pmichaud.com
  Data: Sexta, 25 De Abril De 2008 15:59
  Assunto: Re: [pmwiki-users] Unit testing pmwiki markup code
  
  Marc,

I agree, test-driven development rules!

I didn't realize that php was truly object oriented. It sounds like  
you are using phpunit to assert the correctness of php functions.  
That's great for recipe developers.

But I don't know php - I write pmwiki markup. I want to assert that my  
pages look and behave the way that I expect whenever I make changes to  
my config.php, install new recipes, change my pmwiki markup, etc.

Are you using phpunit to test the correctness of served pages, or just  
the correctness of output from php functions?

Randy

On Apr 25, 2008, at 3:51 AM, marc wrote:

> phpunit isn't that good, but if you write object oriented code, then
> it's not hard to write a small reflection object that will do the  
> basic
> asserts for you.

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users






___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Unit testing pmwiki markup code

2008-04-25 Thread Randy Brown
Marc,

I agree, test-driven development rules!

I didn't realize that php was truly object oriented. It sounds like  
you are using phpunit to assert the correctness of php functions.  
That's great for recipe developers.

But I don't know php - I write pmwiki markup. I want to assert that my  
pages look and behave the way that I expect whenever I make changes to  
my config.php, install new recipes, change my pmwiki markup, etc.

Are you using phpunit to test the correctness of served pages, or just  
the correctness of output from php functions?

Randy

On Apr 25, 2008, at 3:51 AM, marc wrote:

> phpunit isn't that good, but if you write object oriented code, then
> it's not hard to write a small reflection object that will do the  
> basic
> asserts for you.

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Look-and-feel

2008-04-25 Thread Patrick R. Michaud
On Thu, Apr 24, 2008 at 08:49:40PM +0200, Peter & Melodye Bowers wrote:
> I would like to get at least a couple examples where it is "locked down" (is
> that called a CMS?) rather than an open wiki.  Sorry about the whole
> philosophy thing... ;-)

http://www.thunderdata.com/wiki/Main/NewWebsiteDesigns
has a lot of sites where PmWiki is being used for 
public-facing sites that are limited to others.

Also, for a more academic view, you might take a look at
http://csci.tamucc.edu/cosc/

Pm

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] PmWiki usage

2008-04-25 Thread Henrik Bechmann
Patrick,

When I Google PmWiki, it gives me "Results 1 - 10 of about 858,000 for 
pmwiki", which says to me there is a heck of a lot of PmWiki out there.

Just curious: do you have any numbers you'd like to share? Number of 
downloads etc.?

- Henrik

-- 

Henrik Bechmann
www.bechmann.ca
Webmaster, www.dufferinpark.ca


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Look-and-feel

2008-04-25 Thread pmwiki
On Thu, 24 Apr 2008 20:49:40 +0200
"Peter & Melodye Bowers" <[EMAIL PROTECTED]> wrote:

> I would like to get at least a couple examples where it is "locked
> down" (is that called a CMS?) rather than an open wiki.  Sorry about the
> whole philosophy thing... ;-)

http://www.sqlhacks.com
http://www.911networks.com

-- 
Thanks
http://www.sqlhacks.com
The SQL Server knowledge base

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Look-and-feel

2008-04-25 Thread Christophe David
>  would it be
>  possible to get a few examples of web-sites from you on this list -- those
>  sites that really have worked on the aesthetics side of things with pmwiki?


Have you seen

http://www.pmwiki.org/wiki/PmWiki/PmWikiUsers

and

http://www.pmwiki.org/wiki/PmWiki/SuccessStories

?

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Unit testing pmwiki markup code

2008-04-25 Thread marc
Randy said...
> Unit testing is creating automated "regression" tests so that you can  
> tell immediately when you've introduced a bug in your code.
> 
> Ten years ago, I used to use Eclipse to unit test my Java code.
> 
> Has anyone out there figured out a way to do unit testing for your  
> pmwiki markup code? If so, what tool do you use?

I'm an agile guy, so I can't write code without tests; it's just 
physically impossible for me ;-)

I use phpunit - for recipes and unravelling pmwiki behaviour; it's 
similar in use to JUnit, although I don't edit php in Eclipse, so I 
don't know whether doing so would give you the all the tasty benefits of 
running JUnit in Eclipse.

phpunit isn't that good, but if you write object oriented code, then 
it's not hard to write a small reflection object that will do the basic 
asserts for you.

At one point, I was considering trying to persuade Patrick to help build 
a full set of unit tests for pmwiki - especially as I would love to 
build a Ruby version of pmwiki.

-- 
Cheers,
Marc


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users