summaryrefslogtreecommitdiff
path: root/src/mailman/database
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump copyright years.Barry Warsaw2015-01-0411-11/+11
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-2211-51/+14
|
* Checkpointing.Barry Warsaw2014-11-301-1/+1
| | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* Add comments and rewrite test a bit.Barry Warsaw2014-11-291-1/+5
|
* Remove debugging.Barry Warsaw2014-11-281-1/+0
|
* Repair broken test. Given by Aurélien Bompard.Barry Warsaw2014-11-281-9/+15
|\
| * Fix a failing schemamanager testAurélien Bompard2014-11-271-8/+13
|/
* Remove some unnecessary code, and revert back to SQLite by default for theBarry Warsaw2014-11-011-6/+0
| | | | test suite.
* DatabaseBarry Warsaw2014-11-0128-2938/+494
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * The ORM layer, previously implemented with Storm, has been replaced by SQLAlchemy, thanks to the fantastic work by Abhilash Raj and Aurélien Bompard. Alembic is now used for all database schema migrations. * The new logger `mailman.database` logs any errors at the database layer. API --- * Several changes to the internal API: - `IListManager.mailing_lists` is guaranteed to be sorted in List-ID order. - `IDomains.mailing_lists` is guaranteed to be sorted in List-ID order. - Iteration over domains via the `IDomainManager` is guaranteed to be sorted by `IDomain.mail_host` order. - `ITemporaryDatabase` interface and all implementations are removed.
| * Merge abompard's fixes to the Postgres test suite.Barry Warsaw2014-10-301-0/+6
| |
| * Move alembic settings to a separate alembic.cfg.Barry Warsaw2014-10-131-1/+1
| |
| * Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-136-22/+191
| |\
| | * Merge Barry's changesAurélien Bompard2014-10-135-88/+103
| | |\ | | |/ | |/|
| * | Remove some unused stuff.Barry Warsaw2014-10-111-5/+0
| | |
| * | Merge Abhilash's latest revisions.Barry Warsaw2014-10-115-53/+73
| | |
| | * Fix unit tests with SQLite nowAurélien Bompard2014-10-102-4/+8
| | |
| | * Fix unit tests with PostgreSQLAurélien Bompard2014-10-102-9/+36
| | |
| | * * remove migrate commandAbhilash Raj2014-10-104-30/+36
| | | | | | | | | | | | | | | | | | | | | | | | * remove alembic.cfg, move contents to schema.cfg * fix import errors in src/mailman/model/language.py * add indexes * change the previously wrong written tablename autoresponserecord * change alembic_cfg to use schema.cfg instead of alembic.cfg
| | * merge branch from abompardAbhilash Raj2014-10-105-19/+148
| | |\
| | | * Properly close transactions on schema changesAurélien Bompard2014-10-081-0/+2
| | | |
| | | * Include Alembic and SQLAlchemy logging into the Mailman logging systemAurélien Bompard2014-10-071-3/+0
| | | |
| | | * Don't use a testing layer for database testsAurélien Bompard2014-10-061-5/+10
| | | |
| | | * Merge from Abhilash's branchAurélien Bompard2014-10-067-51/+73
| | | |\ | | |_|/ | |/| |
| | | * Fix DB unit testsAurélien Bompard2014-10-061-35/+19
| | | |
| | | * Add unit tests for the automatic migration codeAurélien Bompard2014-10-032-0/+144
| | | |
| | | * Alembic stamping is done in the schema manager nowAurélien Bompard2014-10-031-12/+0
| | | |
| | | * Split DB creation and upgrade into separate functions to ease testingAurélien Bompard2014-10-031-4/+11
| | | |
| | * | fix database reset error due to foreign key constraint between user and ↵Abhilash Raj2014-10-091-1/+0
| |/ / | | | | | | | | | address tables
| * | add central alembic configAbhilash Raj2014-10-034-22/+40
| | |
| * | Merge barry\'s branch with test fixes and clean codeAbhilash Raj2014-10-024-38/+40
| |\ \ | | |/ | |/|
| | * Remove an unused import.Barry Warsaw2014-10-021-1/+0
| | |
| | * Fix the test suite.Barry Warsaw2014-10-021-1/+1
| | | | | | | | | | | | | | | * Fix a couple of typos. * Make the script_location and alembic_scripts a resource paths.
| | * PostgreSQL support by Abhilash, cleaned by Barry.Barry Warsaw2014-09-276-15/+24
| | |\
| | * \ Migrations, with cleanup by Barry.Barry Warsaw2014-09-274-0/+109
| | |\ \
| * | | | Don't initialize twiceAurélien Bompard2014-10-021-2/+4
| | | | |
| * | | | Fix typoAurélien Bompard2014-10-021-1/+1
| | | | |
| * | | | Fix the 'alembic revision' commandAurélien Bompard2014-10-021-0/+6
| | | | |
| * | | | Automatically migrate the databaseAurélien Bompard2014-10-022-2/+87
| | |_|/ | |/| |
| * | | Add support for postgresqlAbhilash Raj2014-09-253-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * revert changes in message_id_has encoding by barry * Change message_id_hash column to LargeBinary (from previously mistaken one i.e.unicode) * add missing import in database/types.py * fix a bug in database/Model.py, transaction has no method abort(), instead it is rollback()
| * | | * fixed a bug where alemnic could not find its migrations directoryAbhilash Raj2014-09-253-6/+16
| | |/ | |/| | | | | | | * add a new method in base database to stamp with latest alembic version
| * | add autogenerate switch that generates to create migration scripts automaticallyAbhilash Raj2014-09-251-2/+1
| | |
| * | add new command `mailman migrate` to migrate the new schema on the old databaseAbhilash Raj2014-09-252-18/+7
| | |
| * | no need to stamp the testing dbAbhilash Raj2014-09-241-1/+0
| | |
| * | added license block for the new fileAbhilash Raj2014-09-242-1/+18
| | |
| * | added support for migrations via alembicAbhilash Raj2014-09-244-0/+102
| |/
| * Use a simpler UUID implementation.Barry Warsaw2014-09-231-29/+17
| | | | | | | | Fix a typo.
| * We do not need _database_exists() or _make_temporary() any more either.Barry Warsaw2014-09-234-101/+6
| |
| * Since we don't have migrations, we don't need the ITemporaryDatabase stuff,Barry Warsaw2014-09-234-64/+4
| | | | | | | | | | nor do we need the TAG mechanism. We also don't need load_sql() or load_migrations().
| * Migrations will be replaced with Alchemy.Barry Warsaw2014-09-2219-2668/+0
| | | | | | | | | | | | We don't need the raw SQL schema stuff any more. We don't need the Version table any more.
| * Re-add the _prepare() method for SQLite permissions.Barry Warsaw2014-09-221-0/+10
| |