summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | * Fixed Postfix alias file generation when more than one mailing listBarry Warsaw2011-10-163-4/+41
| | | | | | | | exists. (LP: #874929). Given by Vincent Fretin.
* | * `bin/mailman start --force` option is fixed. (LP: #869317)Barry Warsaw2011-10-167-76/+217
| | | | | | | | | | | | | | | | | | | | | | | | * acquire_lock_1(): No need to unlink the tempfile * Start.process(): Don't print error message when the lock is in stale_lock or host_mismatch status and --force has been given. * control.rst: Refactor test code into test_control.py. * test_create.py: To more accurately mimic argparse, FakeParser.error() needs to `sys.exit(1)`. The `SystemExit` must also be caught in the appropriate tests. * logging.py: Locking is now down by the flufl.lock package, so apply the `mailman.lock` configuration to it.
* | * Build the Sphinx documentation with `python setup.py build_sphinx` insteadBarry Warsaw2011-10-051-0/+2
|/ | | | | of bin/docs from buildout. * Ensure foreign_keys are ON (probably unnecessary).
* Bump version numbersBarry Warsaw2011-09-252-4/+9
|
* Fix a shallow test failure.Barry Warsaw2011-09-241-1/+1
|
* This is the way to build the documentation now:Barry Warsaw2011-09-233-33/+26
| | | | $ python setup.py build_sphinx
* Finally, all doctests are named .rstBarry Warsaw2011-09-2385-0/+0
|
* Version number bump for 3.0.0a8 release.Barry Warsaw2011-09-232-2/+2
|
* Improved the way flufl.enum.Enums are stored in the database. Now, theyBarry Warsaw2011-09-2312-46/+62
| | | | | | | | should always be stored as INTEGER columns, with the enum class explicitly described in the code. This should be more efficient, and besides EIBTI. Also, filled in a few additional IMailingList attributes which were not documented in the interface.
* * Preferences for addresses, users, and members can be accessed, changed, andBarry Warsaw2011-09-2312-12/+541
| | | | | | deleted through the REST interface. Hierarchical, combined preferences for members, and system preferences can be read through the REST interface. (LP: #821438)
* * Getting the memberships for a non-existent address did not give a 404 errorBarry Warsaw2011-09-134-3/+66
| | | | (LP: #848103). Given by Stephen A. Goss.
* * Rewrote a test for compatibility between Python 2.6 and 2.7. (LP: #833208)Barry Warsaw2011-09-072-24/+16
|
* * Four new events are created, and notifications are sent during domainBarry Warsaw2011-09-027-5/+216
| | | | | | | | | | lifecycle changes: - DomainCreatingEvent - sent before the domain is created - DomainCreatedEvent - sent after the domain is created - DomainDeletingEvent - sent before the domain is deleted - DomainDeletedEvent - sent after the domain is deleted * Using the above events, when a domain is deleted, associated mailing lists are deleted. (LP: #837526)
* * You can now query or change a member's `delivery_mode` attribute throughBarry Warsaw2011-09-015-12/+130
|\ | | | | | | the REST API (LP: #833132). Given by Stephen A. Goss.
| * LP 833132: add delivery_mode to member info in REST API, and make PATCHable ↵Stephen A. Goss2011-08-243-10/+129
| | | | | | | | with tests
* | * PATCHing an invalid attribute on a member did not give a 400 errorBarry Warsaw2011-09-013-2/+22
| | | | | | | | (LP: #833376). Given by Stephen A. Goss.
* | * Getting the roster or configuration of a nonexistent list did not give aBarry Warsaw2011-09-013-0/+95
| | | | | | | | 404 error (LP: #837676). Given by Stephen A. Goss.
* | * New REST resource http://.../<domain>/lists can be GETed in order to findBarry Warsaw2011-08-3010-4/+198
|\ \ | | | | | | | | | | | | all the mailing lists in a specific domain (LP: #829765). Given by Stephen A. Goss.
| * | email_host => mail_hostStephen A. Goss2011-08-231-1/+1
| | |
| * | merged changes to main branchStephen A. Goss2011-08-2315-70/+195
| |\ \
| * | | some tweaks to fix for LP: 829765 based on feedbackStephen A. Goss2011-08-239-18/+88
| | | |
| * | | REST API: add listing of mailing lists per domainStephen A. Goss2011-08-196-3/+61
| | | |
* | | | * User and Member ids are now proper UUIDs. The UUIDs are pended as unicodes,Barry Warsaw2011-08-3031-142/+424
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and exposed to the REST API as their integer equivalents. They are stored in the database using Storm's UUID type. - ISubscriptionService.get_member() now takes a UUID - IUserManager.get_user_by_id() now takes a UUID * Moderators and owners can be added via REST (LP: #834130). Given by Stephen A. Goss. - add_member() grows a `role` parameter. - ISubscriptionService.join() grows a `role` parameter. * InvalidEmailAddressError no longer repr()'s its value. * `address` -> `email` for consistency - delete_member() - ISubscriptionService.leave() * Fixed typo in app/subscriptions.py __all__ * AlreadySubscribedError: attributes are now public. * More .txt -> .rst renames.
| * | | LP: #834130 add moderators and owners through REST API w/testsStephen A. Goss2011-08-256-21/+50
|/ / /
* | | * Local timezone in X-Mailman-Approved-At caused test failure. (LP: #832404)Barry Warsaw2011-08-233-5/+18
| | |
* | | * Fix AttributeError triggered by i18n call in autorespond_to_sender()Barry Warsaw2011-08-235-16/+120
| |/ |/| | | | | (LP: #827060)
* | Rename IDomain.email_host to .mail_host for consistency. Similarly in theBarry Warsaw2011-08-229-64/+65
| | | | | | | | REST API. (LP: #831660)
* | * Moderating a message with Action.accept now sends the message. (LP: #827697)Barry Warsaw2011-08-227-6/+130
|/ | | | | | | | | | | Also: * Use utilities.datetime.now() so that moderation related dates are predictable during the test suite. * When a message is accepted, drop it in the pipeline queue. The above bug was caused by the message going in the incoming queue, and then being re-moderated. * Expose mailman.bin.master.Loop in __all__. * Add some helpful debug logging.
* * Four new events are created, and notifications are sent during mailing listBarry Warsaw2011-08-1716-45/+348
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | lifecycle changes: - ListCreatingEvent - sent before the mailing list is created - ListCreatedEvent - sent after the mailing list is created - ListDeletingEvent - sent before the mailing list is deleted - ListDeletedEvent - sent after the mailing list is deleted * Using the above events, when a mailing list is deleted, all its members are deleted, as well as all held message requests (but not the held messages themselves). (LP: 827036) Also: relax the find_member() argument constraints so that even the subscriber email address is optional. This is mirrored in the REST API's .../members/find resource.
| * Complete bug 827036 work.Barry Warsaw2011-08-179-44/+110
| | | | | | | | | | | | | | | | | | | | | | * Add ListCreatingEvent and ListDeletingEvent. These are sent before the operation actually occurs, whereas the previously added ListCreatedEvent and ListDeletedEvent are sent after the operation. Specifically, this is necessary because request database deletion requires the IMailingList object, which is only available before the list is deleted. * Add a handler to clear out the requests database for a mailing list, when the mailing list is about to be deleted.
| * Fix some typos, and improve the code.Barry Warsaw2011-08-172-3/+3
| |
| * Basic infrastructure for fixing bug 827036.Barry Warsaw2011-08-178-39/+176
| | | | | | | | | | | | | | | | | | * Use zope.events to signal when a mailing list has been created or deleted. * Register a handler for the ListDeletedEvent which cleans up member subscriptions. * Relax the criteria for find_members(), both internally and in the REST API, so that the subscriber is not required. E.g. you can now find all members of a mailing list.
| * Send event notifications whenever a mailing list is created or deleted.Barry Warsaw2011-08-164-3/+95
|/
* * Handle SIGTERM in the REST server so that the test suite always shuts downBarry Warsaw2011-08-152-2/+9
| | | | | | correctly. (LP: #770328) (I hope)
* * DELETE users via the REST API. (LP: #820660)Barry Warsaw2011-08-144-4/+94
|
* * Fixed incorrect error code for /members/<bogus> (LP: #821020). Given byBarry Warsaw2011-08-143-0/+14
| | | | Stephen A. Goss.
* Remove role plurals from /lists/<fqdn_listname/rosters/<role>Barry Warsaw2011-08-143-10/+20
|
* Fixed broken API for getting a membership via role and email from a mailingBarry Warsaw2011-08-143-4/+22
| | | | | | list. (LP: #825570) Untested code is broken code.
* * New REST resource http://.../members/find can be POSTed to in order to findBarry Warsaw2011-08-1310-27/+385
| | | | | | member records. Arguments are `subscriber` (email address to search for - required), `fqdn_listname` (optional), and `role` (i.e. MemberRole - optional). (LP: #799612)
* Remove all pylint vestiges.Barry Warsaw2011-08-0325-36/+0
|
* Factor out bounce detection to flufl.bounce.Barry Warsaw2011-07-15126-13323/+19
|
* * The IMailingList attribute ``host_name`` has been renamed to ``mail_host``Barry Warsaw2011-06-1625-361/+62
| | | | | for consistency. This changes the REST API for mailing list resources. (LP: #787599)
* Plumb key=value arguments through to the `bin/mailman inject` command.Barry Warsaw2011-06-152-6/+44
|
* * Move inject.py to mailman.app package.Barry Warsaw2011-06-155-16/+235
| | | | | * Expose **kws to inject_text() * Add tests.
* After a current analysis by Richard Wackerbarth, it was found that notBarry Warsaw2011-06-142-6/+18
| | | | | | | | | | | | including site-packages in the built-out environment is what was causing FreeBSD to fail to find the _sqlite module. As it turns out, the reason for adding this no longer appears relevant on Ubuntu, so just remove the setting. Fix a reference error in bin/runner.py Rename: * START.txt -> START.rst * README.txt -> README.rst
* NEWS file updatesBarry Warsaw2011-06-111-0/+18
|
* Fixed two typos.Barry Warsaw2011-06-112-4/+5
| | | | | * Use a list comprehension to get a proper list of addresses. * config.devmode.testing must be converted to a boolean.
* Do not allow a list to be created with a bogus owner address. (LP: #778687)Barry Warsaw2011-06-114-48/+143
|
* Update COPYING file to GPLv3. (LP: #790994)Barry Warsaw2011-06-111-0/+4
|
* Typos, left over crud, and a refactoring.Barry Warsaw2011-06-103-17/+5
|