aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | 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
| | | | | | | | | | | |
* | | | | | | | | | | | run_new_migrations() makes more senseChristopher Allan Webber2011-07-091-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Some instructions in the RegisterMigration docstring on how to use.Christopher Allan Webber2011-07-091-0/+13
| | | | | | | | | | | |
* | | | | | | | | | | | latest_migration now returns migration numbers only, and 0 if no migrations.Christopher Allan Webber2011-07-091-6/+10
| | | | | | | | | | | |
* | | | | | | | | | | | Migrating quietly, not iteratively, that comment should say!Christopher Allan Webber2011-07-091-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | New migration utility code.... I haven't tested this! ;)Christopher Allan Webber2011-07-091-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 Webber2011-07-091-1/+1
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | bug #404 - corrects querystring variable name in redirectCaleb Forbes Davis V2011-07-071-1/+1
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
* | | | | | | | | | | Merge remote branch 'remotes/jwandborg/f431-prevent_comment_link_expiry'Christopher Allan Webber2011-07-095-31/+80
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Updated `MediaCommentForm.field_comment` => `MediaCommentForm.comment_content`Joar Wandborg2011-07-073-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 Wandborg2011-07-075-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 Webber2011-07-091-1/+2
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Bug #437 - adds required validator to slug field for media edit'Caleb Forbes Davis V2011-07-071-1/+2
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise we get a 404 because we navigate to blank slug
* | | | | | | | | | | Merge remote branch 'remotes/schendje/master'Christopher Allan Webber2011-07-0913-98/+90
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Tiny height fix to footerJef van Schendel2011-07-081-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Tiny padding fix for forms/h1Jef van Schendel2011-07-081-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Fix logo styling, positioningJef van Schendel2011-07-084-16/+4
| | | | | | | | | | | |
| * | | | | | | | | | | Moved Submit button to header, styled buttonJef van Schendel2011-07-083-33/+41
| | | | | | | | | | | |
| * | | | | | | | | | | Added sidebar to profile page; moved some contentJef van Schendel2011-07-083-23/+15
| | | | | | | | | | | |
| * | | | | | | | | | | Remove p style; not need yetJef van Schendel2011-07-081-5/+0
| | | | | | | | | | | |
| * | | | | | | | | | | Change pagination styling; add 2 imagesJef van Schendel2011-07-074-8/+13
| | | | | | | | | | | |
| * | | | | | | | | | | Additional style changes to navigation; add three navigation imagesJef van Schendel2011-07-075-11/+14
| | | | | | | | | | | |
| * | | | | | | | | | | Experimental black-and-white style changeJef van Schendel2011-07-071-6/+7
| |/ / / / / / / / / /
* | | | | | | | | | | Removing trailing whitespace from this fileChristopher Allan Webber2011-07-091-8/+8
| | | | | | | | | | |
* | | | | | | | | | | Add a warning to the user that registrations are disabled.Christopher Allan Webber2011-07-091-1/+4
| | | | | | | | | | |
* | | | | | | | | | | Merge remote branch 'remotes/amusablelemur/feature374'Christopher Allan Webber2011-07-096-8/+27
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Updated spacings in code for better readabilityRasmus Larsson2011-07-093-6/+6
| | | | | | | | | | | |
| * | | | | | | | | | | Updated the loginpage to not show a link to register if registrations are ↵Rasmus Larsson2011-07-092-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled
| * | | | | | | | | | | Added configuration variable to toggle registrations, if disabled the ↵Rasmus Larsson2011-07-095-2/+18
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | registration page redirects to index and no link to register is shown
* / / / / / / / / / / Removed route, view and template file for "Submit Success" pageRasmus Larsson2011-07-093-31/+1
|/ / / / / / / / / /
* | | | | | | | | | This should actually fix the next and previous buttons now. Sorry I borked ↵Christopher Allan Webber2011-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the merge!
* | | | | | | | | | Also encourages editing your profile and submitting imagesChristopher Allan Webber2011-07-061-4/+5
| | | | | | | | | |
* | | | | | | | | | Merge remote branch 'remotes/gullydwarf-cfdv/f424_email_verified_messaging'Christopher Allan Webber2011-07-063-33/+13
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | allows using messaging instead of verify_email.html to pass testsCaleb Forbes Davis V2011-07-042-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 checkCaleb Forbes Davis V2011-07-042-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 Webber2011-07-061-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 matchCaleb Forbes Davis V2011-07-041-4/+4
| |/ / / / / / / / / /