summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Catch up on news for 3.0.0a7.Barry Warsaw2011-01-031-4/+42
|
* LP: #490044 - Support SMTP AUTH.Barry Warsaw2011-01-027-3/+160
| | | | | Added smtp_user and smtp_pass options to the [mta] section to support logging into the SMTP server. All the underlying support is in Python's smtplib.
* Make sure all documentation is included in the toctree.Barry Warsaw2011-01-021-0/+1
|
* Split member and nonmember moderation.Barry Warsaw2011-01-0215-230/+363
| | | | | | | | | | | | | | | | * member-moderation happens at the same place in the built-in chain that the previously named moderation rule happens. nonmember-moderation happens after all the other normal moderation rules. * Handle unsubscribed nonmember posts. Other changes: * Message.senders now filters out Nones and empty strings. * Various test cleanups and simplifications. * More `address` -> `email` fixes. * Give Link class a useful repr. * Fix a potential UnboundLocalError. * Various other small changes.
* Happy New Year.Barry Warsaw2011-01-01256-257/+257
|
* Because it was just to damn confusing, rename IAddress.address toBarry Warsaw2011-01-0133-352/+429
| | | | | | IAddress.email and IAddress.original_address to IAddress.original_email. From now on we'll use "address" to talk about the IAddress object and "email" to talk about the textual email address.
* * Simplify the membership.txt doctest.Barry Warsaw2010-12-316-156/+176
| | | | | | | * Add test to show that the incoming runner adds all sender addresses to the global user manager. * New doctest helper: dump_list() * Other random cleanups.
* Fairly significant change to the way member and nonmember moderation occurs.Barry Warsaw2010-12-2921-437/+397
| | | | | | | | | | | | | | | | | | | | | | | | | Now, nonmembers are represented by a separate roster of IMembers, the latter which has grown a `moderation_action` enum. When that action is `defer`, then the normal processing rules apply. Anything else and the `moderation` chain is jumped to for a shortcut to moderation (which may include immediate acceptance). TODO: handle unregistered nonmembers. Details: * The member-moderation rule is renamed to just moderation, and handles both members and nonmembers (though the latter must currently be registered). * The moderation rule is moved up in the builtin chain. It is now checked after `approved`, `emergency`, and `loop`, but before the normal moderation checks. This means that nonmember postings will be (by default) held much earlier. * IMember.is_moderated is removed. * IMember.moderation_action is added. * IMailingList.default_member_moderation is removed. * IMailingList.default_member_action and IMailingList.default_nonmember_action are added. * MemberRole.nonmember is added.
* Clean up from the previous commit.Barry Warsaw2010-12-283-3/+14
| | | | | | * member_moderation_action exposed in IMailingList * REST configuration test for member_moderation_action, send_welcome_msg, and welcome_msg.
* This is part 1 of the merge of Jimmy Bergman's branchBarry Warsaw2010-12-2819-106/+416
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lp:~jimmy-sigint/mailman/restapi_additional_attributes Ostensibly, this adds support for a few additional attributes through the REST API: * default_member_moderation * generic_nonmember_action * member_moderation_action * reply_goes_to_list * send_welcome_msg * welcome_msg However, I had never previously fleshed out the conversion of default_member_moderation and member_moderation_action into the MM3 way of things. That is now done. Non-member moderation still needs to be done. Specific changes: * mailman.chains.base.Chain no longer self registers * The built-in chain gets a new link for checking 'member-moderation'. If this rule matches, it jumps to the 'member-moderation' chain, which checks member_moderation_action and returns a link that jumps to the appropriate terminal chain. * Chain initialization is done by the same auto-detection as rules, handlers, etc. The one tricky thing is that abstract base classes such as Chain and TerminalChainBase can't be instantiated. For now, there's an ugly special case to skip these. * default_member_moderation is now exposed in the IMailingList interface. * Member.is_moderated gets set in the constructor from the mailing list's default_member_moderation. * The 'moderation' rule is renamed 'member-moderation'. TODO: * Work out non-member moderation * Add member_moderation_action to IMailingList * Double check tests for reply_goes_to_list, send_welcome_msg, and welcome_msg
| * Add reply_goes_to_list, send_welcome_msg, welcome_msg, ↵root2010-10-132-0/+29
| | | | | | | | member_moderation_action, default_member_moderation and generic_nonmember_action to the writable attributes in the REST service
* | In the REST API, include the fqdn_listname and email address in the member'sBarry Warsaw2010-12-262-0/+44
| | | | | | | | JSON representation.
* | Insulate the test environment from the running environment. Sadly, the testBarry Warsaw2010-12-2211-93/+105
| | | | | | | | | | | | ports are still hard coded. Also, 'bin/mailman info' dumps the REST root url and credentials.
* | * Start to get rid of pylint; it's more trouble than it's worth and pyflakesBarry Warsaw2010-12-226-44/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | does a pretty good job anyway. * Remove master.get_lock_data() now that flufl.lock 2.1 provides the same detailed information. * Add WatcherState.none to indicate that the master is not running. * Instrument master_state() and acquire_lock_1() for testing, and add unittests. * LBYL for 'bin/mailman start' so that the error message when the master is already running happens in the foreground process and is more user friendly. * Add 'bin/mailman status' to provide master queue runner status on the command line.
* | Upgrade from using the locknix package to using flufl.lock.Barry Warsaw2010-11-2710-22/+21
| |
* | Support Python 2.7. (LP: 667472)Barry Warsaw2010-10-273-6/+12
|/
* * We now have to disable site-packages because of LP: #659231Barry Warsaw2010-10-121-6/+26
| | | | * Provide a better example of how to use basic auth in the rest api call
* Add Basic Auth support to the REST API, given by Jimmy Bergman, with styleBarry Warsaw2010-10-117-10/+82
|\ | | | | | | corrections by Barry.
| * Add doctest for connecting using invalid credentials and some documentation ↵root2010-09-293-8/+33
| | | | | | | | regarding the basic auth for the REST server.
| * Add HTTP authentication to the REST APIroot2010-09-282-2/+19
| |
* | Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-0868-118/+59
|/ | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* Fix typo in scan_message(). (LP: #645897)Barry Warsaw2010-09-233-9/+51
|
* Post release version bump.Barry Warsaw2010-09-202-3/+8
|
* * Allow X-Approved and X-Approve headers, equivalent to Approved andBarry Warsaw2010-09-205-17/+70
| | | | Approve. LP: #557750
* Last of the documentation fixes.Barry Warsaw2010-09-156-45/+82
|
* More documentation updates.Barry Warsaw2010-09-1514-67/+84
|
* More documentation fixes.Barry Warsaw2010-09-156-30/+60
|
* More documentation cleanups.Barry Warsaw2010-09-148-15/+59
|
* More documentation updatesBarry Warsaw2010-09-102-15/+24
|
* More documentation updatesBarry Warsaw2010-09-101-22/+23
|
* More documentation updatesBarry Warsaw2010-09-102-6/+8
|
* More documentation updatesBarry Warsaw2010-09-101-34/+38
|
* More documentation updatesBarry Warsaw2010-09-103-39/+55
|
* More doc fixes.Barry Warsaw2010-09-095-44/+54
|
* More documentation improvements.Barry Warsaw2010-09-097-61/+76
|
* Many documentation fixes for better Sphinx output.Barry Warsaw2010-09-0836-146/+240
|
* Doc fixesBarry Warsaw2010-09-072-2/+2
|
* Let's release.Barry Warsaw2010-09-031-1/+1
|
* Update NEWS for 3.0a6Barry Warsaw2010-09-031-2/+34
|
* Ugly, ugly, ugly hack to enable the non-standard HTTP verb PATCH for partialBarry Warsaw2010-09-014-15/+98
| | | | | | resource updates. None of the lower components (well, except restish) actually allows us to extend things for PATCH in any kind of principled way. I am the Kludge King.
* This is a better fix than the previous commit, since it uses a principled ↵Barry Warsaw2010-08-302-2/+17
| | | | approach to finding the bin directory. Thanks go to Gary Poster.
* zope.testrunner 4.0.0b5 changes the working directory that tests are run from.Barry Warsaw2010-08-291-1/+2
|
* Refactor, and add a missing import.Barry Warsaw2010-08-238-75/+104
|
* Refactor the list configuration code via the REST interface, and flesh it outBarry Warsaw2010-08-2312-266/+401
| | | | considerably.
* Expose description in the interface and REST API.Barry Warsaw2010-08-124-11/+29
|
* Expose the autoreponse values in the IMailingList interface and REST API.Barry Warsaw2010-08-125-8/+184
|
* Expose administrivia in the IMailingList interface and REST API.Barry Warsaw2010-08-113-0/+19
|
* Expose anonymous_list and advertised in the IMailingList interface and in ↵Barry Warsaw2010-08-114-2/+32
| | | | the configuration REST API.
* Expose in the IMailingList interface, and in the REST API.Barry Warsaw2010-08-114-50/+97
| | | | | | | * admin_immed_notify * admin_notify_mchanges Sort acceptable aliases when returned from the API.
* Acceptable aliases as a sub-resource.Barry Warsaw2010-08-103-5/+140
|