Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | adds "state" to tags indices | Caleb Forbes Davis V | 2011-07-13 | 1 | -6/+8 | |
| | | | ||||||
| | * | adds index for searching across all users' tagged images | Caleb Forbes Davis V | 2011-07-13 | 1 | -0/+6 | |
| | | | ||||||
| | * | adds index for tag searches by an uploader | Caleb Forbes Davis V | 2011-07-10 | 1 | -0/+7 | |
| | | | ||||||
* | | | Store the task id of a processing action in the database. | Christopher Allan Webber | 2011-07-24 | 2 | -0/+15 | |
|/ / | ||||||
* | | docstring for MediaComment's structure | Christopher Allan Webber | 2011-07-17 | 1 | -1/+12 | |
| | | ||||||
* | | Described the MediaEntry structure in the docstring. | Christopher Allan Webber | 2011-07-17 | 1 | -6/+81 | |
| | | ||||||
* | | Docstring for the User model's various schema fields | Christopher Allan Webber | 2011-07-17 | 1 | -0/+26 | |
| | | ||||||
* | | Migration for mediafiles main->original | Christopher Allan Webber | 2011-07-17 | 1 | -0/+16 | |
| | | ||||||
* | | Merge remote branch 'remotes/jwandborg/feature_400-resize_images_to_fit_page' | Christopher Allan Webber | 2011-07-16 | 1 | -0/+22 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/process_media/__init__.py mediagoblin/templates/mediagoblin/user_pages/media.html mediagoblin/util.py | |||||
| * | | Removed debug code, erroneously included in my last commit | Joar Wandborg | 2011-07-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | Feature #400 - Resize images to fit on page - Additions | Joar Wandborg | 2011-07-03 | 2 | -1/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `migrations.py` * Removed empty line * Added empty line * `models.py` * Added `MediaEntry.get_display_media()` helper function * `process_media.__init__.py` * Updated `process_media_initial()` * Renamed `main` => `original`. * Added condition to `medium`, it's only created if the original dimensions exceed the MEDIUM_SIZE dimensions. * `media.html` * The image tag is now populated by `MediaEntry.get_display_media()` * `util.py` * Added `DISPLAY_IMAGE_FETCHING_ORDER`, used by `MediaEntry.get_display_media()` | |||||
* | | | First migration: Add markdown bio! | Christopher Allan Webber | 2011-07-14 | 1 | -3/+17 | |
| | | | ||||||
* | | | Merge remote branch 'remotes/aaronw/feature410_markdown_bio' | Christopher Allan Webber | 2011-07-13 | 1 | -1/+2 | |
|\ \ \ | ||||||
| * | | | Markdown-enable user bio (Feature 410) | Aaron Williamson | 2011-07-10 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | Merge branch 'master' into f411_new_migrations | Christopher Allan Webber | 2011-07-13 | 3 | -8/+18 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/open.py | |||||
| * | | | | Move db_name default into config_spec.ini | Elrond | 2011-07-11 | 1 | -1/+1 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | 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 | |
| | | | ||||||
* | | | 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 | |
| | | | ||||||
* | | | 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 | |||||
* | | | No reason to have migration_number optional or default to None | Christopher Allan Webber | 2011-07-10 | 1 | -1/+1 | |
| | | | ||||||
* | | | 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 | |
| | | | ||||||
* | | | 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. | |||||
* | | | 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 | |||||
* | | This should actually fix the next and previous buttons now. Sorry I borked ↵ | Christopher Allan Webber | 2011-07-07 | 1 | -2/+2 | |
| | | | | | | | | the merge! | |||||
* | | 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 | |
| | | | ||||||
* | | | Merge remote branch 'remotes/gullydwarf-cfdv/f435_limit_prev_next_by_processed' | Christopher Allan Webber | 2011-07-06 | 1 | -2/+4 | |
|\ \ \ | ||||||
| * | | | f#435 - avoids linking to unprocessed media in prev and next | Caleb Forbes Davis V | 2011-07-05 | 1 | -2/+4 | |
| |/ / | ||||||
* / / | slug-style urls in previous and next urls look much better | Caleb Forbes Davis V | 2011-07-05 | 1 | -2/+2 | |
|/ / | | | | | | | Bug #434 - identifies media by slug instead of _id in prev/next | |||||
* | | Merge remote branch 'remotes/gullydwarf-cfdv/f401_prev_next_media_nav' | Christopher Allan Webber | 2011-07-02 | 2 | -2/+28 | |
|\ \ | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/models.py mediagoblin/templates/mediagoblin/user_pages/media.html | |||||
| * | | adds previous and next links in the sidebar | Caleb Forbes Davis V | 2011-07-02 | 2 | -2/+28 | |
| |/ | | | | | | | | | | | | | | | Feature #401 - previous/next navigation on media pages * media.html includes a new prev_next.html template containing the links * prev_next.html calls functions added to the media model to retrieve the appropriate objects from the database, formatted with urlgen * a small change to util.py brings ASCENDING into the mix | |||||
* | | Note from Chris Webber prefacing Elrond's DB abstraction idea. | Christopher Allan Webber | 2011-07-02 | 1 | -0/+12 | |
| | | ||||||
* | | Merge remote branch 'remotes/elrond/idea/db_doc' | Christopher Allan Webber | 2011-07-02 | 1 | -0/+34 | |
|\ \ | ||||||
| * | | Document the db submodule a bit | Elrond | 2011-06-30 | 1 | -0/+34 | |
| |/ | | | | | | | | | Document the ideas behind the db submodule. And document what that actually means. | |||||
* | | Merge remote branch ↵ | Christopher Allan Webber | 2011-07-02 | 1 | -17/+5 | |
|\ \ | |/ |/| | | | | | | | | | 'remotes/jwandborg/feature_362-simple_comments-acts_on_feedback' Conflicts: mediagoblin/templates/mediagoblin/user_pages/media.html | |||||
| * | Issue #362 - Simple comments - Changes based on feedback recieved from ↵ | Joar Wandborg | 2011-07-01 | 1 | -17/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | #mediagoblin * `db.models` - Removed `MediaEntry.get_comments()` and replaced it with a helper which just returns a cursor for the comments query * `media.html` - Added `{% set comment_author = comment.author() %}` * `user_pages.views` - media_home() now passes `MediaEntry.get_comments()` directly to `Pagination`, handles pagination for comments. * Added `MEDIA_COMMENTS_PER_PAGE` to define the number of comments per page in the `media_home()` view. | |||||
| * | Merge branch 'feature_362-simple_comments' | Joar Wandborg | 2011-06-29 | 1 | -3/+43 | |
| |\ | ||||||
* | | | Comment indexes | Christopher Allan Webber | 2011-06-30 | 1 | -0/+10 | |
| | | |