summaryrefslogtreecommitdiff
path: root/src/mailman/database/tests/test_migrations.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix the template name of the welcome message.Barry Warsaw2017-05-241-6/+6
| | | | | | | | | | | | | | | | | 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
* Enforce a stricter coding style.Barry Warsaw2017-01-261-3/+3
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Fix the Flake8 ignore tagsAurélien Bompard2016-11-211-1/+1
|
* More test repair.Barry Warsaw2016-10-161-18/+27
|
* Another test repair.Barry Warsaw2016-10-161-12/+33
|
* Fix one migration failure.Barry Warsaw2016-10-161-5/+7
|
* MySQL is now an officially supported database.Barry Warsaw2016-07-291-7/+7
| | | | Given by Abhilash Raj.
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-281-2/+2
|
* New template system. Closes #249Barry Warsaw2016-07-161-0/+156
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Use flake8-respect-noqa plugin and fix more complaints.Barry Warsaw2016-04-011-3/+1
|
* Allow fall backs for moderation actions.Barry Warsaw2016-04-011-14/+27
| | | | | | | | | 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
* Migrate data from the static member moderation action to the list fallbackAurélien Bompard2016-03-311-0/+67
|
* Clean up the database directory.Barry Warsaw2016-03-241-7/+3
|
* 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-51/+0
| | | | This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
* Fix test on PostgreSQLAurélien Bompard2016-02-291-21/+29
|
* Rename the HeaderMatch.chain column to actionAurélien Bompard2016-02-291-0/+43
| | | | 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-2/+4
| | | | | | | 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.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Be liberal with the transaction.Barry Warsaw2015-12-211-8/+10
|
* Move the data_paths.Barry Warsaw2015-12-201-0/+23
|
* 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-1/+3
|
* Implement suggestions from the reviewAurélien Bompard2015-12-161-16/+18
|
* Add a commit to avoid a lock in PostgreSQLAurélien Bompard2015-12-161-0/+1
|
* Handle data migrationAurélien Bompard2015-12-161-0/+64
|
* Clean up pass through abompard's branch.Barry Warsaw2015-10-201-8/+10
|
* Be compatible with older versions of SQLAlchemy and AlembicAurélien Bompard2015-10-201-4/+3
|
* Test schema migration for the header matchesAurélien Bompard2015-10-201-0/+44
|
* Minor cleanups.Barry Warsaw2015-09-141-2/+1
|
* Fix it with PostgreSQLAurélien Bompard2015-09-151-4/+3
|
* Fixes for the review commentsAurélien Bompard2015-09-151-4/+4
|
* Test the schema migrations with AlembicAurélien Bompard2015-09-151-0/+59
|
* Migrations will be replaced with Alchemy.Barry Warsaw2014-09-221-513/+0
| | | | | | We don't need the raw SQL schema stuff any more. We don't need the Version table any more.
* Test repair:Barry Warsaw2014-09-211-1/+8
| | | | | | | | * Remove an unused import. * Add skips for all migration unit tests. * Fix model class attribute typo. * .values() returns tuples, so adjust for that. * Add a test.
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Checkpointing.Barry Warsaw2013-11-251-0/+27
|
* Test repair, and import enum from the right place.Barry Warsaw2013-09-011-2/+3
|
* Migrate bounceevent.list_name -> bounceevent.list_idBarry Warsaw2013-09-011-0/+50
| | | | | | | * Rename StormBaseDatabase._create() -> .initialize() * Refactor database initialization. * make_listid() helper. * Add a pivot() helper for schema migrations.
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* Remove mailinglist.admin_member_chunksize.Barry Warsaw2012-12-301-2/+4
|
* Remove mailinglist.private_roster.Barry Warsaw2012-12-301-2/+2
|
* Remove unused columns mailinglist.subscribe_policy,Barry Warsaw2012-12-301-2/+6
| | | | mailinglist.unsubscribe_policy, mailinglist.subscribe_auto_approval.
* Remove mailinglist.send_reminders column too.Barry Warsaw2012-12-301-2/+3
|
* * The column `mailinglist.new_member_options` was unused, and has beenBarry Warsaw2012-12-301-0/+9
| | | | removed.
* Revert the addition of the mailinglist.style_name column, as well as theBarry Warsaw2012-12-291-9/+1
| | | | | | | | | | | | IMailingList.style_name attribute. The problem is, there's nothing to guarantee that only one style will get run, and there's no sense in keeping track of the last style applied. Also: * Remove ListManager.create()'s setting of .personalize and .display_name. These should be left to the styles. (There's no reason why only these two would be set here.) * Fix some typos.
* LP: #975692 phase 1Barry Warsaw2012-12-281-4/+19
| | | | | | | | | | | | | | | | | * Rework list style management. No more style priorities or matching.. Now, you name a style explicitly to apply and that's it. * create_list() now takes a `style` argument. * config file now names both a default style to use, and a set of paths to scan for IStyle instances. (This could be a model for other plugins.) * added IMailingList.style_name to record the last style applied, but this is going to be removed in subsequent revisions. Also: * Move find_components() and scan_module() from app/finder.py to utilities/modules.py * Cleaned up lifecycle.rst for better documentation. Some tests moved to test_lifecycle.py. * Remove some unnecessary test tearDown() code.
* DatabaseBarry Warsaw2012-10-161-78/+114
| | | | | | | | | | | | -------- * The `ban` table now uses list-ids to cross-reference the mailing list, since these cannot change even if the mailing list is moved or renamed. Interfaces ---------- * The `IBanManager` is no longer a global utility. Instead, you adapt an `IMailingList` to an `IBanManager` to manage the bans for a specific mailing list. To manage the global bans, adapt ``None``.
* Port the schema migration changes for LP: #1024509 to PostgreSQL.Barry Warsaw2012-09-051-0/+1
|