summaryrefslogtreecommitdiff
path: root/Mailman/Gui/Privacy.py
Commit message (Collapse)AuthorAgeFilesLines
* Bite the bullet: rename the Mailman package to mailman.Barry Warsaw2008-02-271-537/+0
|
* Tweak copyright years.Barry Warsaw2008-02-071-1/+1
|
* Other than contrib files, convert all imports of mm_cfg to imports of config.Barry Warsaw2007-07-141-31/+31
| | | | | | | | | | | Ignore mailman.egg-info In bin/make_instance.py: Catch and ignore import errors when importing Mailman.i18n. Before this script has actually been run, there won't be enough infrastructure in place of the import to succeed. Include several other fixes in this file. Add install_requires to the setup script.
* Update copyright years.bwarsaw2007-01-191-1/+1
|
* More work on the WSGI support. So far, I've tested most of the admin.py linksbwarsaw2006-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and some of the admindb.py links. There may still be breakage in other parts of the interface and I haven't gone back to verify that traditional CGI still works. Changes: - Add wsgiref-0.1.2-py2.4.egg so that we can still do WSGI in Python 2.4, which doesn't come with wsgiref. Of course this means we /also/ have to add setuptools-0.5c3 because eggs require setuptools. - Style cleanups in HTTPRunner.py and wsgi_app.py. Also, use cStringIO instead of StringIO. - All internal links within the listinfo and admin pages are (or at least should be ;) relative now. This should make other things better, such as running Mailman over https or alternative ports. It does kind of mean that web_page_url is obsolete, but I haven't looked at whether we can completely eradicate it. - ValidateEmail(): Use ' ' in s instead of s.count(' ') > 0. - GetPathPieces(): When path is false, return the empty list instead of None, so we can still len() it. - ScriptURL(): Much simpler. To support relative urls as the default, we change the API so that it only takes a 'target' argument (i.e. the script we want to link to). It no longer takes 'absolute' or 'web_page_url', and it constructs its link from GetPathPieces(), the target, and the cgi extension. - GetRequestURI(): code style updates. - Mailman/bin/show_config.py: De-DOS-line-ending-ification. - export.py: A few modifications, although this is likely still not final (I'm still working on the import script). First, for <option> elements, don't put the value in an attribute, put it in the text body of the element. Second, put the list <option> tags in a <configuration> element. Third, put the preferred language on an <option> tag with a 'preferred_language' name attribute value. - SecurityManager: Make sure that MakeCookie() and ZapCookie() use the same 'path' cookie value by refactoring that into a separate method. That method now returns just the SCRIPT_NAME and the full listname. web_page_url doesn't enter into it. - loginit.py: Add a 'debug' logger since it's just too useful to have :) - admin.py: Remove the extra / right before the query string in ?VARHELP urls. That extra / turns out to be problematic with the relative url scheme we're using now. - Auth.py: whitespace normalization and copyright years update. Also, remove a couple of unnecessary imports. Also, make sure that the actionurl is relative. - create.py: Typo. - private.py: mm_cfg -> config object - In MailList.py: GetScriptURL() can be written in terms of Utils.ScriptURL() now.
* Now that Python 2.3 is the minimum requirement for Mailman 2.2:bwarsaw2006-04-151-17/+11
| | | | | | | | | | | - Remove True/False binding cruft - Remove __future__ statements for nested scopes - Remove ascii_letters import hack from Utils.py - Remove mimetypes.guess_all_extensions import hack from Scrubber.py - In Pending.py, set _missing to object() (better than using []) Also, update copyright years where appropriate, and re-order imports more to my PEP 8 tastes. Whitespace normalize.
* Added a new list attribute 'subscribe_auto_approval' which is a list of ↵msapiro2006-03-181-1/+10
| | | | | | | email addresses and regular expressions matching email addresses whose subscriptions are exempt from admin approval. RFE 403066.
* Port cleaning changes forward from 2.1-maint branch.bwarsaw2005-12-301-3/+3
|
* Fix for bug-id 1230865: Spam filter get lost.tkikuchi2005-09-211-0/+4
| | | | Update the filter only if there is hdrfilter_* input.
* back porting from 2.1.6tkikuchi2005-08-281-2/+134
|
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* Change the category header to include ellipses as visual cues thatbwarsaw2003-06-161-1/+1
| | | | | | they have subcategories. Backport candidate.
* GetConfigInfo(): "addrs" -> "addresses" in the obscure_addressesbwarsaw2002-11-191-2/+2
| | | | | description. This will require catalog updates. Patch #605146 by Jon Parise.
* GetConfigInfo(): Rearrange some options to reduce confusion. Thebwarsaw2002-08-271-10/+16
| | | | | | | anonymous_list option is moved to General->General list personality. Also, in the Privacy section, a new "Recipient filter" subcategory is added, into which is moved require_explicit_destination, acceptable_aliases, and max_num_recipients.
* GetConfigInfo(): forbidden_posters is obsolete.bwarsaw2002-05-171-4/+1
|
* Use GUIBase as the base class.bwarsaw2002-02-271-1/+10
| | | | | _setValue(): New overridden method which handles the special case when ALLOW_OPEN_SUBSCRIBE is set.
* GetConfigInfo(): Add list configuration attributesbwarsaw2002-01-211-2/+26
| | | | | member_moderation_action and member_moderation_notice. Also, add a separator for "Member filters" vs. "Non-member filters".
* GetConfigInfo(): Add configuration for ban_list.bwarsaw2002-01-061-1/+11
|
* GetConfigInfo(): Describe how the nonmember match rules can containbwarsaw2001-11-211-9/+28
| | | | | regular expressions, and provide a link to Python's re module documentation.
* GetConfigInfo(): Fixed the link to the admin page and to thebwarsaw2001-10-271-1/+2
| | | | discard_these_nonmebers detail, found by Szilard Vizi.
* GetConfigInfo(): Rewrite some of the confirm/approval strings forbwarsaw2001-10-211-14/+29
| | | | | | consistency and clarity (sorry translators!). Also, add unsubscribe_policy configuration info.
* GetConfigInfo(): Rewrite the summary and details forbwarsaw2001-10-191-5/+8
| | | | default_member_moderation to clarify.
* GetConfigInfo(): Update to the new signature, accepting category andbwarsaw2001-10-151-42/+131
| | | | | | | | | | | | | subcat argument. If the category doesn't apply to this gui component, None is returned, otherwise the config list is returned. Also (and more importantly), separate privacy filters into three subcategories: "subscribing" for general subscription and visibility options, "sender" for sender-centric moderation filters, and "spam" for anti-spam controls. And, add all the new sender-centric moderation variables while removing the old ones.
* GetConfigInfo(): Typo. Also, say "list moderator" instead ofbwarsaw2001-08-171-4/+5
| | | | | "administrator". Add a VARHELP link to member_posting_only when describing "Restrict..." in the posters option
* GetConfigCategory(): Make sure the spaces between the words arebwarsaw2001-08-141-1/+1
| | | | non-breaking. Also, consistency in capitalization.
* GetConfigInfo(): Create the `admin' local variable that the followingbwarsaw2001-07-251-0/+3
| | | | _() string expects.
* GetConfigInfo(): We don't need the adminurl local variable.bwarsaw2001-07-191-3/+0
|
* There are the admin gui component modules, which now contain all thebwarsaw2001-07-191-0/+224
GetConfigInfo() structures that used to be in the modules one directory up.