summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-276-38/+88
| | | | | | | | 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 a README for contributions.Barry Warsaw2016-02-261-0/+16
|
* Merge branch 'qsx/mailman-qsx/qmail' Closes !92Barry Warsaw2016-02-252-0/+82
|\
| * Add documentation on interfacing with qmailThomas Schneider2016-02-252-0/+82
|/ | | | 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.
* Update coverage omit patterns.Barry Warsaw2016-01-311-2/+2
|
* Make sure we're using the right environment.Barry Warsaw2016-01-311-1/+1
|
* Refactor tox.ini for generated environments.Barry Warsaw2016-01-312-44/+19
|
* 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-253-2/+20
| | | | 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.
* Use the default python3 interpreter sometimes.Barry Warsaw2016-01-241-3/+3
| | | | | For the non-default test environments, use whatever Python 3 version is the default.
* remove tags for sqlite to run with specific runnersAbhilash Raj2016-01-231-3/+0
|
* Add docker images to .gitlab-ci.yml, Contributed by Simon Hanna (!72)Abhilash Raj2016-01-231-5/+14
| | | | Add variables to create databases in postgres and mysql
* It's okay if some interpreters are missing.Barry Warsaw2016-01-211-0/+1
|
* 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.