summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/listmanager.py
Commit message (Collapse)AuthorAgeFilesLines
* IListManager.get() now accepts both List-IDs and FQDN list names.Barry Warsaw2017-06-241-8/+22
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Implement the review suggestionsAurélien Bompard2016-10-261-2/+3
| | | | See !161
* Add a method to find list using properties filtersAurélien Bompard2016-10-261-0/+9
| | | | | | This allows the filtering to be done at the database level. It also makes list pagination much more efficient, since the slicing is done at the database level too.
* Import order flake8 plugin.Barry Warsaw2016-03-271-1/+1
| | | | Fix lots of import order errors discovered by the new plugin.
* Clean up the interfaces directory.Barry Warsaw2016-03-251-14/+8
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* DatabaseBarry Warsaw2014-11-011-4/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * The ORM layer, previously implemented with Storm, has been replaced by SQLAlchemy, thanks to the fantastic work by Abhilash Raj and Aurélien Bompard. Alembic is now used for all database schema migrations. * The new logger `mailman.database` logs any errors at the database layer. API --- * Several changes to the internal API: - `IListManager.mailing_lists` is guaranteed to be sorted in List-ID order. - `IDomains.mailing_lists` is guaranteed to be sorted in List-ID order. - Iteration over domains via the `IDomainManager` is guaranteed to be sorted by `IDomain.mail_host` order. - `ITemporaryDatabase` interface and all implementations are removed.
| * Merge abompard's fixes to the Postgres test suite.Barry Warsaw2014-10-301-2/+4
|/
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-281-1/+1
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Checkpointing.Barry Warsaw2013-11-251-4/+4
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * The link between members and the mailing lists they are subscribed to, isBarry Warsaw2012-09-041-0/+13
| | | | | | | | | | | | | | | now via the RFC 2369 `list_id` instead of the fqdn listname (i.e. posting address). This is because while the posting address can change if the mailing list is moved to a new server, the list id is fixed. (LP: #1024509) + IListManager.get_by_list_id() added. + IListManager.list_ids added. + IMailingList.list_id added. + Several internal APIs that accepted fqdn list names now require list ids, e.g. ISubscriptionService.join() and .find_members(). + IMember.list_id attribute added; .mailing_list is now an alias that retrieves and returns the IMailingList. - list_id added (LP: #1024509)
* * Remove previously deprecated `IListManager.get_mailing_lists()`.Barry Warsaw2012-01-271-7/+0
|
* * Add property `IListmanager.name_compoments` which returns 2-tuples forBarry Warsaw2012-01-271-0/+4
| | | | every mailing list as (list_name, mail_host).
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Complete bug 827036 work.Barry Warsaw2011-08-171-0/+16
| | | | | | | | | | | * 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.
* Send event notifications whenever a mailing list is created or deleted.Barry Warsaw2011-08-161-0/+16
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-081-1/+0
| | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* Add POST validators.Barry Warsaw2010-03-011-19/+0
|
* * Make the lists.txt doctest pass with restish.Barry Warsaw2010-02-231-17/+25
| | | | | * Put the domain name on the BadDomainSpecificationError * Give the IListManager an __iter__()
* Rip out lazr.restful and replace it with restish. This simpifies a lot of theBarry Warsaw2010-02-231-9/+0
| | | | | REST architecture, at the expense of a few features, and less support. So far so good though.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* * Add REST interface for joining a mailing list.Barry Warsaw2009-12-281-0/+13
| | | | | | * add_member() now returns the newly created IMember. * Reorganized several exceptions and exposed them to the REST API. * Added NoSuchListError.
* Fix the turning of application level exceptions into HTTP 400 errors, throughBarry Warsaw2009-08-061-1/+2
| | | | | | the improvement of the publication's handleException() method. Pick some lint in traverse.py.
* Move BadDomainSpecificationError to domain.txt interface. Try to set this toBarry Warsaw2009-07-261-1/+20
| | | | | | return an HTTP 400 error, though it does not seem to work. Expose list creation through the API.
* Clean a few more lints.Barry Warsaw2009-07-101-0/+14
| | | | | | | | | | | | | | Add get_mailing_lists() which is used just for the web interface. Because of a bug in lazr.restful, this cannot be a generator. Similar change in IDomainSet. Instrument IListManager to be vended through the api. The REST server must be run in a separate process since SQLite does not like objects created in one thread to be used in another thread. Note that this breaks the domain.txt test, but domains really need to be in the database anyway.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+84
correctly regardless of how it's used.