summaryrefslogtreecommitdiff
path: root/src/mailman/model
Commit message (Collapse)AuthorAgeFilesLines
* PR288 vettedBarry Warsaw2017-08-291-1/+1
|
* IListManager.get() now accepts both List-IDs and FQDN list names.Barry Warsaw2017-06-244-35/+68
|
* Delete subscription requests when a mailing list is deleted.Barry Warsaw2017-01-083-11/+16
| | | | Closes #214
* Delete PendedKeyValue before deleting Pended.Abhilash Raj2017-01-081-2/+4
|
* Delete all pendings when mailing list is deletedAbhilash Raj2017-01-084-2/+33
|
* Bump copyright years.Barry Warsaw2017-01-0443-43/+43
|
* Simplified the various list settings and remamed several things.Mark Sapiro2016-12-261-8/+6
|
* Merge gitlab.com:mailman/mailman into dmarcMark Sapiro2016-12-231-2/+2
|\
| * Increase pendedkeyvalue table value column width.Mark Sapiro2016-12-151-2/+2
| | | | | | | | | | Also require docutils==0.12 to work around https://github.com/sphinx-doc/sphinx/issues/3212
* | Modifications based on feedback from Barry.Mark Sapiro2016-12-161-2/+2
| | | | | | | | | | | | Also, the change to the value column of pendedkeyvalue from SAUnicode to SAUnicodeLarge is removed as it is a separate MR now. This will cause mysql CI to fail until that MR lands.
* | Merged from master.Mark Sapiro2016-12-0924-24/+24
|\|
| * Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-2924-24/+24
| |
* | Merge branch 'dmarc' of gitlab.com:msapiro/mailman into dmarcMark Sapiro2016-11-262-5/+12
|\ \ | |/ |/|
| * Modified 'pendedkeyvalue' table 'value' column type to SAUnicodeLarge forMark Sapiro2016-11-111-2/+2
| | | | | | | | MySQL.
| * DMARC mitigations, part 1a.Mark Sapiro2016-10-311-3/+10
| |
* | Merge branch 'hide-system-disabled-archivers' into 'master' Barry Warsaw2016-11-261-7/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't show the disabled archivers in the REST API Previously, system-disabled archivers were shown in the REST API. As a result it was possible to enable them without a validation error, but they would stay disabled on the next API GET call (their actual activation status depends on the list-specific *and* the system-wide status). Because one can't add a configuration overlay to the running REST server in testing mode, the prototype archiver was disabled in the testing configuration. This is where most of the changes in this commit come from. See merge request !87
| * | Fix testsAurélien Bompard2016-08-181-7/+7
| | |
* | | Fix the Flake8 ignore tagsAurélien Bompard2016-11-212-2/+2
| |/ |/|
* | News and test tweak.Barry Warsaw2016-10-261-6/+9
| |
* | Sort the ban list by emailAurélien Bompard2016-10-262-5/+6
| |
* | Full coverage.Barry Warsaw2016-10-261-1/+17
| | | | | | | | NEWS.
* | Implement the review suggestionsAurélien Bompard2016-10-262-7/+12
| | | | | | | | See !161
* | Add a method to find list using properties filtersAurélien Bompard2016-10-262-0/+15
| | | | | | | | | | | | 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.
* | Manual merge.Barry Warsaw2016-10-251-7/+12
| | | | | | | | * Rebased, cleaned up, and test improvement.
* | rewritten bans test with more thorough testsAmit Tripathi2016-10-251-3/+6
| |
* | added a test to check bans property of IBanManagerAmit Tripathi2016-10-251-0/+6
| |
* | replaced `find` method with `bans` propertyAmit Tripathi2016-10-251-2/+3
| |
* | Added QuerySequence as return type of banned address listAmit Tripathi2016-10-251-0/+7
| |
* | Simplify the implementation.Barry Warsaw2016-10-174-65/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merges the SubscriptionManager and UnsubscriptionManager into a single SubscriptionManager implementation that handles both register() and unregister(). This allows us to use direct class-based adaptation instead of the more clunky getAdapter() API. We can also eliminate the funky _get_workflow() implementation detail. This has a couple of side-effects. .confirm() must lookup the token in the pendings database and pull out the pending type, dispatching to the proper class depending on the type, or raising a LookupError if the token is None or there is no pendable associated with the given token. This feels like an acceptable trade-off. However, this *also* means that IWorkflowStateManager must lose its 'name' argument in its methods. That's because we won't actually know the name until its too late. Honestly, the name wasn't providing much value anyway (it was always the subclass's name), so losing that seems fine too. The complication here is that the name was a primary key in the 'workflowstate' table, so we need to add its removal in the database migration.
* | Collapse two doctests into one.Barry Warsaw2016-09-112-105/+148
| | | | | | | | Also, fix the return value of .unregister(), and make the tests pass.
* | Fix many failures.Barry Warsaw2016-09-081-8/+21
| | | | | | | | Also, document more APIs.
* | IWorkflowManager -> ISubscriptionManagerBarry Warsaw2016-09-011-1/+1
| |
* | CheckpointingBarry Warsaw2016-09-013-9/+4
| |
* | Intermediate CommitAbhilash Raj2016-09-013-12/+34
| |
* | Reorganize the documentation for better accesibilityAbhilash Raj2016-08-211-0/+8
|/
* MySQL is now an officially supported database.Barry Warsaw2016-07-2917-87/+98
| | | | Given by Abhilash Raj.
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-283-3/+3
|
* Fix failure to change copied name :(Mark Sapiro2016-07-191-1/+1
|
* Improved email address validation and added tests.Mark Sapiro2016-07-181-0/+36
|
* New template system. Closes #249Barry Warsaw2016-07-168-89/+790
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Clean up the User.absorb() method and tests.Barry Warsaw2016-05-142-96/+145
|
* Clean up.Barry Warsaw2016-05-132-53/+63
|
* Fix Flake8 errorsAurélien Bompard2016-05-044-15/+17
|
* Implement suggestions from the reviewAurélien Bompard2016-05-044-19/+31
|
* Delete redundant memberships before deleting the absorbed userAurélien Bompard2016-05-042-5/+11
|
* Sort importsAurélien Bompard2016-05-042-2/+2
|
* Add a method to merge a user into another userAurélien Bompard2016-05-044-0/+248
|
* Use contextlib.suppress() where appropriate.Barry Warsaw2016-04-301-5/+2
|
* Restore the fix for PostgreSQL.Barry Warsaw2016-04-291-2/+2
|
* Restore a test from !151 which only fails on PostgreSQL.Barry Warsaw2016-04-292-2/+46
| | | | | | For now, *deliberately* cause the test to fail. I want to prove this correctly addresses the issue on the GL CI. Once I've done that, I'll restore the patch and approve the new MR.