aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Dot-Notation for MediaEntry.titleElrond2011-12-051-1/+1
| | |
| * | Dot-Notation for MediaEntry.uploaderElrond2011-12-051-3/+3
| | |
| * | Dot-Notation for Users.pw_hashElrond2011-12-051-1/+1
| | |
| * | Dot-Notation for Users.usernameElrond2011-12-051-4/+4
| | |
| * | Merge remote-tracking branch 'remotes/jwandborg/master'Christopher Allan Webber2011-11-241-0/+8
| |\ \
| | * \ Merge branch 'video_gstreamer-only'Joar Wandborg2011-11-211-0/+8
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/submit/views.py
| | | * | Multimedia support - Commiting from a not yet finished state - Details belowJoar Wandborg2011-09-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DONE Initially testing with arista ** DONE Video display templates *** TODO Multi-browser support ** TODO Video thumbnails ** TODO Link to original video ** TODO Video cropping Also contains a lot of "debug" print's
| * | | | Rename MediaEntry.uploader() to .get_uploader()Elrond2011-11-221-4/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The .uploader() method conflicts with the uploader database field. As we're moving to .FIELD for db field access, this is a relevant conflict. So renaming .uploader() to .get_uploader()
| * | | Added parameter ascending to MediaEntry::get_comments, if true, commentsPablo J. Urbano Santos2011-11-191-2/+7
| | | | | | | | | | | | | | | | will be ordered ascending, otherwise descending
| * | | Dot-Notation for "_id"Elrond2011-11-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: Migrations can't use "Dot Notation"! Migrations run on pymongo, not mongokit. So they can't use the "Dot Notation". This isn't really a big issue, as migrations are anyway quite mongo specific.
| * | | Enable mongokit's "Dot notation"Elrond2011-11-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongokit documents can allow to use x.FIELD instead of x["FIELD"]. First it looks a lot more pythonic. Second it might allow us an easier migration path towards an sqlalchemy database backend. Docs: http://namlook.github.com/mongokit/tutorial.html#dot-notation
| * | | Merge remote-tracking branch 'remotes/nyergler/pep8-ification'Christopher Allan Webber2011-11-135-24/+27
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/user_pages/views.py mediagoblin/util.py
| | * | has_key is deprecated, converting uses to use "in" operator.Nathan Yergler2011-10-011-1/+1
| | | |
| | * | Whitespace and formatting cleanup.Nathan Yergler2011-10-016-24/+27
| | |/ | | | | | | | | | | | | | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
* | / First crack at basic license support.Aaron Williamson2012-01-171-0/+9
|/ /
* | Factor out a add_table_field functionElrond2011-10-211-23/+16
| | | | | | | | | | | | Migrations often just add a new field to some table/collection. So just have a nice helper function for this!
* | Finished splitting util.py into separate files.Aaron Williamson2011-10-012-8/+6
| |
* | Moved common, translation, template, and url code out of util.py and into ↵Aaron Williamson2011-10-011-2/+2
|/ | | | tools/[file].py
* Merge branch 'gullydwarf-cfdv-f357_lost_password_functionality'Christopher Allan Webber2011-09-082-0/+17
|\ | | | | | | | | Conflicts: mediagoblin/auth/routing.py
| * user_add_forgot_password_token_and_expires migration should set new fields ↵Christopher Allan Webber2011-09-071-2/+2
| | | | | | | | to None/null
| * oops, uses Alejandro's fp_verification_key. my bad.Caleb Forbes Davis V2011-08-282-3/+3
| |
| * Adding fotgot password functionalityAlejandro Villanueva2011-08-282-0/+17
| |
* | 508. Updates copyright/license informationWill Kahn-Greene2011-09-016-6/+6
|/
* Method to get the failure exception object for a MediaEntry, if appropriate.Christopher Allan Webber2011-08-141-0/+7
|
* Add fail_error and fail_metadata fields to MediaEntry and relevant migrationChristopher Allan Webber2011-08-132-1/+26
|
* Missing multi=True closing this migration, oops :)Christopher Allan Webber2011-08-121-0/+1
|
* Merge branch 'master' into processingChristopher Allan Webber2011-08-112-6/+11
|\ | | | | | | | | Conflicts: mediagoblin/db/migrations.py
| * Bug #372 - MediaEntry.thumbnail_file not usedCaleb Forbes Davis V2011-08-102-6/+11
| | | | | | | | | | - deleted the thumbnail_file from the media_entries collection - added a migration to remove the field from previous db versions
* | Merge branch 'master' into processingChristopher Allan Webber2011-08-102-1/+16
|\|
| * Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetagsChristopher Allan Webber2011-07-302-1/+16
| |\ | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/edit/views.py mediagoblin/util.py
| | * updates indices to index on the slug component of the tag listCaleb Forbes Davis V2011-07-271-2/+2
| | | | | | | | | | | | | | | - uses dot notation to reach into the JSON-style MediaEntry tags field object to index on the slug property of each tag
| | * changes tags to a list of dicts in the db, adding tag slugsCaleb Forbes Davis V2011-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | - adds a function to convert the tag list of dicts to a text string properly delimited for loading into forms - tag string conversion function updated to generate list of dicts - updates all mentions of the conversion of the string to the tags db object - adds a tags template utility and updates the media template accordingly
| | * adds "state" to tags indicesCaleb Forbes Davis V2011-07-131-6/+8
| | |
| | * adds index for searching across all users' tagged imagesCaleb Forbes Davis V2011-07-131-0/+6
| | |
| | * adds index for tag searches by an uploaderCaleb Forbes Davis V2011-07-101-0/+7
| | |
* | | Store the task id of a processing action in the database.Christopher Allan Webber2011-07-242-0/+15
|/ /
* | docstring for MediaComment's structureChristopher Allan Webber2011-07-171-1/+12
| |
* | Described the MediaEntry structure in the docstring.Christopher Allan Webber2011-07-171-6/+81
| |
* | Docstring for the User model's various schema fieldsChristopher Allan Webber2011-07-171-0/+26
| |
* | Migration for mediafiles main->originalChristopher Allan Webber2011-07-171-0/+16
| |
* | Merge remote branch 'remotes/jwandborg/feature_400-resize_images_to_fit_page'Christopher Allan Webber2011-07-161-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 commitJoar Wandborg2011-07-031-1/+1
| | |
| * | Feature #400 - Resize images to fit on page - AdditionsJoar Wandborg2011-07-032-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 Webber2011-07-141-3/+17
| | |
* | | Merge remote branch 'remotes/aaronw/feature410_markdown_bio'Christopher Allan Webber2011-07-131-1/+2
|\ \ \
| * | | Markdown-enable user bio (Feature 410)Aaron Williamson2011-07-101-1/+2
| | | |
* | | | Merge branch 'master' into f411_new_migrationsChristopher Allan Webber2011-07-133-8/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/db/open.py
| * | | | Move db_name default into config_spec.iniElrond2011-07-111-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 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.