Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | typo | Rodney Ewing | 2013-06-25 | 1 | -1/+1 |
| | |||||
* | changes after cwebb's review | Rodney Ewing | 2013-06-21 | 1 | -0/+4 |
| | |||||
* | changed User model pw_hash field to nullable and added migrations | Rodney Ewing | 2013-05-24 | 1 | -0/+11 |
| | |||||
* | Make uuid look like a uuid. | Elrond | 2013-04-27 | 1 | -1/+1 |
| | | | | | | If we really have to create a visible uuid (for a slug in this case), don't try to hide the fact that it is a uuid. So format it like a uuid. | ||||
* | Check for duplicate collection slugs and make them unique. Add unique ↵ | Rodney Ewing | 2013-04-24 | 1 | -1/+37 |
| | | | | constraint to collection.slug model | ||||
* | Simplifying the test for whether or not a user and slug combo exists. | Christopher Allan Webber | 2013-02-27 | 1 | -3/+1 |
| | | | | | | | Thanks to tchernobog for catching this (it was breaking on postgres) and Elrond for the suggestion on how to fix it. This commit sponsored by Caleb Cooper. Thanks Caleb! | ||||
* | Import sqlalchemy's and_ and use it in our select statement | Christopher Allan Webber | 2013-02-26 | 1 | -2/+3 |
| | | | | This commit sponsored by Hans-Jörg Dollansky. Thank you! | ||||
* | And of course, we need to actually commit at the end of a migration. | Christopher Allan Webber | 2013-02-26 | 1 | -0/+3 |
| | | | | This commit sponsored by Tamas Kemenczy. Thanks, Tamas! | ||||
* | Dope'ily missed .count() on the query where we're counting | Christopher Allan Webber | 2013-02-25 | 1 | -1/+1 |
| | | | | | | Thanks for catching, Elrond. This commit sponsored by Graham King. Thank you! | ||||
* | Supplying migrations for a bold new era of mediagoblin entry slugs | Christopher Allan Webber | 2013-02-25 | 1 | -0/+54 |
| | | | | | | | | | | | | | | | | Okay, that's a totally confusing statement, but the docstring of this migration summarizes it well: Entries without slugs now display differently in the url like: /u/cwebber/m/id=251/ ... because of this, we should back-convert: - entries without slugs should be converted to use the id, if possible, to make old urls still work - slugs with = (or also : which is now also not allowed) to have those stripped out (small possibility of breakage here sadly) This commit sponsored by John Sullivan. Thanks johnsu01! :) | ||||
* | Use inspect_table; default user license==None. | Elrond | 2013-01-22 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Use inspect_table in the new migration. Makes code more readable, really. And make the default for the preferred license be None. This is a userspace thing, so we can even change the migration here. Changing the migration means, that people running the migration before this commit get a "" in User.license_preference, while people running the migration now get a None. Both values are okay. None has been designated as "Use the site's default". We're not actually having a site default right now. Which means no license is selected in the dropdown. While "" means "All rights reserved" being chosen by the user. Side note: Having no license being selected in the submit dropdown is as "worse" as before and does not really hurt much. MediaEntry.license==None means "All rights reserved" as does "" also do. | ||||
* | Add a license preference field | Mark Holmquist | 2013-01-17 | 1 | -0/+12 |
| | | | | | | | | | | | | | This feature is absolutely necessary. Now a user can simply define their default license and quickly go through a form, as opposed to stopping to click on the select and choosing the same option over and over again. Also added DB migration for the field, so that's working now, too. Rebased by Sebastian and made the default value to be unicode. Reviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | Move db.sql.migration_tools to db.migration_tools. | Elrond | 2013-01-08 | 1 | -1/+1 |
| | | | | Follow the new trend. | ||||
* | Add inspect_table. | Elrond | 2013-01-08 | 1 | -7/+4 |
| | | | | | | In our current scheme of migrations, we reflect the current sql schema into an SQLAlchemy schema. So let's have a tool function for this. | ||||
* | Move all the migration tools into new migration_tools.py | Elrond | 2013-01-08 | 1 | -1/+1 |
| | | | | | | | | | Factor all the migration related stuff out into a new .db.sql.migration_tools. First we don't have to load this module for our normal server. Second it makes all the import dependencies a little more cleaner. | ||||
* | Move db.sql.models* to db.models* | Sebastian Spaeth | 2013-01-07 | 1 | -1/+1 |
| | |||||
* | Move db.sql.util to db.util | Sebastian Spaeth | 2013-01-07 | 1 | -1/+1 |
| | | | | | | | | Now that sqlalchemy is providing the database abstractions, there is no need to hide everything in db.sql. sub-modules. It complicates the code and provides a futher layer of indirection. Move the db.sql.util.py to db.util.py and adapt the importers. | ||||
* | Move db.sql.migrations to db.migrations | Sebastian Spaeth | 2012-12-25 | 1 | -0/+189 |
| | |||||
* | Move db/migrations.py -> db/mongo/migrations.py | Elrond | 2011-12-20 | 1 | -110/+0 |
| | | | | And change references. | ||||
* | Move db/util.py -> db/mongo/util.py | Elrond | 2011-12-20 | 1 | -1/+1 |
| | | | | | - Change some reference - Provide a wrapper db/util.py | ||||
* | Merge branch 'video_gstreamer-only' | Joar Wandborg | 2011-11-21 | 1 | -0/+8 |
|\ | | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/submit/views.py | ||||
| * | Multimedia support - Commiting from a not yet finished state - Details below | Joar Wandborg | 2011-09-23 | 1 | -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 | ||||
* | | Factor out a add_table_field function | Elrond | 2011-10-21 | 1 | -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 Williamson | 2011-10-01 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'gullydwarf-cfdv-f357_lost_password_functionality' | Christopher Allan Webber | 2011-09-08 | 1 | -0/+15 |
|\ | | | | | | | | | Conflicts: mediagoblin/auth/routing.py | ||||
| * | user_add_forgot_password_token_and_expires migration should set new fields ↵ | Christopher Allan Webber | 2011-09-07 | 1 | -2/+2 |
| | | | | | | | | to None/null | ||||
| * | oops, uses Alejandro's fp_verification_key. my bad. | Caleb Forbes Davis V | 2011-08-28 | 1 | -2/+2 |
| | | |||||
| * | Adding fotgot password functionality | Alejandro Villanueva | 2011-08-28 | 1 | -0/+15 |
| | | |||||
* | | 508. Updates copyright/license information | Will Kahn-Greene | 2011-09-01 | 1 | -1/+1 |
|/ | |||||
* | Add fail_error and fail_metadata fields to MediaEntry and relevant migration | Christopher Allan Webber | 2011-08-13 | 1 | -0/+17 |
| | |||||
* | Missing multi=True closing this migration, oops :) | Christopher Allan Webber | 2011-08-12 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into processing | Christopher Allan Webber | 2011-08-11 | 1 | -0/+10 |
|\ | | | | | | | | | Conflicts: mediagoblin/db/migrations.py | ||||
| * | Bug #372 - MediaEntry.thumbnail_file not used | Caleb Forbes Davis V | 2011-08-10 | 1 | -0/+10 |
| | | | | | | | | | | - deleted the thumbnail_file from the media_entries collection - added a migration to remove the field from previous db versions | ||||
* | | Store the task id of a processing action in the database. | Christopher Allan Webber | 2011-07-24 | 1 | -0/+12 |
|/ | |||||
* | Migration for mediafiles main->original | Christopher Allan Webber | 2011-07-17 | 1 | -0/+16 |
| | |||||
* | First migration: Add markdown bio! | Christopher Allan Webber | 2011-07-14 | 1 | -3/+17 |
| | |||||
* | Removing old style migrations... not in use anymore | Christopher Allan Webber | 2011-07-11 | 1 | -57/+1 |
| | |||||
* | Just making a note of where the new migrations will go! | Christopher Allan Webber | 2011-07-10 | 1 | -0/+11 |
| | |||||
* | Merge remote branch 'refs/remotes/gullydwarf-cfdv/is315' | Christopher Allan Webber | 2011-06-21 | 1 | -2/+17 |
|\ | |||||
| * | removes unecessary dependence on existence of username for User migration01, ↵ | cfdv | 2011-06-20 | 1 | -6/+5 |
| | | | | | | | | + fix whitespace issues | ||||
| * | adds accommmodations for migration of fields in User: bio and url | cfdv | 2011-06-20 | 1 | -2/+18 |
| | | |||||
* | | Only migrate to description_html if description also exists. | Christopher Allan Webber | 2011-06-20 | 1 | -1/+2 |
|/ | |||||
* | Provide a migration to add description_html to MediaEntries that don't have it | Christopher Allan Webber | 2011-06-19 | 1 | -0/+16 |
| | |||||
* | mediagoblin.globals->mediagoblin.mg_globals | Christopher Allan Webber | 2011-06-12 | 1 | -2/+0 |
| | |||||
* | User migration works (but the rest of the system isn't updated for new user ↵ | Christopher Allan Webber | 2011-05-22 | 1 | -0/+39 |
setup yet) |