summaryrefslogtreecommitdiff
path: root/src/mailman/database/sql/sqlite.sql (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-10-30Remove extraneous `test_suite()` functions. zope.testrunner willBarry Warsaw31-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.
2011-10-24 * Implement the style manager as a utility instead of an attribute hangingBarry Warsaw10-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)
2011-10-24LP: #872391, fix Retry runner bug with unit testStephen A. Goss2-1/+66
2011-10-23Add some minimal documentation about setting up the database.Barry Warsaw2-0/+72
2011-10-23Fix a few bogus sort order assumptions uncovered by the PostgreSQL tests.Barry Warsaw1-2/+3
2011-10-23Sort the address memberships, first by mailing list fqdn, then by emailBarry Warsaw1-2/+8
address, then by the integer value of the role enum.
2011-10-23Add database specific pre- and post- reset callbacks. Use this to implementBarry Warsaw3-1/+42
primary key reset for PostgreSQL, fixing several tests.
2011-10-22digest_size_thresholds should be floats. This still doesn't work inBarry Warsaw2-2/+2
PostgreSQL.
2011-10-22 - Be a little more careful about preparing the SQL statements for executionBarry Warsaw3-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.
2011-10-22- Ensure that class removal is deterministic.Barry Warsaw3-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.
2011-10-16 * Fixed Postfix alias file generation when more than one mailing listBarry Warsaw3-4/+41
exists. (LP: #874929). Given by Vincent Fretin.
2011-10-16 * `bin/mailman start --force` option is fixed. (LP: #869317)Barry Warsaw7-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.
2011-10-05* Build the Sphinx documentation with `python setup.py build_sphinx` insteadBarry Warsaw2-3/+2
of bin/docs from buildout. * Ensure foreign_keys are ON (probably unnecessary).
2011-09-26LP: #860159 (experimental) PostgreSQL supportStephen A. Goss2-4/+344
2011-09-25Bump version numbersBarry Warsaw2-4/+9
2011-09-24Fix a shallow test failure.Barry Warsaw1-1/+1
2011-09-23This is the way to build the documentation now:Barry Warsaw7-52/+300
$ python setup.py build_sphinx
2011-09-23Finally, all doctests are named .rstBarry Warsaw85-0/+0
2011-09-23Version number bump for 3.0.0a8 release.Barry Warsaw2-2/+2
2011-09-23Improved the way flufl.enum.Enums are stored in the database. Now, theyBarry Warsaw12-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.
2011-09-23 * Preferences for addresses, users, and members can be accessed, changed, andBarry Warsaw12-12/+541
deleted through the REST interface. Hierarchical, combined preferences for members, and system preferences can be read through the REST interface. (LP: #821438)
2011-09-13 * Getting the memberships for a non-existent address did not give a 404 errorBarry Warsaw4-3/+66
(LP: #848103). Given by Stephen A. Goss.
2011-09-07 * Rewrote a test for compatibility between Python 2.6 and 2.7. (LP: #833208)Barry Warsaw2-24/+16
2011-09-02 * Four new events are created, and notifications are sent during domainBarry Warsaw7-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)
2011-09-01* PATCHing an invalid attribute on a member did not give a 400 errorBarry Warsaw3-2/+22
(LP: #833376). Given by Stephen A. Goss.
2011-09-01* Getting the roster or configuration of a nonexistent list did not give aBarry Warsaw3-0/+95
404 error (LP: #837676). Given by Stephen A. Goss.
2011-08-25LP: #834130 add moderators and owners through REST API w/testsStephen A. Goss6-21/+50
2011-08-24LP 833132: add delivery_mode to member info in REST API, and make PATCHable ↵Stephen A. Goss3-10/+129
with tests
2011-08-23 * Local timezone in X-Mailman-Approved-At caused test failure. (LP: #832404)Barry Warsaw3-5/+18
2011-08-23* Fix AttributeError triggered by i18n call in autorespond_to_sender()Barry Warsaw5-16/+120
(LP: #827060)
2011-08-23email_host => mail_hostStephen A. Goss1-1/+1
2011-08-23some tweaks to fix for LP: 829765 based on feedbackStephen A. Goss9-18/+88
2011-08-22Rename IDomain.email_host to .mail_host for consistency. Similarly in theBarry Warsaw9-64/+65
REST API. (LP: #831660)
2011-08-22* Moderating a message with Action.accept now sends the message. (LP: #827697)Barry Warsaw7-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.
2011-08-22In copybump, if the start year is this year, just write out the line. ThisBarry Warsaw1-0/+3
avoids copyright ranges with e.g. 2011-2011.
2011-08-19REST API: add listing of mailing lists per domainStephen A. Goss6-3/+61
2011-08-17Complete bug 827036 work.Barry Warsaw9-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.
2011-08-17Fix some typos, and improve the code.Barry Warsaw2-3/+3
2011-08-17Basic infrastructure for fixing bug 827036.Barry Warsaw8-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.
2011-08-16Send event notifications whenever a mailing list is created or deleted.Barry Warsaw4-3/+95
2011-08-15 * Handle SIGTERM in the REST server so that the test suite always shuts downBarry Warsaw2-2/+9
correctly. (LP: #770328) (I hope)
2011-08-14 * DELETE users via the REST API. (LP: #820660)Barry Warsaw4-4/+94
2011-08-14 * Fixed incorrect error code for /members/<bogus> (LP: #821020). Given byBarry Warsaw3-0/+14
Stephen A. Goss.
2011-08-14Remove role plurals from /lists/<fqdn_listname/rosters/<role>Barry Warsaw3-10/+20
2011-08-14Fixed broken API for getting a membership via role and email from a mailingBarry Warsaw3-4/+22
list. (LP: #825570) Untested code is broken code.
2011-08-13 * New REST resource http://.../members/find can be POSTed to in order to findBarry Warsaw10-27/+385
member records. Arguments are `subscriber` (email address to search for - required), `fqdn_listname` (optional), and `role` (i.e. MemberRole - optional). (LP: #799612)
2011-08-12Not really using filetemplates any more, since pylint was removed.Barry Warsaw1-1/+1
2011-08-03Remove all pylint vestiges.Barry Warsaw27-356/+0
2011-07-15Factor out bounce detection to flufl.bounce.Barry Warsaw127-13323/+20
2011-07-11Make this script more generally useful even outside of the Mailman source tree.Barry Warsaw1-15/+27