Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | | | 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 | |||||
* | | | | | | | | | | | Merge remote branch 'remotes/gullydwarf-cfdv/b404_v3_edit_profile_submit_fail' | Christopher Allan Webber | 2011-07-09 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | bug #404 - corrects querystring variable name in redirect | Caleb Forbes Davis V | 2011-07-07 | 1 | -1/+1 | |
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | ||||||
* | | | | | | | | | | | Merge remote branch 'remotes/jwandborg/f431-prevent_comment_link_expiry' | Christopher Allan Webber | 2011-07-09 | 5 | -31/+80 | |
|\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | Updated `MediaCommentForm.field_comment` => `MediaCommentForm.comment_content` | Joar Wandborg | 2011-07-07 | 3 | -23/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Also changed file encoding of `user_pages/forms.py` from dos to unix. | |||||
| * | | | | | | | | | | | Issue #431 - Prevent comment link expiry - Added functionality for comment ↵ | Joar Wandborg | 2011-07-07 | 5 | -12/+60 | |
| | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 :) | |||||
* | | | | | | | | | | | Merge remote branch 'remotes/gullydwarf-cfdv/437_slug_shouldnt_be_empty' | Christopher Allan Webber | 2011-07-09 | 1 | -1/+2 | |
|\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | Bug #437 - adds required validator to slug field for media edit' | Caleb Forbes Davis V | 2011-07-07 | 1 | -1/+2 | |
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise we get a 404 because we navigate to blank slug | |||||
* | | | | | | | | | | | Merge remote branch 'remotes/schendje/master' | Christopher Allan Webber | 2011-07-09 | 13 | -98/+90 | |
|\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | Tiny height fix to footer | Jef van Schendel | 2011-07-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Tiny padding fix for forms/h1 | Jef van Schendel | 2011-07-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Fix logo styling, positioning | Jef van Schendel | 2011-07-08 | 4 | -16/+4 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Moved Submit button to header, styled button | Jef van Schendel | 2011-07-08 | 3 | -33/+41 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Added sidebar to profile page; moved some content | Jef van Schendel | 2011-07-08 | 3 | -23/+15 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Remove p style; not need yet | Jef van Schendel | 2011-07-08 | 1 | -5/+0 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Change pagination styling; add 2 images | Jef van Schendel | 2011-07-07 | 4 | -8/+13 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Additional style changes to navigation; add three navigation images | Jef van Schendel | 2011-07-07 | 5 | -11/+14 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Experimental black-and-white style change | Jef van Schendel | 2011-07-07 | 1 | -6/+7 | |
| |/ / / / / / / / / / | ||||||
* | | | | | | | | | | | Removing trailing whitespace from this file | Christopher Allan Webber | 2011-07-09 | 1 | -8/+8 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | Add a warning to the user that registrations are disabled. | Christopher Allan Webber | 2011-07-09 | 1 | -1/+4 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | Merge remote branch 'remotes/amusablelemur/feature374' | Christopher Allan Webber | 2011-07-09 | 6 | -8/+27 | |
|\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | Updated spacings in code for better readability | Rasmus Larsson | 2011-07-09 | 3 | -6/+6 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Updated the loginpage to not show a link to register if registrations are ↵ | Rasmus Larsson | 2011-07-09 | 2 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled | |||||
| * | | | | | | | | | | | Added configuration variable to toggle registrations, if disabled the ↵ | Rasmus Larsson | 2011-07-09 | 5 | -2/+18 | |
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | registration page redirects to index and no link to register is shown | |||||
* / / / / / / / / / / | Removed route, view and template file for "Submit Success" page | Rasmus Larsson | 2011-07-09 | 3 | -31/+1 | |
|/ / / / / / / / / / | ||||||
* | | | | | | | | | | This should actually fix the next and previous buttons now. Sorry I borked ↵ | Christopher Allan Webber | 2011-07-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the merge! | |||||
* | | | | | | | | | | Also encourages editing your profile and submitting images | Christopher Allan Webber | 2011-07-06 | 1 | -4/+5 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | Merge remote branch 'remotes/gullydwarf-cfdv/f424_email_verified_messaging' | Christopher Allan Webber | 2011-07-06 | 3 | -33/+13 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | allows using messaging instead of verify_email.html to pass tests | Caleb Forbes Davis V | 2011-07-04 | 2 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * re-instated verification_successful flag * modified test_auth to verify nav to user_pages/user.html template | |||||
| * | | | | | | | | | | uses the messaging system to notify user of result of verification check | Caleb Forbes Davis V | 2011-07-04 | 2 | -33/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Feature #424 - Use messaging system for email verifification check response * uses add_message in verify_email and routes to the user page, bypassing verify_email.html | |||||
* | | | | | | | | | | | Merge remote branch ↵ | Christopher Allan Webber | 2011-07-06 | 1 | -3/+3 | |
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'remotes/gullydwarf-cfdv/f423_match_image_ordering_between_scroll_and_gallery' Conflicts: mediagoblin/db/models.py | |||||
| * | | | | | | | | | | | Feature #423 - gallery and scroll image ordering match | Caleb Forbes Davis V | 2011-07-04 | 1 | -4/+4 | |
| |/ / / / / / / / / / |