Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use cleaned_markdown_conversion in both cases in edit/views.py | Christopher Allan Webber | 2011-07-14 | 1 | -11/+6 |
| | |||||
* | app.py and migrate.py must import migrations in order to load said migrations... | Christopher Allan Webber | 2011-07-14 | 2 | -1/+6 |
| | |||||
* | First migration: Add markdown bio! | Christopher Allan Webber | 2011-07-14 | 1 | -3/+17 |
| | |||||
* | Indenting section in the autoscape block | Christopher Allan Webber | 2011-07-13 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'remotes/aaronw/feature410_markdown_bio' | Christopher Allan Webber | 2011-07-13 | 3 | -4/+9 |
|\ | |||||
| * | Markdown-enable user bio (Feature 410) | Aaron Williamson | 2011-07-10 | 3 | -4/+9 |
| | | |||||
* | | Merge branch 'master' into f411_new_migrations | Christopher Allan Webber | 2011-07-13 | 12 | -62/+88 |
|\ \ | | | | | | | | | | | | | Conflicts: mediagoblin/db/open.py | ||||
| * | | removed email variables from globals module | Deb | 2011-07-12 | 4 | -16/+4 |
| | | | |||||
| * | | Merge remote branch 'remotes/osamak/master' | Christopher Allan Webber | 2011-07-11 | 2 | -2/+5 |
| |\ \ | |||||
| | * | | python-lxml is required on Fedora | Osama Khalid | 2011-07-11 | 1 | -1/+1 |
| | | | | |||||
| | * | | Referring to the Hacking HOWTO in deploymenthowto (this is where I looked in ↵ | Osama Khalid | 2011-07-11 | 1 | -1/+4 |
| | |/ | | | | | | | | | | first when I wanted to build MG) | ||||
| * / | Move db_name default into config_spec.ini | Elrond | 2011-07-11 | 3 | -3/+3 |
| |/ | | | | | | | | | | | | | The default name of the database ("mediagoblin") was coded in db/open.py and init/celery/__init__.py. Instead use the new config system to have this as the default for the "db_name" config option. | ||||
| * | Sorry, that OptionalField belonged there. | Christopher Allan Webber | 2011-07-09 | 1 | -1/+2 |
| | | | | | | | | I am a bad person and am not allowed to commit anything else today. | ||||
| * | <Elrond> Oh well... Did I really have this wtforms cruft in my setup_workbench | Christopher Allan Webber | 2011-07-09 | 1 | -2/+1 |
| | | | | | | | | commit. :-( I don't know even, how it got in there. :-| | ||||
| * | Added a note about workbench only currently being used by celery | Christopher Allan Webber | 2011-07-09 | 1 | -0/+3 |
| | | |||||
| * | Merge remote branch 'remotes/elrond/dev/init' | Christopher Allan Webber | 2011-07-09 | 2 | -34/+56 |
| |\ | |||||
| | * | Factor setup_workbench into init submodule. | Elrond | 2011-07-07 | 3 | -5/+15 |
| | | | |||||
| | * | Let setup_global_and_app_config call setup_globals | Elrond | 2011-07-05 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | Let setup_global_and_app_config set the global and app config in the mg_globals already. This way, the config is available to everyone very early. | ||||
| | * | Create setup_global_and_app_config | Elrond | 2011-07-04 | 2 | -14/+16 |
| | | | | | | | | | | | | | | | | | | | | | Moving the config reading and error reporting from app.py to init/__init__.py. Straight forward. This also fixes the duplicated exceptions. | ||||
| | * | Move setting up of staticdirector to init submodule | Elrond | 2011-07-04 | 2 | -15/+24 |
| | | | | | | | | | | | | | | | This duplicates some exceptions, which will be fixed very soon. | ||||
| * | | Adjusting documentation in indexes.py also re: more info in deprecation | Christopher Allan Webber | 2011-07-09 | 1 | -4/+6 |
| | | | |||||
| * | | Changing things back so that we keep information about deprecated | Christopher Allan Webber | 2011-07-09 | 1 | -3/+10 |
| | | | | | | | | | | | | indexes around. | ||||
* | | | Duplicate migration numbers not allowed, bro | Christopher Allan Webber | 2011-07-13 | 1 | -0/+2 |
| | | | |||||
* | | | Elrond thinks we should use one of print/sys.stdout.write and .flush() | Christopher Allan Webber | 2011-07-13 | 1 | -1/+5 |
| | | | | | | | | | | | | I don't see the harm, so... done. | ||||
* | | | A couple of tests related to migrations_to_run() | Christopher Allan Webber | 2011-07-13 | 1 | -1/+35 |
| | | | | | | | | | | | | | | | Includes a test making sure an exception is raised if current_migration not set in database | ||||
* | | | We should *raise* MissingCurrentMigration :) | Christopher Allan Webber | 2011-07-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Thanks for the catch, Elrond. | ||||
* | | | Removing old style migrations... not in use anymore | Christopher Allan Webber | 2011-07-11 | 2 | -63/+3 |
| | | | |||||
* | | | Just making a note of where the new migrations will go! | Christopher Allan Webber | 2011-07-10 | 1 | -0/+11 |
| | | | |||||
* | | | Setup the application to record the database version if missing on launch | Christopher Allan Webber | 2011-07-10 | 1 | -0/+11 |
| | | | |||||
* | | | Use new migrations system in ./bin/gmg migrate | Christopher Allan Webber | 2011-07-10 | 1 | -14/+22 |
| | | | |||||
* | | | give option in connect_database_from_config to connect to a pymongo.Connection | Christopher Allan Webber | 2011-07-10 | 1 | -8/+25 |
| | | | |||||
* | | | Made it so that it's migrate_new() which installs the migration | Christopher Allan Webber | 2011-07-10 | 1 | -3/+18 |
| | | | | | | | | | | | | version if missing, migrations_to_run just throws an error if not set | ||||
* | | | test_migrations_recorded_as_(latest|zero) tests passing :) | Christopher Allan Webber | 2011-07-10 | 1 | -2/+4 |
| | | | |||||
* | | | test_run_partial_migrations() working! | Christopher Allan Webber | 2011-07-10 | 1 | -1/+13 |
| | | | |||||
* | | | testing tools install_fixtures_simple and assert_db_meets_expected | Christopher Allan Webber | 2011-07-10 | 1 | -0/+32 |
| | | | | | | | | | | | | Thought I installed these... guess I didn't! | ||||
* | | | test_run_full_migrations() all working properly! | Christopher Allan Webber | 2011-07-10 | 1 | -26/+81 |
| | | | |||||
* | | | No reason to have migration_number optional or default to None | Christopher Allan Webber | 2011-07-10 | 1 | -1/+1 |
| | | | |||||
* | | | Mock out tests, define expected results, add first test | Christopher Allan Webber | 2011-07-10 | 1 | -0/+115 |
| | | | | | | | | | | | | Specifically test_migrations_registered_and_sorted() :) | ||||
* | | | Move the call to install_migration_version_if_missing() to migrations_to_run() | Christopher Allan Webber | 2011-07-10 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | This means there's a serious side effect of calling this, but there's no way to get useful data here unless if that's set anyway. | ||||
* | | | install_migration_version_if_missing() now a separate function | Christopher Allan Webber | 2011-07-10 | 1 | -7/+19 |
| | | | | | | | | | | | | | | | Also added it to MigrationManager.migrate_new(), because we'll always need a migration number when migrating. | ||||
* | | | Make sure all these strings in db/util.py are unicode | Christopher Allan Webber | 2011-07-10 | 1 | -6/+6 |
| | | | |||||
* | | | Added the actual fake/testing migrations. Haven't run them yet... | Christopher Allan Webber | 2011-07-10 | 1 | -4/+22 |
| | | | |||||
* | | | Simpler run_migrations method. | Christopher Allan Webber | 2011-07-10 | 1 | -16/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | Allows for calbacks, should be useful for printing output and catching things in tests. Gets rid of the generator stuff which now that I think of it is a messy idea. | ||||
* | | | test_migrations.py w/ migrate'able fixtures and some migration scaffolding | Christopher Allan Webber | 2011-07-10 | 1 | -0/+166 |
| | | | | | | | | | | | | Not usable yet, but fleshing out well! | ||||
* | | | Making sure migration_number > 0 :) | Christopher Allan Webber | 2011-07-09 | 1 | -1/+3 |
| | | | |||||
* | | | run_new_migrations() makes more sense | Christopher Allan Webber | 2011-07-09 | 1 | -1/+1 |
| | | | |||||
* | | | Some instructions in the RegisterMigration docstring on how to use. | Christopher Allan Webber | 2011-07-09 | 1 | -0/+13 |
| | | | |||||
* | | | latest_migration now returns migration numbers only, and 0 if no migrations. | Christopher Allan Webber | 2011-07-09 | 1 | -6/+10 |
| | | | |||||
* | | | Migrating quietly, not iteratively, that comment should say! | Christopher Allan Webber | 2011-07-09 | 1 | -1/+1 |
| | | | |||||
* | | | New migration utility code.... I haven't tested this! ;) | Christopher Allan Webber | 2011-07-09 | 1 | -0/+136 |
|/ / | | | | | | | | | | | | | | | I think it's looking right though. - Provides MigrationManager which should have plenty of utilities for doing migrations hopefully correctly :) - Provides RegisterMigration which should be able to decorate migrations and register them in doing so |