changeset 405:992834254c42

surgeprotect: fix wrong fn name, change edit limit imported from: moin--main--1.5--patch-409
author Thomas Waldmann <tw@waldmann-edv.de>
date Mon, 30 Jan 2006 00:27:02 +0000
parents ff489f0db4d0
children 0ff631c36afb
files ChangeLog MoinMoin/request.py
diffstat 2 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jan 28 23:40:16 2006 +0000
+++ b/ChangeLog	Mon Jan 30 00:27:02 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-01-30 01:27:02 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-409
+
+    Summary:
+      surgeprotect: fix wrong fn name, change edit limit
+    Revision:
+      moin--main--1.5--patch-409
+
+    surgeprotect: fix wrong fn name, change edit limit
+    
+
+    modified files:
+     ChangeLog MoinMoin/request.py
+
+
 2006-01-29 00:40:16 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-408
 
     Summary:
--- a/MoinMoin/request.py	Sat Jan 28 23:40:16 2006 +0000
+++ b/MoinMoin/request.py	Mon Jan 30 00:27:02 2006 +0000
@@ -86,7 +86,7 @@
         limits = { # action: (count, dt)
             'show': (20, 60),
             'fullsearch': (5, 60),
-            'edit': (5, 60),
+            'edit': (10, 120),
             'rss_rc': (1, 20),
         }
         lockout_time = 3600 # secs
@@ -198,7 +198,7 @@
             if not self.query_string.startswith('action=xmlrpc'):
                 self.args = self.form = self.setup_args()
                 if self.surge_protect():
-                    self.makeForbidden503()
+                    self.makeUnavailable503()
 
             rootname = u''
             self.rootpage = Page(self, rootname, is_rootpage=1)