Will Kahn-Greene [Sun, 24 Jul 2011 19:19:38 +0000 (15:19 -0400)]
333. Adds text about naming bugfix branches
Christopher Allan Webber [Sun, 17 Jul 2011 23:58:32 +0000 (18:58 -0500)]
Merge remote branch 'remotes/elrond/dev/init'
Christopher Allan Webber [Sun, 17 Jul 2011 22:06:06 +0000 (17:06 -0500)]
docstring for MediaComment's structure
Christopher Allan Webber [Sun, 17 Jul 2011 21:51:36 +0000 (16:51 -0500)]
Described the MediaEntry structure in the docstring.
Christopher Allan Webber [Sun, 17 Jul 2011 20:48:44 +0000 (15:48 -0500)]
Docstring for the User model's various schema fields
Christopher Allan Webber [Sun, 17 Jul 2011 17:02:13 +0000 (12:02 -0500)]
Added instructions on how to run mongod --repair
Christopher Allan Webber [Sun, 17 Jul 2011 16:36:56 +0000 (11:36 -0500)]
Docs: fixing an issue with being unable to install with distribute installed already
Basically, use "python bootstrap.py --distribute" if you get DistributionNotFound: distribute
Christopher Allan Webber [Sun, 17 Jul 2011 16:32:05 +0000 (11:32 -0500)]
Finished the docstring of the creature_add_magical_powers fake migration
Elrond [Sun, 17 Jul 2011 15:45:50 +0000 (17:45 +0200)]
Move application level setup of database to init/
Setting up the database now involves checking the
migrations status and setting up the globals.
Moved all of that into init/__init__.py:setup_database().
Christopher Allan Webber [Sun, 17 Jul 2011 13:50:09 +0000 (08:50 -0500)]
Migration for mediafiles main->original
Christopher Allan Webber [Sat, 16 Jul 2011 21:28:12 +0000 (16:28 -0500)]
Merge remote branch 'remotes/jwandborg/feature_400-resize_images_to_fit_page'
Conflicts:
mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/process_media/__init__.py
mediagoblin/templates/mediagoblin/user_pages/media.html
mediagoblin/util.py
Christopher Allan Webber [Sat, 16 Jul 2011 20:05:54 +0000 (15:05 -0500)]
Merge remote branch 'remotes/cmoylan/test_submission_views_365'
Will Kahn-Greene [Fri, 15 Jul 2011 16:32:21 +0000 (12:32 -0400)]
Changes clone url from http url to git url
Cloning over http is always yuckier than cloning over git protocol.
Christopher Allan Webber [Thu, 14 Jul 2011 05:40:16 +0000 (00:40 -0500)]
Use cleaned_markdown_conversion in both cases in edit/views.py
Christopher Allan Webber [Thu, 14 Jul 2011 05:32:01 +0000 (00:32 -0500)]
app.py and migrate.py must import migrations in order to load said migrations...
Christopher Allan Webber [Thu, 14 Jul 2011 05:00:24 +0000 (00:00 -0500)]
First migration: Add markdown bio!
Christopher Allan Webber [Thu, 14 Jul 2011 04:20:16 +0000 (23:20 -0500)]
Indenting section in the autoscape block
Christopher Allan Webber [Thu, 14 Jul 2011 04:19:46 +0000 (23:19 -0500)]
Merge remote branch 'remotes/aaronw/feature410_markdown_bio'
Christopher Allan Webber [Thu, 14 Jul 2011 04:14:42 +0000 (23:14 -0500)]
Merge branch 'master' into f411_new_migrations
Conflicts:
mediagoblin/db/open.py
Christopher Allan Webber [Thu, 14 Jul 2011 03:32:51 +0000 (22:32 -0500)]
Duplicate migration numbers not allowed, bro
Chris Moylan [Thu, 14 Jul 2011 02:58:25 +0000 (21:58 -0500)]
Merge branch 'master' into test_submission_views_365
Christopher Allan Webber [Thu, 14 Jul 2011 02:14:31 +0000 (21:14 -0500)]
Elrond thinks we should use one of print/sys.stdout.write and .flush()
I don't see the harm, so... done.
Christopher Allan Webber [Thu, 14 Jul 2011 02:09:04 +0000 (21:09 -0500)]
A couple of tests related to migrations_to_run()
Includes a test making sure an exception is raised if
current_migration not set in database
Christopher Allan Webber [Thu, 14 Jul 2011 01:58:13 +0000 (20:58 -0500)]
We should *raise* MissingCurrentMigration :)
Thanks for the catch, Elrond.
Deb [Wed, 13 Jul 2011 01:21:35 +0000 (21:21 -0400)]
removed email variables from globals module
Christopher Allan Webber [Tue, 12 Jul 2011 02:09:36 +0000 (21:09 -0500)]
Removing old style migrations... not in use anymore
Christopher Allan Webber [Tue, 12 Jul 2011 01:31:45 +0000 (20:31 -0500)]
Merge remote branch 'remotes/osamak/master'
Elrond [Mon, 11 Jul 2011 21:25:15 +0000 (23:25 +0200)]
Move db_name default into config_spec.ini
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.
Osama Khalid [Mon, 11 Jul 2011 17:55:25 +0000 (20:55 +0300)]
python-lxml is required on Fedora
Osama Khalid [Mon, 11 Jul 2011 17:34:37 +0000 (20:34 +0300)]
Referring to the Hacking HOWTO in deploymenthowto (this is where I looked in first when I wanted to build MG)
Christopher Allan Webber [Mon, 11 Jul 2011 03:58:48 +0000 (22:58 -0500)]
Just making a note of where the new migrations will go!
Christopher Allan Webber [Mon, 11 Jul 2011 03:50:03 +0000 (22:50 -0500)]
Setup the application to record the database version if missing on launch
Chris Moylan [Mon, 11 Jul 2011 03:45:52 +0000 (22:45 -0500)]
Merge branch 'master' into test_submission_views_365
Chris Moylan [Mon, 11 Jul 2011 03:45:27 +0000 (22:45 -0500)]
added suggestions as per bugs.foocorp.net/issues/365#note-9
Christopher Allan Webber [Mon, 11 Jul 2011 03:44:33 +0000 (22:44 -0500)]
Use new migrations system in ./bin/gmg migrate
Christopher Allan Webber [Mon, 11 Jul 2011 03:44:20 +0000 (22:44 -0500)]
give option in connect_database_from_config to connect to a pymongo.Connection
Christopher Allan Webber [Mon, 11 Jul 2011 03:02:51 +0000 (22:02 -0500)]
Made it so that it's migrate_new() which installs the migration
version if missing, migrations_to_run just throws an error if not set
Christopher Allan Webber [Mon, 11 Jul 2011 02:51:02 +0000 (21:51 -0500)]
test_migrations_recorded_as_(latest|zero) tests passing :)
Christopher Allan Webber [Mon, 11 Jul 2011 02:29:23 +0000 (21:29 -0500)]
test_run_partial_migrations() working!
Aaron Williamson [Mon, 11 Jul 2011 02:28:48 +0000 (22:28 -0400)]
Markdown-enable user bio (Feature 410)
Christopher Allan Webber [Mon, 11 Jul 2011 02:16:50 +0000 (21:16 -0500)]
testing tools install_fixtures_simple and assert_db_meets_expected
Thought I installed these... guess I didn't!
Christopher Allan Webber [Mon, 11 Jul 2011 02:14:38 +0000 (21:14 -0500)]
test_run_full_migrations() all working properly!
Christopher Allan Webber [Sun, 10 Jul 2011 23:48:09 +0000 (18:48 -0500)]
No reason to have migration_number optional or default to None
Christopher Allan Webber [Sun, 10 Jul 2011 23:46:48 +0000 (18:46 -0500)]
Mock out tests, define expected results, add first test
Specifically test_migrations_registered_and_sorted() :)
Christopher Allan Webber [Sun, 10 Jul 2011 23:43:08 +0000 (18:43 -0500)]
Move the call to install_migration_version_if_missing() to migrations_to_run()
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.
Christopher Allan Webber [Sun, 10 Jul 2011 23:27:38 +0000 (18:27 -0500)]
install_migration_version_if_missing() now a separate function
Also added it to MigrationManager.migrate_new(), because we'll always
need a migration number when migrating.
Christopher Allan Webber [Sun, 10 Jul 2011 21:23:36 +0000 (16:23 -0500)]
Make sure all these strings in db/util.py are unicode
Christopher Allan Webber [Sun, 10 Jul 2011 21:19:49 +0000 (16:19 -0500)]
Added the actual fake/testing migrations. Haven't run them yet...
Christopher Allan Webber [Sun, 10 Jul 2011 20:41:18 +0000 (15:41 -0500)]
Simpler run_migrations method.
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.
Christopher Allan Webber [Sun, 10 Jul 2011 20:28:46 +0000 (15:28 -0500)]
test_migrations.py w/ migrate'able fixtures and some migration scaffolding
Not usable yet, but fleshing out well!
Christopher Allan Webber [Sat, 9 Jul 2011 23:17:54 +0000 (18:17 -0500)]
Making sure migration_number > 0 :)
Christopher Allan Webber [Sat, 9 Jul 2011 22:21:47 +0000 (17:21 -0500)]
run_new_migrations() makes more sense
Christopher Allan Webber [Sat, 9 Jul 2011 22:16:18 +0000 (17:16 -0500)]
Sorry, that OptionalField belonged there.
I am a bad person and am not allowed to commit anything else today.
Christopher Allan Webber [Sat, 9 Jul 2011 22:13:21 +0000 (17:13 -0500)]
<Elrond> Oh well... Did I really have this wtforms cruft in my setup_workbench
commit. :-( I don't know even, how it got in there. :-|
Christopher Allan Webber [Sat, 9 Jul 2011 22:11:23 +0000 (17:11 -0500)]
Added a note about workbench only currently being used by celery
Christopher Allan Webber [Sat, 9 Jul 2011 21:57:20 +0000 (16:57 -0500)]
Merge remote branch 'remotes/elrond/dev/init'
Christopher Allan Webber [Sat, 9 Jul 2011 21:52:57 +0000 (16:52 -0500)]
Adjusting documentation in indexes.py also re: more info in deprecation
Christopher Allan Webber [Sat, 9 Jul 2011 21:51:19 +0000 (16:51 -0500)]
Changing things back so that we keep information about deprecated
indexes around.
Christopher Allan Webber [Sat, 9 Jul 2011 20:10:47 +0000 (15:10 -0500)]
Some instructions in the RegisterMigration docstring on how to use.
Christopher Allan Webber [Sat, 9 Jul 2011 20:07:40 +0000 (15:07 -0500)]
latest_migration now returns migration numbers only, and 0 if no migrations.
Christopher Allan Webber [Sat, 9 Jul 2011 19:51:48 +0000 (14:51 -0500)]
Migrating quietly, not iteratively, that comment should say!
Christopher Allan Webber [Sat, 9 Jul 2011 19:50:41 +0000 (14:50 -0500)]
New migration utility code.... I haven't tested this! ;)
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
Christopher Allan Webber [Sat, 9 Jul 2011 14:30:43 +0000 (09:30 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b404_v3_edit_profile_submit_fail'
Christopher Allan Webber [Sat, 9 Jul 2011 14:23:34 +0000 (09:23 -0500)]
Merge remote branch 'remotes/jwandborg/f431-prevent_comment_link_expiry'
Christopher Allan Webber [Sat, 9 Jul 2011 14:20:22 +0000 (09:20 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/437_slug_shouldnt_be_empty'
Christopher Allan Webber [Sat, 9 Jul 2011 14:19:04 +0000 (09:19 -0500)]
Merge remote branch 'remotes/schendje/master'
Christopher Allan Webber [Sat, 9 Jul 2011 14:02:57 +0000 (09:02 -0500)]
Removing trailing whitespace from this file
Christopher Allan Webber [Sat, 9 Jul 2011 14:02:17 +0000 (09:02 -0500)]
Add a warning to the user that registrations are disabled.
Christopher Allan Webber [Sat, 9 Jul 2011 13:58:22 +0000 (08:58 -0500)]
Merge remote branch 'remotes/amusablelemur/feature374'
Rasmus Larsson [Sat, 9 Jul 2011 13:52:30 +0000 (15:52 +0200)]
Updated spacings in code for better readability
Rasmus Larsson [Sat, 9 Jul 2011 13:19:55 +0000 (15:19 +0200)]
Updated the loginpage to not show a link to register if registrations are disabled
Rasmus Larsson [Sat, 9 Jul 2011 13:12:00 +0000 (15:12 +0200)]
Added configuration variable to toggle registrations, if disabled the registration page redirects to index and no link to register is shown
Rasmus Larsson [Sat, 9 Jul 2011 00:47:06 +0000 (02:47 +0200)]
Removed route, view and template file for "Submit Success" page
Jef van Schendel [Fri, 8 Jul 2011 14:05:20 +0000 (16:05 +0200)]
Tiny height fix to footer
Jef van Schendel [Fri, 8 Jul 2011 14:03:17 +0000 (16:03 +0200)]
Tiny padding fix for forms/h1
Jef van Schendel [Fri, 8 Jul 2011 14:01:07 +0000 (16:01 +0200)]
Fix logo styling, positioning
Jef van Schendel [Fri, 8 Jul 2011 13:53:45 +0000 (15:53 +0200)]
Moved Submit button to header, styled button
Jef van Schendel [Fri, 8 Jul 2011 13:22:15 +0000 (15:22 +0200)]
Added sidebar to profile page; moved some content
Jef van Schendel [Fri, 8 Jul 2011 13:14:27 +0000 (15:14 +0200)]
Remove p style; not need yet
Joar Wandborg [Thu, 7 Jul 2011 20:45:51 +0000 (22:45 +0200)]
Updated `MediaCommentForm.field_comment` => `MediaCommentForm.comment_content`
* Also changed file encoding of `user_pages/forms.py` from dos to unix.
Elrond [Thu, 7 Jul 2011 20:08:20 +0000 (22:08 +0200)]
Factor setup_workbench into init submodule.
Jef van Schendel [Thu, 7 Jul 2011 18:04:30 +0000 (20:04 +0200)]
Change pagination styling; add 2 images
Caleb Forbes Davis V [Thu, 7 Jul 2011 16:11:03 +0000 (11:11 -0500)]
Bug #437 - adds required validator to slug field for media edit'
otherwise we get a 404 because we navigate to blank slug
Joar Wandborg [Thu, 7 Jul 2011 16:04:19 +0000 (18:04 +0200)]
Issue #431 - Prevent comment link expiry - Added functionality for comment linking
* `media.html`
* Changed comment textarea handle from `comment` => `field_comment`
* Active comment is hilighted with the CSS class name `comment_active`
and also with the hyperlink anchor #comment
* Changed media.html so that pagination always uses
Route('mediagoblin.user_pages.media_home') as base_url
* `user_pages/forms.py`
* Renamed MediaComment form field `comment` => `field_comment`
* `user_pages/routing.py`
* Added route for `/u/joar/m/123..456/c/234..567/`, points to `media_home`
* `user_pages/views.py`
* `media_home` now checks if the request contains a comment id parameter
then acts accordingly with pagination whether to call it with a
`jump_to_id` or not.
* `media_post_comment` - Updated MediaCommentForm field name
`comment` => `field_comment`
* `util.py`
* `redirect` now supports querystring arguments. - NOT USED (should we
keep it? I think so, it might be useful, sometime [don't call me a
code hoarder]).
* `Pagination.__init__` now accepts one further argument, the `jump_to_id`.
It assist the comment linking functionality in finding and returning the
proper page for a comment.
This feature will work for all kinds of objects. It might not be
optimal, but it is well functional :)
Jef van Schendel [Thu, 7 Jul 2011 15:54:33 +0000 (17:54 +0200)]
Additional style changes to navigation; add three navigation images
Caleb Forbes Davis V [Thu, 7 Jul 2011 15:45:23 +0000 (10:45 -0500)]
bug #404 - corrects querystring variable name in redirect
Jef van Schendel [Thu, 7 Jul 2011 15:21:02 +0000 (17:21 +0200)]
Experimental black-and-white style change
Christopher Allan Webber [Thu, 7 Jul 2011 13:22:12 +0000 (08:22 -0500)]
This should actually fix the next and previous buttons now. Sorry I borked the merge!
Christopher Allan Webber [Thu, 7 Jul 2011 03:52:08 +0000 (22:52 -0500)]
Also encourages editing your profile and submitting images
Christopher Allan Webber [Thu, 7 Jul 2011 03:49:53 +0000 (22:49 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f424_email_verified_messaging'
Christopher Allan Webber [Thu, 7 Jul 2011 03:47:33 +0000 (22:47 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f423_match_image_ordering_between_scroll_and_gallery'
Conflicts:
mediagoblin/db/models.py
Christopher Allan Webber [Thu, 7 Jul 2011 03:38:19 +0000 (22:38 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b404_v2_redirect_after_profile_edit'
Conflicts:
mediagoblin/edit/views.py
Christopher Allan Webber [Thu, 7 Jul 2011 03:35:19 +0000 (22:35 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b429_fix_edit_profile_form_validation'
Christopher Allan Webber [Thu, 7 Jul 2011 03:34:33 +0000 (22:34 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f435_limit_prev_next_by_processed'
Christopher Allan Webber [Thu, 7 Jul 2011 03:33:37 +0000 (22:33 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b434_prev_next_use_slug'
Christopher Allan Webber [Thu, 7 Jul 2011 03:29:12 +0000 (22:29 -0500)]
Instructions for installing MediaGoblin on Fedora
Caleb Forbes Davis V [Wed, 6 Jul 2011 22:14:07 +0000 (17:14 -0500)]
edit profile submit redirects to user home page
Caleb Forbes Davis V [Wed, 6 Jul 2011 03:11:56 +0000 (22:11 -0500)]
B #429 - form validation allows blank profile url
Chris Moylan [Wed, 6 Jul 2011 02:42:41 +0000 (21:42 -0500)]
finished basic submission testing
Chris Moylan [Wed, 6 Jul 2011 02:42:18 +0000 (21:42 -0500)]
Merge branch 'master' into test_submission_views_365