Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move db.sql.migration_tools to db.migration_tools. | Elrond | 2013-01-08 | 1 | -1/+1 |
| | | | | Follow the new trend. | ||||
* | 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 | -1/+1 |
| | |||||
* | Move db.sql.open to db.open | Sebastian Spaeth | 2012-12-25 | 1 | -1/+1 |
| | | | | | | Now that mongo has been ripped out and sqlalchemy is already providing the database abstraction, there is no need to hide everything in the sql module. Transition db.sql.open to db.open and adapt all direct importers. | ||||
* | RIP out mongo | Sebastian Spaeth | 2012-12-25 | 5 | -116/+3 |
| | | | | | | | | | Since sqlalchemy is providing our database abstraction and we have moved away from Mongo as the underlying database, it is now time to simplify things and rip out mongo. This provides the bulk of the changes, and can stand on its own. There are some followup tasks that can be done, such as removing now unneeded abstraction layers, e.g. db.sql.fake.py | ||||
* | Mongo removal: Remove the validate=True arg to obj.save() | Elrond | 2012-12-24 | 1 | -1/+1 |
| | | | | | all callers were forced to use validate=True anyway. So remove this useless stuff. | ||||
* | Try ipython-based shell first, falling back to plain shell | Sebastian Spaeth | 2012-12-19 | 1 | -9/+8 |
| | | | | Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | makeadmin and changepasswd had swapped help text | Christopher Allan Webber | 2012-12-18 | 1 | -2/+2 |
| | |||||
* | Fixed tests | Joar Wandborg | 2012-09-15 | 1 | -1/+1 |
| | | | | | - Adapt tests to new global_config arg for run_dbupdate - Account for [plugins] not being set in config | ||||
* | Add OAuth models, plugin DB migrations, api_auth | Joar Wandborg | 2012-09-13 | 1 | -4/+42 |
| | |||||
* | replaced os.path.split()[0] with os.path.dirname() and corrected a couple of ↵ | Aleksej | 2012-08-13 | 1 | -1/+1 |
| | | | | comments | ||||
* | Duplication of rstrip unnecessary in link_assets function | Christopher Allan Webber | 2012-08-12 | 1 | -1/+1 |
| | | | | Thanks for catching AVRS! | ||||
* | Setup the scaffolding for theme installing, but it doesn't work yet | Christopher Allan Webber | 2012-07-14 | 1 | -2/+4 |
| | |||||
* | Break the asset linking code off into a reusable function | Christopher Allan Webber | 2012-07-14 | 1 | -30/+50 |
| | | | | In the future, the install command should be able to use that as well. | ||||
* | asset linking command now works | Christopher Allan Webber | 2012-07-14 | 1 | -7/+26 |
| | |||||
* | Start of the `./bin/gmg theme assetlink` command. | Christopher Allan Webber | 2012-07-14 | 2 | -0/+87 |
| | | | | Mostly works but doesn't handle all the places it could break. | ||||
* | Make sure MigrationManagers always get Unicode names. | Brett Smith | 2012-07-04 | 1 | -1/+1 |
| | | | | | If we fail to do this, SQLAlchemy complains that we're binding a non-Unicode value to a Unicode column. | ||||
* | Fix problems from pyflakes output | Will Kahn-Greene | 2012-06-03 | 2 | -6/+3 |
| | |||||
* | Deprecate ./bin/gmg migrate. | Christopher Allan Webber | 2012-04-29 | 2 | -6/+8 |
| | | | | | Keeping it around just in case someone manually wants to migrate before running the convert thing or... something. Probably silly. | ||||
* | Removing wipealldata command and deleting env_export/env_import for now. | Christopher Allan Webber | 2012-04-29 | 2 | -71/+14 |
| | | | | | | None of these tools really work anymore in the SQL world, and possibly aren't as necessary either. In the meanwhile, just disabling them to reduce confusion. | ||||
* | gmg env_import shouldn't crash on unicode ... | Joar Wandborg | 2012-04-02 | 1 | -1/+1 |
| | | | | characters in media titles | ||||
* | SQL based tests and refactored Celery setup stuff | Christopher Allan Webber | 2012-03-26 | 1 | -2/+6 |
| | | | | | | - Changed config files of test configs to use SQL - Updated celery initialization tools, factored them to be able to use the "big instance" application stuff | ||||
* | Wipe the configured database, not the default one | Jakob Kramer | 2012-03-24 | 1 | -2/+6 |
| | |||||
* | mongo->sql conversion script now runs mongo migrations first, just in case | Christopher Allan Webber | 2012-03-17 | 2 | -2/+11 |
| | |||||
* | Mongosql imports made celery get set up before we wanted it via ./bin/gmg ↵ | Christopher Allan Webber | 2012-03-17 | 1 | -2/+1 |
| | | | | | | commands Just moved the import into the actual function. That resolved the issue! | ||||
* | Removing an unnecessary line of whitespace AND crediting Hugo Boyer for the ↵ | Christopher Allan Webber | 2012-03-14 | 1 | -1/+0 |
| | | | | | | ipython code! Thanks Hugo Boyer! I forgot to credit you in my last commit. | ||||
* | ipython support in ./bin/gmg shell! | Christopher Allan Webber | 2012-03-14 | 1 | -8/+37 |
| | |||||
* | Create "gmg convert_mongo_to_sql" command | Elrond | 2012-02-23 | 2 | -0/+29 |
| | | | | | | | | | Finally, to make testing of sql a bit easier, create a bin/gmg command to do the conversion from mongo to sql. It's currently named "convert_mongo_to_sql". The most important option is the gmg -cf option to give a configfile with the appropiate sql_engine definition. | ||||
* | Updates so that dbupdate command works | Christopher Allan Webber | 2012-02-18 | 2 | -6/+15 |
| | | | | | | - Various fixes to dbupdate itself - Switching db/sql/migrations.py to use a dict instead of a list - Registering the function | ||||
* | Merge branch 'master' into sqlmigrate | Christopher Allan Webber | 2012-02-18 | 7 | -7/+7 |
|\ | | | | | | | | | Conflicts: mediagoblin/db/sql/models.py | ||||
| * | It's 2012 all up in here | Christopher Allan Webber | 2012-02-02 | 7 | -7/+7 |
| | | |||||
* | | No need for self here (thanks again Elrond ;)) | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 |
| | | |||||
* | | Big ol' start of the SQL migrations system. | Christopher Allan Webber | 2012-01-29 | 1 | -0/+84 |
|/ | | | | Things definitely don't work yet, but should be heading in the right direction. | ||||
* | Dot-Notation for MediaEntry.media_files | Elrond | 2012-01-04 | 1 | -2/+2 |
| | |||||
* | Fix "bin/gmg migrate" after mongo move | Elrond | 2011-12-28 | 1 | -2/+2 |
| | | | | | | | When moving most stuff from db to db/mongo, "gmg migrate" was left out. Fix it now! | ||||
* | Fixed import_export | Joar Wandborg | 2011-12-15 | 1 | -5/+5 |
| | | | | | - Mongokit instead of pymongo - db.MediaEntry instead of db.media_entry (pymongo style) | ||||
* | Dot-Notation for MediaEntry.title | Elrond | 2011-12-05 | 1 | -2/+2 |
| | |||||
* | Dot-Notation for Users.is_admin | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.status | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.email_verified | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.pw_hash | Elrond | 2011-12-05 | 1 | -2/+2 |
| | |||||
* | Dot-Notation for Users.email | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Dot-Notation for Users.username | Elrond | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Most users won't see this but having space after prompt still nice for ↵ | Christopher Allan Webber | 2011-12-03 | 1 | -1/+1 |
| | | | | passwords. | ||||
* | PEP-8'ifying prompt_if_not_set | Christopher Allan Webber | 2011-12-03 | 1 | -3/+3 |
| | |||||
* | Prompt for arguments in adduser if not present (I created a function in ↵ | Manuel Urbano Santos | 2011-12-03 | 2 | -1/+17 |
| | | | | util.py to check and prompt for arguments). | ||||
* | Change adduser arguments from positional to --keyword style. | Manuel Urbano Santos | 2011-12-03 | 1 | -5/+5 |
| | |||||
* | Use setup_global_and_app_config in gmg's migrate. | Elrond | 2011-11-26 | 1 | -3/+3 |
| | | | | | | Instead of using read_mediagoblin_config, forgetting to check the validation report and then finding the main app section by hand, just use setup_global_and_app_config. |