summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix welcome_message_uri to do the placeholder interpolations guaranteed in theBarry Warsaw2012-03-048-4/+43
| | | | | | | | IMailingList documentation. Also: * `ILanguageManager.add()` returns the `ILanguage` object just created.
* Rename the confirmation template, and ensure that we get it via the templateBarry Warsaw2012-03-042-2/+6
| | | | loader.
* * A welcome message is sent when the user confirms their subscription viaBarry Warsaw2012-03-0411-110/+248
| | | | | | | | | | email. Also: - The user's Full Name is included on the To line of a welcome message. - Clean up some tests. - The welcome_message_uri for lists using the default style is set to mailman:///welcome.txt so a welcome message is sent by default.
* - Test welcome message notifications.Barry Warsaw2012-03-048-43/+160
| | | | | - welcome.txt is no longer inserted into subscribeack.txt. This latter is renamed to welcome.txt as the default welcome message.
* Remove obsolete translations.Barry Warsaw2012-03-0367-487331/+0
|
* * Support downloading templates by URI, including mailman:// URIs. This isBarry Warsaw2012-03-0316-43/+485
| | | | | | | | | | | | | used in welcome and goodbye messages, and supports both language and mailing list specifications. E.g. mailman:///test@example.com/it/welc.txt * Schema changes: - welcome_msg -> welcome_message_uri - goodbye_msg -> goodbye_message_uri - send_welcome_msg -> send_welcome_message - send_goodbye_msg -> send_goodbye_message * New `ITemplateLoader` utility.
* * Major redesign of the template search system, fixing LP: #788309. $var_dirBarry Warsaw2012-03-038-204/+248
| | | | | | is now used when search for all template overrides, site, domain, or mailing list. The in-tree English templates are used only as a last fallback.
* * Added a `help` email command.Barry Warsaw2012-03-0111-32/+266
| | | | | | | Also: - updated the 'join' command's descriptions - email commands should now have a short_description. The description (i.e. long description) should not repeat this information.
* Restore the RFC 2369 headers to accepted list posts.Barry Warsaw2012-03-015-9/+105
|
* Prevent the `confirm` command from running more than once on the same token.Barry Warsaw2012-03-013-3/+57
| | | | | Also add some debugging to the verification message, IOW, which template is it using (this may be more generally useful, but for now, it's an experiment).
* print functions!Barry Warsaw2012-02-292-16/+18
|
* * The `join` email command no longer accepts an `address=` argument. ItsBarry Warsaw2012-02-298-73/+180
| | | | | | | | | `digest=` argument now accepts the following values: `no` (for regular delivery), `mime`, or `plain`. Also: - Fix get_queue_messages() to properly sort on the string representation of a header, since it could be a Header instance.
* Make sure that an email subscription request is ignored for addresses whichBarry Warsaw2012-02-292-3/+49
| | | | are already members of the list.
* Remove test turd.Barry Warsaw2012-02-291-3/+0
|
* Don't try to double join someone via a single email command.Barry Warsaw2012-02-293-0/+104
|
* Greatly improve handling non-ascii in email commands.Barry Warsaw2012-02-282-8/+118
|
* * The `mailman.cfg` configuration file will now automatically be detected ifBarry Warsaw2012-02-273-6/+45
| | | | it exists in an `etc` directory which is a sibling of argv0.
* * The `confirm` email command now properly handles `Re:`-like prefixes, evenBarry Warsaw2012-02-265-17/+120
| | | | | | | | | | | | if they contain non-ASCII characters. (LP: #685261) Also: - When the registrar confirms an email address, the verified_on value gets set using the Mailman datetime interface. This simply improves testability for that API. - In Runner._one_iteration(), be sure to commit the database transaction *before* calling _short_circuit().
* * Schema migrations have been implemented.Barry Warsaw2012-02-1218-67/+316
|
* Flesh out the moderation doctest.Barry Warsaw2012-01-302-10/+67
|
* * Held messages can now be moderated through the REST API. Mailing listBarry Warsaw2012-01-3016-55/+493
| | | | | | | | | | | | | | | resources now accept a `held` path component. GETing this returns all held messages for the mailing list. POSTing to a specific request id under this url can dispose of the message using `Action` enums. * `IRequests` interface is removed. Now just use adaptation from `IListRequests` directly (which takes an `IMailingList` object). * `handle_message()` now allows for `Action.hold` which is synonymous with `Action.defer` (since the message is already being held). * `IListRequests.get_request()` now takes an optional `request_type` argument to narrow the search for the given request. - also, print_function is now a standard __future__ import. The template has been updated, but add this to modules as you edit them.
* * `IMailTransportAgentAliases` now explicitly accepts duck-typed arguments.Barry Warsaw2012-01-274-2/+69
| | | | - Also, rewrite the Postfix alias generator to use the faster, duck-typed API.
* * Remove previously deprecated `IListManager.get_mailing_lists()`.Barry Warsaw2012-01-273-13/+1
|
* * Add property `IListmanager.name_compoments` which returns 2-tuples forBarry Warsaw2012-01-275-6/+38
| | | | every mailing list as (list_name, mail_host).
* Three performance improvements.Barry Warsaw2012-01-271-6/+8
|
* Storm now has a "load hook" which we can use to restore the rosters when theBarry Warsaw2012-01-272-10/+9
| | | | | MailingList is loaded from the database. We need to call this explicitly in the constructor, but at least nothing else will ever need to call it.
* A faster implementation of SubscriptionService.get_members().Barry Warsaw2012-01-262-13/+22
|
* * Add property `IUserManager.members` to return all `IMembers` in the system.Barry Warsaw2012-01-264-1/+43
|
* - Bump copyright years.Barry Warsaw2012-01-07275-890/+309
|\ | | | | | | | | | | - Refactor to use the flufl.password package. - Adapt to the API for flufl.bounce 2.0. - Add a `bin/mailman shell` alias for `bin/mailman withlist`.
| * copybumpBarry Warsaw2012-01-01270-270/+270
| |
| * Replace the password stuff with flufl.password.Barry Warsaw2012-01-019-619/+17
| |
| * * `bin/mailman shell` is an alias for `withlist`.Barry Warsaw2011-11-132-0/+12
| |
* | typoBarry Warsaw2012-01-071-1/+1
|/
* * Stop adding the X-BeenThere header.Barry Warsaw2011-11-0613-352/+349
| | | | | | | * Separate out the RFC 2369 header adding handler. * Dynamically calculate the `List-Id` header instead of storing it in the database. This means it cannot be changed. * Be sure to clean out any digest .mmdf files when the world is reset.
* A couple of small cleanups.Barry Warsaw2011-11-042-5/+2
|
* * Fix a couple of spelling errors.Barry Warsaw2011-11-0210-34/+43
| | | | | | * Code cleanup (<> -> != ... sigh) * Minor refactoring of database setup code so that touch() is moved to the SQLiteDatabase class; it's not relevant for PostgreSQL.
* Remove extraneous `test_suite()` functions. zope.testrunner willBarry Warsaw2011-10-3031-667/+11
| | | | | | | | | automatically do the right thing in most cases. Keep test_suite() in test_documentation.py since these dynamically set up docs tests properly. Refactor test_passwords.py so that base class tests aren't bogusly run. Also, remove test_membership.py which was essentially disabled because it was testing the MM2 membership API.
* * Implement the style manager as a utility instead of an attribute hangingBarry Warsaw2011-10-2410-18/+83
| | | | | | off the `mailman.config.config` object. * Fixed bogus use of `bounce_processing` attribute (should have been `process_bounces`, with thanks to Vincent Fretin. (LP: #876774)
* * Fixed KeyError in retry runner, contributed by Stephen A. Goss.Barry Warsaw2011-10-243-1/+67
|\ | | | | | | (LP: #872391)
| * LP: #872391, fix Retry runner bug with unit testStephen A. Goss2011-10-242-1/+66
|/
* PostgreSQL support contributed by Stephen A. Goss, with refactoring and testBarry Warsaw2011-10-2314-24/+622
|\ | | | | | | suite compliance by Barry. (LP: #860159)
| * Add some minimal documentation about setting up the database.Barry Warsaw2011-10-231-0/+71
| |
| * Fix a few bogus sort order assumptions uncovered by the PostgreSQL tests.Barry Warsaw2011-10-231-2/+3
| |
| * Sort the address memberships, first by mailing list fqdn, then by emailBarry Warsaw2011-10-231-2/+8
| | | | | | | | address, then by the integer value of the role enum.
| * Add database specific pre- and post- reset callbacks. Use this to implementBarry Warsaw2011-10-233-1/+42
| | | | | | | | primary key reset for PostgreSQL, fixing several tests.
| * digest_size_thresholds should be floats. This still doesn't work inBarry Warsaw2011-10-222-2/+2
| | | | | | | | PostgreSQL.
| * - Be a little more careful about preparing the SQL statements for executionBarry Warsaw2011-10-223-7/+16
| | | | | | | | | | | | in the database, namely strip out empty lines and comments first, otherwise PostgreSQL spews "empty statement" errors at us. - Down to 4 test failures.
| * - Ensure that class removal is deterministic.Barry Warsaw2011-10-223-28/+53
| | | | | | | | | | | | - Comment out a few more foreign key constraints since they break the tests. - Enable the PostgreSQLDatabase for testing (this one should not be committed on trunk.
| * Merge PostgreSQL support from Stephen A. Goss, with refactoring by Barry. LP:Barry Warsaw2011-10-227-16/+456
|/| | | | | | | #860159.
| * LP: #860159 (experimental) PostgreSQL supportStephen A. Goss2011-09-262-4/+344
| |