summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge abompard's fixes to the importer for encode_ascii_prefixes.Barry Warsaw2014-10-302-3/+14
|
* Use print() to smooth over the SA return of Python longs in PostgreSQL.Barry Warsaw2014-10-133-23/+23
|
* Remove some unnecessary code.Barry Warsaw2014-10-131-4/+1
|
* Move alembic settings to a separate alembic.cfg.Barry Warsaw2014-10-134-7/+22
|
* Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-1321-167/+233
|\
| * Merge Barry's changesAurélien Bompard2014-10-139-112/+138
| |\ | |/ |/|
* | Add the [logging.database] section and use it to configure the SQLAlchemy andBarry Warsaw2014-10-123-19/+34
| | | | | | | | Alembic loggers.
* | Remove some unused stuff.Barry Warsaw2014-10-112-7/+0
| |
* | Merge Abhilash's latest revisions.Barry Warsaw2014-10-118-58/+76
| |
| * 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-1018-135/+66
| | | | | | | | | | | | | | | | * 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-1011-65/+172
| |\
| | * 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-075-44/+15
| | |
| | * Don't use a testing layer for database testsAurélien Bompard2014-10-062-60/+10
| | |
| | * Merge from Abhilash's branchAurélien Bompard2014-10-0619-101/+181
| | |\ | |_|/ |/| |
| | * Fix DB unit testsAurélien Bompard2014-10-062-39/+53
| | |
| | * Add unit tests for the automatic migration codeAurélien Bompard2014-10-032-0/+144
| | |
| | * New DB testing layer that does not auto-create the DBAurélien Bompard2014-10-031-0/+30
| | |
| | * 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-094-5/+7
|/ / | | | | | | address tables
* | add central alembic configAbhilash Raj2014-10-037-31/+46
| |
* | Merge barry\'s branch with test fixes and clean codeAbhilash Raj2014-10-0217-89/+152
|\ \ | |/ |/|
| * Remove an unused import.Barry Warsaw2014-10-021-1/+0
| |
| * Fix the test suite.Barry Warsaw2014-10-024-4/+4
| | | | | | | | | | * 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-2712-29/+40
| |\
| * \ Migrations, with cleanup by Barry.Barry Warsaw2014-09-2710-11/+256
| |\ \
* | | | Don't initialize twiceAurélien Bompard2014-10-022-2/+6
| | | |
* | | | 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-2510-21/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-255-9/+19
| |/ |/| | | | | * 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-252-5/+11
| |
* | add new command `mailman migrate` to migrate the new schema on the old databaseAbhilash Raj2014-09-254-18/+61
| |
* | 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-245-0/+106
|/
* Update some comments.Barry Warsaw2014-09-231-1/+4
|
* Use a simpler UUID implementation.Barry Warsaw2014-09-232-30/+18
| | | | 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-236-90/+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-2220-2716/+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
|
* Pass all tests with PYTHONWARNINGS=error.Barry Warsaw2014-09-227-27/+24
| | | | | | | | | | * Switch away from a deprecated unittest method. * Switch away from using deprecated Exceptions.message attribute. * Decode the bytes b32 encoded X-Message-ID-Hash header into a Unicode. * Fix a rather glaring bug in Pendings.add() where we were actually not properly coercing bytes to unicode for the keys and values! I guess it's a good thing that SQLAlchemy is more strict than Storm. * Some cosmetic fixes.
* Clean up pass.Barry Warsaw2014-09-2228-217/+216
|
* Another test repair.Barry Warsaw2014-09-211-0/+2
|
* Test repair:Barry Warsaw2014-09-215-3/+20
| | | | | | | | * 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.