| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | | | * | | | Include Alembic and SQLAlchemy logging into the Mailman logging system | Aurélien Bompard | 2014-10-07 | 5 | -44/+15 | |
| | | | | | | | ||||||
| | | | * | | | Don't use a testing layer for database tests | Aurélien Bompard | 2014-10-06 | 2 | -60/+10 | |
| | | | | | | | ||||||
| | | | * | | | Merge from Abhilash's branch | Aurélien Bompard | 2014-10-06 | 19 | -101/+181 | |
| | | | |\ \ \ | | |_|/ / / | |/| | | | | ||||||
| | | | * | | | Fix DB unit tests | Aurélien Bompard | 2014-10-06 | 2 | -39/+53 | |
| | | | | | | | ||||||
| | | | * | | | Add unit tests for the automatic migration code | Aurélien Bompard | 2014-10-03 | 2 | -0/+144 | |
| | | | | | | | ||||||
| | | | * | | | New DB testing layer that does not auto-create the DB | Aurélien Bompard | 2014-10-03 | 1 | -0/+30 | |
| | | | | | | | ||||||
| | | | * | | | Alembic stamping is done in the schema manager now | Aurélien Bompard | 2014-10-03 | 1 | -12/+0 | |
| | | | | | | | ||||||
| | | | * | | | Split DB creation and upgrade into separate functions to ease testing | Aurélien Bompard | 2014-10-03 | 1 | -4/+11 | |
| | | | | | | | ||||||
| | | * | | | | fix database reset error due to foreign key constraint between user and ↵ | Abhilash Raj | 2014-10-09 | 4 | -5/+7 | |
| | |/ / / / | | | | | | | | | | | | | | | | address tables | |||||
| | * | | | | add central alembic config | Abhilash Raj | 2014-10-03 | 7 | -31/+46 | |
| | | | | | | ||||||
| | * | | | | Merge barry\'s branch with test fixes and clean code | Abhilash Raj | 2014-10-02 | 17 | -89/+152 | |
| | |\ \ \ \ | | |/ / / | |/| | | | ||||||
| | | * | | | Remove an unused import. | Barry Warsaw | 2014-10-02 | 1 | -1/+0 | |
| | | | | | | ||||||
| | | * | | | Fix the test suite. | Barry Warsaw | 2014-10-02 | 4 | -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 Warsaw | 2014-09-27 | 12 | -29/+40 | |
| | | |\ \ \ | ||||||
| | | * \ \ \ | Migrations, with cleanup by Barry. | Barry Warsaw | 2014-09-27 | 10 | -11/+256 | |
| | | |\ \ \ \ | ||||||
| | * | | | | | | Don't initialize twice | Aurélien Bompard | 2014-10-02 | 2 | -2/+6 | |
| | | | | | | | | ||||||
| | * | | | | | | Fix typo | Aurélien Bompard | 2014-10-02 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | Fix the 'alembic revision' command | Aurélien Bompard | 2014-10-02 | 1 | -0/+6 | |
| | | | | | | | | ||||||
| | * | | | | | | Automatically migrate the database | Aurélien Bompard | 2014-10-02 | 2 | -2/+87 | |
| | | |_|/ / / | |/| | | | | ||||||
| | * | | | | | Add support for postgresql | Abhilash Raj | 2014-09-25 | 10 | -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 directory | Abhilash Raj | 2014-09-25 | 5 | -9/+19 | |
| | | |/ / / | |/| | | | | | | | | | | | | | * add a new method in base database to stamp with latest alembic version | |||||
| | * | | | | add autogenerate switch that generates to create migration scripts automatically | Abhilash Raj | 2014-09-25 | 2 | -5/+11 | |
| | | | | | | ||||||
| | * | | | | add new command `mailman migrate` to migrate the new schema on the old database | Abhilash Raj | 2014-09-25 | 4 | -18/+61 | |
| | | | | | | ||||||
| | * | | | | no need to stamp the testing db | Abhilash Raj | 2014-09-24 | 1 | -1/+0 | |
| | | | | | | ||||||
| | * | | | | added license block for the new file | Abhilash Raj | 2014-09-24 | 2 | -1/+18 | |
| | | | | | | ||||||
| | * | | | | added support for migrations via alembic | Abhilash Raj | 2014-09-24 | 5 | -0/+106 | |
| | |/ / / | ||||||
| | * | | | Update some comments. | Barry Warsaw | 2014-09-23 | 1 | -1/+4 | |
| | | | | | ||||||
| | * | | | Use a simpler UUID implementation. | Barry Warsaw | 2014-09-23 | 2 | -30/+18 | |
| | | | | | | | | | | | | | | | | | Fix a typo. | |||||
| | * | | | We do not need _database_exists() or _make_temporary() any more either. | Barry Warsaw | 2014-09-23 | 4 | -101/+6 | |
| | | | | | ||||||
| | * | | | Since we don't have migrations, we don't need the ITemporaryDatabase stuff, | Barry Warsaw | 2014-09-23 | 6 | -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 Warsaw | 2014-09-22 | 20 | -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 Warsaw | 2014-09-22 | 1 | -0/+10 | |
| | | | | | ||||||
| | * | | | Pass all tests with PYTHONWARNINGS=error. | Barry Warsaw | 2014-09-22 | 7 | -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 Warsaw | 2014-09-22 | 28 | -217/+216 | |
| | | | | | ||||||
| | * | | | Another test repair. | Barry Warsaw | 2014-09-21 | 1 | -0/+2 | |
| | | | | | ||||||
| | * | | | Test repair: | Barry Warsaw | 2014-09-21 | 5 | -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. | |||||
| | * | | | Merge Abilash's branch | Barry Warsaw | 2014-09-21 | 31 | -577/+612 | |
| |/| | | | ||||||
| | * | | | * remove some unused code | Abhilash Raj | 2014-09-19 | 9 | -55/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |||||
| | * | | | * fix the circular dependecy problem between User and Adress | Abhilash Raj | 2014-09-19 | 7 | -21/+31 | |
| | | | | | | | | | | | | | | | | | * fix almost all the errors relating to doctests | |||||
| | * | | | call roster methods on mailinglist object after load from database | Abhilash Raj | 2014-09-18 | 2 | -11/+15 | |
| | | | | | ||||||
| | * | | | reset database by purging all data instead of dropping schema and recreating it | Abhilash Raj | 2014-09-18 | 1 | -9/+10 | |
| | | | | | ||||||
| | * | | | all tests except for importer working(ignoring test_migrations.py) | Abhilash Raj | 2014-09-18 | 5 | -44/+21 | |
| | | | | | ||||||
| | * | | | fix all tests in mailman.model.tests | Abhilash Raj | 2014-09-13 | 16 | -126/+123 | |
| | | | | | ||||||
| | * | | | change leftover queries | Abhilash Raj | 2014-09-13 | 4 | -6/+5 | |
| | | | | | ||||||
| | * | | | modify all storm queries to work with SA | Abhilash Raj | 2014-09-12 | 12 | -115/+121 | |
| | | | | | ||||||
| | * | | | * change declarative_base class to use ModelMeta class | Abhilash Raj | 2014-09-06 | 25 | -159/+84 | |
| | | | | | | | | | | | | | | | | | * update some queries to match SA style | |||||
| | * | | | replace all storm types and relationships with sqlalchemy | Abhilash Raj | 2014-09-05 | 17 | -107/+142 | |
| | | | | | ||||||
| | * | | | add new UUID type | Abhilash Raj | 2014-09-05 | 1 | -23/+85 | |
| | | | | | ||||||
| | * | | | change models to use sqlalchemy models<WIP> | Abhilash Raj | 2014-09-04 | 9 | -141/+151 | |
| | | | | | ||||||
| | * | | | add new database base model for sqlalchemy | Abhilash Raj | 2014-09-04 | 1 | -0/+38 | |
| | |/ / | ||||||
