Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Wrote some (semi-silly) descriptions of each migration | Christopher Allan Webber | 2012-01-29 | 1 | -0/+18 |
| | |||||
* | Docstrings for stage 2 migrations | Christopher Allan Webber | 2012-01-29 | 1 | -0/+19 |
| | |||||
* | Theoretical full set of migration2 objects to insert for testing | Christopher Allan Webber | 2012-01-29 | 1 | -1/+76 |
| | |||||
* | Insert migration1 objects. Also, Level1 id from Integer->Unicode | Christopher Allan Webber | 2012-01-29 | 1 | -7/+43 |
| | |||||
* | All theoretical migrations written! | Christopher Allan Webber | 2012-01-29 | 1 | -5/+25 |
| | |||||
* | binding migration metadata to engine, and level_exits_new_table should now work | Christopher Allan Webber | 2012-01-29 | 1 | -6/+6 |
| | |||||
* | More test migration work. Closing to working migrations for set 2... | Christopher Allan Webber | 2012-01-29 | 1 | -5/+62 |
| | | | | Also, this file is written in 2012, correct that ;) | ||||
* | Might as well call it "set2 migrations" | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 |
| | |||||
* | A theoretical set of models to migrate about with, plus one migration ;) | Christopher Allan Webber | 2012-01-29 | 1 | -0/+177 |
| | |||||
* | Another db->db.engine because I'm bad at things ;) | Christopher Allan Webber | 2012-01-29 | 1 | -7/+7 |
| | | | | Thanks again Elrond. | ||||
* | No need for self here (thanks again Elrond ;)) | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 |
| | |||||
* | Another MigrationManager fix. | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 |
| | | | | self.database -> self.database.engine (thanks again Elrond for the catch) | ||||
* | Make name the primary key in migration records | Christopher Allan Webber | 2012-01-29 | 1 | -2/+1 |
| | |||||
* | assert was positive when it should be negative, fixed | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 |
| | |||||
* | Use .first() instead of [0]... thanks elrond :) | Christopher Allan Webber | 2012-01-29 | 1 | -5/+2 |
| | |||||
* | We should probably add that object to the DB also :P | Christopher Allan Webber | 2012-01-29 | 1 | -1/+2 |
| | |||||
* | Commit that new migration record ;) | Christopher Allan Webber | 2012-01-29 | 1 | -0/+1 |
| | |||||
* | Add create_new_migration_record method to MigrationManager | Christopher Allan Webber | 2012-01-29 | 1 | -2/+7 |
| | |||||
* | Added init_tables method to MigrationManager | Christopher Allan Webber | 2012-01-29 | 1 | -2/+12 |
| | |||||
* | More work on SQL MigrationManager | Christopher Allan Webber | 2012-01-29 | 1 | -15/+25 |
| | | | | | | | Added methods: - migration_data - database_current_migration - migrations_to_run | ||||
* | Removing printer argument now that we use self.printer | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 |
| | |||||
* | Finishing the init_or_migrate function | Christopher Allan Webber | 2012-01-29 | 1 | -1/+7 |
| | |||||
* | More work on migration manager, including adding a dry run function | Christopher Allan Webber | 2012-01-29 | 1 | -6/+76 |
| | |||||
* | Beginnings of the SQL migration manager | Christopher Allan Webber | 2012-01-29 | 1 | -1/+100 |
| | |||||
* | Big ol' start of the SQL migrations system. | Christopher Allan Webber | 2012-01-29 | 6 | -0/+214 |
| | | | | Things definitely don't work yet, but should be heading in the right direction. | ||||
* | Committing extracted and compiled translations | Christopher Allan Webber | 2012-01-29 | 2 | -1/+1 |
| | |||||
* | Committing present MediaGoblin translations before pushing extracted messages | Christopher Allan Webber | 2012-01-29 | 1 | -3/+3 |
| | |||||
* | Committing extracted and compiled translations | Christopher Allan Webber | 2012-01-29 | 41 | -1449/+1953 |
| | |||||
* | Nearly complete support for Tags | Elrond | 2012-01-28 | 4 | -6/+54 |
| | | | | | | | | | | | These changes allow all of the rest of the code to use tags in sql as they were used on mongo. It's not efficient at all, as changing tags usually means to remove all old tags and adding all new. The only problem here is: Old slugs for tags are not removed, because they're shared across all MediaTags and dropping orphans is not always easy. | ||||
* | Resized a test_exif test image. 1.9M is unnecessarily large. | Joar Wandborg | 2012-01-28 | 1 | -0/+0 |
| | |||||
* | Merge remote-tracking branch 'joar/exif-rebase' | Joar Wandborg | 2012-01-28 | 19 | -24/+607 |
|\ | |||||
| * | JavaScript fixes - AGPL headers, etc | Joar Wandborg | 2012-01-28 | 3 | -3/+56 |
| | | | | | | | | | | | | - Added AGPL header to comment_show.js, show_password.js and geolocation-map.js - Removed console.log from geolocation-map.js | ||||
| * | Scripts and styleshets for geolocation map - Conditional | Joar Wandborg | 2012-01-27 | 1 | -6/+10 |
| | | | | | | | | | | Scripts and stylesheets for the geolocation map are now switched on/off with the geolocation map itself. | ||||
| * | Refractored media.html template and related includes | Joar Wandborg | 2012-01-25 | 4 | -45/+86 |
| | | | | | | | | | | | | | | - Added <p> around license part to separate it properly from other sidebar content - Moved exif part to mediagoblin/utils/exif.html - Moved geolocation map to mediagoblin/utils/geolocation_map.html | ||||
| * | Acts on feedback from Chris | Joar Wandborg | 2012-01-25 | 7 | -11/+217 |
| | | | | | | | | | | | | | | - Added EXIF tests - Removed pdb from image processing "ifmain" - Fixed comment typo in image processing - Removed unused import in tools.exif | ||||
| * | Moved EXIF to sidebar, added conditions for visibility configuration settings | Joar Wandborg | 2012-01-25 | 1 | -17/+20 |
| | | |||||
| * | Added exif_visisble and geolocation_map_visible to config_spec | Joar Wandborg | 2012-01-25 | 1 | -0/+3 |
| | | |||||
| * | EXIF fixes | Joar Wandborg | 2012-01-25 | 5 | -111/+187 |
| | | | | | | | | | | | | | | - Moved exif functions from mediagoblin.media_types.image.processing to mediagoblin.tools.exif - Moved EXIF.py link from mediagoblin.media_types to mediagoblin.tools.extlib - Refractored and updated EXIF exctraction and presentation | ||||
| * | Removed link to EXIF.py in media_types.image | Joar Wandborg | 2012-01-25 | 1 | -1/+0 |
| | | |||||
| * | EXIF extraction, geolocation map, image rotation | Joar Wandborg | 2012-01-25 | 2 | -19/+185 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Images are now rotated based on EXIF image orientation (in case the image isn't flipped on X or Y axis or correctly oriented, then we do nothing) - *Always* create a medium.jpg in image.processing, for the sake of rotation of display image - Extract EXIF and GPS tags from images and insert them into media_data - Geolocation map display added to media.html - EXIF display added, then removed. It is not in this revision, although some of it is (the "EXIF" h4 header). Need to make it presentable, filtering out purely robotical tags, perhaps. | ||||
| * | Added code for leaflet geolocation map | Joar Wandborg | 2012-01-25 | 2 | -0/+30 |
| | | |||||
| * | Installed EXIF.py in extlibs/ | Joar Wandborg | 2012-01-25 | 1 | -0/+1 |
| | | |||||
| * | Installed leaflet in extlib | Joar Wandborg | 2012-01-25 | 1 | -0/+1 |
| | | |||||
* | | Add develover sql switch | Elrond | 2012-01-28 | 2 | -4/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you want to play with the current state of sql, you need a switch to turn it on. So here is the super secret developer switch. So you want to know where it is? Here it is: Create a file mediagoblin/db/sql_switch.py and put one line in it: "use_sql = True" (or False to disable again). Right, that's it. If you want to delete it, remember to delete the *.pyc too. Be careful not to "git add" it by accident! | ||||
* | | We were using translitcodec and I didn't understand how it worked ;) | Christopher Allan Webber | 2012-01-28 | 1 | -0/+1 |
| | | | | | | | | My bad! | ||||
* | | We aren't using translitcodec anymore. Kill it! | Christopher Allan Webber | 2012-01-28 | 1 | -1/+0 |
| | | |||||
* | | Let some code support "media without slug" | Elrond | 2012-01-28 | 3 | -14/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upcoming SQL database will allow having media without a slug again. This might especially be useful for API support, where the uploaded image (media) does not have *any* information to generate a slug from. This code change mostly allows the sql backend to have no slug in its model and improves some parts to properly handle that. It specifically does not have any web frontend support to edit/create MediaEntries with no slug. | ||||
* | | Move declarative_base Base into base.py | Elrond | 2012-01-26 | 2 | -5/+5 |
| | | | | | | | | The base class of all models "Base" should be in base.py. | ||||
* | | Drop all buildout things | Elrond | 2012-01-26 | 1 | -50/+0 |
|/ | | | | | virtualenv is working for everyone. No need for the buildout stuff any more. | ||||
* | Proper url_to_{prev,next} for SQL | Elrond | 2012-01-22 | 1 | -0/+21 |
| | | | | Uses complete sqlalchemy syntax now. |