summaryrefslogtreecommitdiff
path: root/src/mailman/model/version.py
Commit message (Collapse)AuthorAgeFilesLines
* Migrations will be replaced with Alchemy.Barry Warsaw2014-09-221-48/+0
| | | | | | We don't need the raw SQL schema stuff any more. We don't need the Version table any more.
* Clean up pass.Barry Warsaw2014-09-221-1/+2
|
* * remove some unused codeAbhilash Raj2014-09-191-1/+0
| | | | | | | * add left out documentation * remov super(<class>).__init__() calls in models as it was useless now. * remove schema_migrate func in mailman/database/base.py
* * change declarative_base class to use ModelMeta classAbhilash Raj2014-09-061-1/+1
| | | | * update some queries to match SA style
* replace all storm types and relationships with sqlalchemyAbhilash Raj2014-09-051-4/+8
|
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * The policy for archiving has now been collapsed into a single enum, calledBarry Warsaw2012-07-261-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ArchivePolicy. This describes the three states of never archive, archive privately, and archive_publicly. (LP: #967238) Database -------- * Schema migrations (LP: #971013) - include_list_post_header -> allow_list_posts - news_prefix_subject_too -> nntp_prefix_subject_too - news_moderation -> newsgroup_moderation - archive and archive_private have been collapsed into archive_policy. - nntp_host has been removed. * The PostgreSQL port of the schema accidentally added a moderation_callback column to the mailinglist table. Since this is unused in Mailman, it was simply commented out of the base schema for PostgreSQL.
| * Refactor to better handling the difference between a testing database and aBarry Warsaw2012-07-251-0/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | production database. - Add an IDatabaseFactory interface with two named utility implementations. The initialization subsystem will either ask for the 'testing' or 'production' factory utility depending on whether we're in the test suite or not. The testing factory returns an IDatabase that can be _reset(). - initialize_2() now takes an optional `testing` argument, defaulting to False. The test ConfigLayer will pass in True. - Remove _reset() from the base database class. - The ModelMeta now adds a PRESERVE attribute to database classes. This defaults to False, meaning by default the test framework will reset the table. The Version table is preserved because it records the schema migrations. - Because of the above, we no longer need to support pre_reset() and post_reset() on migrations. Also, bin/mailman should allow the standard configuration file search algorithm to be used except when -C/--config is given.
* * Schema migrations have been implemented.Barry Warsaw2012-02-121-1/+1
|
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-081-1/+1
| | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* database/model reorganization. Model classes go in mailman.model. StockBarry Warsaw2009-10-101-0/+40
database support goes in mailman.database. Move stuff out of mailman/database/__init__.py.