summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add NEWS and modify a comment.Barry Warsaw2016-03-102-1/+3
|
* Implement review suggestionsAurélien Bompard2016-03-101-2/+2
|
* Protect the approved rule against unknown charsetsAurélien Bompard2016-03-102-7/+32
| | | | Fixes #203
* Fix cross-posting held on more than one list.Barry Warsaw2016-03-088-67/+86
| | | | | | | | | | | Closes #176 Also: * IMessageStore no longer raises a ValueError if the Message-ID already exists in the store; it just returns None. * The internal handle_message() function no longer takes a `preserve` argument, since messages are never removed from the IMessageStore.
* Fix #198 - duplicate owner subscription errorBarry Warsaw2016-03-053-1/+22
| | | | | | Trying to subscribe an address as a list owner (or moderator or nonmember) which is already subscribed with that role produces a server error.
* Add AlreadySubscribedError Exception for better error messageAnirudh Dahiya2016-03-051-0/+3
|
* Add NEWS and clean up.Barry Warsaw2016-03-033-24/+31
|
* Exposed goodbye_message_uri attribute through REST API.Harshit Bansal2016-03-033-0/+40
|
* NEWS.Barry Warsaw2016-02-291-0/+2
|
* Last cleanups.Barry Warsaw2016-02-298-88/+90
| | | | | | | | | * Remove an unused import. * Opportunistically remove ^Ls * Add a missing interface attribute. * Fix up some docstrings. * Rename a parameter in an interface for clarity. * Random code style cleanups.
* Refine some coding style.Barry Warsaw2016-02-292-21/+27
| | | | | Slightly rewrite a test so that the event subscribers are more narrow. Opportunistically remove ^L
* Add a test for header-matches on missing lists.Barry Warsaw2016-02-293-15/+9
| | | | Also: Opportunistically remove ^L for better coverage results.
* Review suggestions on the REST entry pointsAurélien Bompard2016-02-292-15/+24
| | | | | - validate HeaderMatch.chain values using Action - reformat the docs
* Revert "Rename the HeaderMatch.chain column to action"Aurélien Bompard2016-02-2910-152/+38
| | | | This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
* Review suggestions: improve unit testsAurélien Bompard2016-02-293-25/+45
|
* Review suggestions: rename the new index column to positionAurélien Bompard2016-02-296-112/+110
|
* Action-less header matches default to the site-wide antispam actionAurélien Bompard2016-02-292-3/+50
| | | | | Action.defer can't be used on header match links since the 'any' link that jumped to the configuration default happens before header matches.
* Use a better way to delete from a collectionAurélien Bompard2016-02-291-3/+2
|
* Fix test on PostgreSQLAurélien Bompard2016-02-291-21/+29
|
* Expose the header matches in the REST APIAurélien Bompard2016-02-294-1/+419
|
* Rename the HeaderMatch.chain column to actionAurélien Bompard2016-02-2910-37/+144
| | | | It makes it clearer what values are valid, and allows validation.
* Use a property for HeaderMatch.indexAurélien Bompard2016-02-292-16/+53
| | | | | Moving header matches up and down the stack is more transparent that way.
* The order of a mailing list's header matches is significantAurélien Bompard2016-02-299-68/+378
| | | | | | | Add a numerical index property to HeaderMatch objects, and change the HeaderMatchSet manager to take the order into account. Items can now be inserted and removed by index.
* Added extra "=" to make overcome underline and overline mismatchsaurav kumar2016-02-281-1/+1
|
* News.Barry Warsaw2016-02-271-0/+3
|
* Allow List-ID in decoration template URIs.Barry Warsaw2016-02-275-37/+85
| | | | | | | | Closes #196 In mailman: URIs (e.g. IMailingList.header_uri and .footer_uri), you used to be able to only use fqdn-listnames. But since List-IDs are more stable, let's allow those too. Silently deprecate using the fqdn-listname.
* Add documentation on interfacing with qmailThomas Schneider2016-02-251-0/+52
| | | | Signed-off-by: Thomas Schneider <qsuscs@qsuscs.de>
* Handle AlreadySubscribedError in REST.Barry Warsaw2016-02-153-1/+23
| | | | | | | | When approving a subscription request via the REST API, for a user who is already a member, return an HTTP 409 Conflict code instead of the previous server traceback (and resulting HTTP 500 code). Closes #193
* Prevent moderation of messages held for a different list.Barry Warsaw2016-02-074-1/+32
| | | | Closes: #161
* Fix membership query for preferred addresses.Barry Warsaw2016-02-063-2/+36
| | | | | | | When multiple users are subscribed to a mailing list via their preferred address, too many results are returned from a membership query, resulting in an assertion error. Reported by Darrell Kresge. (Closes: #190)
* Add a set_preferred() helper.Barry Warsaw2016-02-069-61/+41
| | | | | This refactors the setting of a user's preferred address to the first in their list of linked addresses.
* Super duper.Barry Warsaw2016-01-2630-68/+42
| | | | | * Python 3-ify super() calls. * Remove a bunch of obsolete exception classes.
* Use the more convenient API.Barry Warsaw2016-01-251-3/+2
|
* Full coverage of the accept chain.Barry Warsaw2016-01-252-2/+78
| | | | Fix some comments.
* Boost coverage and remove dead code.Barry Warsaw2016-01-252-4/+11
|
* Boost coverage.Barry Warsaw2016-01-252-2/+19
| | | | Also, ignore `raise AssertionError` lines globally.
* Make creating Link objects a more convenient.Barry Warsaw2016-01-2510-48/+29
| | | | | | Link.__init__() can now take an IRule or the string naming a rule, which will be looked up in config.rules. Similarly, it can take an IChain or the name of a chain.
* Also add a test for the global ban listAurélien Bompard2016-01-201-0/+12
|
* Give a meaningful message when a banned member tries to joinAurélien Bompard2016-01-202-0/+16
|
* Branch tweaks:Barry Warsaw2016-01-142-5/+13
| | | | | | | | - Fix an interface description. - Fix a copyright year. - Fix quote styles. - Tweak a test. - Add a test.
* Delete bans when their associated list is deletedAurélien Bompard2016-01-144-2/+73
| | | | Also add indexes on the Ban fields that are filtered on.
* Add indexes on the MailingList tableAurélien Bompard2016-01-142-3/+34
| | | | | Ensure that list_id is unique, and add indexes on two commonly filtered-on fields: list_name and mail_host.
* Add NEWS and tweak.Barry Warsaw2016-01-135-8/+11
|
* Member search can be done using GET requestsAurélien Bompard2016-01-132-1/+35
|
* Allow fuzz search for members in SubscriptionServiceAurélien Bompard2016-01-133-4/+31
|
* Clean up the branch for landing.Barry Warsaw2016-01-134-46/+132
| | | | | | | | | | | | * Add NEWS * Update copyright years. * Adjust for new IAPI.path_to() interface. * Style. * Remove some unreachable code. * Boost coverage. * Change some Bad Requests into Not Founds. * Do not include `list_id` in resource JSON for global bans. * Rephrase some doctests.
* Add the self_link for bans and factor some codeAurélien Bompard2016-01-132-18/+41
|
* Expose the ban list on the REST APIAurélien Bompard2016-01-136-0/+222
|
* Just a little more UUID conversion convenience.Barry Warsaw2016-01-133-21/+19
|
* Use common idiom for converting the UUID.Barry Warsaw2016-01-132-14/+15
| | | | Wrap lines.