create.py: passing form values by URL
Hello, At our site, we have a web page with a form that users fill to request a new mailing list. If that mailing list gets approved, the admins use Mailman's create.py to effectively create it. A trivial patch allows the approval system (or any script) to pass the list name, owner, etc to create.py via the url, and have the create form already filled with those values, leaving only the password for the administrators to enter. This removes the need for a lot of copy-pasting into the create.py form and saves time. Here is the patch. I suggest that it be integrated in Mailman, as it would enable everyone to use a similar system easily. pmf --- create.py.orig 2006-08-23 12:48:15.213282750 -0400 +++ create.py 2006-08-23 13:39:24.585106500 -0400 @@ -58,7 +58,7 @@ request_creation(doc) else: # Put up the list creation request form - request_creation(doc) + request_creation(doc, cgidata) doc.AddItem('<hr>') # Always add the footer and print the document doc.AddItem(_('Return to the ') +
At 8:17 PM -0400 2006-09-11, Pierre-Marc Fournier wrote:
Here is the patch. I suggest that it be integrated in Mailman, as it would enable everyone to use a similar system easily.
If you want this considered for incorporation into Mailman, I would encourage you to upload it to the Mailman Patch page at SourceForge.
-- Brad Knowles, brad@stop.mail-abuse.org
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
Founding Individual Sponsor of LOPSA. See http://www.lopsa.org/.
participants (2)
-
Brad Knowles
-
Pierre-Marc Fournier