aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | removed the @setup_fresh_app decorator because it was messing \Chris Moylan2011-06-231-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with my fixtures.
| * | | | | | | | | Merge branch 'master' into test_submission_views_365Chris Moylan2011-06-2315-49/+509
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'master' into test_submission_views_365Chris Moylan2011-06-2224-76/+254
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | began work on submission test. nothing to see hereChris Moylan2011-06-211-0/+45
| | | | | | | | | | | |
* | | | | | | | | | | | Changes clone url from http url to git urlWill Kahn-Greene2011-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cloning over http is always yuckier than cloning over git protocol.
* | | | | | | | | | | | Use cleaned_markdown_conversion in both cases in edit/views.pyChristopher Allan Webber2011-07-141-11/+6
| | | | | | | | | | | |
* | | | | | | | | | | | app.py and migrate.py must import migrations in order to load said migrations...Christopher Allan Webber2011-07-142-1/+6
| | | | | | | | | | | |
* | | | | | | | | | | | First migration: Add markdown bio!Christopher Allan Webber2011-07-141-3/+17
| | | | | | | | | | | |
* | | | | | | | | | | | Indenting section in the autoscape blockChristopher Allan Webber2011-07-131-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge remote branch 'remotes/aaronw/feature410_markdown_bio'Christopher Allan Webber2011-07-133-4/+9
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Markdown-enable user bio (Feature 410)Aaron Williamson2011-07-103-4/+9
| | |_|_|_|_|_|_|/ / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' into f411_new_migrationsChristopher Allan Webber2011-07-1312-62/+88
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/open.py
| * | | | | | | | | | | removed email variables from globals moduleDeb2011-07-124-16/+4
| | | | | | | | | | | |
| * | | | | | | | | | | Merge remote branch 'remotes/osamak/master'Christopher Allan Webber2011-07-112-2/+5
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | python-lxml is required on FedoraOsama Khalid2011-07-111-1/+1
| | | | | | | | | | | | |
| | * | | | | | | | | | | Referring to the Hacking HOWTO in deploymenthowto (this is where I looked in ↵Osama Khalid2011-07-111-1/+4
| | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first when I wanted to build MG)
| * / / / / / / / / / / Move db_name default into config_spec.iniElrond2011-07-113-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 Webber2011-07-091-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_workbenchChristopher Allan Webber2011-07-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit. :-( I don't know even, how it got in there. :-|
| * | | | | | | | | | Added a note about workbench only currently being used by celeryChristopher Allan Webber2011-07-091-0/+3
| | | | | | | | | | |
| * | | | | | | | | | Merge remote branch 'remotes/elrond/dev/init'Christopher Allan Webber2011-07-092-34/+56
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Factor setup_workbench into init submodule.Elrond2011-07-073-5/+15
| | | | | | | | | | | |
| | * | | | | | | | | | Let setup_global_and_app_config call setup_globalsElrond2011-07-052-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_configElrond2011-07-042-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 submoduleElrond2011-07-042-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This duplicates some exceptions, which will be fixed very soon.
| * | | | | | | | | | | Adjusting documentation in indexes.py also re: more info in deprecationChristopher Allan Webber2011-07-091-4/+6
| | | | | | | | | | | |
| * | | | | | | | | | | Changing things back so that we keep information about deprecatedChristopher Allan Webber2011-07-091-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indexes around.
* | | | | | | | | | | | Duplicate migration numbers not allowed, broChristopher Allan Webber2011-07-131-0/+2
| | | | | | | | | | | |
* | | | | | | | | | | | Elrond thinks we should use one of print/sys.stdout.write and .flush()Christopher Allan Webber2011-07-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't see the harm, so... done.
* | | | | | | | | | | | A couple of tests related to migrations_to_run()Christopher Allan Webber2011-07-131-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes a test making sure an exception is raised if current_migration not set in database
* | | | | | | | | | | | We should *raise* MissingCurrentMigration :)Christopher Allan Webber2011-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks for the catch, Elrond.
* | | | | | | | | | | | Removing old style migrations... not in use anymoreChristopher Allan Webber2011-07-112-63/+3
| | | | | | | | | | | |
* | | | | | | | | | | | Just making a note of where the new migrations will go!Christopher Allan Webber2011-07-101-0/+11
| | | | | | | | | | | |
* | | | | | | | | | | | Setup the application to record the database version if missing on launchChristopher Allan Webber2011-07-101-0/+11
| | | | | | | | | | | |
* | | | | | | | | | | | Use new migrations system in ./bin/gmg migrateChristopher Allan Webber2011-07-101-14/+22
| | | | | | | | | | | |
* | | | | | | | | | | | give option in connect_database_from_config to connect to a pymongo.ConnectionChristopher Allan Webber2011-07-101-8/+25
| | | | | | | | | | | |
* | | | | | | | | | | | Made it so that it's migrate_new() which installs the migrationChristopher Allan Webber2011-07-101-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 Webber2011-07-101-2/+4
| | | | | | | | | | | |
* | | | | | | | | | | | test_run_partial_migrations() working!Christopher Allan Webber2011-07-101-1/+13
| | | | | | | | | | | |
* | | | | | | | | | | | testing tools install_fixtures_simple and assert_db_meets_expectedChristopher Allan Webber2011-07-101-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thought I installed these... guess I didn't!
* | | | | | | | | | | | test_run_full_migrations() all working properly!Christopher Allan Webber2011-07-101-26/+81
| | | | | | | | | | | |
* | | | | | | | | | | | No reason to have migration_number optional or default to NoneChristopher Allan Webber2011-07-101-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Mock out tests, define expected results, add first testChristopher Allan Webber2011-07-101-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically test_migrations_registered_and_sorted() :)
* | | | | | | | | | | | Move the call to install_migration_version_if_missing() to migrations_to_run()Christopher Allan Webber2011-07-101-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 functionChristopher Allan Webber2011-07-101-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 unicodeChristopher Allan Webber2011-07-101-6/+6
| | | | | | | | | | | |
* | | | | | | | | | | | Added the actual fake/testing migrations. Haven't run them yet...Christopher Allan Webber2011-07-101-4/+22
| | | | | | | | | | | |
* | | | | | | | | | | | Simpler run_migrations method.Christopher Allan Webber2011-07-101-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 scaffoldingChristopher Allan Webber2011-07-101-0/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not usable yet, but fleshing out well!
* | | | | | | | | | | | Making sure migration_number > 0 :)Christopher Allan Webber2011-07-091-1/+3
| | | | | | | | | | | |