summaryrefslogtreecommitdiff
path: root/src/mailman/database/alembic/versions
Commit message (Collapse)AuthorAgeFilesLines
* Fix the bogus migration on Template.passwordAurélien Bompard2017-05-241-0/+25
| | | | Fixes #336
* Fix the template name of the welcome message.Barry Warsaw2017-05-241-2/+2
| | | | | | | | | | | | | | | | | We did not previously complete the renaming of the templates. Rename: * user:ack:welcome -> list:user:notice:welcome * user:ack:goodbye -> list:user:notice:goodbye The new names are what are actually used in send_welcome_message() and send_goodbye_message() so the old names were actually never used. NOTE: If you added welcome or goodbye templates through REST from git head, the old names will not be used. Given that this wasn't a feature in 3.0, and the above use case is very unlikely, I've decided not to do a migration. If anybody is affected, the changes can be made manually in withlist. Closes: #337
* Bump copyright years.Barry Warsaw2017-01-043-3/+3
|
* Simplified the various list settings and remamed several things.Mark Sapiro2016-12-261-31/+18
|
* Fixed alembic down_revision following merge of another migration.Mark Sapiro2016-12-231-2/+2
|
* Merge gitlab.com:mailman/mailman into dmarcMark Sapiro2016-12-231-0/+27
|\
| * Increase pendedkeyvalue table value column width.Mark Sapiro2016-12-151-0/+27
| | | | | | | | | | 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-7/+1
| | | | | | | | | | | | 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.
* | Modified 'pendedkeyvalue' table 'value' column type to SAUnicodeLarge forMark Sapiro2016-11-111-1/+7
| | | | | | | | MySQL.
* | DMARC mitigations, part 1a.Mark Sapiro2016-10-311-0/+83
|/
* Confirm unsubscriptions by default.Barry Warsaw2016-10-251-3/+2
|
* Simplify the implementation.Barry Warsaw2016-10-171-1/+4
| | | | | | | | | | | | | | | | | | | | | | 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.
* flake8 fixes.Barry Warsaw2016-10-161-0/+1
|
* Minor changes.Barry Warsaw2016-09-193-7/+4
|
* Fix migration.Barry Warsaw2016-09-021-4/+4
|
* CheckpointingBarry Warsaw2016-09-011-14/+15
|
* Intermediate CommitAbhilash Raj2016-09-011-0/+42
|
* MySQL is now an officially supported database.Barry Warsaw2016-07-2910-67/+100
| | | | Given by Abhilash Raj.
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-281-1/+1
|
* New template system. Closes #249Barry Warsaw2016-07-161-0/+178
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Allow fall backs for moderation actions.Barry Warsaw2016-04-011-13/+15
| | | | | | | | | The `moderation_action` for members and nonmember can now be ``None`` which signals falling back to the appropriate list default action, e.g. `default_member_action` and `default_nonmember_action`. Given by Aurélien Bompard. Closes #189
* Appease flake8.Barry Warsaw2016-04-011-4/+12
|
* Add caching to the data migrationAurélien Bompard2016-03-311-4/+14
| | | | Very useful on large installations.
* Migrate data from the static member moderation action to the list fallbackAurélien Bompard2016-03-311-0/+73
|
* Import order flake8 plugin.Barry Warsaw2016-03-274-5/+5
| | | | Fix lots of import order errors discovered by the new plugin.
* Clean up the database directory.Barry Warsaw2016-03-2413-64/+70
|
* Last cleanups.Barry Warsaw2016-02-291-1/+0
| | | | | | | | | * 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.
* Revert "Rename the HeaderMatch.chain column to action"Aurélien Bompard2016-02-291-57/+0
| | | | This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
* Review suggestions: rename the new index column to positionAurélien Bompard2016-02-291-20/+17
|
* Rename the HeaderMatch.chain column to actionAurélien Bompard2016-02-291-0/+57
| | | | It makes it clearer what values are valid, and allows validation.
* The order of a mailing list's header matches is significantAurélien Bompard2016-02-291-0/+40
| | | | | | | 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.
* Delete bans when their associated list is deletedAurélien Bompard2016-01-141-0/+23
| | | | Also add indexes on the Ban fields that are filtered on.
* Add indexes on the MailingList tableAurélien Bompard2016-01-141-0/+31
| | | | | Ensure that list_id is unique, and add indexes on two commonly filtered-on fields: list_name and mail_host.
* Happy New Year.Barry Warsaw2016-01-023-3/+3
|
* Move the data_paths.Barry Warsaw2015-12-201-3/+19
|
* Add a send-digests subcommand to send list digests right now.Barry Warsaw2015-12-201-0/+2
| | | | | | | | | | | | | | * Add a `mailman send-digests` subcommand which replaces the functionality of the MM2.1 senddigests.py cronjob. * Use mlist.data_path where appropriate instead of crafting it from config.LIST_DATA_DIR. This makes it more consistent to switch to using the list-id as the data subdirectory. * Refactor the to_digest handler so that we can implement maybe_send_digest_now() for the internal API. * Fix some typos in subcommand --help summaries.
* Digests improvements:Barry Warsaw2015-12-191-0/+27
| | | | | | | * digestable -> digests_enabled * nondigestable: removed * Exposed digests_enabled, digest_send_periodic, digest_volume_frequency in REST.
* A few minor cleanups.Barry Warsaw2015-12-161-25/+10
|
* Add a commit to avoid a lock in PostgreSQLAurélien Bompard2015-12-161-0/+5
|
* Handle data migrationAurélien Bompard2015-12-161-0/+14
|
* Add a commit to avoid a lock in PostgreSQLAurélien Bompard2015-12-161-4/+5
|
* Handle data migrationAurélien Bompard2015-12-161-0/+64
|
* Add indexes on the Pendable fields that can be queried upon.Aurélien Bompard2015-12-161-0/+35
| | | | | | | - Pendable.token: queried in the add() and confirm() methods - Pendable.expiration_date: queried on evict() - PendableKeyValue.key and PendableKeyValue.value: queried in the find() method
* Add a couple indexes on MemberAurélien Bompard2015-12-151-0/+25
|
* Add useful indexes on the member tableAurélien Bompard2015-11-211-0/+35
|
* Clean up pass through abompard's branch.Barry Warsaw2015-10-201-17/+18
|
* Test schema migration for the header matchesAurélien Bompard2015-10-201-7/+13
|
* Implement changes from the reviewAurélien Bompard2015-10-201-2/+2
|
* Rename from plural to singularAurélien Bompard2015-10-201-5/+5
|
* Use a separate table for header_matchesAurélien Bompard2015-10-201-0/+82
|